:root {
    --background: #080a09;
    --surface: #111512;
    --text: #f4f5f1;
    --muted: #a5aaa6;
    --green: #7ebba2;
    --green-soft: rgba(126, 187, 162, .12);
    --border: rgba(255, 255, 255, .11);
    --font: 'Poppins', sans-serif;
    --page: 1080px;
    --article: 700px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    background-color: var(--background);
    background-image:
        linear-gradient(rgba(255, 255, 255, .0504) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .0504) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
}
body { position: relative; background: transparent; color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.75; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 78% 10%, rgba(58, 95, 86, .18), transparent 34%), radial-gradient(circle at 10% 62%, rgba(74, 122, 110, .08), transparent 30%); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.navbar { position: fixed; top: 20px; left: 50%; z-index: 20; width: min(var(--page), calc(100% - 48px)); transform: translateX(-50%); background: rgba(30, 30, 30, .56); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; backdrop-filter: blur(24px); box-shadow: 0 14px 40px rgba(0, 0, 0, .22); }
.nav-inner { width: 100%; min-height: 64px; padding: 10px 14px 10px 18px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; line-height: 1; letter-spacing: -.025em; font-weight: 700; }
.brand img { border-radius: 9px; }
.nav-menu { display: flex; align-items: center; gap: 25px; }
.nav-menu a, .nav-apply { color: rgba(255, 255, 255, .82); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.nav-menu a:hover, .nav-apply:hover, .footer-links a:hover { color: var(--text); }
.nav-apply { appearance: none; padding: 9px 15px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 4px 0; background: var(--text); }

.article-header { width: min(var(--page), calc(100% - 48px)); min-height: 100svh; margin: 0 auto; padding: 155px 0 70px; border-bottom: 1px solid var(--border); }
.article-header-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: center; }
.article-heading { max-width: 760px; }
.article-hero-image { height: 480px; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.article-hero-image img { width: 290px; height: auto; border-radius: 24px; filter: drop-shadow(0 26px 42px rgba(0, 0, 0, .48)); }
.category { color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
h1 { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.05; letter-spacing: -.055em; }
.standfirst { color: #c4c8c4; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; max-width: 740px; margin-top: 28px; }
.hero-store-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-store-links .store-badge { height: 48px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; color: #777d79; font-size: .73rem; margin-top: 36px; }

.article-layout { width: min(var(--page), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, var(--article)); justify-content: space-between; gap: 80px; padding: 80px 0 120px; }
.summary { position: sticky; top: 104px; align-self: start; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.summary-label { color: var(--green); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.summary dl > div { padding: 15px 0; border-bottom: 1px solid var(--border); }
.summary dt { color: #777d79; font-size: .68rem; }
.summary dd { font-size: .9rem; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid var(--border); border-radius: 9px; background: transparent; cursor: pointer; font-size: .8rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.summary .button { width: 100%; margin-top: 20px; }
.button:hover { background: var(--text); color: #15251f; }

.article-body section { margin-bottom: 82px; }
.article-body section + section { padding-top: 82px; border-top: 1px solid var(--border); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.25; letter-spacing: -.035em; margin-bottom: 24px; }
h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 12px; }
.article-body p { color: #b2b7b3; margin-bottom: 20px; }
.article-body strong { color: var(--text); font-weight: 600; }

.note { margin-top: 32px; padding: 24px; border-left: 3px solid var(--green); background: var(--green-soft); border-radius: 0 12px 12px 0; }
.note > strong { display: block; font-size: 1.05rem; margin-bottom: 8px; }
.note p:last-child { margin-bottom: 0; }

.product-figure { margin: 36px 0 0; padding: 36px 36px 0; border: 1px solid var(--border); border-radius: 18px; background: radial-gradient(circle at 50% 55%, rgba(74, 116, 98, .24), var(--surface) 70%); overflow: hidden; }
.product-figure img { width: 260px; height: 430px; object-fit: contain; object-position: top; margin-inline: auto; }
figcaption { margin: 24px -36px 0; padding: 14px 20px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, .2); color: #7f8581; text-align: center; font-size: .68rem; }

.feature { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.feature-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: .75rem; font-weight: 700; }
.feature p:last-child { margin-bottom: 0; }

.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.video-card { padding: 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.video-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 9px; overflow: hidden; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.video-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .48)); }
.video-poster:hover img { transform: scale(1.02); opacity: .9; }
.video-poster:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.video-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 62px; height: 62px; border-radius: 50%; background: rgba(15, 17, 16, .78); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); backdrop-filter: blur(8px); }
.video-play::after { content: ''; position: absolute; top: 50%; left: 52%; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid #fff; transform: translate(-40%, -50%); }
.video-play-label { position: absolute; z-index: 1; left: 0; right: 0; bottom: 18px; color: #fff; font-size: .75rem; font-weight: 700; text-align: center; }
.video-card > a { display: block; padding: 10px 7px 5px; font-size: .75rem; font-weight: 600; }
.video-empty { padding: 42px 24px; margin-top: 28px; border: 1px dashed var(--border); border-radius: 14px; background: var(--surface); text-align: center; }
.video-empty[hidden] { display: none; }
.video-empty p { margin: 5px 0 0; font-size: .82rem; }

blockquote { margin-top: 32px; padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: #d6d9d6; font-size: 1.05rem; line-height: 1.75; }
.partnership-steps { list-style: none; border-top: 1px solid var(--border); }
.partnership-steps > li { display: grid; grid-template-columns: 38px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: .72rem; font-weight: 700; }
.partnership-steps h3 { margin: 3px 0 8px; }
.partnership-steps p { margin-bottom: 0; font-size: .9rem; }
.social-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social-platforms span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: #cbd0cc; font-size: .68rem; font-weight: 600; }
.social-platforms svg { width: 16px; height: 16px; fill: currentColor; }
.social-platforms rect, .social-platforms circle { fill: none; stroke: currentColor; stroke-width: 1.7; }
.social-platforms .icon-dot { fill: currentColor; stroke: none; }
.apply-section { margin-bottom: 0 !important; padding: 38px !important; border: 1px solid rgba(126, 187, 162, .25) !important; border-radius: 18px; background: linear-gradient(140deg, rgba(58, 95, 86, .32), var(--surface)); }
.apply-section p { max-width: 600px; }
.button-primary { margin-top: 8px; background: var(--text); color: #15251f; padding: 14px 20px; }

.download-section { padding: 60px 0; border-top: 1px solid var(--border); }
.download-section .container, footer .container { width: min(var(--page), calc(100% - 48px)); margin-inline: auto; }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(135deg, rgba(13, 42, 36, .88), rgba(11, 15, 24, .88)); }
.hero-eyebrow { color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.download-inner h2 { max-width: 620px; margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; }
.download-inner p { color: #b2b7b3; }
.download-btns { display: flex; align-items: flex-end; justify-content: flex-end; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }
.badge-container { display: flex; align-items: center; }
.store-badge { display: inline-block; height: 52px; transition: transform .2s ease, filter .2s ease; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-badge picture, .store-badge img { display: block; height: 100%; width: auto; }
footer { padding: 60px 0; text-align: center; border-top: 1px solid var(--border); }
.footer-logo { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 15px; }
.footer-copy { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 30px; color: var(--muted); font-size: .9rem; }

.application-dialog {
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    color: var(--text);
    background: #101411;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .7);
}
.application-dialog::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(4px); }
.dialog-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; background: rgba(16, 20, 17, .96); border-bottom: 1px solid var(--border); }
.dialog-header h2 { margin: 2px 0 0; font-size: 1.5rem; }
.dialog-close { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 600; }
.application-dialog form { padding: 28px; }
.form-intro p { color: var(--muted); margin-bottom: 25px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid label, .signature-grid label { display: grid; gap: 7px; color: #d1d5d1; font-size: .75rem; font-weight: 600; }
.full-width { grid-column: 1 / -1; }
input, textarea, select { width: 100%; color: var(--text); background: #090c0a; border: 1px solid var(--border); border-radius: 9px; padding: 12px 13px; outline: none; font-size: .86rem; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.agreement-box { max-height: 340px; margin-top: 30px; padding: 24px; overflow-y: auto; background: #090c0a; border: 1px solid var(--border); border-radius: 12px; }
.agreement-box h3 { font-size: 1.15rem; }
.agreement-box h4 { margin: 22px 0 7px; font-size: .86rem; }
.agreement-box p, .agreement-box li { color: #a9afaa; font-size: .75rem; line-height: 1.7; }
.agreement-box ul { padding-left: 20px; }
.agreement-box li + li { margin-top: 6px; }
.signature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.company-signature { display: flex; flex-direction: column; justify-content: center; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--green-soft); }
.company-signature span, .company-signature small { color: var(--muted); font-size: .65rem; }
.company-signature strong { font-size: 1.3rem; line-height: 1.4; }
.acceptance { display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; margin-top: 24px; color: #c8ccc8; font-size: .76rem; line-height: 1.6; cursor: pointer; }
.acceptance input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--green); }
.website-field { position: absolute; left: -9999px; }
.form-error { min-height: 22px; margin-top: 14px; color: #ff9c9c; font-size: .76rem; }
.submit-application { width: 100%; margin-top: 2px; }
.submit-application:disabled { opacity: .55; cursor: wait; }
.form-note { color: #777d79; margin-top: 10px; text-align: center; font-size: .68rem; }
.form-success { padding: 70px 32px; text-align: center; }
.form-success h2 { margin-bottom: 12px; }
.form-success p { max-width: 520px; margin: 0 auto 25px; color: var(--muted); }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 12px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(18, 21, 19, .98); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 35px rgba(0, 0, 0, .4); backdrop-filter: blur(20px); }
    .nav-menu.open { display: flex; }
    .nav-menu a, .nav-apply { width: 100%; padding: 12px 10px; font-size: .78rem; text-align: left; }
    .nav-apply { margin-top: 6px; text-align: center; }
    .article-layout { grid-template-columns: 1fr; gap: 55px; max-width: var(--article); }
    .summary { position: static; }
    .summary dl { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
    .article-header-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 35px; }
    .article-hero-image { height: 400px; }
    .article-hero-image img { width: 235px; }
    .download-inner { flex-direction: column; align-items: flex-start; }
    .download-btns { justify-content: flex-start; }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    .navbar { top: 8px; width: calc(100% - 20px); border-radius: 16px; }
    .nav-inner { min-height: 58px; padding: 8px 10px 8px 12px; }
    .brand { font-size: 1.2rem; }
    .article-layout, .article-header { width: calc(100% - 28px); }
    .article-header { padding: 115px 0 52px; }
    .article-header-grid { grid-template-columns: 1fr; gap: 42px; }
    .article-hero-image { height: 390px; }
    .article-hero-image img { width: 230px; }
    .hero-store-links { gap: 8px; }
    .hero-store-links .store-badge { height: 43px; }
    h1 { font-size: 3.35rem; }
    .article-layout { padding: 45px 0 80px; }
    .article-body section { margin-bottom: 60px; }
    .article-body section + section { padding-top: 60px; }
    .product-figure { padding-inline: 18px; }
    figcaption { margin-inline: -18px; }
    .feature { grid-template-columns: 36px 1fr; gap: 13px; }
    .partnership-steps > li { grid-template-columns: 34px 1fr; gap: 12px; }
    .video-grid { grid-template-columns: 1fr; }
    .apply-section { padding: 28px 22px !important; }
    .download-section .container, footer .container { width: calc(100% - 28px); }
    .download-inner { padding: 24px; }
    .download-btns { width: 100%; justify-content: center; flex-wrap: nowrap; gap: 8px; }
    .store-badge { height: 43px; }
    .footer-links { gap: 18px; flex-wrap: wrap; }
    .application-dialog { width: calc(100% - 16px); max-height: calc(100vh - 16px); border-radius: 14px; }
    .dialog-header, .application-dialog form { padding: 20px; }
    .form-grid, .signature-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: auto; }
    .agreement-box { padding: 18px; }
}
