:root {
    --navy-950: #07101e;
    --navy-900: #0b1424;
    --navy-800: #142137;
    --navy-700: #20314c;
    --slate-700: #38465b;
    --slate-600: #526176;
    --slate-500: #6f7d90;
    --slate-300: #c8d0db;
    --slate-200: #dde3ea;
    --slate-100: #edf1f5;
    --slate-50: #f6f8fa;
    --white: #ffffff;
    --gold-700: #956c2c;
    --gold-600: #ad7f37;
    --gold-500: #c49752;
    --gold-300: #e4c895;
    --green-700: #176b52;
    --green-100: #e4f4ee;
    --red-700: #a33a3a;
    --red-100: #fbeaea;
    --blue-100: #eaf1fb;
    --shadow-sm: 0 1px 2px rgba(7, 16, 30, .06), 0 8px 24px rgba(7, 16, 30, .05);
    --shadow-md: 0 22px 60px rgba(7, 16, 30, .14);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --container: 1220px;
    --header-height: 78px;
    --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--navy-900);
    background: var(--slate-50);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; overscroll-behavior: none; }
body.nav-open::after { position: fixed; z-index: 80; inset: var(--header-height) 0 0; content: ""; background: rgba(3, 9, 17, .58); backdrop-filter: blur(2px); }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy-950); font-weight: 650; line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 4.25rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.35rem); }
h3 { font-size: 1.2rem; }
ul, ol { margin-top: 0; }
::selection { color: var(--white); background: var(--gold-700); }
.site-container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 14px; color: var(--white); background: var(--navy-900); border-radius: var(--radius-sm); transform: translateY(-150%); transition: transform var(--transition); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 100; top: 0; min-height: var(--header-height); color: var(--white); background: rgba(11, 20, 36, .98); border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy-950); background: linear-gradient(145deg, var(--gold-300), var(--gold-500)); border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { color: var(--white); font-size: .98rem; letter-spacing: .035em; text-transform: uppercase; }
.brand-copy small { margin-top: 5px; color: var(--slate-300); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.header-panel { min-width: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.main-nav, .header-actions { display: flex; align-items: center; }
.main-nav { min-width: 0; gap: 2px; }
.main-nav a, .icon-link, .text-link { color: var(--slate-200); font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color var(--transition), background var(--transition); }
.main-nav a { padding: 9px 10px; border-radius: 7px; }
.main-nav a:hover, .main-nav a.is-active, .icon-link:hover, .icon-link.is-active, .text-link:hover { color: var(--white); }
.main-nav a:hover { background: rgba(255, 255, 255, .06); }
.main-nav a.is-active { background: rgba(196, 151, 82, .14); box-shadow: inset 0 -1px 0 var(--gold-500); }
.header-actions { flex: 0 0 auto; gap: 13px; }
.language-switcher { display: flex; align-items: center; padding: 3px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); border-radius: 8px; }
.language-switcher a { min-width: 31px; padding: 4px 5px; color: var(--slate-300); border-radius: 5px; font-size: .67rem; font-weight: 750; letter-spacing: .04em; text-align: center; text-decoration: none; }
.language-switcher a:hover, .language-switcher a.is-active { color: var(--navy-950); background: var(--gold-300); }
.menu-toggle { display: none; align-items: center; gap: 9px; padding: 8px 10px; color: var(--white); background: transparent; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm); cursor: pointer; font-size: .82rem; font-weight: 650; }
.menu-toggle-lines { width: 17px; display: grid; gap: 3px; }
.menu-toggle-lines i { height: 1px; display: block; background: currentColor; }
.menu-toggle-lines i { transition: transform var(--transition), opacity var(--transition); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-4px) rotate(-45deg); }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; font-weight: 680; line-height: 1.15; text-align: center; text-decoration: none; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 36px; padding: 8px 12px; font-size: .78rem; }
.button-primary { color: var(--navy-950); background: var(--gold-500); border-color: var(--gold-500); box-shadow: 0 8px 18px rgba(173, 127, 55, .18); }
.button-primary:hover { color: var(--navy-950); background: var(--gold-300); border-color: var(--gold-300); }
.button-dark { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
.button-dark:hover { color: var(--white); background: var(--navy-700); border-color: var(--navy-700); }
.button-outline { color: var(--navy-900); background: transparent; border-color: var(--slate-300); }
.button-outline:hover { color: var(--navy-900); background: var(--white); border-color: var(--navy-700); }
.button-ghost { color: var(--slate-200); background: transparent; border-color: rgba(255, 255, 255, .18); }
.button-ghost:hover { color: var(--white); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); }
.button-block { width: 100%; }
.button[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.page-main { flex: 1; padding: 64px 0 88px; }
.page-hero { margin-bottom: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px; }
.page-hero-copy { max-width: 780px; }
.page-hero h1 { margin-bottom: 15px; hyphens: auto; overflow-wrap: anywhere; }
.page-hero p:last-child { max-width: 760px; margin-bottom: 0; color: var(--slate-600); font-size: 1.05rem; }
.eyebrow { margin-bottom: 13px; color: var(--gold-700); font-size: .73rem; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.section-heading { margin-bottom: 24px; }
.section-heading h2, .section-heading h3 { margin-bottom: 8px; }
.section-heading p { margin-bottom: 0; color: var(--slate-600); }
.surface { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.content-card { padding: clamp(24px, 4vw, 38px); }
.content-card h2, .content-card h3 { margin-bottom: 13px; }
.content-card p:last-child, .content-card ul:last-child, .content-card ol:last-child { margin-bottom: 0; }
.content-card p, .content-card li { color: var(--slate-700); }
.content-card li + li { margin-top: 8px; }
.number-list, .check-list, .asset-list { padding: 0; list-style: none; counter-reset: item; }
.number-list li { position: relative; min-height: 34px; padding-left: 46px; counter-increment: item; }
.number-list li::before { position: absolute; top: -2px; left: 0; width: 30px; height: 30px; display: grid; place-items: center; content: counter(item); color: var(--navy-900); background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: 50%; font-size: .75rem; font-weight: 750; }
.check-list li, .asset-list li { position: relative; padding-left: 28px; }
.check-list li::before, .asset-list li::before { position: absolute; top: .53em; left: 1px; width: 9px; height: 9px; content: ""; background: var(--gold-500); border-radius: 2px; transform: rotate(45deg); }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 22px; background: var(--blue-100); border: 1px solid #cad9ee; border-radius: var(--radius-md); }
.notice-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--navy-900); background: var(--white); border: 1px solid #cad9ee; border-radius: 50%; font-size: .8rem; font-weight: 800; }
.notice h3 { margin: 2px 0 4px; font-size: 1rem; }
.notice p { margin: 0; color: var(--slate-700); font-size: .9rem; }
.notice-warning { background: #fbf5e9; border-color: #ead8b5; }
.notice-warning .notice-icon { border-color: #ead8b5; }
.flash-stack { margin-bottom: 24px; display: grid; gap: 10px; }
.flash-message { padding: 13px 15px; border: 1px solid; border-radius: var(--radius-sm); font-size: .92rem; }
.flash-error { color: var(--red-700); background: var(--red-100); border-color: #e9bcbc; }
.flash-success { color: var(--green-700); background: var(--green-100); border-color: #b6ddcf; }

.auth-page { background: var(--navy-950); }
.auth-page .site-header { background: rgba(7, 16, 30, .9); }
.auth-main { position: relative; isolation: isolate; min-height: calc(100vh - var(--header-height)); flex: 1; display: grid; align-items: center; padding: 72px 0; overflow: hidden; }
.auth-main::before { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7, 16, 30, .99) 0%, rgba(7, 16, 30, .93) 48%, rgba(7, 16, 30, .7) 100%), url("../../img/road_to_pyramids.jpg") center / cover no-repeat; }
.auth-main::after { position: absolute; z-index: -1; right: -12%; bottom: -55%; width: 650px; height: 650px; content: ""; background: radial-gradient(circle, rgba(196, 151, 82, .18), transparent 68%); pointer-events: none; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 480px); align-items: center; gap: clamp(48px, 8vw, 120px); }
.auth-intro { max-width: 620px; color: var(--slate-200); }
.auth-intro h1 { max-width: 600px; margin-bottom: 22px; color: var(--white); }
.auth-intro p:not(.eyebrow) { max-width: 540px; margin-bottom: 0; color: var(--slate-300); font-size: 1.06rem; }
.auth-card { padding: clamp(28px, 4.2vw, 44px); background: rgba(255, 255, 255, .98); border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.auth-card-header { margin-bottom: 28px; }
.auth-card-header h2 { margin-bottom: 10px; font-size: clamp(1.65rem, 3vw, 2.1rem); }
.auth-card-header p { margin-bottom: 0; color: var(--slate-600); font-size: .95rem; }
.auth-meta { margin: 22px 0 0; color: var(--slate-600); font-size: .88rem; text-align: center; }
.auth-security { margin-top: 22px; padding-top: 18px; color: var(--slate-500); border-top: 1px solid var(--slate-200); font-size: .78rem; text-align: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.field { min-width: 0; display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label, .field-label { color: var(--navy-800); font-size: .82rem; font-weight: 680; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--navy-900); background: var(--white); border: 1px solid var(--slate-300); border-radius: var(--radius-sm); outline: none; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.field input::placeholder, .field textarea::placeholder { color: #929dab; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(196, 151, 82, .16); }
.field input:disabled { color: var(--slate-600); background: var(--slate-100); }
.field input[type="file"] { min-height: 52px; padding: 8px; font-size: .84rem; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 11px; color: var(--navy-900); background: var(--slate-100); border: 0; border-radius: 5px; cursor: pointer; font-weight: 650; }
.field-hint { margin: 0; color: var(--slate-500); font-size: .76rem; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; color: var(--slate-700); font-size: .88rem; }
.checkbox-field input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy-900); }
.captcha-wrap { min-height: 78px; display: flex; align-items: center; justify-content: center; overflow: hidden; }

.stats-grid { margin-bottom: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.role-chip { width: fit-content; margin-top: 14px; display: inline-flex; align-items: center; padding: 5px 10px; color: var(--navy-700); background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: 999px; font-size: .72rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.role-chip-employee { color: var(--gold-700); background: #fbf5e9; border-color: #ead8b5; }
.role-chip-administrator { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); }
.analytics-grid { margin-bottom: 24px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; }
.analytics-card { min-width: 0; padding: clamp(22px, 3.5vw, 30px); }
.analytics-card-head { margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.analytics-card-head .eyebrow { margin-bottom: 7px; }
.analytics-card-head h2 { margin: 0; font-size: 1.35rem; }
.analytics-period { flex: 0 0 auto; padding: 5px 9px; color: var(--slate-600); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 999px; font-size: .7rem; font-weight: 700; }
.earnings-visual { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 28px; }
.earnings-donut { width: 184px; aspect-ratio: 1; position: relative; display: grid; place-items: center; background: conic-gradient(var(--gold-500) 0 var(--profit-share), var(--navy-800) var(--profit-share) 100%); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(7, 16, 30, .08); }
.earnings-donut::before { width: 68%; aspect-ratio: 1; position: absolute; content: ""; background: var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--slate-200); }
.earnings-donut > div { z-index: 1; display: grid; text-align: center; }
.earnings-donut strong { color: var(--navy-950); font-size: 1.6rem; line-height: 1.1; }
.earnings-donut span { margin-top: 4px; color: var(--slate-500); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.analytics-legend { margin: 0; display: grid; gap: 15px; }
.analytics-legend > div { padding-bottom: 13px; border-bottom: 1px solid var(--slate-200); }
.analytics-legend > div:last-child { padding-bottom: 0; border-bottom: 0; }
.analytics-legend dt { display: flex; align-items: center; gap: 8px; color: var(--slate-600); font-size: .77rem; }
.analytics-legend dd { margin: 5px 0 0 18px; color: var(--navy-950); font-size: 1.03rem; font-weight: 700; }
.legend-dot { width: 10px; height: 10px; flex: 0 0 auto; display: inline-block; border-radius: 3px; }
.legend-balance { background: var(--navy-800); }
.legend-profit { background: var(--gold-500); }
.legend-subscribers { background: var(--navy-700); }
.legend-followers { background: var(--gold-500); }
.growth-legend { display: flex; align-items: center; gap: 12px; color: var(--slate-600); font-size: .7rem; }
.growth-legend span { display: inline-flex; align-items: center; gap: 5px; }
.growth-chart { min-height: 220px; padding: 18px 10px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 14px; background: linear-gradient(to top, var(--slate-200) 1px, transparent 1px) 0 0 / 100% 25%; border-bottom: 1px solid var(--slate-300); }
.growth-group { min-width: 0; display: grid; gap: 10px; text-align: center; }
.growth-group > strong { color: var(--slate-600); font-size: .7rem; font-weight: 720; text-transform: uppercase; }
.growth-bars { height: 170px; display: flex; align-items: flex-end; justify-content: center; gap: 7px; }
.growth-bar { width: min(34px, 38%); height: var(--bar-size); min-height: 4px; position: relative; border-radius: 5px 5px 0 0; transition: height var(--transition); }
.growth-bar span { position: absolute; right: 50%; bottom: calc(100% + 5px); color: var(--slate-600); font-size: .66rem; font-weight: 700; transform: translateX(50%); }
.growth-bar-subscribers { background: var(--navy-700); }
.growth-bar-followers { background: var(--gold-500); }
.growth-bar.is-negative { background: var(--red-700); }
.analytics-note { margin: 14px 0 0; color: var(--slate-500); font-size: .72rem; }
.network-name { display: inline-block; font-weight: 680; }
.stat-card { min-width: 0; min-height: 174px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.stat-card-featured { color: var(--white); background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); border-color: var(--navy-700); }
.stat-label { color: var(--slate-600); font-size: .75rem; font-weight: 720; letter-spacing: .07em; text-transform: uppercase; }
.stat-card-featured .stat-label, .stat-card-featured .stat-meta { color: var(--slate-300); }
.stat-value { max-width: 100%; margin: 18px 0 3px; color: var(--navy-950); font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 680; letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere; }
.stat-card-featured .stat-value { color: var(--white); }
.stat-meta { color: var(--slate-500); font-size: .78rem; }
.stat-actions { margin-top: 14px; display: flex; gap: 8px; }
.stat-actions .button { min-height: 35px; flex: 1; padding: 7px 8px; font-size: .73rem; }
.copy-row { display: flex; align-items: stretch; gap: 8px; }
.copy-code { min-width: 0; flex: 1; padding: 9px 10px; color: var(--navy-900); background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: 7px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { padding-inline: 11px; color: var(--navy-900); background: var(--white); border: 1px solid var(--slate-300); border-radius: 7px; cursor: pointer; font-size: .73rem; font-weight: 680; }
.dashboard-stack { min-width: 0; display: grid; gap: 24px; }
.dashboard-stack > * { min-width: 0; }
.panel { min-width: 0; padding: clamp(22px, 3.5vw, 32px); }
.panel-header { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.panel-header h2 { margin-bottom: 5px; font-size: 1.45rem; }
.panel-header p { margin-bottom: 0; color: var(--slate-600); font-size: .9rem; }
.table-toolbar { flex: 0 0 auto; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .86rem; }
.data-table th, .data-table td { padding: 13px 15px; text-align: left; white-space: nowrap; }
.data-table th { color: var(--slate-600); background: var(--slate-50); border-bottom: 1px solid var(--slate-200); font-size: .7rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.data-table td { color: var(--slate-700); border-bottom: 1px solid var(--slate-100); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fbfcfd; }
.is-hidden { display: none !important; }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; color: var(--navy-700); background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: 999px; font-size: .71rem; font-weight: 700; }
.text-button { padding: 0; color: var(--gold-700); background: none; border: 0; cursor: pointer; font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.modal-dialog { width: min(94vw, 760px); max-height: min(88vh, 820px); padding: 0; color: var(--navy-900); background: var(--white); border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; }
.modal-dialog::backdrop { background: rgba(7, 16, 30, .72); backdrop-filter: blur(4px); }
.modal-header { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--slate-200); }
.modal-header h2 { margin: 0; font-size: 1.35rem; }
.modal-close { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; color: var(--slate-600); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.modal-body { max-height: calc(88vh - 80px); padding: 25px 26px 30px; overflow-y: auto; }
.tier-table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: .85rem; }
.tier-table th, .tier-table td { padding: 10px 12px; border-bottom: 1px solid var(--slate-200); text-align: left; }
.tier-table th { color: var(--slate-500); font-size: .69rem; letter-spacing: .06em; text-transform: uppercase; }

.document-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 24px; }
.document-index { position: sticky; top: calc(var(--header-height) + 24px); padding: 20px; background: var(--navy-900); border-radius: var(--radius-md); }
.document-index strong { display: block; margin-bottom: 12px; color: var(--gold-300); font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; }
.document-index nav { display: grid; }
.document-index a { padding: 8px 0; color: var(--slate-300); border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .79rem; text-decoration: none; }
.document-index a:last-child { border-bottom: 0; }
.document-index a:hover { color: var(--white); }
.document-sections { display: grid; gap: 15px; }
.document-section { padding: clamp(24px, 4vw, 38px); scroll-margin-top: calc(var(--header-height) + 24px); }
.document-section h2 { margin-bottom: 16px; font-size: 1.4rem; }
.document-section p { color: var(--slate-700); }
.document-section p:last-child { margin-bottom: 0; }
.updated-label { color: var(--slate-500); font-size: .78rem; }

.verification-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 22px; }
.steps-card { padding: 28px; color: var(--white); background: var(--navy-900); border-radius: var(--radius-md); }
.steps-card h2, .steps-card h3 { color: var(--white); }
.steps-card p, .steps-card li { color: var(--slate-300); }
.steps-card .number-list li::before { color: var(--navy-900); background: var(--gold-300); border-color: var(--gold-300); }
.form-surface { padding: clamp(24px, 4vw, 38px); }
.form-section + .form-section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--slate-200); }
.form-section-title { margin-bottom: 18px; color: var(--navy-900); font-size: 1.1rem; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.profile-item { min-width: 0; padding: 20px 22px; border-bottom: 1px solid var(--slate-200); }
.profile-item:nth-child(odd) { border-right: 1px solid var(--slate-200); }
.profile-item:last-child, .profile-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.profile-label { display: block; margin-bottom: 6px; color: var(--slate-500); font-size: .72rem; font-weight: 740; letter-spacing: .06em; text-transform: uppercase; }
.profile-value { color: var(--navy-900); font-size: 1rem; font-weight: 610; overflow-wrap: anywhere; }
.media-card { overflow: hidden; }
.media-card video { width: 100%; background: var(--navy-950); }
.media-card-copy { padding: 22px 24px; }
.media-card-copy h3 { margin-bottom: 6px; }
.media-card-copy p { margin: 0; color: var(--slate-600); font-size: .9rem; }
.payment-widget-shell { min-height: 120px; padding: 20px; display: grid; place-items: center; background: var(--slate-50); border: 1px dashed var(--slate-300); border-radius: var(--radius-sm); overflow: hidden; }
.support-cta { margin-top: 22px; padding: clamp(25px, 4vw, 38px); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--white); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-md); }
.support-cta h2 { margin-bottom: 7px; color: var(--white); font-size: 1.35rem; }
.support-cta p { margin: 0; color: var(--slate-300); font-size: .91rem; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); }
.faq-item summary { padding: 17px 48px 17px 18px; position: relative; cursor: pointer; color: var(--navy-900); font-weight: 650; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 50%; right: 18px; content: "+"; color: var(--gold-700); font-size: 1.25rem; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 18px 18px; color: var(--slate-600); }

.site-footer { margin-top: auto; color: var(--slate-300); background: var(--navy-950); border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { min-height: 150px; padding-top: 32px; padding-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 42px; }
.footer-brand { color: var(--white); font-size: .88rem; font-weight: 720; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.footer-inner p { max-width: 520px; margin: 8px 0 0; color: var(--slate-500); font-size: .78rem; }
.footer-meta { display: grid; justify-items: end; gap: 12px; color: var(--slate-500); font-size: .74rem; }
.footer-meta nav { display: flex; gap: 18px; }
.footer-meta nav a { color: var(--slate-300); font-size: .79rem; text-decoration: none; }
.footer-meta nav a:hover { color: var(--white); }
.error-main { min-height: 65vh; display: grid; place-items: center; text-align: center; }
.error-card { width: min(100%, 620px); padding: clamp(34px, 7vw, 66px); }
.error-code { display: block; margin-bottom: 13px; color: var(--gold-700); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.error-card h1 { margin-bottom: 15px; font-size: clamp(2rem, 5vw, 3.2rem); }
.error-card p { margin-bottom: 28px; color: var(--slate-600); }

@media (max-width: 1120px) {
    .header-inner { gap: 18px; }
    .brand-copy small { display: none; }
    .main-nav a { padding-inline: 7px; font-size: .78rem; }
    .header-actions { gap: 9px; }
    .icon-link { display: none; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .menu-toggle { margin-left: auto; display: inline-flex; }
    .header-panel { position: fixed; z-index: 110; top: calc(var(--header-height) + 8px); right: 12px; bottom: auto; left: 12px; max-height: calc(100dvh - var(--header-height) - 20px); padding: 18px; display: flex; visibility: hidden; align-items: stretch; justify-content: flex-start; flex-direction: column; background: var(--navy-900); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, .36); opacity: 0; overflow-y: auto; overscroll-behavior: contain; pointer-events: none; transform: translateY(-10px); transition: opacity var(--transition), transform var(--transition), visibility var(--transition); }
    .header-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
    .main-nav { align-items: stretch; flex-direction: column; gap: 4px; }
    .main-nav a { padding: 13px 14px; font-size: .95rem; }
    .header-actions { margin-top: 14px; padding-top: 16px; align-items: stretch; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); }
    .header-actions .icon-link { display: inline-flex; align-items: center; }
    .language-switcher { width: 100%; margin-bottom: 8px; }
    .language-switcher a { min-height: 36px; flex: 1; display: grid; place-items: center; }
    .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .auth-intro { max-width: 680px; }
    .auth-intro h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
    .auth-card { width: min(100%, 620px); }
    .document-layout { grid-template-columns: minmax(0, 1fr); }
    .document-index { position: static; }
    .document-index nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
    .verification-grid { grid-template-columns: minmax(0, 1fr); }
    .analytics-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    :root { --header-height: 68px; }
    .site-container { width: min(calc(100% - 30px), var(--container)); }
    .brand-mark { width: 38px; height: 38px; }
    .brand-copy strong { font-size: .83rem; }
    .page-main { padding: 40px 0 64px; }
    .page-hero { margin-bottom: 27px; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
    .page-hero h1 { font-size: clamp(2.1rem, 11vw, 3.25rem); }
    .page-hero p:last-child { font-size: .96rem; }
    .card-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
    .field-full { grid-column: auto; }
    .stats-grid { grid-template-columns: minmax(0, 1fr); }
    .earnings-visual { grid-template-columns: minmax(0, 1fr); justify-items: center; }
    .analytics-legend { width: 100%; }
    .stat-card { min-height: 150px; }
    .panel-header { align-items: flex-start; flex-direction: column; gap: 16px; }
    .table-toolbar, .table-toolbar .button { width: 100%; }
    .document-index nav { grid-template-columns: minmax(0, 1fr); }
    .profile-grid { grid-template-columns: minmax(0, 1fr); }
    .profile-item, .profile-item:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--slate-200); }
    .profile-item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--slate-200); }
    .profile-item:last-child { border-bottom: 0; }
    .support-cta { align-items: stretch; flex-direction: column; }
    .support-cta .button { width: 100%; }
    .footer-inner { padding-block: 32px; align-items: flex-start; flex-direction: column; gap: 28px; }
    .footer-meta { justify-items: start; }
    .footer-meta nav { flex-wrap: wrap; }
}
@media (max-width: 430px) {
    .site-container { width: min(calc(100% - 24px), var(--container)); }
    .brand-copy { display: none; }
    .auth-main { padding: 44px 0; }
    .auth-card { padding: 24px 19px; border-radius: var(--radius-md); }
    .captcha-wrap { justify-content: flex-start; transform-origin: left top; }
    .captcha-wrap > div { transform: scale(.88); transform-origin: left center; }
    .copy-row, .stat-actions { align-items: stretch; flex-direction: column; }
    .copy-button { min-height: 38px; }
    .notice { grid-template-columns: minmax(0, 1fr); }
    .analytics-card-head { flex-direction: column; }
    .growth-legend { flex-wrap: wrap; }
    .growth-chart { gap: 6px; }
    .growth-bars { gap: 4px; }
    .modal-header, .modal-body { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.verification-status { margin-bottom: 22px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--slate-200); border-left-width: 5px; border-radius: var(--radius-md); background: #fff; }
.verification-status strong { display: block; margin-bottom: 4px; }
.verification-status p { margin: 0; color: var(--slate-600); }
.verification-status-required { border-left-color: #b8873c; }
.verification-status-submitted { border-left-color: #315b8a; }
.verification-status-problem { border-left-color: #a23e3e; background: #fff9f9; }
.verification-status-approved { border-left-color: #237255; background: #f5fbf8; }
.verification-reason { margin-top: 7px !important; color: #8a3030 !important; font-weight: 650; }
@media (max-width: 720px) { .verification-status { align-items: stretch; flex-direction: column; } .verification-status .button { width: 100%; } }
