:root {
    --bg: #f4f7f5;
    --surface: #ffffff;
    --surface-2: #eef4f0;
    --ink: #122019;
    --muted: #637067;
    --line: #dfe7e2;
    --brand: #28d17c;
    --brand-dark: #0e5b37;
    --brand-soft: #dff9ea;
    --dark: #0d1712;
    --danger: #c63b4a;
    --warning: #9a6a00;
    --shadow: 0 24px 70px rgba(18, 32, 25, .10);
    --radius: 22px;
    --radius-sm: 14px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.narrow { width: min(760px, 100%); margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; background: var(--dark); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 16px; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px; }
h1 { font-size: clamp(42px, 6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--brand-dark); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(40, 209, 124, .12); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 600; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #07140d; background: var(--brand); box-shadow: 0 10px 30px rgba(40, 209, 124, .25); }
.button-primary:hover { background: #3be08c; }
.button-secondary { background: var(--surface); border-color: var(--line); }
.button-secondary:hover { border-color: #b9c9bf; }
.button-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.button-block { width: 100%; }
.button-large { min-height: 56px; padding-inline: 28px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; color: var(--brand-dark); font-weight: 600; }
.link-button { padding: 0; border: 0; background: none; color: var(--muted); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.brand-mark { position: relative; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; display: inline-block; overflow: hidden; }
.brand-mark span { position: absolute; left: 50%; bottom: 2px; width: 3px; background: var(--brand); transform-origin: 50% 100%; border-radius: 3px; }
.brand-mark span:nth-child(1) { height: 9px; transform: translateX(-50%) rotate(-40deg); }
.brand-mark span:nth-child(2) { height: 16px; transform: translateX(-50%); }
.brand-mark span:nth-child(3) { height: 12px; transform: translateX(-50%) rotate(42deg); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244, 247, 245, .88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(223, 231, 226, .8); }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 30px; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--muted); font-weight: 700; font-size: 14px; }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding: 96px 0 100px; background: radial-gradient(circle at 85% 20%, rgba(40,209,124,.16), transparent 34%), linear-gradient(180deg, #f7faf8 0%, #eef4f0 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(18,32,25,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(18,32,25,.04) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.hero-copy h1 { max-width: 780px; }
.hero-copy .lead { max-width: 680px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; font-size: 13px; font-weight: 700; }
.trust-line span { color: var(--brand-dark); }
.radar-card { position: relative; min-height: 530px; border-radius: 34px; background: var(--dark); box-shadow: var(--shadow); overflow: hidden; }
.radar-visual { position: absolute; inset: 0; opacity: .9; }
.radar-circle { position: absolute; left: 50%; top: 47%; border: 1px solid rgba(124,255,190,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.radar-circle.c1 { width: 90px; height: 90px; }
.radar-circle.c2 { width: 220px; height: 220px; }
.radar-circle.c3 { width: 420px; height: 420px; }
.radar-line { position: absolute; left: 50%; top: 47%; width: 440px; height: 1px; background: rgba(124,255,190,.18); transform-origin: left center; }
.radar-line.l1 { transform: rotate(0deg); }
.radar-line.l2 { transform: rotate(90deg); }
.radar-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 22px var(--brand); }
.radar-dot.d1 { right: 26%; top: 24%; }
.radar-dot.d2 { left: 24%; bottom: 28%; }
.radar-sweep { position: absolute; left: 50%; top: 47%; width: 200px; height: 200px; transform-origin: 0 0; background: conic-gradient(from 10deg, rgba(40,209,124,.42), transparent 26%); animation: radar 6s linear infinite; }
@keyframes radar { to { transform: rotate(360deg); } }
.dashboard-preview { position: absolute; left: 32px; right: 32px; bottom: 32px; padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.96); }
.preview-head, .card-top, .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-head small, .preview-grid small, .metric-row small, .stats-pair small, .detail-list dt, .stat-card small, .balance-card small, .goal-progress-card small, .result-hero small, .action-metrics small, .action-platform small, .week-summary small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.preview-head strong { display: block; font-size: 19px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.preview-grid strong { display: block; margin-top: 3px; }
.preview-cta { display: flex; justify-content: space-between; font-weight: 600; color: var(--brand-dark); }

.section { padding: 96px 0; }
.page-hero { padding: 92px 0 72px; background: linear-gradient(180deg,#f7faf8,#eef4f0); text-align: center; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.light h2, .section-heading.light p, .dark-section h2, .dark-section h3 { color: #fff; }
.dark-section { background: var(--dark); color: #fff; }
.tinted-section { background: #eaf2ed; }
.problem-grid, .feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.problem-grid article, .feature-grid article, .panel, .pricing-card, .platform-card, .strategy-card, .side-card, .hypothesis-list-card, .onboarding-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(18,32,25,.04); }
.problem-grid article, .feature-grid article { padding: 28px; }
.problem-grid article > span { color: var(--brand-dark); font-weight: 600; }
.flow-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; }
.flow-card { min-height: 220px; padding: 28px; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.flow-card span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--dark); font-weight: 600; }
.flow-card p { color: #9fb0a6; }
.flow-arrow { color: var(--brand); font-size: 28px; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-dark); font-weight: 600; }
.hypothesis-card { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hypothesis-card.large { padding: 38px; }
.status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-high { color: #0c6037; background: #dff9ea; }
.status-medium { color: #7d5900; background: #fff3c9; }
.status-low { color: #8c3540; background: #ffe4e7; }
.status-primary { color: #0c6037; background: var(--brand-soft); }
.status-neutral { color: #516159; background: #edf2ef; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 26px 0; }
.metric-row strong { display: block; margin-top: 4px; }
.platform-line { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud span { padding: 14px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.experiment-banner { display: flex; gap: 40px; align-items: center; justify-content: space-between; padding: 40px; border-radius: 28px; background: var(--dark); }
.experiment-banner h2 { color: #fff; }
.experiment-banner p { color: #a7b6ad; max-width: 760px; }
.final-cta { background: radial-gradient(circle at 50% 0%,rgba(40,209,124,.24),transparent 40%), var(--dark); }
.final-cta h2, .final-cta p { color: #fff; }
.site-footer { padding: 70px 0 28px; background: #08100c; color: #dce6e0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid a { color: #9eaea5; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #7f9187; font-size: 13px; }
.brand-footer .brand-mark { border-color: #fff; }

.steps-list { display: grid; gap: 18px; }
.steps-list article { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps-list article > span { font-size: 32px; font-weight: 600; color: var(--brand-dark); }
.confidence-stack { display: grid; gap: 14px; }
.confidence-stack > div { padding: 24px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.example-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.side-card { padding: 26px; position: sticky; top: 100px; }
.mini-platform { display: grid; gap: 4px; margin-bottom: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mini-platform.recommended { border-color: var(--brand); background: var(--brand-soft); }
.mini-platform span { color: var(--brand-dark); font-size: 12px; font-weight: 600; }
.decision-box { padding: 22px; border-radius: var(--radius-sm); background: var(--surface-2); }
.experiment-stats, .stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 54px; }
.experiment-stats > div, .stat-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.experiment-stats strong, .stat-card strong { display: block; font-size: 25px; }
.rules-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.rules-grid p { padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); color: #d6e0da; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.pricing-card { padding: 32px; position: relative; }
.pricing-card.featured { border-color: var(--brand); box-shadow: 0 25px 70px rgba(40,209,124,.17); transform: translateY(-10px); }
.plan-badge { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: var(--brand); color: #06140c; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.plan-name { display: block; margin-top: 16px; font-weight: 600; color: var(--brand-dark); }
.pricing-card h2 small { font-size: 15px; color: var(--muted); }
.pricing-card ul { min-height: 190px; padding-left: 20px; color: var(--muted); }
.pricing-note { margin-top: 24px; text-align: center; }
.partner-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.partner-steps article { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.partner-steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); font-weight: 600; }
.balance-card { padding: 30px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.balance-card strong { display: block; font-size: 42px; margin: 6px 0 24px; }
.balance-card > div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.balance-card.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.balance-card.secondary p { margin-bottom: 0; }

.auth-page, .onboarding-page { min-height: 100vh; background: radial-gradient(circle at 50% 0%,rgba(40,209,124,.18),transparent 35%), var(--bg); }
.auth-shell { width: min(100% - 32px, 470px); margin: 0 auto; padding: 48px 0; }
.auth-shell > .brand { display: flex; justify-content: center; margin-bottom: 34px; }
.auth-card { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.auth-heading { text-align: center; margin-bottom: 26px; }
.auth-heading h1 { font-size: 38px; }
.auth-switch, .auth-note { text-align: center; }
.auth-switch a { color: var(--brand-dark); font-weight: 600; }
.auth-note { font-size: 13px; margin-top: 24px; }
.demo-credentials { display: grid; gap: 6px; margin-top: 18px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); }
.form-stack { display: grid; gap: 18px; }
.form-stack label, fieldset { display: grid; gap: 8px; color: var(--ink); font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { margin-bottom: 12px; font-weight: 600; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 13px 14px; background: #fff; color: var(--ink); outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(40,209,124,.12); }
label small { color: var(--muted); font-weight: 500; }
.field-error { color: var(--danger); }
.checkbox-line { grid-template-columns: auto 1fr; align-items: start; }
.checkbox-line input, .choice-card input, .checkbox-card input { width: auto; margin-top: 5px; accent-color: var(--brand-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.three { grid-template-columns: repeat(3,1fr); }
.form-row.four { grid-template-columns: repeat(4,1fr); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; }
.form-actions.centered { justify-content: center; margin-top: 32px; }
.alert { margin-bottom: 18px; padding: 14px 16px; border-radius: var(--radius-sm); }
.alert-error { color: #7d2630; background: #ffe7ea; border: 1px solid #ffc3ca; }
.alert-success { color: #0e6038; background: var(--brand-soft); border: 1px solid #aeeac9; }
.onboarding-header { display: flex; align-items: center; justify-content: space-between; width: min(100% - 40px, 980px); min-height: 76px; margin: 0 auto; }
.progress-track { height: 4px; background: #dce5df; }
.progress-track span { display: block; height: 100%; background: var(--brand); transition: width .3s ease; }
.progress-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.onboarding-shell { width: min(100% - 32px, 980px); margin: 0 auto; padding: 56px 0 90px; }
.onboarding-card { max-width: 820px; margin: 0 auto; padding: 42px; }
.onboarding-wide { max-width: 1080px; margin: 0 auto; }
.onboarding-card.center { text-align: center; }
.onboarding-card h1, .onboarding-wide h1 { font-size: clamp(38px,5vw,58px); }
.onboarding-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.onboarding-facts span { padding: 9px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 700; }
.radar-mini { display: inline-block; width: 76px; height: 76px; border: 2px solid var(--ink); border-radius: 50%; margin-bottom: 20px; background: radial-gradient(circle,var(--brand) 0 4px,transparent 5px), conic-gradient(from 180deg,rgba(40,209,124,.65),transparent 25%); }
.choice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.choice-grid.compact { grid-template-columns: repeat(4,1fr); }
.choice-card, .checkbox-card { display: flex !important; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.choice-card:has(input:checked), .checkbox-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.checkbox-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.tip-box { padding: 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.tip-box p { margin-bottom: 0; }
.diagnosis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.diagnosis-block { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.diagnosis-block.positive { background: var(--brand-soft); }
.diagnosis-block.warning { background: #fff7df; }
.strategy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.strategy-card { position: relative; padding: 28px; cursor: pointer; }
.strategy-card.featured { border-color: var(--brand); box-shadow: 0 20px 55px rgba(40,209,124,.15); }
.strategy-card > input { position: absolute; opacity: 0; }
.strategy-card:has(input:checked) { outline: 3px solid rgba(40,209,124,.28); }
.strategy-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.strategy-metrics small { display: block; color: var(--muted); }

.app-page { background: #f3f6f4; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.app-sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 20px; background: var(--dark); color: #fff; display: flex; flex-direction: column; }
.app-sidebar .brand { padding-inline: 10px; }
.app-sidebar .brand-mark { border-color: #fff; }
.app-nav { display: grid; gap: 7px; margin-top: 34px; }
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; color: #9fb0a6; font-weight: 600; }
.app-nav a:hover, .app-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.app-nav a.active { box-shadow: inset 3px 0 0 var(--brand); }
.sidebar-footer { margin-top: auto; display: grid; gap: 14px; padding: 14px; color: #9fb0a6; }
.assistant-link { color: var(--brand) !important; font-weight: 600; }
.app-main { min-width: 0; }
.app-topbar { min-height: 72px; padding: 0 32px; display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); }
.topbar-spacer { flex: 1; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-chip > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.user-chip strong, .user-chip small { display: block; line-height: 1.2; }
.user-chip small { color: var(--muted); }
.icon-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); font-size: 12px; font-weight: 600; }
.sidebar-toggle { display: none; }
.app-content { width: min(calc(100% - 48px), 1180px); margin: 0 auto; padding: 38px 0 70px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.page-head h1 { font-size: clamp(36px,4vw,54px); }
.goal-chip { min-width: 170px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); text-align: right; }
.goal-chip span { display: block; font-size: 22px; font-weight: 600; }
.goal-chip small { color: var(--muted); }
.primary-action-card { padding: 34px; border-radius: 28px; background: linear-gradient(135deg,#102019,#0b140f); color: #fff; box-shadow: var(--shadow); }
.primary-action-card h2 { font-size: clamp(30px,4vw,46px); max-width: 760px; }
.primary-action-card p { color: #b2c2b9; max-width: 760px; }
.action-top { display: flex; justify-content: space-between; margin-bottom: 24px; }
.task-date { color: #9fb0a6; font-weight: 600; }
.action-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 28px 0; }
.action-metrics > div { padding: 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); }
.action-metrics small, .action-platform small { color: #91a49a; }
.action-platform { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding: 18px; border-radius: var(--radius-sm); background: rgba(40,209,124,.1); border: 1px solid rgba(40,209,124,.18); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.panel { padding: 26px; }
.panel h2 { font-size: 25px; }
.compact-panel { padding: 22px; }
.task-list { display: grid; }
.task-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-row small { display: block; color: var(--muted); }
.task-status { width: 12px; height: 12px; border-radius: 50%; background: #c6d0ca; }
.task-status.completed { background: var(--brand); }
.task-status.in_progress { background: #ffc94a; }
.progress-large { height: 12px; overflow: hidden; border-radius: 999px; background: #dfe7e2; }
.progress-large span { display: block; height: 100%; background: linear-gradient(90deg,var(--brand-dark),var(--brand)); border-radius: 999px; }
.stats-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.stats-pair strong { display: block; font-size: 28px; }
.stats-pair span { color: var(--muted); }
.insight-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 20px; }
.week-summary { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.week-summary > div { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.week-summary strong { display: block; margin-top: 5px; }
.timeline { display: grid; }
.timeline-item { display: grid; grid-template-columns: 60px 22px 1fr; gap: 10px; }
.timeline-date { padding-top: 18px; text-align: center; }
.timeline-date span { display: block; font-size: 24px; font-weight: 600; }
.timeline-date small { color: var(--muted); }
.timeline-line { position: relative; }
.timeline-line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline-line span { position: absolute; left: 50%; top: 28px; width: 11px; height: 11px; border: 3px solid var(--brand); background: #fff; border-radius: 50%; transform: translate(-50%,-50%); z-index: 1; }
.timeline-card { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.timeline-card:hover { border-color: #b8c8be; }
.timeline-meta { display: grid; justify-items: end; align-content: center; color: var(--muted); }
.breadcrumbs { display: flex; gap: 9px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.breadcrumbs a { color: var(--brand-dark); font-weight: 600; }
.reward-badge { padding: 12px 15px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 20px; align-items: start; }
.main-column, .side-column { display: grid; gap: 20px; }
.side-column { position: sticky; top: 92px; }
.instruction-list { display: grid; gap: 14px; padding-left: 26px; }
.instruction-list li { padding-left: 8px; }
.template-box { padding: 20px; background: var(--surface-2); border-radius: var(--radius-sm); margin-bottom: 16px; }
.detail-list { display: grid; margin: 0; }
.detail-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dd { margin: 0; font-weight: 600; text-align: right; }
.platform-price { margin: 16px 0; font-size: 26px; font-weight: 600; }
.form-panel { max-width: 100%; }
.hypothesis-list { display: grid; gap: 18px; }
.hypothesis-list-card { padding: 28px; }
.confidence-note { margin-top: 20px; padding: 18px; border-radius: var(--radius-sm); background: #fff7df; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.decision-grid > div { padding: 20px; border-radius: var(--radius-sm); background: var(--surface-2); }
.decision-grid span { display: block; color: var(--muted); margin-bottom: 6px; }
.platform-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.platform-row small { display: block; color: var(--muted); }
.platform-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.platform-card { position: relative; padding: 26px; }
.platform-card.featured { border-color: var(--brand); box-shadow: 0 18px 50px rgba(40,209,124,.13); }
.tag-label { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--surface-2); font-size: 11px; font-weight: 600; }
.platform-type { margin-top: 20px; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.platform-main-price { font-size: 34px; font-weight: 600; margin: 20px 0; }
.offer-card { padding: 22px; background: var(--surface-2); border-radius: var(--radius-sm); }
.offer-card > div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.offer-card strong { font-size: 24px; }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.quality-grid > div { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.quality-grid span { display: block; color: var(--muted); font-size: 12px; }
.result-hero { display: grid; grid-template-columns: 1fr auto 1fr 1fr; gap: 20px; align-items: center; padding: 30px; border-radius: var(--radius); background: #fff1e8; border: 1px solid #ffd7bd; }
.result-hero.success { background: var(--brand-soft); border-color: #aeeac9; }
.result-hero strong { display: block; font-size: 28px; }
.result-hero span { color: var(--muted); }
.result-arrow { font-size: 30px; color: var(--brand-dark); }
.goal-progress-card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.goal-progress-number { display: flex; gap: 8px; align-items: baseline; margin-bottom: 14px; }
.goal-progress-number strong { font-size: 48px; }
.goal-progress-card .progress-large { margin-bottom: 10px; }
.level-card { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; padding: 30px; border-radius: 26px; color: #fff; background: var(--dark); }
.level-card h2 { color: #fff; }
.level-card p { color: #a9bab0; }
.level-ring { display: grid; place-items: center; width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(var(--brand) 0 82%,rgba(255,255,255,.1) 82% 100%); position: relative; }
.level-ring::before { content: ""; position: absolute; inset: 12px; background: var(--dark); border-radius: 50%; }
.level-ring span { position: relative; font-size: 24px; font-weight: 600; }
.achievement-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.achievement-row p { margin: 3px 0 0; }
.achievement-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); }
.reward-large { font-size: 78px; line-height: 1; font-weight: 600; color: var(--brand-dark); }
.referral-link-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: var(--radius); color: #fff; background: var(--dark); }
.referral-link-card strong { display: block; font-size: 22px; word-break: break-all; }
.referral-link-card span { color: #a9bab0; }
.balance-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.assistant-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.assistant-empty { padding: 70px 30px; text-align: center; }
.assistant-orb { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-size: 32px; }
.quick-prompts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.quick-prompts button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.assistant-form { display: flex; gap: 12px; padding: 18px; border-top: 1px solid var(--line); }
.assistant-form textarea { flex: 1; resize: vertical; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.link-list { display: grid; }
.link-list a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.table-panel { overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
td small { display: block; color: var(--muted); }
.empty-state { padding: 40px; text-align: center; }
.stat-card.danger { border-color: #ffc3ca; background: #fff0f2; }

@media (max-width: 1020px) {
    .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 72px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
    .main-nav.open { display: grid; }
    .nav-toggle { display: inline-flex; margin-left: auto; border: 0; background: transparent; font-weight: 600; }
    .header-actions .button-ghost { display: none; }
    .hero-grid, .split-section, .example-layout, .content-grid { grid-template-columns: 1fr; }
    .side-column, .side-card { position: static; }
    .problem-grid, .feature-grid { grid-template-columns: repeat(2,1fr); }
    .flow-grid { grid-template-columns: 1fr 1fr; }
    .flow-arrow { display: none; }
    .pricing-grid, .strategy-grid, .platform-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .app-shell { grid-template-columns: 1fr; }
    .app-sidebar { position: fixed; z-index: 120; left: -280px; width: 260px; transition: left .2s ease; }
    .app-sidebar.open { left: 0; }
    .sidebar-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; }
    .balance-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { min-height: 66px; }
    .header-actions .button-primary { min-height: 40px; padding-inline: 14px; }
    .hero { padding: 64px 0 70px; }
    .hero-grid { gap: 38px; }
    .radar-card { min-height: 470px; }
    .dashboard-preview { left: 16px; right: 16px; bottom: 16px; padding: 18px; }
    .section { padding: 70px 0; }
    .problem-grid, .feature-grid, .partner-steps, .rules-grid, .experiment-stats, .stats-grid, .footer-grid, .dashboard-grid, .project-grid, .diagnosis-grid, .choice-grid, .choice-grid.compact, .checkbox-grid, .form-row, .form-row.three, .form-row.four, .action-metrics, .week-summary, .quality-grid, .decision-grid { grid-template-columns: 1fr; }
    .flow-grid { grid-template-columns: 1fr; }
    .experiment-banner, .insight-panel, .referral-link-card, .page-head, .platform-line { align-items: flex-start; flex-direction: column; }
    .metric-row { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .steps-list article { grid-template-columns: 1fr; }
    .onboarding-card { padding: 26px 20px; }
    .onboarding-shell { padding-top: 30px; }
    .app-topbar { padding: 0 16px; }
    .user-chip div { display: none; }
    .app-content { width: min(calc(100% - 24px), 1180px); padding-top: 24px; }
    .primary-action-card { padding: 24px; }
    .timeline-item { grid-template-columns: 48px 18px 1fr; }
    .timeline-card { flex-direction: column; }
    .timeline-meta { justify-items: start; }
    .result-hero, .level-card { grid-template-columns: 1fr; }
    .result-arrow { transform: rotate(90deg); }
    .level-ring { margin-inline: auto; }
    .assistant-form { flex-direction: column; }
    .goal-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.assistant-answer { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 34px; align-items: start; }
.assistant-answer small { display: block; color: var(--muted); margin-bottom: 8px; }
.assistant-answer p { margin: 0; color: var(--ink); font-size: 18px; }

.app-version {
    display: block;
    margin-top: .5rem;
    color: var(--muted, #7b8190);
    font-size: .75rem;
}

/* Экран проверки production-готовности. */
.system-summary { min-width: 280px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.system-summary strong, .system-summary span { display: block; }
.system-summary span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.system-summary.is-ready { border-color: #9bd9b4; background: #effbf4; }
.system-summary.has-warnings { border-color: #efd28b; background: #fff9e9; }
.system-summary.has-errors { border-color: #ffc3ca; background: #fff0f2; }
.system-checks { display: grid; gap: 12px; margin-bottom: 24px; }
.system-check { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.system-check h2 { margin: 0 0 5px; font-size: 17px; }
.system-check strong { display: block; margin-bottom: 5px; }
.system-check p { margin: 0; color: var(--muted); }
.system-check-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 600; }
.system-check-ok .system-check-icon { color: #166a40; background: #dff5e9; }
.system-check-warning .system-check-icon { color: #805d00; background: #fff0bd; }
.system-check-error .system-check-icon { color: #9e2432; background: #ffdce1; }
.production-commands pre { overflow-x: auto; padding: 18px; border-radius: var(--radius-sm); color: #eaf4ee; background: var(--dark); }
.production-commands code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.topbar-logout { margin: 0; }
.button-small { min-height: 36px; padding: 8px 14px; font-size: 13px; }

@media (max-width: 720px) {
    .system-summary { min-width: 0; width: 100%; }
}

/* Эксплуатационная административная панель 0.8.0. */
.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-bottom: 20px; }
.filter-bar label { min-width: 180px; flex: 1; }
.filter-bar input, .filter-bar select { width: 100%; }
.status-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; color: #31463a; background: #edf3ef; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-active, .status-completed, .status-successful, .status-imported { color: #166a40; background: #dff5e9; }
.status-failed, .status-blocked, .status-invalid { color: #9e2432; background: #ffdce1; }
.status-pending, .status-uploaded, .status-processing, .status-needs_data { color: #805d00; background: #fff0bd; }
.status-archived, .status-inactive, .status-cancelled { color: #59636f; background: #edf0f3; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 20px; margin-bottom: 20px; }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.admin-two-columns { grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); }
.audit-list { display: grid; }
.audit-list article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.audit-list strong, .audit-list span { display: block; }
.audit-list span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.audit-change { min-width: 320px; }
.audit-change pre, .technical-pre { overflow: auto; max-height: 420px; margin: 8px 0 14px; padding: 16px; border-radius: var(--radius-sm); color: #eaf4ee; background: var(--dark); white-space: pre-wrap; word-break: break-word; }
.panel-danger { border-color: #ffc3ca; background: #fff8f9; }
.button-danger { color: #fff; background: #a92f3d; border-color: #a92f3d; }
.button-danger:hover { background: #8f2330; }
.alert-warning { color: #805d00; background: #fff9e9; border-color: #efd28b; }
.stat-card { text-decoration: none; color: inherit; }
.import-form { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.import-form label { flex: 1; min-width: 220px; }
.form-hint { color: var(--muted); font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
details summary { cursor: pointer; color: var(--brand-dark); font-weight: 600; }

@media (max-width: 900px) {
    .detail-grid, .admin-two-columns { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .filter-bar, .import-form { align-items: stretch; flex-direction: column; }
    .filter-bar label, .import-form label { width: 100%; min-width: 0; }
    .detail-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Закрытая альфа, уведомления и поддержка */
.notification-list { display: grid; gap: 12px; }
.notification-item { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.notification-item.unread { border-color: #91dfb5; background: var(--brand-soft); }
.notification-item p { margin: 4px 0; }
.notification-item small { color: var(--muted); }
.icon-link { position: relative; }
.icon-link b { position: absolute; right: -7px; top: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--danger); color: white; font-size: 11px; }
.message-thread { display: grid; gap: 16px; }
.message { max-width: 84%; padding: 18px; border-radius: 18px; background: var(--surface-2); }
.message.staff { margin-left: auto; background: var(--brand-soft); }
.message-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; font-size: 13px; }
.message-meta span { color: var(--muted); }
.message p { margin: 0; color: var(--ink); }
.compact-cell { max-width: 340px; overflow-wrap: anywhere; font-size: 12px; }
.form-help { margin-top: -8px; text-align: right; font-size: 13px; }
@media (max-width: 760px) { .notification-item { align-items: flex-start; flex-direction: column; } .message { max-width: 100%; } }

/* Продуктовая аналитика закрытой альфы 0.10.0. */
.analytics-stats { margin-bottom: 22px; }
.funnel-list { display: grid; gap: 12px; }
.funnel-list article { display: grid; grid-template-columns: minmax(180px,1fr) auto; gap: 8px 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.funnel-list small, .funnel-list strong { display: block; }
.funnel-list small { color: var(--muted); }
.funnel-value { text-align: right; }
.funnel-value span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.funnel-bar { grid-column: 1 / -1; overflow: hidden; height: 8px; border-radius: 999px; background: #e8eee9; }
.funnel-bar span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.retention-cell { display: block; padding: 7px 9px; border-radius: 8px; text-align: center; background: color-mix(in srgb, var(--brand) var(--retention), #f2f5f3); }
.feedback-panel { margin-top: 22px; }
.rating-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.rating-options label { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.feedback-panel textarea { min-height: 90px; }
@media (max-width: 720px) { .funnel-list article { grid-template-columns: 1fr; } .funnel-value { text-align: left; } }

/* RostRadar 0.12: размещения, инструкции Cron и модерация площадок. */
.button-stack { display: grid; gap: 9px; margin-top: 14px; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 360px; }
.inline-actions input { min-width: 150px; }
.timeline > article { position: relative; padding: 16px 18px 16px 26px; border-left: 2px solid var(--line); background: var(--surface); }
.timeline > article::before { content: ""; position: absolute; left: -6px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline > article + article { border-top: 1px solid var(--line); }
.timeline > article span, .timeline > article small { display: block; color: var(--muted); font-size: 12px; }
.timeline > article p { margin: 6px 0; }
.cron-command-card pre { margin: 12px 0; }
.cron-command-card code { overflow-wrap: anywhere; }
button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 760px) { .inline-actions { min-width: 0; display: grid; } }
/* RostRadar 0.13.0: AI dashboard and platform owner portal */
.provider-grid,.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.provider-card{display:flex;flex-direction:column;gap:14px}.ai-balance-box{padding:16px;border:1px solid var(--border,#dfe3ea);border-radius:14px;background:var(--surface-soft,#f7f8fa);display:grid;gap:4px}.ai-balance-box strong{font-size:1.8rem}.usage-meter{display:grid;gap:8px}.progress-large{height:9px;border-radius:999px;background:#e8ebf0;overflow:hidden}.progress-large span{display:block;height:100%;background:linear-gradient(90deg,#111827,#6366f1);border-radius:inherit}.selected-row{background:rgba(99,102,241,.08)}.message-thread{display:grid;gap:10px;margin:12px 0 18px}.message-item{padding:14px;border:1px solid var(--border,#e1e5ea);border-radius:12px;background:#fff}.message-item small{display:block;color:var(--muted,#667085);margin-top:2px}.message-item p{margin:8px 0 0;white-space:normal}.compact-stats{grid-template-columns:repeat(3,1fr);margin:14px 0}.compact-stats>div{padding:10px;background:#f7f8fa;border-radius:10px}.compact-stats small,.compact-stats strong{display:block}.details-block{margin-top:16px}.details-block summary{cursor:pointer;font-weight:700}.json-preview{max-width:430px;max-height:220px;overflow:auto;white-space:pre-wrap;font-size:.78rem}.status-badge{display:inline-flex;width:max-content;padding:4px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:.78rem}@media(max-width:760px){.compact-stats{grid-template-columns:1fr}.provider-grid,.card-grid{grid-template-columns:1fr}}

.billing-document{max-width:980px;margin:0 auto}.document-head,.document-parties,.document-footer,.document-total{display:flex;justify-content:space-between;gap:2rem}.document-head{align-items:flex-start;border-bottom:1px solid var(--border);padding-bottom:1.5rem;margin-bottom:1.5rem}.document-head>strong{font-size:1.6rem}.document-parties>section{flex:1}.document-parties h2{font-size:1rem}.document-total{justify-content:flex-end;align-items:center;font-size:1.2rem;margin:1.5rem 0}.document-footer{border-top:1px solid var(--border);padding-top:1.5rem;margin-top:2rem}.form-span-2{grid-column:1/-1}@media(max-width:700px){.document-head,.document-parties,.document-footer{display:block}.document-parties>section{margin-bottom:1.5rem}}@media print{.app-sidebar,.app-topbar,.no-print,.alert,.sidebar-toggle{display:none!important}.app-main,.app-content{margin:0!important;padding:0!important}.panel.billing-document{border:0;box-shadow:none;max-width:none}.billing-document table{font-size:12px}body{background:#fff;color:#000}}

/* RostRadar 0.16.0: beta UX, наблюдаемость и доступность. */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline: 3px solid #176f46; outline-offset: 3px; box-shadow: 0 0 0 5px rgba(40,209,124,.2); }
:where(button,.button,input,select,textarea) { min-height: 44px; }
.skip-link:focus { position: fixed; z-index: 1000; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; clip: auto; overflow: visible; color: #fff; background: #10231a; border-radius: 10px; }
.sidebar-backdrop { position: fixed; z-index: 110; inset: 0; background: rgba(8,22,14,.54); backdrop-filter: blur(2px); }
body.sidebar-open { overflow: hidden; }
.mobile-bottom-nav { display: none; }
.feedback-dialog { width: min(560px,calc(100% - 28px)); max-height: min(760px,calc(100vh - 28px)); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 28px 90px rgba(7,24,14,.3); color: var(--ink); background: var(--surface); }
.feedback-dialog::backdrop { background: rgba(8,22,14,.62); backdrop-filter: blur(3px); }
.feedback-dialog form { padding: 26px; }
.dialog-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.dialog-head h2 { margin: 5px 0 8px; }
.dialog-close { display: grid; place-items: center; width: 44px; min-width: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 26px; }
.feedback-dialog fieldset { margin: 0; padding: 0; border: 0; }
.feedback-dialog legend { margin-bottom: 8px; font-weight: 600; }
.feedback-dialog .rating-options label { min-width: 48px; min-height: 48px; justify-content: center; padding: 0; }
.feedback-dialog .rating-options input { position: absolute; opacity: 0; pointer-events: none; }
.feedback-dialog .rating-options label:has(input:checked) { color: #fff; border-color: var(--brand-dark); background: var(--brand-dark); }
.metric-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 14px; }
.metric-card { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.metric-card > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.metric-card small { color: var(--muted); }
.metric-value { font-size: 25px; font-weight: 600; }
.metric-progress { overflow: hidden; height: 9px; border-radius: 99px; background: #e4ebe6; }
.metric-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.check-list { display: grid; gap: 10px; }
.check-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.check-item > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 600; }
.check-item.ok > span { color: #166a40; background: #dff5e9; }
.check-item.bad > span { color: #9e2432; background: #ffdce1; }
.check-item strong,.check-item small { display: block; }
.check-item small { margin-top: 4px; color: var(--muted); }
.inline-form { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.compact-input { width: min(220px,100%); min-height: 36px; padding: 7px 10px; }
.code-block { overflow: auto; max-height: 260px; padding: 14px; border-radius: 10px; color: #eaf4ee; background: var(--dark); white-space: pre-wrap; word-break: break-word; }
.status-critical,.status-error { color: #9e2432; background: #ffdce1; }
.status-warning,.status-needs_improvement { color: #805d00; background: #fff0bd; }
.status-passed,.status-good,.status-resolved { color: #166a40; background: #dff5e9; }

@media (max-width: 980px) {
    .sidebar-backdrop[hidden] { display: none; }
    .app-sidebar { box-shadow: 18px 0 55px rgba(10,31,19,.24); }
}

@media (max-width: 720px) {
    .app-content { padding-bottom: 92px; }
    .mobile-bottom-nav { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: max(10px,env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5,1fr); min-height: 64px; padding: 6px; border: 1px solid rgba(211,224,216,.9); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 16px 50px rgba(10,31,19,.18); backdrop-filter: blur(14px); }
    .mobile-bottom-nav :where(a,button) { display: grid; place-items: center; align-content: center; gap: 2px; min-width: 0; min-height: 52px; padding: 4px; border: 0; border-radius: 14px; color: var(--muted); background: transparent; text-decoration: none; font: inherit; }
    .mobile-bottom-nav [aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }
    .mobile-bottom-nav span { font-size: 18px; line-height: 1; }
    .mobile-bottom-nav small { overflow: hidden; width: 100%; font-size: 10px; font-weight: 600; text-align: center; text-overflow: ellipsis; }
    .referral-chip { display: none; }
    .feedback-dialog form { padding: 20px; }
    .metric-cards { grid-template-columns: 1fr; }
    .inline-form { min-width: 220px; align-items: stretch; flex-direction: column; }
    .compact-input { width: 100%; }
}

@media (prefers-contrast: more) {
    :root { --line: #596b61; --muted: #35473d; }
    .button,.panel,input,select,textarea { border-width: 2px; }
}

/* Release Candidate 0.17.0 */
.danger-zone { border-color: #e8a8b0; background: #fff8f8; }
.detail-list > li { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid var(--line); list-style:none; }
.detail-list > li:last-child { border-bottom:0; }
.detail-list > li span { color:var(--muted); text-align:right; }
.check-item.check-ok,.check-item.check-error { grid-template-columns:1fr auto; align-items:center; }
.check-item.check-ok { border-color:#b9dfc9; background:#f5fcf8; }
.check-item.check-error { border-color:#efb8bf; background:#fff7f8; }
.check-item.check-ok > span { color:#166a40; font-weight:800; }
.check-item.check-error > span { color:#9e2432; font-weight:800; }
.check-item.check-ok > small,.check-item.check-error > small { grid-column:1/-1; }
@media (max-width:720px){.detail-list > li{display:grid;gap:4px}.detail-list > li span{text-align:left}.check-item.check-ok,.check-item.check-error{grid-template-columns:1fr}}

/* RostRadar 0.17.0: юридические документы и Release Candidate. */
.legal-document-text { white-space: normal; line-height: 1.75; overflow-wrap: anywhere; }


/* Юридические согласия и cookie */
.legal-consents { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: 12px; }
.legal-consents legend { padding: 0 6px; font-weight: 600; }
.auth-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px; font-size: 12px; color: var(--muted); }
.auth-legal button, .footer-link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.auth-legal button:hover, .footer-link-button:hover { color: var(--ink); }
.cookie-banner { position: fixed; z-index: 1000; left: max(16px,env(safe-area-inset-left)); right: max(16px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1180px; margin: auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: 0 24px 80px rgba(10,25,17,.22); backdrop-filter: blur(16px); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 4px 0; color: var(--muted); }
.cookie-banner__links { display: flex; gap: 14px; font-size: 13px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; min-width: 410px; }
.cookie-dialog { width: min(92vw,680px); padding: 0; border: 0; border-radius: 24px; box-shadow: 0 24px 100px rgba(10,25,17,.28); }
.cookie-dialog::backdrop { background: rgba(5,14,9,.58); }
.cookie-dialog__panel { padding: 28px; }
.cookie-option { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.cookie-option p { margin: 4px 0 0; color: var(--muted); }
.cookie-option input { width: 22px; height: 22px; flex: 0 0 auto; }
.legal-document-text { white-space: normal; line-height: 1.72; }
@media (max-width: 760px) { .cookie-banner { align-items: stretch; flex-direction: column; gap: 14px; } .cookie-banner__actions { min-width: 0; justify-content: stretch; } .cookie-banner__actions .button { flex: 1 1 100%; } }

/* 1.0.1: длинное административное меню всегда помещается в высоту экрана. */
.app-sidebar {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    align-self: start;
    background: var(--dark);
}
.app-sidebar > .brand { flex: 0 0 auto; }
.app-sidebar .app-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 0 6px 20px 0;
    margin-right: -6px;
}
.app-sidebar .app-nav::-webkit-scrollbar { width: 8px; }
.app-sidebar .app-nav::-webkit-scrollbar-track { background: rgba(255,255,255,.04); border-radius: 999px; }
.app-sidebar .app-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 999px; }
.app-sidebar .app-nav { scrollbar-color: rgba(255,255,255,.22) rgba(255,255,255,.04); scrollbar-width: thin; }
.app-sidebar .sidebar-footer {
    flex: 0 0 auto;
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    background: var(--dark);
}
@media (max-width: 1020px) {
    .app-sidebar { top: 0; bottom: 0; height: 100dvh; min-height: 100dvh; }
}

/* ========================================================================== */
/* RostRadar 1.1.0 - Aurora Signal design system                              */
/* ========================================================================== */
:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-2: #eef2f6;
    --surface-3: #e7edf4;
    --ink: #0d141c;
    --ink-2: #344054;
    --muted: #586577;
    --line: #dce3eb;
    --line-strong: #c9d3df;
    --brand: #355ce8;
    --brand-dark: #294bc8;
    --brand-soft: #e9eeff;
    --teal: #1aae95;
    --teal-soft: #e0f6f1;
    --violet: #6e56cf;
    --coral: #e88d7a;
    --dark: #111827;
    --dark-2: #182231;
    --danger: #b42318;
    --danger-soft: #fff0ee;
    --warning: #8a5a00;
    --warning-soft: #fff5d9;
    --success: #087f6b;
    --success-soft: #e0f6f1;
    --info: #1769aa;
    --shadow-sm: 0 1px 2px rgba(13,20,28,.06);
    --shadow: 0 14px 42px rgba(13,20,28,.09);
    --shadow-float: 0 28px 80px rgba(13,20,28,.16);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --container: 1280px;
    --sidebar-width: 264px;
}

html { scroll-padding-top: 96px; }
body {
    font-family: Onest, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.625;
}
body::selection { color: #fff; background: var(--brand); }
img { height: auto; }
button, input, textarea, select { color: inherit; }
:focus-visible { outline: 3px solid rgba(53,92,232,.34); outline-offset: 3px; }
.container { width: min(calc(100% - 64px), var(--container)); }
.narrow { width: min(820px, 100%); }

h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.025em; }
h1 { font-size: clamp(44px, 5.2vw, 68px); line-height: 1.03; font-weight: 600; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; font-weight: 600; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 600; }
p { color: var(--muted); }
.lead { color: var(--ink-2); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; }
small { line-height: 1.35; }
strong, b { font-weight: 600; }

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
}
.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,var(--brand),var(--teal));
    box-shadow: none;
}
.section-kicker-light { color: #dbe5ff; }
.section-kicker-light::before { background: linear-gradient(90deg,#9cb1ff,#5fe0c7); }

.button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 8px 22px rgba(53,92,232,.22); }
.button-primary:hover { background: var(--brand-dark); box-shadow: 0 10px 28px rgba(53,92,232,.26); }
.button-secondary { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.button-secondary:hover { border-color: #9eacc0; background: #fbfcfe; }
.button-quiet, .button-ghost { color: var(--ink-2); background: transparent; border-color: transparent; }
.button-quiet:hover, .button-ghost:hover { background: var(--surface-2); }
.button-inverse { color: var(--ink); background: #fff; border-color: rgba(255,255,255,.45); }
.button-destructive { color: #fff; background: var(--danger); }
.button-large { min-height: 52px; padding-inline: 24px; font-size: 15px; }
.button-small { min-height: 36px; padding-inline: 14px; font-size: 13px; }
.text-link { gap: 8px; color: var(--brand-dark); font-weight: 600; }
.link-button { font-weight: 500; }
.link-button-light { color: #cbd5e1; }

.brand { gap: 10px; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.brand-image { flex: 0 0 auto; object-fit: contain; }
.brand-inverse { color: #fff; }
.brand-mark { display: none; }

/* Public navigation */
.site-header { background: rgba(246,248,251,.86); border-bottom: 1px solid rgba(220,227,235,.82); backdrop-filter: blur(18px) saturate(140%); }
.header-inner { min-height: 76px; gap: 28px; }
.main-nav { gap: 8px; }
.main-nav a { position: relative; padding: 10px 12px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.main-nav a:hover { color: var(--ink); background: rgba(255,255,255,.72); }
.main-nav a.active { color: var(--brand-dark); background: var(--brand-soft); }
.header-actions { gap: 6px; }
.nav-toggle { align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--ink); content: ""; }
.nav-toggle i { position: relative; }
.nav-toggle i::before { position: absolute; top: -5px; }
.nav-toggle i::after { position: absolute; top: 5px; }

/* Aurora hero */
.hero { padding: 104px 0 112px; background: var(--bg); }
.aurora-hero::before {
    inset: -20% -10% 10% 40%;
    opacity: 1;
    background:
        radial-gradient(circle at 22% 25%, rgba(53,92,232,.25), transparent 35%),
        radial-gradient(circle at 72% 18%, rgba(26,174,149,.22), transparent 31%),
        radial-gradient(circle at 68% 75%, rgba(110,86,207,.18), transparent 38%),
        radial-gradient(circle at 12% 82%, rgba(232,141,122,.13), transparent 30%);
    filter: blur(24px);
    mask-image: none;
}
.aurora-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,rgba(246,248,251,.98) 0%,rgba(246,248,251,.86) 43%,rgba(246,248,251,.16) 82%); }
.hero-grid { z-index: 1; grid-template-columns: minmax(0,.9fr) minmax(520px,1.1fr); gap: 72px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 760px; margin-bottom: 26px; }
.hero-copy h1 span { color: var(--brand); }
.hero-copy .lead { max-width: 660px; }
.hero-proof-list { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 26px 0 0; list-style: none; }
.hero-proof-list li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.hero-proof-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.product-stage { position: relative; min-height: 580px; }
.product-window { position: absolute; inset: 28px 0 36px 36px; overflow: hidden; border: 1px solid rgba(255,255,255,.82); border-radius: 28px; background: rgba(255,255,255,.86); box-shadow: var(--shadow-float); backdrop-filter: blur(18px); }
.product-window-bar { min-height: 52px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(248,250,253,.8); }
.product-window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #c7d0dc; }
.product-window-bar span:nth-child(1) { background: #e88d7a; }
.product-window-bar span:nth-child(2) { background: #e9bb58; }
.product-window-bar span:nth-child(3) { background: #1aae95; }
.product-window-bar b { margin-left: 12px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.product-window-body { display: grid; grid-template-columns: 58px 1fr; min-height: calc(100% - 52px); }
.product-mini-nav { display: grid; align-content: start; justify-items: center; gap: 18px; padding: 22px 0; border-right: 1px solid var(--line); background: #f7f9fc; }
.product-mini-nav i { width: 22px; height: 5px; border-radius: 999px; background: #d6deea; }
.product-mini-nav i:nth-of-type(1) { background: var(--brand); }
.product-preview-content { padding: 34px; }
.product-preview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.product-preview-heading small, .product-metric-grid small, .product-platform small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 500; }
.product-preview-heading strong { display: block; max-width: 360px; font-size: 26px; line-height: 1.22; }
.product-preview-content > p { max-width: 520px; margin: 18px 0 24px; }
.product-metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.product-metric-grid > div { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.product-metric-grid b { display: block; font-size: 15px; }
.product-platform { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--teal-soft); }
.product-platform > span { color: var(--success); font-size: 12px; font-weight: 600; }
.product-decision { display: grid; gap: 3px; margin-top: 16px; padding: 16px; border-left: 3px solid var(--brand); background: var(--brand-soft); }
.product-decision span { color: var(--muted); font-size: 12px; }
.signal-card { position: absolute; z-index: 3; min-width: 174px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.signal-card small, .signal-card span { display: block; color: var(--muted); font-size: 12px; }
.signal-card strong { display: block; margin: 3px 0; font-size: 20px; }
.signal-card-a { top: 0; right: 32px; }
.signal-card-b { right: -18px; bottom: 2px; }

.section { padding: 104px 0; }
.section-compact { padding: 30px 0; }
.page-hero { padding: 96px 0 72px; background: var(--bg); text-align: center; }
.page-hero-editorial { position: relative; overflow: hidden; padding: 104px 0 80px; text-align: left; }
.page-hero-editorial::before { content: ""; position: absolute; inset: -50% 42% -80% -12%; background: radial-gradient(circle at 50% 50%,rgba(53,92,232,.18),transparent 58%),radial-gradient(circle at 15% 68%,rgba(26,174,149,.14),transparent 38%); filter: blur(22px); }
.page-hero-editorial .container { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 56px; }
.page-hero-copy { max-width: 900px; }
.page-hero-aside, .experiment-live-card, .partner-formula { max-width: 280px; padding: 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.76); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.page-hero-aside strong, .partner-formula strong { display: block; font-size: 28px; line-height: 1.2; }
.page-hero-aside span, .partner-formula span { color: var(--muted); font-size: 13px; }
.demo-badge { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; color: var(--violet); background: #eeeaff; font-size: 12px; font-weight: 600; }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading p { font-size: 18px; }
.proof-strip-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.proof-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; }
.proof-strip span { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.editorial-grid { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: 96px; align-items: start; }
.sticky-heading { position: sticky; top: 120px; }
.problem-list { display: grid; }
.problem-list article { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); }
.problem-list article:last-child { border-bottom: 1px solid var(--line); }
.problem-list article > span { color: var(--brand); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; font-weight: 600; }
.problem-list h3 { margin-bottom: 8px; font-size: 26px; }
.problem-list p { max-width: 640px; margin: 0; }
.signal-cycle-section, .rules-section, .confidence-section { color: #fff; background: radial-gradient(circle at 90% 10%,rgba(53,92,232,.22),transparent 32%),linear-gradient(135deg,#101827,#182333 65%,#13282b); }
.signal-cycle-section h2, .signal-cycle-section h3, .rules-section h2, .confidence-section h2 { color: #fff; }
.signal-cycle-section .section-heading p, .confidence-section p { color: #b8c5d5; }
.signal-cycle { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; padding: 0; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; list-style: none; background: rgba(255,255,255,.12); }
.signal-cycle li { min-height: 290px; padding: 30px; background: rgba(15,24,39,.88); }
.signal-cycle li > span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #dbe5ff; font-family: "IBM Plex Mono",ui-monospace,monospace; font-size: 12px; }
.signal-cycle small { color: #7f93aa; }
.signal-cycle p { color: #9fb0c1; }
.split-section { gap: 84px; }
.product-proof-section { grid-template-columns: .9fr 1.1fr; }
.check-list { gap: 10px; }
.check-list li { padding-left: 26px; color: var(--ink-2); }
.check-list li::before { content: ""; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hypothesis-card, .panel, .pricing-card, .platform-card, .strategy-card, .side-card, .hypothesis-list-card, .onboarding-card { border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.hypothesis-card-new { position: relative; padding: 34px; overflow: hidden; box-shadow: var(--shadow); }
.hypothesis-card-new::after { content: ""; position: absolute; width: 240px; height: 240px; right: -110px; top: -100px; border-radius: 50%; background: radial-gradient(circle,rgba(53,92,232,.14),transparent 68%); }
.entity-label { display: block; margin: 30px 0 8px; color: var(--muted); }
.metric-row { gap: 12px; }
.metric-row > div { padding: 14px 0; border-top: 1px solid var(--line); }
.metric-row small, .preview-head small, .preview-grid small, .stat-card small, .balance-card small, .goal-progress-card small, .result-hero small, .action-metrics small, .action-platform small, .week-summary small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.confidence-bar { height: 7px; margin: 6px 0 22px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.confidence-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--brand),var(--teal)); }
.platform-line { align-items: flex-start; }
.platform-line strong { max-width: 60%; text-align: right; }
.experiment-section { padding-top: 0; }
.experiment-banner-new { display: flex; align-items: center; justify-content: space-between; gap: 56px; padding: 52px; border-radius: 28px; color: #fff; background: linear-gradient(120deg,#17213a,#243968 54%,#1b615c); box-shadow: var(--shadow-float); }
.experiment-banner-new h2 { color: #fff; }
.experiment-banner-new p { max-width: 720px; color: #c7d2e5; }
.experiment-status { display: flex; align-items: center; gap: 9px; color: #dce5f3; font-size: 13px; }
.experiment-status i, .experiment-live-card i { width: 9px; height: 9px; border-radius: 50%; background: #56dfbd; box-shadow: 0 0 0 6px rgba(86,223,189,.12); }
.final-cta { padding-top: 40px; }
.final-cta-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 54px; padding: 64px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff url('../img/aurora-cta.webp') center/cover no-repeat; box-shadow: var(--shadow); }
.final-cta-panel::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.70); }
.final-cta-panel > * { position: relative; }
.final-cta-panel div { max-width: 800px; }
.final-cta-panel p { max-width: 720px; }

/* Process and demo pages */
.process-layout { display: grid; grid-template-columns: 220px 1fr; gap: 72px; }
.process-index { position: sticky; top: 112px; display: grid; align-self: start; gap: 4px; }
.process-index a { padding: 10px 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: 13px; }
.process-index a:hover { color: var(--brand-dark); border-color: var(--brand); }
.process-steps article { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 52px 0; border-top: 1px solid var(--line); }
.process-steps article:first-child { padding-top: 0; border-top: 0; }
.process-steps article > span { color: var(--brand); font-family: "IBM Plex Mono",ui-monospace,monospace; font-size: 14px; }
.process-steps small { color: var(--muted); }
.process-example { display: grid; gap: 3px; margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--teal); background: var(--teal-soft); }
.process-example span { color: var(--ink-2); font-size: 14px; }
.confidence-stack { display: grid; gap: 12px; }
.confidence-stack > div { padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.05); }
.confidence-stack p { margin: 10px 0 0; color: #aebdce; }
.demo-product-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.demo-tabs { position: sticky; top: 76px; z-index: 3; display: flex; gap: 4px; padding: 12px 16px; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.demo-tabs a { flex: 0 0 auto; padding: 9px 13px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 500; }
.demo-tabs a.active, .demo-tabs a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.demo-product-content { padding: 0 48px; }
.demo-section { padding: 54px 0; border-bottom: 1px solid var(--line); }
.demo-section:last-child { border: 0; }
.demo-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.demo-section-head small, .demo-decision small { color: var(--brand-dark); font-weight: 600; }
.metric-row-four { grid-template-columns: repeat(4,1fr); }
.platform-choice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.platform-choice-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.platform-choice-grid article.recommended { border-color: rgba(53,92,232,.42); box-shadow: inset 0 0 0 1px rgba(53,92,232,.1); }
.platform-choice-grid article > span { color: var(--brand-dark); font-size: 12px; font-weight: 600; }
.platform-choice-grid article b { display: block; margin: 16px 0 4px; font-size: 22px; }
.week-plan-list { display: grid; padding: 0; margin: 0; list-style: none; }
.week-plan-list li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.week-plan-list li > span { color: var(--brand-dark); font-family: "IBM Plex Mono",ui-monospace,monospace; font-size: 13px; }
.week-plan-list b, .week-plan-list small { display: block; }
.week-plan-list small { color: var(--muted); }
.demo-decision { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

/* Experiment / partners / pricing */
.experiment-live-card { display: grid; gap: 5px; }
.experiment-live-card i { margin-bottom: 10px; }
.experiment-live-card strong { font-size: 16px; }
.experiment-live-card span { color: var(--muted); font-size: 13px; }
.experiment-stats-new { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.experiment-stats-new > div { border-right: 1px solid var(--line); }
.experiment-stats-new > div:last-child { border: 0; }
.experiment-timeline-empty { display: grid; grid-template-columns: 160px 1fr; gap: 34px; max-width: 900px; margin: 70px auto 0; }
.experiment-timeline-empty > span { color: var(--brand); font-family: "IBM Plex Mono",ui-monospace,monospace; font-size: 13px; }
.rules-grid { grid-template-columns: repeat(3,1fr); }
.rules-grid p { min-height: 120px; margin: 0; padding: 24px; color: #c3cfdd; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.pricing-hero { position: relative; overflow: hidden; }
.pricing-hero::before { content: ""; position: absolute; inset: -80% 20% 0; background: radial-gradient(circle,rgba(53,92,232,.16),transparent 58%); }
.pricing-hero > * { position: relative; }
.pricing-switch { display: inline-flex; padding: 4px; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pricing-switch button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 500; }
.pricing-switch button.active { color: #fff; background: var(--ink); }
.pricing-switch button span { color: var(--teal); }
.pricing-grid { align-items: stretch; gap: 18px; }
.pricing-card { display: flex; flex-direction: column; padding: 30px; border-radius: 18px; box-shadow: var(--shadow-sm); }
.pricing-card.featured { transform: none; border-color: rgba(53,92,232,.5); box-shadow: 0 14px 42px rgba(53,92,232,.11); }
.pricing-card-head { min-height: 104px; }
.pricing-card-head p { margin-top: 10px; font-size: 14px; }
.plan-badge { align-self: flex-start; position: static; margin-bottom: 16px; padding: 7px 10px; border-radius: 999px; color: var(--brand-dark); background: var(--brand-soft); font-size: 12px; font-weight: 600; }
.plan-name { font-size: 16px; font-weight: 600; }
.price-stack { min-height: 110px; margin: 18px 0; }
.price-stack h2 { margin: 0; font-size: 38px; }
.price-stack h2 small { font-size: 14px; font-weight: 400; }
.price-stack > span { color: var(--muted); font-size: 13px; }
.pricing-card ul { flex: 1; display: grid; align-content: start; gap: 10px; padding: 18px 0 26px; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.pricing-card li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 14px; }
.pricing-card li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.pricing-explain { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
.pricing-explain > div { padding: 24px; border-top: 2px solid var(--line); }
.pricing-explain h2 { font-size: 20px; }
.pricing-note { margin-top: 24px; color: var(--muted); font-size: 13px; }
.partner-formula small { display: block; color: var(--muted); }
.partner-steps-new { gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.partner-steps-new article { min-height: 230px; border: 0; border-radius: 0; box-shadow: none; }
.partner-steps-new article > span { color: var(--brand); background: transparent; }
.partner-dashboard-section { background: #eef2f7; }
.partner-demo { position: relative; }
.partner-demo .demo-badge { position: absolute; right: 18px; top: 18px; z-index: 2; }
.balance-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; }
.faq-list { display: grid; }
.faq-list details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list p { margin: 12px 0 0; }

/* Legal */
.legal-hero { padding-bottom: 52px; text-align: left; }
.legal-hero-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 42px; }
.legal-meta { display: grid; justify-items: end; gap: 6px; color: var(--muted); font-size: 13px; }
.legal-meta .button { margin-top: 10px; }
.legal-section { padding-top: 48px; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0,820px); gap: 72px; justify-content: center; align-items: start; }
.legal-aside { position: sticky; top: 112px; display: grid; gap: 4px; }
.legal-aside strong { margin-bottom: 8px; }
.legal-aside a { padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.legal-aside a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.legal-content { width: 100%; }
.legal-document-text { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink-2); font-size: 16px; line-height: 1.8; white-space: normal; }
.legal-content article + article { margin-top: 32px; }
.legal-content h2 { margin-top: 42px; font-size: 26px; }

/* Footer */
.site-footer { padding: 72px 0 24px; color: #c7d2df; background: #111827; }
.footer-top { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 48px; }
.footer-brand p { max-width: 290px; color: #8fa0b4; }
.footer-version { color: #6f8094; font-size: 12px; }
.brand-footer { margin-bottom: 16px; color: #fff; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 6px; color: #fff; font-size: 13px; }
.footer-links a, .footer-link-button { color: #9eacbd; font-size: 13px; }
.footer-links a:hover, .footer-link-button:hover { color: #fff; }
.footer-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); color: #77889b; font-size: 12px; }

/* Authentication */
.auth-page { min-height: 100vh; background: #f6f8fb; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(420px,.95fr) minmax(520px,1.05fr); }
.auth-showcase { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 42px 52px; overflow: hidden; color: #fff; background: #121b2a url('../img/aurora-auth.webp') center/cover no-repeat; }
.auth-showcase::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(12,19,31,.20),rgba(12,19,31,.62)); }
.auth-showcase > * { position: relative; }
.auth-showcase-copy { max-width: 650px; margin: auto 0; }
.auth-showcase h1 { color: #fff; font-size: clamp(44px,5vw,68px); }
.auth-showcase p { max-width: 600px; color: #c5d1df; }
.auth-product-preview { margin-top: 42px; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(13,20,28,.46); backdrop-filter: blur(18px); }
.auth-preview-top { display: flex; justify-content: space-between; margin-bottom: 18px; color: #aebed0; font-size: 12px; }
.auth-preview-top b { color: #7be0ca; }
.auth-product-preview > strong { display: block; max-width: 480px; font-size: 24px; line-height: 1.3; }
.auth-preview-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.auth-preview-metrics span { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 13px; }
.auth-preview-metrics small { display: block; color: #8fa0b4; }
.auth-showcase-note { margin: 28px 0 0; color: #8494a8 !important; font-size: 12px; }
.auth-workspace { display: grid; align-content: center; justify-items: center; padding: 48px; }
.auth-mobile-brand { display: none; }
.auth-card { width: min(100%,520px); padding: 42px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 38px; }
.auth-card .eyebrow { display: none; }
.auth-legal { width: min(100%,520px); justify-content: flex-start; margin-top: 24px; color: var(--muted); }
.auth-legal a, .auth-legal button { font-size: 12px; }

/* Onboarding */
.onboarding-page { min-height: 100vh; background: radial-gradient(circle at 90% 5%,rgba(53,92,232,.12),transparent 28%),var(--bg); }
.onboarding-header { width: min(calc(100% - 64px),1120px); min-height: 80px; }
.onboarding-progress-copy { display: grid; justify-items: end; line-height: 1.3; }
.onboarding-progress-copy strong { font-size: 13px; }
.onboarding-progress-copy span { color: var(--muted); font-size: 12px; }
.progress-track { height: 3px; background: #e2e8f0; }
.progress-track span { background: linear-gradient(90deg,var(--brand),var(--teal)); }
.onboarding-shell { width: min(calc(100% - 40px),1120px); padding: 56px 0 110px; }
.onboarding-card { max-width: 860px; padding: 42px; border-radius: 20px; box-shadow: var(--shadow); }
.onboarding-card h1, .onboarding-wide h1 { font-size: clamp(38px,4.2vw,54px); font-weight: 600; }
.onboarding-facts span { border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: #fff; font-weight: 500; }
.radar-mini { background: url('../img/logo-mark-128.png') center/contain no-repeat; border: 0; border-radius: 0; }
.choice-grid { gap: 12px; }
.choice-card, .checkbox-card { min-height: 58px; padding: 15px; border-color: var(--line); border-radius: 12px; }
.choice-card:hover, .checkbox-card:hover { border-color: #aebbd0; }
.choice-card:has(input:checked), .checkbox-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(53,92,232,.1); }
.strategy-card.featured { border-color: rgba(53,92,232,.5); box-shadow: var(--shadow); }
.strategy-card:has(input:checked) { outline-color: rgba(53,92,232,.28); }

/* Forms and generic components */
label { color: var(--ink-2); font-size: 14px; font-weight: 500; }
input:not([type="checkbox"]):not([type="radio"]), textarea, select {
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    color: var(--ink);
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(13,20,28,.02);
}
textarea { min-height: 120px; resize: vertical; }
input:hover, textarea:hover, select:hover { border-color: #aab7c8; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(53,92,232,.13); outline: 0; }
fieldset { border-color: var(--line); border-radius: 12px; }
.form-stack { gap: 18px; }
.form-grid { gap: 18px; }
.alert { padding: 15px 17px; border-radius: 12px; box-shadow: none; }
.alert-success { color: #075f51; border-color: #a7e1d6; background: var(--success-soft); }
.alert-error { color: #8e1c13; border-color: #f4b8b2; background: var(--danger-soft); }
.alert-warning { color: #715000; border-color: #ecd28a; background: var(--warning-soft); }
.status { min-height: 28px; padding: 0 10px; font-weight: 600; }
.status-high, .status-primary { color: #08715f; background: var(--teal-soft); }
.status-medium { color: #785100; background: var(--warning-soft); }
.status-low { color: #98271d; background: var(--danger-soft); }
.status-neutral { color: var(--ink-2); background: var(--surface-2); }
.panel { padding: 26px; }
.panel h2 { font-size: 24px; }
.tip-box { background: var(--surface-2); border-color: var(--line); }

/* Client and admin application shell */
.app-page { background: var(--bg); }
.app-shell { grid-template-columns: var(--sidebar-width) minmax(0,1fr); }
.app-sidebar { width: var(--sidebar-width); padding: 22px 16px 18px; background: linear-gradient(180deg,#131c2a,#101722); color: #fff; }
.sidebar-brand-row { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.sidebar-close { display: none; width: 34px; height: 34px; border: 0; border-radius: 9px; color: #fff; background: rgba(255,255,255,.08); font-size: 22px; }
.sidebar-project-context { display: grid; gap: 3px; margin: 24px 4px 12px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.045); }
.sidebar-project-context span, .admin-sidebar-label { color: #8190a5; font-size: 11px; }
.sidebar-project-context strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.app-nav { gap: 3px; margin-top: 8px; }
.app-nav-label { margin: 20px 14px 7px; color: #6f7e92; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.app-nav a { min-height: 42px; gap: 11px; padding: 9px 12px; border-radius: 10px; color: #9cabbc; font-size: 13px; font-weight: 500; }
.app-nav a img { opacity: .7; filter: brightness(0) invert(1); }
.app-nav a:hover { color: #fff; background: rgba(255,255,255,.055); }
.app-nav a.active { color: #fff; background: rgba(91,119,225,.19); box-shadow: inset 2px 0 0 #7f9aff; }
.app-nav a.active img { opacity: 1; }
.app-nav-secondary a { min-height: 38px; }
.sidebar-footer { gap: 9px; padding: 12px 10px 4px; color: #8795a8; font-size: 12px; }
.sidebar-footer a { color: #9aa8ba; }
.sidebar-footer a:hover { color: #fff; }
.sidebar-footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.app-main { background: var(--bg); }
.app-topbar { min-height: 72px; padding: 0 28px; background: rgba(255,255,255,.86); border-bottom-color: var(--line); backdrop-filter: blur(16px) saturate(130%); }
.topbar-title { display: grid; line-height: 1.25; }
.topbar-title small { color: var(--muted); font-size: 11px; }
.topbar-title strong { font-size: 15px; }
.icon-button { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.icon-button:hover { border-color: #aebbd0; }
.icon-button img { opacity: .82; }
.icon-button b { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; color: #fff; background: var(--danger); font-size: 10px; }
.topbar-partner { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 12px; }
.topbar-partner span { color: var(--muted); }
.topbar-partner b { color: var(--brand-dark); }
.user-chip > span { width: 38px; height: 38px; color: var(--brand-dark); background: var(--brand-soft); font-weight: 600; }
.user-chip strong { font-size: 13px; }
.user-chip small { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.app-content { width: min(calc(100% - 56px),1440px); padding: 36px 0 80px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(34px,3.4vw,48px); font-weight: 600; }
.goal-chip { border-radius: 14px; box-shadow: var(--shadow-sm); }
.goal-chip span { font-weight: 600; }
.primary-action-card { position: relative; overflow: hidden; padding: 36px; border-radius: 20px; background: linear-gradient(125deg,#17213a,#20335b 60%,#1b5954); box-shadow: var(--shadow); }
.primary-action-card::after { content: ""; position: absolute; right: -100px; top: -130px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle,rgba(88,225,196,.20),transparent 65%); }
.primary-action-card > * { position: relative; z-index: 1; }
.primary-action-card h2 { color: #fff; font-weight: 600; }
.primary-action-card p { color: #b9c7d8; }
.action-metrics > div { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.055); }
.action-platform { border-color: rgba(77,220,188,.25); background: rgba(34,174,148,.12); }
.dashboard-grid { gap: 18px; }
.task-row { min-height: 62px; }
.task-status.completed { background: var(--teal); }
.task-status.in_progress { background: #e5aa32; }
.progress-large span { background: linear-gradient(90deg,var(--brand),var(--teal)); }
.content-grid { grid-template-columns: minmax(0,1fr) 340px; gap: 18px; }
.side-column { top: 92px; }
.timeline-card { border-radius: 14px; }
.breadcrumbs a { color: var(--brand-dark); font-weight: 600; }
.reward-badge { color: var(--brand-dark); background: var(--brand-soft); font-weight: 600; }
.platform-price { font-weight: 600; }
.detail-list dd { font-weight: 600; }

/* Admin grouped navigation */
.admin-shell { grid-template-columns: 278px minmax(0,1fr); }
.admin-sidebar { width: 278px; }
.admin-sidebar-label { margin: 24px 12px 8px; text-transform: uppercase; letter-spacing: .08em; }
.admin-nav { display: grid; gap: 5px; min-height: 0; overflow-y: auto; padding: 4px 2px 20px; scrollbar-width: thin; scrollbar-color: #526177 transparent; }
.admin-nav > a, .admin-nav summary { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 9px 12px; border-radius: 10px; color: #a2afbf; font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; }
.admin-nav summary::-webkit-details-marker { display: none; }
.admin-nav summary::after { content: "+"; margin-left: auto; color: #728196; font-size: 18px; font-weight: 400; }
.admin-nav details[open] summary::after { content: "−"; }
.admin-nav > a img, .admin-nav summary img { opacity: .7; filter: brightness(0) invert(1); }
.admin-nav > a:hover, .admin-nav summary:hover { color: #fff; background: rgba(255,255,255,.055); }
.admin-nav > a.active { color: #fff; background: rgba(91,119,225,.19); box-shadow: inset 2px 0 0 #7f9aff; }
.admin-nav details > div { display: grid; gap: 2px; margin: 2px 0 6px 30px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.10); }
.admin-nav details > div a { padding: 7px 10px; border-radius: 8px; color: #8998aa; font-size: 12px; }
.admin-nav details > div a:hover { color: #fff; background: rgba(255,255,255,.04); }
.admin-nav details > div a.active { color: #dfe7ff; background: rgba(91,119,225,.15); }
.admin-topbar { padding-inline: 30px; }
.admin-user-email { max-width: 260px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-content { width: min(calc(100% - 64px),1560px); }
.admin-page .table-wrap { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.admin-page table { min-width: 860px; }
.admin-page th { position: sticky; top: 0; z-index: 1; color: var(--muted); background: #f7f9fc; font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.admin-page td { font-size: 13px; }
.admin-page tr:hover td { background: #fbfcfe; }

/* Dialog, cookie and mobile navigation */
.feedback-dialog, .cookie-dialog { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-float); }
.cookie-banner { border-color: var(--line); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-float); backdrop-filter: blur(18px); }
.mobile-bottom-nav { border-top-color: var(--line); background: rgba(255,255,255,.95); box-shadow: 0 -8px 30px rgba(13,20,28,.08); backdrop-filter: blur(16px); }
.mobile-bottom-nav a, .mobile-bottom-nav button { color: var(--muted); }
.mobile-bottom-nav [aria-current="page"] { color: var(--brand-dark); }
.mobile-bottom-nav img { opacity: .72; }
.mobile-bottom-nav [aria-current="page"] img { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media (max-width: 1180px) {
    .container { width: min(calc(100% - 48px), var(--container)); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 820px; }
    .product-stage { min-height: 540px; }
    .product-window { inset: 18px 60px 22px 60px; }
    .signal-card-a { right: 28px; }
    .signal-card-b { right: 10px; }
    .signal-cycle { grid-template-columns: 1fr 1fr; }
    .editorial-grid { gap: 56px; }
    .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-links:last-child { grid-column: 2 / 4; grid-template-columns: repeat(3,auto); }
    .auth-layout { grid-template-columns: .9fr 1.1fr; }
}

@media (max-width: 980px) {
    .container { width: min(calc(100% - 40px), var(--container)); }
    .main-nav { position: fixed; inset: 77px 20px auto; display: none; grid-template-columns: 1fr; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-float); }
    .main-nav.open { display: grid; }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .header-actions { margin-left: 0; }
    .header-actions .button-quiet { display: none; }
    .page-hero-editorial .container, .legal-hero-inner { grid-template-columns: 1fr; }
    .page-hero-aside, .experiment-live-card, .partner-formula { max-width: 440px; }
    .editorial-grid, .split-section, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
    .sticky-heading { position: static; }
    .signal-cycle li { min-height: 250px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 720px; }
    .pricing-explain { grid-template-columns: 1fr; }
    .process-layout { grid-template-columns: 1fr; gap: 32px; }
    .process-index { position: static; display: flex; overflow-x: auto; }
    .process-index a { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid var(--line); }
    .legal-layout { grid-template-columns: 1fr; gap: 24px; }
    .legal-aside { position: static; display: flex; overflow-x: auto; }
    .legal-aside a, .legal-aside strong { flex: 0 0 auto; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-links:last-child { grid-column: auto; grid-template-columns: 1fr; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-showcase { min-height: 480px; padding: 34px 40px; }
    .auth-showcase-copy { margin: 70px 0 30px; }
    .auth-showcase h1 { font-size: 48px; }
    .auth-workspace { padding: 56px 24px; }
    .app-shell, .admin-shell { display: block; }
    .app-sidebar, .admin-sidebar { position: fixed; left: -100%; top: 0; z-index: 300; width: min(88vw,300px); height: 100dvh; transition: left .22s ease; }
    .app-sidebar.open { left: 0; }
    .sidebar-close { display: grid; place-items: center; }
    .sidebar-toggle { display: grid; }
    .app-content, .admin-content { width: min(calc(100% - 40px),1440px); }
    .content-grid { grid-template-columns: 1fr; }
    .side-column { position: static; }
    .mobile-bottom-nav { display: grid; }
    .app-page { padding-bottom: 72px; }
}

@media (max-width: 720px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    h1 { font-size: clamp(38px,11vw,52px); }
    h2 { font-size: clamp(29px,8vw,38px); }
    .header-inner { min-height: 68px; }
    .brand { font-size: 18px; }
    .brand-image { width: 28px; height: 28px; }
    .header-actions .button { display: none; }
    .main-nav { top: 68px; }
    .hero { padding: 74px 0 80px; }
    .hero-grid { gap: 42px; }
    .button-row { align-items: stretch; }
    .button-row .button { flex: 1 1 100%; }
    .hero-proof-list { display: grid; }
    .product-stage { min-height: 520px; margin-inline: -8px; }
    .product-window { inset: 10px 0 24px; border-radius: 20px; }
    .product-window-body { grid-template-columns: 42px 1fr; }
    .product-mini-nav { padding-inline: 4px; }
    .product-mini-nav img { width: 22px; }
    .product-preview-content { padding: 22px 18px; }
    .product-preview-heading { display: grid; }
    .product-preview-heading strong { font-size: 21px; }
    .product-metric-grid { grid-template-columns: 1fr; }
    .product-platform { align-items: flex-start; }
    .signal-card { display: none; }
    .section { padding: 76px 0; }
    .proof-strip { justify-content: flex-start; gap: 8px; }
    .proof-strip span { padding: 7px 10px; border-radius: 999px; background: var(--surface-2); }
    .problem-list article { grid-template-columns: 42px 1fr; gap: 12px; }
    .problem-list h3 { font-size: 22px; }
    .signal-cycle { grid-template-columns: 1fr; }
    .signal-cycle li { min-height: auto; }
    .signal-cycle li > span { margin-bottom: 26px; }
    .experiment-banner-new, .final-cta-panel { display: grid; padding: 32px 24px; }
    .process-steps article { grid-template-columns: 1fr; }
    .process-steps article > span { margin-bottom: -10px; }
    .demo-product-content { padding: 0 20px; }
    .demo-section-head, .demo-decision { display: grid; }
    .metric-row-four, .platform-choice-grid, .diagnosis-grid { grid-template-columns: 1fr; }
    .experiment-stats-new { grid-template-columns: 1fr 1fr; }
    .experiment-stats-new > div { border-bottom: 1px solid var(--line); }
    .experiment-timeline-empty { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .partner-steps-new { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { display: grid; gap: 6px; }
    .auth-showcase { display: none; }
    .auth-workspace { min-height: 100vh; align-content: start; padding: 26px 16px 48px; }
    .auth-mobile-brand { display: inline-flex; justify-self: start; margin-bottom: 42px; }
    .auth-card { padding: 28px 22px; border-radius: 16px; }
    .auth-card h1 { font-size: 34px; }
    .onboarding-header { width: min(calc(100% - 32px),1120px); }
    .onboarding-progress-copy strong { display: none; }
    .onboarding-shell { width: min(calc(100% - 24px),1120px); padding-top: 30px; }
    .onboarding-card { padding: 28px 20px; }
    .choice-grid, .choice-grid.compact, .checkbox-grid, .strategy-grid { grid-template-columns: 1fr; }
    .app-topbar { min-height: 64px; padding-inline: 16px; }
    .topbar-title small { display: none; }
    .topbar-partner, .user-chip div, .admin-user-email { display: none; }
    .app-content, .admin-content { width: min(calc(100% - 24px),1440px); padding-top: 24px; }
    .page-head { display: grid; }
    .page-head h1 { font-size: 34px; }
    .action-metrics, .dashboard-grid, .week-summary, .stats-pair, .decision-grid { grid-template-columns: 1fr; }
    .primary-action-card { padding: 26px 20px; }
    .action-top, .action-platform, .insight-panel, .timeline-card { align-items: flex-start; flex-direction: column; }
    .table-wrap { margin-inline: -12px; border-radius: 0 !important; }
    .admin-topbar .button { display: none; }
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}

@media print {
    .site-header, .site-footer, .legal-aside, .cookie-banner, .cookie-dialog { display: none !important; }
    .legal-hero { padding: 0 0 24px; }
    .legal-layout { display: block; }
    .legal-document-text { color: #000; }
}

/* 1.1.0 page-level refinements */
.panel-kicker { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.today-head .section-kicker { margin-bottom: 10px; }
.today-dashboard { margin-top: 18px; }
.empty-state { padding: 34px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); background: #fafbfd; text-align: center; }
.empty-state.compact { padding: 22px; }
.empty-state h2 { margin-bottom: 8px; }
.admin-attention-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
.attention-card { display: grid; gap: 2px; min-height: 148px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.attention-card small { color: var(--muted); font-size: 12px; }
.attention-card strong { margin: auto 0 0; font-size: 34px; line-height: 1; }
.attention-card span { color: var(--muted); font-size: 12px; }
.attention-card.healthy { border-top: 3px solid var(--teal); }
.attention-card.warning { border-top: 3px solid #d89b25; }
.attention-card.danger { border-top: 3px solid var(--danger); }
.admin-overview-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; margin-bottom: 40px; }
.stats-grid-compact { grid-template-columns: repeat(4,1fr); gap: 10px; }
.stats-grid-compact .stat-card { min-height: 112px; padding: 18px; border-radius: 12px; background: var(--surface-2); box-shadow: none; }
.stats-grid-compact .stat-card strong { font-size: 28px; font-weight: 600; }
.health-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.health-row span { color: var(--muted); font-size: 13px; }
.health-row strong { font-size: 18px; }
.admin-workspaces { margin: 42px 0; }
.admin-workspaces .section-heading { margin-bottom: 22px; }
.admin-workspaces .section-heading h2 { font-size: 28px; }
.admin-workspace-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.admin-workspace-grid > a { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: start; min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.admin-workspace-grid > a:hover { border-color: #aebbd0; transform: translateY(-2px); box-shadow: var(--shadow); }
.admin-workspace-grid img { opacity: .82; }
.admin-workspace-grid h3 { margin-bottom: 8px; font-size: 19px; }
.admin-workspace-grid p { margin: 0; font-size: 13px; }
.admin-workspace-grid > a > span { color: var(--brand); }

.password-field { position: relative; display: block; }
.password-field input { width: 100%; padding-right: 82px !important; }
.password-toggle { position: absolute; right: 8px; top: 50%; min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; color: var(--brand-dark); background: var(--brand-soft); font-size: 12px; font-weight: 600; transform: translateY(-50%); }

@media (max-width: 1180px) {
    .admin-attention-grid, .admin-workspace-grid { grid-template-columns: 1fr 1fr; }
    .admin-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .admin-attention-grid, .admin-workspace-grid, .stats-grid-compact { grid-template-columns: 1fr 1fr; }
    .attention-card { min-height: 126px; }
    .admin-workspace-grid > a { grid-template-columns: 32px 1fr; min-height: auto; }
    .admin-workspace-grid > a > span { display: none; }
}
@media (max-width: 430px) {
    .admin-attention-grid, .admin-workspace-grid, .stats-grid-compact { grid-template-columns: 1fr; }
}

/* RostRadar visual quality layer: unified colors, contrast and accessibility */
:root {
    --brand: #4f6bff;
    --brand-dark: #3851db;
    --brand-soft: #edf0ff;
    --teal: #00bfa8;
    --teal-soft: #dff8f3;
    --violet: #8b5cf6;
    --coral: #ff5c87;
    --ink: #0a1020;
    --ink-2: #263349;
    --muted: #5e6b7f;
    --line: #d9e1ec;
    --line-strong: #bdc9d8;
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #edf2f8;
    --shadow-sm: 0 1px 2px rgba(8,16,32,.06), 0 5px 18px rgba(8,16,32,.04);
    --shadow: 0 18px 54px rgba(8,16,32,.11);
    --shadow-float: 0 32px 100px rgba(8,16,32,.20);
}

html { background: var(--bg); }
body { color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Focus: no double or malformed rings on native checkboxes/radios. */
:where(a, button, summary, [tabindex]):focus { outline: 0; }
:where(a, button, summary, [tabindex]):focus-visible {
    outline: 2px solid rgba(79,107,255,.84);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(79,107,255,.14);
}
:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select):focus,
:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select):focus-visible {
    outline: 0;
    border-color: #6d83ff;
    box-shadow: 0 0 0 3px rgba(79,107,255,.14);
}
input[type="hidden"] { display: none !important; }
input[type="checkbox"], input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px;
    max-height: 20px;
    padding: 0 !important;
    margin: 2px 0 0 !important;
    border: 1.5px solid #8fa0b3;
    background: #fff;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
}
input[type="checkbox"] { border-radius: 7px; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:checked {
    position: relative;
    border-color: #009f8d;
    background-color: var(--teal);
}
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
input[type="radio"]:checked { border: 5px solid var(--teal); }
input[type="checkbox"]:disabled, input[type="radio"]:disabled { cursor: not-allowed; opacity: .58; }
.checkbox-line, .checkbox-row, .cookie-option, .choice-card, .checkbox-card {
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.checkbox-line:has(input:focus-visible),
.checkbox-row:has(input:focus-visible),
.cookie-option:has(input:focus-visible) {
    background: rgba(0,191,168,.07);
    border-radius: 10px;
}
.choice-card:has(input:focus-visible), .checkbox-card:has(input:focus-visible) {
    border-color: #4fcfbe;
    box-shadow: 0 0 0 3px rgba(0,191,168,.14);
}

/* Public brand shell */
.public-page .site-header {
    background: rgba(8,14,30,.90);
    border-bottom-color: rgba(255,255,255,.09);
    box-shadow: 0 10px 40px rgba(5,10,24,.16);
    backdrop-filter: blur(20px) saturate(150%);
}
.public-page .brand { color: #f7f9ff; }
.public-page .brand-image { border-radius: 9px; box-shadow: 0 5px 18px rgba(72,101,255,.28); }
.public-page .main-nav a { color: #aebbd0; }
.public-page .main-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.public-page .main-nav a.active { color: #fff; background: rgba(96,119,255,.20); }
.public-page .site-header .button-quiet { color: #dbe4f5; }
.public-page .site-header .button-quiet:hover { color: #fff; background: rgba(255,255,255,.08); }
.public-page .site-header .button-primary {
    background: linear-gradient(135deg,#6079ff,#8a5af4 62%,#d74bb2);
    box-shadow: 0 10px 28px rgba(90,90,255,.30);
}
.public-page .nav-toggle { color: #fff; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); }
.public-page .nav-toggle i, .public-page .nav-toggle i::before, .public-page .nav-toggle i::after { background: #fff; }

/* Premium, vivid hero without decorative noise. */
.public-page .hero,
.public-page .page-hero,
.public-page .page-hero-editorial,
.public-page .legal-hero {
    position: relative;
    overflow: hidden;
    color: #f7f9ff;
    background:
        radial-gradient(circle at 82% 16%,rgba(0,218,190,.30),transparent 30%),
        radial-gradient(circle at 72% 78%,rgba(131,78,255,.36),transparent 39%),
        radial-gradient(circle at 18% 6%,rgba(61,92,255,.45),transparent 37%),
        radial-gradient(circle at 12% 88%,rgba(255,72,132,.17),transparent 27%),
        linear-gradient(135deg,#071022 0%,#101a38 48%,#16113f 100%);
}
.public-page .hero::after {
    background:
        linear-gradient(90deg,rgba(7,16,34,.96) 0%,rgba(7,16,34,.73) 43%,rgba(7,16,34,.10) 82%),
        linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size: auto,64px 64px,64px 64px;
}
.public-page .hero h1,
.public-page .page-hero h1,
.public-page .page-hero-editorial h1,
.public-page .legal-hero h1 { color: #fff; }
.public-page .hero-copy h1 span {
    color: transparent;
    background: linear-gradient(90deg,#6fdfff 0%,#83ffdb 32%,#a587ff 69%,#ff78a3 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.public-page .hero .lead,
.public-page .hero-proof-list li,
.public-page .page-hero p,
.public-page .page-hero-editorial p,
.public-page .legal-hero p { color: #b9c7de; }
.public-page .hero-proof-list li::before { box-shadow: 0 0 0 5px rgba(0,218,190,.12),0 0 18px rgba(0,218,190,.45); background: #37e4c7; }
.public-page .section-kicker,
.public-page .page-hero .section-kicker,
.public-page .page-hero-editorial .section-kicker { color: #9ee8dd; }
.public-page .section-kicker::before { background: linear-gradient(90deg,#65e7d1,#8d78ff); }

.button-primary {
    border-color: transparent;
    background: linear-gradient(135deg,#506cff 0%,#6e5cf3 55%,#9c4de0 100%);
    box-shadow: 0 12px 30px rgba(71,82,230,.28);
}
.button-primary:hover { background: linear-gradient(135deg,#405de8,#634ae0 58%,#8b3ccc); box-shadow: 0 16px 38px rgba(71,82,230,.34); }
.button-secondary { background: rgba(255,255,255,.96); }
.public-page .hero .button-secondary { color: #f7f9ff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.public-page .hero .button-secondary:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.13); }

.product-window {
    border-color: rgba(255,255,255,.20);
    background: rgba(249,251,255,.94);
    box-shadow: 0 42px 120px rgba(3,8,24,.48),0 0 0 1px rgba(255,255,255,.12);
}
.signal-card { border-color: rgba(255,255,255,.25); background: rgba(248,251,255,.94); box-shadow: 0 24px 70px rgba(3,8,24,.26); }

/* Rhythm and vertical spacing */
.section { padding-block: clamp(76px,8vw,112px); }
.section-compact { padding-block: 28px; }
.section + .section { border-top: 1px solid rgba(217,225,236,.58); }
.section-heading { margin-bottom: clamp(32px,4.5vw,56px); }
.section-heading h2, .page-head h1, .auth-card h1 { margin-bottom: 14px; }
.section-heading p:last-child, .page-head p:last-child { margin-bottom: 0; }
.problem-list article { padding-block: 38px; }
.panel, .card, .pricing-card, .attention-card { padding: clamp(20px,2.4vw,30px); }
.form-stack { gap: 20px; }
.form-stack > label { gap: 8px; }
.form-row { gap: 18px; }
.form-actions { margin-top: 6px; }
.page-head { gap: 22px; margin-bottom: 34px; }
.app-content, .admin-content { padding-top: 38px; padding-bottom: 88px; }

/* Explicit contrast repair for all previously conflicting blocks. */
.final-cta { background: var(--bg); }
.final-cta-panel {
    border: 1px solid rgba(255,255,255,.12);
    background:
        radial-gradient(circle at 82% 18%,rgba(0,222,193,.25),transparent 30%),
        radial-gradient(circle at 14% 92%,rgba(255,76,137,.16),transparent 28%),
        linear-gradient(125deg,#091229 0%,#182653 55%,#342064 100%);
    box-shadow: 0 32px 100px rgba(9,18,41,.28);
}
.final-cta-panel::before { background: linear-gradient(90deg,rgba(8,16,35,.10),rgba(8,16,35,.32)); }
.final-cta .section-kicker { color: #7fe8d6; }
.final-cta h2 { color: #fff !important; }
.final-cta p { color: #c6d2e6 !important; }
.final-cta .button-primary { background: linear-gradient(135deg,#53dcca,#6e7aff 54%,#c555dc); }
.balance-card { color: var(--ink) !important; background: #fff !important; }
.balance-card h1, .balance-card h2, .balance-card h3, .balance-card strong, .balance-card b { color: var(--ink) !important; }
.balance-card p, .balance-card span, .balance-card small { color: var(--muted); }

/* More dimensional content and admin surfaces. */
.problem-section, .product-proof-section, .pricing-section { background: linear-gradient(180deg,#f7f9fc,#f1f5fa); }
.problem-list article > span { color: var(--violet); }
.hypothesis-card-new, .pricing-card, .panel, .attention-card, .admin-workspace-grid > a {
    border-color: #d7e0ec;
    box-shadow: var(--shadow-sm);
}
.hypothesis-card-new:hover, .pricing-card:hover, .admin-workspace-grid > a:hover { border-color: #aebcff; box-shadow: var(--shadow); }
.signal-cycle-section, .rules-section, .confidence-section {
    background:
        radial-gradient(circle at 90% 8%,rgba(0,214,187,.20),transparent 30%),
        radial-gradient(circle at 8% 92%,rgba(139,92,246,.22),transparent 34%),
        linear-gradient(135deg,#081329,#142348 58%,#152f3d);
}
.experiment-banner-new { background: linear-gradient(120deg,#0b1731,#243f7a 54%,#14645c); }

.app-sidebar, .admin-sidebar {
    background:
        radial-gradient(circle at 18% 0%,rgba(79,107,255,.20),transparent 30%),
        linear-gradient(180deg,#0a1121,#111a2d 58%,#0a101c);
}
.app-nav a.active, .admin-nav > a.active { background: linear-gradient(90deg,rgba(79,107,255,.25),rgba(139,92,246,.12)); box-shadow: inset 3px 0 0 #65dec9; }
.primary-action-card { background: radial-gradient(circle at 90% 10%,rgba(0,214,187,.22),transparent 30%),linear-gradient(125deg,#111d3b,#263d78 58%,#155e59); }
.app-topbar { box-shadow: 0 1px 0 rgba(10,16,32,.04); }

/* Logo sizing and crispness */
.brand { letter-spacing: -.035em; }
.brand-image { image-rendering: auto; }
.site-header .brand-image, .sidebar-brand-row .brand-image { width: 36px; height: 36px; }
.brand span { font-weight: 600; }

/* Metrica diagnostics */
.metrica-diagnostic { display: grid; gap: 12px; margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f8faff; }
.metrica-diagnostic-output { min-height: 24px; color: var(--muted); font-size: 13px; }
.metrica-diagnostic-output[data-state="success"] { color: #087f6b; }
.metrica-diagnostic-output[data-state="error"] { color: var(--danger); }

@media (max-width: 980px) {
    .public-page .main-nav { background: rgba(8,14,30,.98); border-color: rgba(255,255,255,.12); }
    .public-page .main-nav a { color: #c4d0e2; }
    .public-page .main-nav a.active { color: #fff; background: rgba(96,119,255,.22); }
    .public-page .hero::after { background: linear-gradient(180deg,rgba(7,16,34,.70),rgba(7,16,34,.86)); }
}

@media (max-width: 720px) {
    .section { padding-block: 68px; }
    .hero { padding-top: 72px; padding-bottom: 76px; }
    .final-cta-panel { padding: 34px 24px; }
    .page-head { margin-bottom: 26px; }
    .app-content, .admin-content { padding-top: 26px; padding-bottom: 92px; }
    .checkbox-line, .checkbox-row { padding: 4px; margin-inline: -4px; }
}

/* Light surfaces nested inside dark branded areas must reset inherited color. */
.product-window,
.signal-card,
.page-hero-aside,
.experiment-live-card,
.partner-formula {
    color: var(--ink);
}
.product-window h2, .product-window h3, .product-window strong, .product-window b,
.signal-card h2, .signal-card h3, .signal-card strong, .signal-card b,
.page-hero-aside h2, .page-hero-aside h3, .page-hero-aside strong,
.experiment-live-card h2, .experiment-live-card h3, .experiment-live-card strong,
.partner-formula h2, .partner-formula h3, .partner-formula strong { color: var(--ink); }
.product-window p, .signal-card p, .page-hero-aside p, .experiment-live-card p, .partner-formula p { color: var(--muted); }

/* Platform administration CRUD */
.platform-filter-panel { margin-bottom: 20px; padding-bottom: 8px; }
.platform-filter-bar { margin-bottom: 0; }
.platform-filter-bar label { min-width: 150px; }
.platform-filter-bar label:first-child { min-width: min(100%, 280px); flex: 1.35; }
.filter-actions { display: flex; gap: 8px; padding-bottom: 1px; }
.platform-table-head { padding: 24px 26px 8px; }
.platform-table-head h2 { margin-bottom: 4px; }
.platform-table-head p { margin: 0; }
.platform-table-head > small { color: var(--muted); }
.platform-admin-table { min-width: 1160px; }
.platform-admin-table td { vertical-align: middle; }
.platform-admin-table tr.is-deleted { opacity: .64; background: #f6f7f9; }
.platform-admin-table .table-url { display: block; max-width: 280px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.platform-admin-table .table-url:hover { color: var(--brand-dark); }
.table-action-cell { width: 1%; white-space: nowrap; }
.deleted-label { color: var(--danger); font-weight: 700; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.pagination a { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-weight: 700; }
.pagination a:hover { border-color: #9eacbd; }
.pagination a.active { color: #fff; border-color: var(--brand); background: var(--brand); }

.platform-form-head .back-link { display: block; margin-bottom: 16px; color: var(--muted); font-size: 13px; font-weight: 700; }
.platform-form-head .back-link:hover { color: var(--ink); }
.platform-head-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.platform-editor-grid { grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr); align-items: start; }
.platform-editor-aside { display: grid; gap: 20px; min-width: 0; position: sticky; top: 96px; }
.platform-editor-aside > * { min-width: 0; }
.platform-form { gap: 22px; }
.form-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-section-head:first-of-type { padding-top: 0; border-top: 0; }
.form-section-head > div { display: flex; align-items: center; gap: 10px; }
.form-section-head > div > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #087f70; background: var(--teal-soft); font-size: 11px; font-weight: 800; }
.form-section-head h2 { margin: 0; font-size: 21px; }
.form-section-head p { max-width: 320px; margin: 2px 0 0; font-size: 13px; text-align: right; }
.platform-owner-check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); cursor: pointer; }
.platform-owner-check span { display: grid; gap: 2px; }
.platform-owner-check small { color: var(--muted); font-weight: 500; }
.platform-form-actions { padding-top: 20px; border-top: 1px solid var(--line); }
.platform-meta-list dt { color: var(--muted); }
.platform-meta-list dd { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.platform-meta-list code { font-size: 11px; white-space: normal; }
.platform-offer-list { display: grid; margin-bottom: 16px; }
.platform-offer-list article { display: block; min-width: 0; overflow: hidden; padding: 13px 0; border-bottom: 1px solid var(--line); }
.platform-offer-list article:first-child { padding-top: 0; }
.platform-offer-list article > div { width: 100%; min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.platform-offer-list article strong, .platform-offer-list article small { display: block; }
.platform-offer-list article > span { display: block; margin-top: 6px; font-weight: 700; white-space: nowrap; }
.platform-offer-list article > small { margin-top: 2px; color: var(--muted); }
.platform-delete-zone p { font-size: 13px; }
.platform-create-note .plain-list { margin-bottom: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: #d85a69 !important; background: #fffafb; }

@media (max-width: 1100px) {
    .platform-editor-grid { grid-template-columns: 1fr; }
    .platform-editor-aside { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .platform-delete-zone { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .platform-filter-bar { display: grid; }
    .filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .platform-table-head { align-items: flex-start; padding-inline: 20px; }
    .platform-editor-aside { grid-template-columns: 1fr; }
    .form-section-head { display: grid; }
    .form-section-head p { max-width: none; text-align: left; }
    .platform-form-actions { display: grid; }
    .platform-form-actions .button { width: 100%; }
}


/* Platform import monitoring */
.import-queue-health { margin-bottom: 20px; }
.import-queue-health.is-ok { border-color: rgba(0,191,168,.35); background: linear-gradient(180deg,#fbfffe,#f5fffc); }
.import-queue-health.is-warning { border-color: rgba(216,90,105,.35); background: #fffafb; }
.import-health-details { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 16px 0; }
.import-history-head { padding: 24px 26px 8px; }
.import-admin-table { min-width: 1280px; }
.import-admin-table td { vertical-align: middle; }
.import-admin-table tr.is-stalled { background: #fff8f3; }
.import-progress-cell { min-width: 210px; }
.import-progress-cell .progress-large { margin-bottom: 7px; }
.import-progress-cell small, .import-admin-table td small { display: block; margin-top: 4px; color: var(--muted); }
.import-stalled-label { color: var(--danger) !important; font-weight: 700; }
.import-error-cell { max-width: 300px; }
.import-error-cell span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--danger); }
.import-detail-head .back-link { display: block; margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
.import-head-status { display: grid; justify-items: end; gap: 7px; }
.import-head-status small { color: var(--muted); }
.import-blocker-alert { margin-bottom: 20px; }
.import-progress-panel { margin-bottom: 20px; }
.import-progress-panel .panel-head { margin-bottom: 14px; }
.import-progress-number { font-size: 30px; }
.import-progress-bar { height: 13px; }
.import-monitor-grid { align-items: start; }
.import-action-row { align-items: center; margin-top: 18px; }
.import-action-row form { margin: 0; }
@media (max-width: 720px) {
    .import-health-details { grid-template-columns: 1fr; }
    .import-head-status { justify-items: start; }
    .import-action-row { display: grid; }
    .import-action-row .button { width: 100%; }
}


/* Массовые действия в таблицах и карточках. */
.bulk-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:0 0 14px; padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:#f7fafc; }
.bulk-toolbar label { display:inline-flex; align-items:center; gap:8px; margin:0; }
.bulk-toolbar select { min-width:210px; min-height:38px; padding-block:7px; }
.bulk-toolbar small { margin-left:auto; color:var(--muted); }
.bulk-select-cell { width:48px; min-width:48px; text-align:center !important; }
.bulk-select-cell input { margin:0 auto !important; }
.bulk-select-all-label { font-weight:700; }
[data-bulk-row].is-selected { background:rgba(0,191,168,.08); }
.bulk-card { position:relative; transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.bulk-card.is-selected { border-color:var(--teal); box-shadow:inset 0 0 0 1px var(--teal); background:rgba(0,191,168,.05); }
.bulk-card-selector { display:inline-flex; align-items:center; gap:8px; margin-bottom:12px; font-weight:700; color:var(--muted); }
.button-danger { border-color:#c83f5d; background:#c83f5d; color:#fff; }
.button-danger:hover { background:#a92f4b; border-color:#a92f4b; }
.button-danger:disabled { opacity:.45; cursor:not-allowed; }
.segmented-control { display:inline-flex; gap:4px; padding:4px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.segmented-control a { padding:8px 12px; border-radius:10px; color:var(--muted); font-weight:700; text-decoration:none; }
.segmented-control a.active { color:var(--ink); background:var(--brand-soft); }
@media (max-width:720px) { .bulk-toolbar { align-items:stretch; } .bulk-toolbar > * { width:100%; } .bulk-toolbar label { justify-content:space-between; } .bulk-toolbar select { min-width:0; flex:1; } .bulk-toolbar small { margin-left:0; } .segmented-control { width:100%; overflow-x:auto; } .segmented-control a { flex:1 0 auto; text-align:center; } }
