:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #edf1f7;
  --ink: #0b1020;
  --muted: #5d6575;
  --line: #d8deea;
  --brand: #325dff;
  --brand-strong: #2449d8;
  --signal: #0c9f68;
  --signal-soft: #dff8ed;
  --danger: #cf3448;
  --warning: #d59000;
  --dark: #0b1020;
  --dark-2: #151c2f;
  --dark-muted: #aab3c8;
  --shadow: 0 18px 48px rgba(23, 35, 70, 0.12);
  --radius: 18px;
  --shell: 1180px;
}

html[data-theme="dark"] {
  --bg: #090e1b;
  --surface: #10182a;
  --surface-2: #182237;
  --ink: #f5f7ff;
  --muted: #aeb7ca;
  --line: #29354d;
  --brand: #6e8dff;
  --brand-strong: #91a8ff;
  --signal: #5ee2a5;
  --signal-soft: #153b31;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --bg: #090e1b;
    --surface: #10182a;
    --surface-2: #182237;
    --ink: #f5f7ff;
    --muted: #aeb7ca;
    --line: #29354d;
    --brand: #6e8dff;
    --brand-strong: #91a8ff;
    --signal: #5ee2a5;
    --signal-soft: #153b31;
    --shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  top: 120px;
  left: max(3vw, 24px);
  width: 8px;
  height: 8px;
  background: var(--brand);
  box-shadow: 28px 0 0 color-mix(in srgb, var(--brand), transparent 35%), 56px 0 0 color-mix(in srgb, var(--brand), transparent 70%), 0 28px 0 color-mix(in srgb, var(--brand), transparent 70%);
  content: "";
  opacity: .48;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { padding-block: 104px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--ink); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 25%);
  background: color-mix(in srgb, var(--bg), transparent 7%);
  backdrop-filter: blur(18px);
}

.nav-shell { display: flex; min-height: 76px; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 850; letter-spacing: -.6px; white-space: nowrap; }
.brand > span:last-child > span { color: var(--brand); }
.brand-mark { position: relative; display: inline-grid; width: 34px; height: 34px; place-items: center; border: 2px solid var(--ink); }
.brand-mark::before, .brand-mark::after, .brand-mark span { position: absolute; background: var(--ink); content: ""; }
.brand-mark::before { width: 15px; height: 2px; transform: translate(-4px, -5px); }
.brand-mark::after { width: 2px; height: 15px; transform: translate(4px, 5px); }
.brand-mark span { width: 7px; height: 7px; background: var(--signal); }
.primary-nav { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.primary-nav a, .text-action { color: var(--muted); font-size: 14px; font-weight: 720; }
.primary-nav a:hover, .primary-nav a.active, .text-action:hover { color: var(--ink); }
.primary-nav a.active { box-shadow: inset 0 -2px var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 17px; }
.theme-toggle { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.nav-toggle { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 780;
  cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand), transparent 75%);
  transition: transform .18s ease, background .18s ease;
}
.button:hover:not(:disabled) { background: var(--brand-strong); transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand), transparent 45%); outline-offset: 3px; }
.button:disabled { border-color: var(--line); background: var(--surface-2); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.button-small { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); box-shadow: none; }
.button-secondary:hover:not(:disabled) { background: var(--surface-2); }
.button-quiet { border-color: transparent; background: transparent; color: var(--muted); box-shadow: none; }
.button-danger { border-color: var(--danger); background: var(--danger); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; color: var(--brand); font-weight: 780; }
.arrow-link span { font-size: 22px; transition: transform .18s ease; }
.arrow-link:hover span { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px var(--signal-soft); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.04em; }
h1 { font-size: clamp(44px, 6vw, 78px); }
h2 { font-size: clamp(34px, 4vw, 53px); }
h3 { font-size: 20px; }
p { color: var(--muted); }

.hero { display: grid; min-height: 730px; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; padding-block: 72px 86px; }
.hero h1 { max-width: 730px; margin: 22px 0 24px; }
.hero h1 span { color: var(--brand); }
.hero-lead { max-width: 650px; font-size: 19px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 17px 25px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.trust-list li::before { display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--signal); content: ""; vertical-align: 2px; }
.product-visual { position: relative; display: grid; place-items: center; }
.product-visual::before { position: absolute; z-index: -1; width: 92%; height: 75%; border: 1px solid var(--line); background: var(--surface-2); content: ""; transform: rotate(-3deg); }
.phone-frame { position: relative; width: min(100%, 410px); min-height: 595px; overflow: hidden; border: 8px solid var(--dark); border-radius: 42px; background: #dce5ef; box-shadow: var(--shadow); color: #0b1020; }
.phone-status { display: flex; position: relative; z-index: 2; justify-content: space-between; padding: 19px 25px 10px; font-size: 12px; font-weight: 850; }
.map-motif { position: absolute; inset: 0; opacity: .9; }
.road { position: absolute; height: 8px; border: 2px solid #6f7b90; border-radius: 6px; background: #aab5c6; transform-origin: left; }
.road-a { top: 145px; left: -20px; width: 360px; transform: rotate(28deg); }
.road-b { top: 64px; left: 200px; width: 430px; transform: rotate(88deg); }
.road-c { top: 330px; left: 35px; width: 340px; transform: rotate(-20deg); }
.pin { position: absolute; z-index: 1; width: 21px; height: 21px; border: 6px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #151c2f; }
.pin-start { top: 140px; left: 104px; background: #325dff; }
.pin-end { top: 262px; right: 82px; background: #f4586c; }
.offer-kind { display: flex; position: absolute; z-index: 2; top: 72px; left: 24px; right: 24px; justify-content: space-between; padding: 10px 12px; border-left: 4px solid #325dff; background: rgba(255, 255, 255, .88); font-size: 10px; letter-spacing: .08em; }
.offer-kind strong { letter-spacing: normal; }
.overlay-demo { position: absolute; z-index: 3; right: 20px; bottom: 28px; left: 20px; padding: 20px; border: 1px solid #303a50; border-radius: 16px; background: rgba(11, 16, 32, .96); color: #f7f9ff; box-shadow: 0 20px 38px rgba(11, 16, 32, .3); }
.overlay-head, .metric-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.overlay-head { color: #aab3c8; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.overlay-head .good { color: #6cf0b1; }
.metric { display: block; margin: 12px 0 18px; font-size: 40px; line-height: 1; letter-spacing: -.05em; }
.metric small { color: #aab3c8; font-size: 15px; letter-spacing: normal; }
.metric-line { padding: 9px 0; border-top: 1px solid #2a344b; font-size: 13px; }
.metric-line span { color: #aab3c8; }
.overlay-demo p { margin: 14px 0 0; color: #7f899e; font-size: 10px; }
.visual-note { display: flex; position: absolute; right: -10px; bottom: 54px; z-index: 4; max-width: 230px; flex-direction: column; padding: 13px 16px; border-left: 4px solid var(--signal); background: var(--surface); box-shadow: var(--shadow); font-size: 12px; transform: translateX(50%); }
.visual-note span { color: var(--muted); }

.proof-strip { border-block: 1px solid var(--line); background: var(--surface); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid article { display: flex; align-items: baseline; gap: 10px; padding: 30px 24px; border-right: 1px solid var(--line); }
.proof-grid article:last-child { border-right: 0; }
.proof-grid strong { color: var(--brand); font-size: 28px; }
.proof-grid span { color: var(--muted); font-size: 13px; font-weight: 700; }

.split-section, .two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.split-section h2, .two-column h2 { margin-top: 20px; }
.steps-list { border-top: 1px solid var(--line); }
.steps-list article { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.steps-list > article > span, .feature-index { color: var(--brand); font-family: ui-monospace, "Cascadia Code", monospace; font-size: 12px; font-weight: 800; }
.steps-list h3 { margin-bottom: 8px; }
.steps-list p { margin: 0; }
.section-ink { background: var(--dark); color: #f7f9ff; }
.section-ink p { color: var(--dark-muted); }
.section-ink .eyebrow { color: #6cf0b1; }
.mode-comparison { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #2d3851; }
.mode-comparison article { min-height: 270px; padding: 30px; }
.mode-comparison article + article { border-left: 1px solid #2d3851; }
.mode-comparison .mode-code { color: #6cf0b1; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; }
.mode-comparison h3 { margin: 70px 0 12px; font-size: 27px; }
.mode-comparison strong { display: block; margin-top: 24px; color: #f7f9ff; font-size: 13px; }
.privacy-callout { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 50px; border-bottom: 1px solid var(--line); }
.privacy-symbol { display: grid; width: 100px; height: 100px; place-items: center; border: 2px solid var(--ink); color: var(--signal); font-weight: 900; letter-spacing: .1em; box-shadow: 12px 12px 0 var(--signal-soft); }
.privacy-callout h2 { margin: 14px 0 18px; }
.final-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.final-cta h2 { max-width: 830px; margin: 16px 0 0; }

.page-hero { max-width: var(--shell); padding-block: 100px 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1000px; margin: 22px 0; font-size: clamp(42px, 5.5vw, 70px); }
.page-hero p { max-width: 750px; font-size: 19px; }
.process-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); padding-block: 1px; }
.process-timeline article { min-height: 310px; padding: 32px; background: var(--bg); }
.process-timeline > article > span { color: var(--brand); font-family: ui-monospace, monospace; font-weight: 800; }
.process-timeline h2 { margin-top: 74px; font-size: 28px; }
.boundary-diagram { display: grid; grid-template-columns: 1fr 220px 1fr; align-items: stretch; border: 1px solid #2c3850; }
.boundary-diagram > div { display: flex; min-height: 230px; flex-direction: column; justify-content: space-between; padding: 28px; }
.boundary-diagram > div > span, .boundary-line { color: #6cf0b1; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; }
.boundary-diagram > div strong { max-width: 360px; font-size: 22px; }
.boundary-diagram > div small { color: var(--dark-muted); }
.boundary-line { display: grid; place-items: center; border-inline: 1px solid #2c3850; color: #aab3c8; text-align: center; writing-mode: vertical-rl; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); padding-block: 1px; }
.feature-grid article { min-height: 300px; padding: 32px; background: var(--surface); }
.feature-grid h2 { margin-top: 76px; font-size: 28px; }
.calculator { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.calculator h2 { margin: 18px 0; }
.calculator-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 760; }
input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); }
input:hover { border-color: color-mix(in srgb, var(--brand), var(--line) 50%); }
.calculator-output { display: flex; grid-column: 1 / -1; min-height: 130px; flex-direction: column; justify-content: center; padding: 22px; border-left: 5px solid var(--signal); background: var(--dark); color: #fff; }
.calculator-output span, .calculator-output small { color: var(--dark-muted); }
.calculator-output strong { font-size: 32px; }

.pricing-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.price-card { padding: 44px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.price-value { display: flex; align-items: baseline; gap: 16px; margin: 40px 0 22px; }
.price-value strong { font-size: 76px; line-height: 1; }
.price-value span { color: var(--muted); font-weight: 700; }
.price-card ul, .requirements ul, .auth-intro ul { margin: 28px 0; padding: 0; list-style: none; }
.price-card li, .requirements li, .auth-intro li { position: relative; padding: 8px 0 8px 26px; }
.price-card li::before, .requirements li::before, .auth-intro li::before { position: absolute; left: 0; color: var(--signal); font-weight: 900; content: "✓"; }
.pricing-notes { border-top: 1px solid var(--line); }
.pricing-notes article { padding: 27px 0; border-bottom: 1px solid var(--line); }
.pricing-notes h2 { font-size: 24px; }
.download-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.download-panel > div:first-child { padding: 46px; background: var(--dark); color: #fff; }
.download-panel > div:first-child p { color: var(--dark-muted); }
.release-state { display: inline-block; padding: 6px 9px; border: 1px solid #3c4965; color: #6cf0b1; font-family: ui-monospace, monospace; font-size: 11px; }
.download-panel h2 { margin-top: 70px; }
.requirements { padding: 35px 0; }

.faq-list { max-width: 900px; }
.faq-list article { border-bottom: 1px solid var(--line); }
.faq-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.faq-list button span { font-size: 20px; font-weight: 760; }
.faq-list button b { display: grid; min-width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; transition: transform .2s ease; }
.faq-list button[aria-expanded="true"] b { transform: rotate(45deg); }
.faq-list article > div { max-width: 760px; padding: 0 48px 24px 0; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); padding-block: 1px; }
.support-grid article { min-height: 300px; padding: 32px; background: var(--surface); }
.support-grid article > span { color: var(--brand); font-family: ui-monospace, monospace; }
.support-grid h2 { margin-top: 65px; font-size: 27px; }
.support-grid a { color: var(--brand); font-weight: 760; }
.support-warning { display: grid; grid-template-columns: 220px 1fr; gap: 50px; border-top: 1px solid var(--danger); }
.support-warning strong { color: var(--danger); font-size: 19px; }

.legal-index { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); padding-block: 1px; }
.legal-index > a { display: grid; min-height: 190px; grid-template-columns: 45px 1fr auto; gap: 18px; align-items: start; padding: 30px; background: var(--surface); transition: background .18s ease; }
.legal-index > a:hover { background: var(--surface-2); }
.legal-index span { color: var(--brand); font-family: ui-monospace, monospace; }
.legal-index h2 { margin: 0 0 12px; font-size: 25px; }
.legal-index b { color: var(--brand); font-size: 22px; }
.legal-document { max-width: 940px; padding-block: 100px; }
.legal-document header { padding-bottom: 55px; border-bottom: 2px solid var(--ink); }
.legal-document header h1 { margin: 22px 0; font-size: clamp(42px, 6vw, 70px); }
.legal-document header p { max-width: 760px; }
.legal-document section { display: grid; grid-template-columns: 80px 1fr; gap: 30px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.legal-document section > span { color: var(--brand); font-family: ui-monospace, monospace; font-weight: 800; }
.legal-document section h2 { font-size: 28px; }
.legal-document footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 38px; }
.legal-document footer a { color: var(--brand); font-weight: 760; }

.auth-shell { display: grid; min-height: 760px; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding-block: 75px; }
.auth-intro h1 { margin: 18px 0 25px; font-size: clamp(42px, 5vw, 64px); }
.auth-card { padding: 38px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 14px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-weight: 760; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { border-color: var(--brand); color: var(--ink); }
.auth-card form { display: grid; gap: 17px; }
.auth-card form h2 { margin-bottom: 4px; font-size: 28px; }
.auth-card form small { color: var(--muted); }
.link-button { justify-self: start; padding: 0; border: 0; background: transparent; color: var(--brand); cursor: pointer; }
.form-status, .global-status { min-height: 24px; margin: 0; font-size: 13px; font-weight: 700; }
.form-status[data-kind="error"], .global-status[data-kind="error"] { color: var(--danger); }
.form-status[data-kind="success"], .global-status[data-kind="success"] { color: var(--signal); }
.verification-tools { margin-top: 26px; border-top: 1px solid var(--line); }
.verification-tools summary { padding: 18px 0; color: var(--brand); cursor: pointer; }
.verification-tools form + form { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }

.dashboard { padding-block: 80px 110px; }
.dashboard-head, .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.dashboard-head h1 { margin: 12px 0; font-size: clamp(42px, 6vw, 68px); }
.dashboard-head > div:last-child, .section-heading > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.dashboard-grid article { min-height: 205px; padding: 26px; background: var(--surface); }
.dashboard-grid article > span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.dashboard-grid article > strong { display: block; margin: 52px 0 8px; font-size: 24px; }
.dashboard-grid article p { margin-bottom: 0; font-size: 13px; }
.dashboard-grid .dashboard-primary { background: var(--dark); color: #fff; }
.dashboard-grid .dashboard-primary p { color: var(--dark-muted); }
.dashboard-grid .dashboard-primary a { color: #6cf0b1; font-size: 13px; font-weight: 760; }
.dashboard-section { margin-top: 72px; }
.section-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 8px 0 0; font-size: 32px; }
.data-list > article { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.data-list strong, .data-list span, .data-list time { overflow-wrap: anywhere; }
.data-list span, .data-list time { color: var(--muted); font-size: 13px; }
.data-list button { padding: 7px 10px; border: 1px solid var(--line); background: transparent; color: var(--danger); cursor: pointer; }
.account-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.account-settings form { display: grid; align-content: start; gap: 18px; padding: 35px; border: 1px solid var(--line); background: var(--surface); }
.account-settings h2 { font-size: 30px; }
.account-settings .danger-zone { border-top: 4px solid var(--danger); }
.confirm-check { display: flex; align-items: flex-start; gap: 10px; }
.confirm-check input { width: 18px; min-height: 18px; margin-top: 3px; }

.not-found { min-height: 650px; padding-block: 130px; text-align: center; }
.not-found > span { color: var(--brand); font-size: 100px; font-weight: 900; letter-spacing: -.08em; }
.not-found h1 { margin: 0 0 18px; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 60px; padding-block: 68px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid > div:first-child { max-width: 330px; }
.footer-grid p { margin: 8px 0 0; }
.footer-grid small { color: var(--muted); }
.footer-grid strong { margin-bottom: 7px; font-size: 13px; text-transform: uppercase; }
.footer-grid a:not(.brand) { color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 1050px) {
  .primary-nav { display: none; position: absolute; top: 76px; right: 20px; left: 20px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 13px; }
  .nav-toggle { display: block; }
  .nav-actions .text-action, .nav-actions .theme-toggle { display: none; }
  .hero { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 760px; }
  .product-visual { max-width: 540px; margin-inline: auto; }
  .visual-note { right: 10px; transform: translateX(35%); }
  .split-section, .two-column, .calculator, .pricing-layout, .download-panel, .auth-shell { grid-template-columns: 1fr; }
  .privacy-callout { grid-template-columns: 100px 1fr; }
  .privacy-callout .arrow-link { grid-column: 2; }
  .process-timeline, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .boundary-diagram { grid-template-columns: 1fr; }
  .boundary-line { min-height: 65px; border-block: 1px solid #2c3850; border-inline: 0; writing-mode: horizontal-tb; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding-block: 72px; }
  .nav-shell { min-height: 66px; gap: 12px; }
  .primary-nav { top: 66px; right: 14px; left: 14px; }
  .nav-actions .button { display: none; }
  .hero { min-height: auto; padding-block: 64px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 17px; }
  .button-row .button { width: 100%; }
  .phone-frame { min-height: 540px; }
  .visual-note { position: relative; right: auto; bottom: auto; width: 100%; max-width: 410px; margin-top: 14px; transform: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid article { border-bottom: 1px solid var(--line); }
  .split-section, .two-column { gap: 45px; }
  .mode-comparison, .calculator-form, .legal-index, .account-settings { grid-template-columns: 1fr; }
  .mode-comparison article + article { border-top: 1px solid #2d3851; border-left: 0; }
  .privacy-callout { grid-template-columns: 1fr; gap: 30px; }
  .privacy-callout .arrow-link { grid-column: 1; }
  .final-cta, .legal-document footer, .dashboard-head, .section-heading { align-items: flex-start; flex-direction: column; }
  .page-hero { padding-block: 70px 50px; }
  .page-hero h1 { font-size: 43px; }
  .process-timeline, .feature-grid, .support-grid { grid-template-columns: 1fr; }
  .process-timeline article, .feature-grid article, .support-grid article { min-height: 250px; }
  .support-warning { grid-template-columns: 1fr; gap: 18px; }
  .legal-document section { grid-template-columns: 42px 1fr; gap: 16px; }
  .auth-shell { gap: 45px; }
  .auth-card { padding: 24px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .data-list > article { grid-template-columns: 1fr; gap: 7px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

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

/* RideVision release theme — warm, high-contrast and intentionally distinct. */
:root,
html[data-theme="dark"],
html[data-theme="system"] {
  color-scheme: dark;
  --bg: #0b0906;
  --surface: #15110b;
  --surface-2: #1d160c;
  --ink: #fff5e3;
  --muted: #b8ac9b;
  --line: #49320d;
  --brand: #ffad1f;
  --brand-strong: #ff9211;
  --signal: #29d779;
  --signal-soft: #12351f;
  --danger: #ff5b4d;
  --warning: #ffad1f;
  --dark: #080603;
  --dark-2: #130e08;
  --dark-muted: #b8ac9b;
  --shadow: 0 20px 58px rgba(0, 0, 0, .42);
  --radius: 22px;
  --shell: 1180px;
}

body::before { display: none; }
body { overflow-x: hidden; }
.site-header { border-color: #2b1d08; background: rgba(11, 9, 6, .94); }
.brand-mark { border-color: var(--brand); border-radius: 10px; background: #251805; }
.brand-mark::before, .brand-mark::after { background: var(--brand); }
.brand-mark span { background: var(--signal); }
.primary-nav { gap: 21px; }
.primary-nav a, .text-action { color: #b8ac9b; }
.primary-nav a:hover, .primary-nav a.active, .text-action:hover { color: #fff5e3; }
.button { border-radius: 999px; color: #1b1000; box-shadow: 0 10px 30px rgba(255, 160, 17, .2); }
.button-secondary { border-color: #573b10; background: #171109; color: #fff5e3; }
.button-secondary:hover:not(:disabled) { background: #241807; }
.eyebrow { color: var(--brand); }
.status-dot { border-radius: 2px; background: var(--brand); box-shadow: none; }
h1, h2, h3 { font-weight: 850; }

.hero { min-height: 760px; }
.hero h1 { font-size: clamp(50px, 6.2vw, 82px); }
.hero h1 span { color: #ffb124; }
.product-visual::before { border-color: #5b3a09; border-radius: 44px; background: #241704; }
.phone-frame { border-color: #241704; background: #e3e8ef; box-shadow: 0 35px 80px rgba(0, 0, 0, .55); }
.offer-kind { border-color: #ffad1f; }
.overlay-demo { border-color: #61400e; background: rgba(10, 8, 5, .97); }
.overlay-head .good { color: #3ee187; }
.metric-line { border-color: #3b2a10; }
.visual-note { right: -10px; border-left-color: var(--brand); border-radius: 14px; background: #181108; transform: none; }

.problem-solution { border-block: 1px solid #2e1f08; background: #0e0b07; }
.problem-solution-grid { display: grid; grid-template-columns: 1.25fr .85fr .85fr; gap: 22px; align-items: stretch; }
.problem-solution-grid > div { padding-right: 36px; }
.problem-solution-grid h2 { margin: 20px 0; }
.problem-solution-grid article { padding: 30px; border: 1px solid; border-radius: var(--radius); }
.problem-solution-grid article > span { font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.problem-solution-grid ul { margin: 24px 0 0; padding: 0; list-style: none; }
.problem-solution-grid li { position: relative; padding: 10px 0 10px 28px; color: var(--muted); }
.problem-solution-grid li::before { position: absolute; left: 0; font-weight: 900; content: "×"; }
.problem-card { border-color: #632016 !important; background: #1d0d09; }
.problem-card > span, .problem-card li::before { color: #ff6555; }
.solution-card { border-color: #164c2c !important; background: #09160e; }
.solution-card > span, .solution-card li::before { color: #35df81; }
.solution-card li::before { content: "✓"; }

.center-heading { max-width: 850px; margin: 0 auto 56px; text-align: center; }
.center-heading h2 { margin: 17px 0; }
.center-heading p { max-width: 670px; margin-inline: auto; }
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-cards article { min-height: 300px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-cards article > span { color: var(--brand); font-size: 42px; font-weight: 850; }
.step-cards h3 { margin: 66px 0 14px; font-size: 27px; }
.section-ink { border-block: 1px solid #2e1f08; background: #080603; }
.section-ink .eyebrow, .mode-comparison .mode-code { color: var(--brand); }
.mode-comparison { overflow: hidden; border-color: #5b3b0c; border-radius: var(--radius); background: #120e08; }
.mode-comparison article + article { border-color: #5b3b0c; }
.mode-comparison strong { color: var(--brand); }

.tutorial-video-shell { max-width: 960px; margin: 0 auto 70px; padding: 12px; border: 1px solid #76500d; border-radius: 30px; background: #171108; box-shadow: var(--shadow); }
.tutorial-video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #080603; object-fit: cover; }
.tutorial-video-shell p { margin: 13px 12px 5px; color: var(--muted); font-size: 13px; text-align: center; }
.tutorial-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.setup-phone { max-width: 430px; min-height: 555px; padding: 42px 28px; border: 8px solid #251a0b; border-radius: 42px; background: #0d0d12; box-shadow: var(--shadow); }
.setup-phone h3 { margin: 36px 0 28px; color: #fff5e3; font-size: 30px; }
.setup-progress { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 4px solid #3a3127; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.setup-phone article { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 18px; border: 1px solid #3d342a; border-radius: 16px; background: #16161c; }
.setup-phone article i { display: grid; min-width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--brand); color: #1a1001; font-style: normal; font-weight: 900; }
.setup-phone article:nth-of-type(-n+2) { border-color: #175532; background: #0c2c1a; }
.setup-phone article:nth-of-type(-n+2) i { background: var(--signal); }
.setup-phone article strong, .setup-phone article small { display: block; }
.setup-phone article small { margin-top: 3px; color: #9d9488; }
.tutorial-list { margin: 0; padding: 0; list-style: none; }
.tutorial-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tutorial-list li > span { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #76500d; border-radius: 50%; color: var(--brand); font-weight: 850; }
.tutorial-list h3 { margin: 0 0 7px; font-size: 22px; }
.tutorial-list p { margin: 0; }

.feature-grid { gap: 22px; background: transparent; padding-block: 0; }
.feature-grid article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.home-feature-grid article { min-height: 275px; }
.feature-index { color: var(--brand); }
.pricing-home { border-block: 1px solid #2e1f08; background: #0e0b07; }
.price-card { border-radius: 28px; background: #171108; }
.pricing-cards-home { display: grid; width: min(100%, 900px); margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.price-card-home { display: flex; min-height: 590px; flex-direction: column; margin: 0; border-color: #76500d; }
.price-card-home h3 { margin: 28px 0 0; font-size: 25px; }
.price-card-home ul { flex: 1; margin-bottom: 32px; }
.price-card-home .button { width: 100%; padding-inline: 20px; text-align: center; }
.plan-pill { align-self: flex-start; padding: 10px 16px; border: 1px solid #76500d; border-radius: 999px; background: #352306; color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.pricing-cards-page { width: min(100%, 980px); }
.pricing-notes-wide { display: grid; width: min(100%, 980px); margin: 60px auto 0; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card-home .price-value strong { color: var(--brand); }
.price-card li::before { color: var(--signal); }
.home-faq .faq-list { margin-inline: auto; }
.faq-list article { margin-bottom: 12px; padding-inline: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq-list article > div { color: var(--muted); }
.final-cta { margin-bottom: 100px; padding: 68px; border: 1px solid #76500d; border-radius: 30px; background: #201404; }
.site-footer { border-color: #2e1f08; background: #080603; }

.page-hero { border-color: var(--line); }
.process-timeline, .support-grid, .legal-index, .dashboard-grid { background: var(--line); }
.process-timeline article, .support-grid article, .legal-index > a, .dashboard-grid article { background: var(--surface); }
.boundary-diagram { border-color: var(--line); }
.boundary-line { border-color: var(--line); }
.download-panel > div:first-child, .dashboard-grid .dashboard-primary, .calculator-output { background: #080603; }
input { border-radius: 12px; }

@media (max-width: 1050px) {
  .primary-nav { background: #15110b; }
  .problem-solution-grid { grid-template-columns: 1fr 1fr; }
  .problem-solution-grid > div { grid-column: 1 / -1; }
  .tutorial-layout { grid-template-columns: 1fr; gap: 50px; }
  .setup-phone { margin-inline: auto; }
  .pricing-notes-wide { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: 48px; }
  .problem-solution-grid, .step-cards { grid-template-columns: 1fr; }
  .problem-solution-grid > div { grid-column: auto; padding-right: 0; }
  .step-cards article { min-height: 240px; }
  .step-cards h3 { margin-top: 42px; }
  .center-heading { margin-bottom: 38px; text-align: left; }
  .final-cta { margin-bottom: 70px; padding: 36px 28px; }
  .setup-phone { min-height: auto; padding: 34px 20px; border-radius: 32px; }
  .pricing-cards-home { grid-template-columns: 1fr; }
  .price-card-home { min-height: 0; padding: 34px 26px; }
  .tutorial-video-shell { margin-bottom: 50px; padding: 7px; border-radius: 20px; }
  .tutorial-video-shell video { border-radius: 14px; }
}

/* RideVision Signal System — original light product identity. */
:root,
html[data-theme="light"],
html[data-theme="dark"],
html[data-theme="system"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eaf0f8;
  --ink: #0a1633;
  --muted: #59657a;
  --line: #d7dfeb;
  --brand: #2457ff;
  --brand-strong: #1743d3;
  --signal: #10b981;
  --signal-soft: #ddf8ee;
  --danger: #d53a52;
  --warning: #df8b12;
  --dark: #091229;
  --dark-2: #111d38;
  --dark-muted: #aab7cf;
  --shadow: 0 24px 65px rgba(22, 45, 88, .14);
  --radius: 20px;
  --shell: 1220px;
}

body {
  overflow-x: hidden;
  background: var(--bg);
}

body::before {
  display: block;
  top: 112px;
  right: 4vw;
  left: auto;
  width: 144px;
  height: 144px;
  border: 1px solid rgba(36, 87, 255, .18);
  background: transparent;
  box-shadow: 14px 14px 0 rgba(36, 87, 255, .06), 28px 28px 0 rgba(36, 87, 255, .035);
  opacity: .8;
}

.site-header { border-color: rgba(10, 22, 51, .09); background: rgba(244, 247, 251, .9); }
.brand-mark { overflow: hidden; border: 0; border-radius: 10px; background: var(--ink); }
.brand-mark::before { width: 18px; height: 2px; background: #fff; transform: translate(-3px, -6px); }
.brand-mark::after { width: 2px; height: 18px; background: #fff; transform: translate(5px, 5px); }
.brand-mark span { width: 7px; height: 7px; border-radius: 2px; background: var(--signal); }
.brand > span:last-child > span { color: var(--brand); }
.primary-nav { gap: 23px; }
.primary-nav a, .text-action { color: #59657a; }
.primary-nav a:hover, .primary-nav a.active, .text-action:hover { color: var(--ink); }
.language-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.language-switch a { min-width: 31px; padding: 6px 8px; border-radius: 7px; color: var(--muted); font-size: 11px; font-weight: 850; text-align: center; }
.language-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.button { border-radius: 12px; box-shadow: 0 10px 24px rgba(36, 87, 255, .2); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, .72); color: var(--ink); box-shadow: none; }
.button-secondary:hover:not(:disabled) { background: #fff; }
.status-dot { border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px var(--signal-soft); }
.eyebrow { color: var(--brand); }

.rv-hero { min-height: 750px; grid-template-columns: .91fr 1.09fr; gap: 62px; padding-block: 74px 92px; }
.rv-hero h1 { margin: 21px 0 25px; font-size: clamp(48px, 5.7vw, 76px); }
.rv-hero h1 span { display: block; color: var(--brand); }
.rv-hero .hero-lead { max-width: 620px; font-size: 18px; }

.decision-console {
  position: relative;
  padding: 22px;
  border: 1px solid #293754;
  border-radius: 28px;
  background: #0a1633;
  color: #f7f9ff;
  box-shadow: 0 32px 75px rgba(10, 22, 51, .3);
}
.decision-console::before { position: absolute; z-index: -1; inset: 28px -20px -22px 36px; border-radius: 28px; background: #dce6ff; content: ""; }
.decision-console::after { position: absolute; top: 42px; right: -14px; width: 28px; height: 90px; border-radius: 8px; background: var(--signal); content: ""; }
.console-topline { display: flex; align-items: center; justify-content: space-between; padding: 3px 2px 20px; border-bottom: 1px solid #2b3b5d; color: #9eadc7; font: 750 11px/1.2 ui-monospace, "Cascadia Code", monospace; letter-spacing: .1em; }
.console-topline span { display: inline-flex; align-items: center; gap: 9px; }
.console-topline i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(16,185,129,.12); }
.console-topline strong { padding: 7px 10px; border: 1px solid #43567b; border-radius: 7px; color: #fff; font-size: 10px; }
.console-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 19px 0; color: #8fa1bf; font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .05em; }
.console-route b { position: relative; height: 2px; background: var(--brand); }
.console-route b::before, .console-route b::after { position: absolute; top: -4px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: var(--signal); content: ""; }
.console-route b::before { left: 0; }.console-route b::after { right: 0; background: var(--brand); }
.console-verdict { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid #2d4069; border-radius: 18px; background: rgba(255,255,255,.035); }
.console-verdict > div:first-child { display: grid; gap: 7px; }
.console-verdict small { color: #94a4bf; font: 750 10px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.console-verdict > div:first-child strong { color: #65e5b6; font-size: clamp(42px, 6vw, 68px); line-height: .9; letter-spacing: -.06em; }
.score-ring { display: grid; width: 112px; height: 112px; flex: 0 0 auto; place-content: center; border: 10px solid #244c9d; border-top-color: var(--signal); border-right-color: var(--signal); border-radius: 50%; text-align: center; transform: rotate(12deg); }
.score-ring span, .score-ring small { transform: rotate(-12deg); }
.score-ring span { font-size: 26px; font-weight: 850; }
.console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.console-metrics article { display: flex; min-height: 116px; flex-direction: column; padding: 16px; border: 1px solid #263959; border-radius: 14px; background: #0d1830; }
.console-metrics span, .console-metrics small { color: #91a1bd; font-size: 10px; }
.console-metrics strong { margin: auto 0 5px; font-size: 18px; }
.console-formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin-top: 10px; padding: 13px; border-radius: 12px; background: #182746; color: #a8b7cf; font: 700 11px/1.2 ui-monospace, monospace; }
.console-formula b { color: #657692; }.console-formula strong { color: #6fe7bb; }
.decision-console > p { margin: 13px 2px 0; color: #71819c; font-size: 10px; }

.calculation-ribbon { border-block: 1px solid var(--line); background: #fff; }
.calculation-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; align-items: stretch; }
.calculation-grid > div { display: flex; min-height: 116px; flex-direction: column; justify-content: center; padding: 24px; }
.calculation-grid > span { display: grid; place-items: center; color: #a0acbf; font-size: 22px; }
.calculation-grid small { color: var(--muted); font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .08em; }
.calculation-grid strong { margin-top: 9px; font-size: 17px; }
.calculation-result { background: var(--signal-soft); color: #076c4c; }

.rv-heading { align-items: flex-end; margin-bottom: 46px; }
.rv-heading > div { max-width: 710px; }.rv-heading h2 { margin: 16px 0 0; }
.rv-heading > p { max-width: 420px; margin: 0; }
.workflow-track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.workflow-track article { min-height: 230px; padding: 26px; border: 1px solid var(--line); background: #fff; }
.workflow-track article:first-child { border-radius: 18px 0 0 18px; }
.workflow-track article:last-child { border-radius: 0 18px 18px 0; }
.workflow-track article > span { color: var(--brand); font: 750 10px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.workflow-track article > strong { display: block; margin: 72px 0 12px; font-size: 20px; }
.workflow-track article p { margin: 0; font-size: 13px; }
.workflow-track > i { display: grid; z-index: 2; width: 30px; place-items: center; align-self: center; margin-inline: -15px; border: 1px solid var(--line); border-radius: 50%; aspect-ratio: 1; background: var(--bg); color: var(--brand); font-style: normal; }

.rv-modes { overflow: hidden; border-block: 1px solid #243657; background: var(--dark); color: #f8faff; }
.rv-modes::before { position: absolute; width: 55vw; height: 55vw; border: 1px solid #22355b; border-radius: 50%; content: ""; transform: translate(-42%, -36%); }
.rv-modes-grid { display: grid; position: relative; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.rv-modes h2 { margin: 18px 0 22px; }.rv-modes p { color: var(--dark-muted); }
.privacy-chip { margin-top: 30px; padding: 16px; border-left: 3px solid var(--signal); background: #111f3b; color: #b7c3d8; font-size: 13px; }
.privacy-chip span { margin-right: 9px; color: #6ee6bb; font: 800 10px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.mode-lanes { display: grid; gap: 14px; }
.mode-lanes article { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid #2d4064; border-radius: 18px; background: #0d1932; }
.mode-lanes header, .mode-lanes footer { grid-column: 1 / -1; }
.mode-lanes header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #2d4064; }
.mode-lanes header span { color: #fff; font-weight: 850; }.mode-lanes header strong { color: #8fa1bf; font: 750 10px/1.2 ui-monospace, monospace; letter-spacing: .08em; }
.mode-lanes article > div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 22px 18px; }
.mode-lanes article > div + div { border-left: 1px solid #2d4064; }
.mode-lanes b { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; background: #1b3159; color: #9ab5ff; font-size: 10px; }
.mode-lanes p { margin: 1px 0 0; font-size: 12px; }
.mode-lanes footer { padding: 13px 20px; background: #142442; color: #b8c6dc; font-size: 12px; font-weight: 750; }
.direct-lane { border-left: 4px solid var(--brand) !important; }.radar-lane { border-left: 4px solid var(--signal) !important; }
.unified-app-card { overflow: hidden; border: 1px solid #334869; border-radius: 24px; background: #0d1932; box-shadow: 0 28px 55px rgba(0,0,0,.18); }
.unified-app-head { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid #2d4064; }
.unified-app-head .brand-mark { flex: 0 0 auto; }
.unified-app-head > div { display: grid; gap: 4px; }
.unified-app-head small { color: #8fa1bf; font: 750 10px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.unified-app-head strong { color: #fff; font-size: 18px; }
.unified-app-head > i { width: 10px; height: 10px; margin-left: auto; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 7px rgba(16,185,129,.12); }
.unified-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 22px 24px 0; }
.unified-sources span { padding: 12px 10px; border: 1px solid #334869; border-radius: 10px; background: #132443; color: #dce7fa; font: 800 11px/1.2 ui-monospace, monospace; text-align: center; }
.unified-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; padding: 24px; }
.unified-flow div { display: grid; min-height: 126px; align-content: end; gap: 9px; padding: 18px; border: 1px solid #2d4064; border-radius: 15px; background: #111f3b; }
.unified-flow small { color: #8fa1bf; font: 750 9px/1.2 ui-monospace, monospace; letter-spacing: .08em; }
.unified-flow strong { color: #fff; font-size: 19px; }
.unified-flow > b { color: var(--signal); font-size: 24px; }
.unified-app-card footer { padding: 16px 24px; background: #162746; color: #c6d2e4; font-size: 13px; font-weight: 750; }

.tutorial-title, .tutorial-stage, .pricing-heading, .faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.tutorial-title { align-items: end; margin-bottom: 45px; }.tutorial-title h2 { margin: 16px 0 0; }.tutorial-title > p { margin: 0; }
.tutorial-stage { align-items: center; }.tutorial-video-shell { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.tutorial-video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--dark); object-fit: cover; }
.tutorial-video-shell p { margin: 12px 8px 3px; font-size: 11px; text-align: center; }
.tutorial-list li { border-color: var(--line); }.tutorial-list li > span { border-color: #b9c7e2; border-radius: 9px; background: #eaf0ff; color: var(--brand); }

.rv-control { border-block: 1px solid var(--line); background: #eaf0f8; }
.control-bento { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-template-rows: repeat(2, minmax(210px, auto)); gap: 14px; }
.control-bento article { display: flex; flex-direction: column; padding: 26px; border: 1px solid #d2dce9; border-radius: 18px; background: #fff; }
.control-bento article > span { color: var(--brand); font: 750 10px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.control-bento article > strong { margin: auto 0 12px; font-size: 24px; line-height: 1.05; }
.control-bento article > p { margin: 0; font-size: 13px; }
.control-bento .bento-primary { grid-row: 1 / 3; background: var(--brand); color: #fff; }
.control-bento .bento-primary > span, .control-bento .bento-primary > p { color: #dbe4ff; }
.control-bento .bento-primary > strong { font-size: 80px; }
.control-bento article:nth-child(4) { grid-column: 2 / 4; }

.pricing-home { border: 0; background: transparent; }
.pricing-heading { align-items: end; margin-bottom: 46px; }.pricing-heading h2 { margin: 17px 0 0; }.pricing-heading > p { margin: 0; }
.price-card, .price-card-home { border-radius: 22px; background: #fff; }
.pricing-cards-home { width: min(100%, 1180px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-card-home { min-height: 570px; border-color: var(--line); box-shadow: none; }
.price-card-home h3 { margin: 26px 0 0; }
.price-card-home .price-value strong { color: var(--ink); }
.plan-pill { border-color: #b9c7e4; border-radius: 8px; background: #edf2ff; color: var(--brand); }
.price-featured { border: 2px solid var(--brand); box-shadow: 0 24px 50px rgba(36, 87, 255, .13); }
.price-featured .plan-pill { border-color: var(--brand); background: var(--brand); color: #fff; }
.price-trial { border: 2px solid var(--signal); }
.price-trial .plan-pill { border-color: var(--signal); background: #e7fff5; color: #087a58; }

.faq-layout { align-items: start; }.faq-layout > div:first-child { position: sticky; top: 120px; }.faq-layout h2 { margin: 16px 0; }
.home-faq .faq-list { margin: 0; }
.faq-list article { margin-bottom: 10px; padding-inline: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list article > div { color: var(--muted); }
.final-cta { margin-bottom: 90px; padding: 58px; border: 0; border-radius: 24px; background: #0a1633; color: #fff; }
.final-cta p { margin: 12px 0 0; color: #aebbd2; }
.site-footer { border-color: var(--line); background: #fff; }

.page-hero { border-color: var(--line); }
.process-timeline, .support-grid, .legal-index, .dashboard-grid { background: var(--line); }
.process-timeline article, .support-grid article, .legal-index > a, .dashboard-grid article { background: var(--surface); }
.download-panel > div:first-child, .dashboard-grid .dashboard-primary, .calculator-output { background: var(--dark); }
.release-integrity { display: grid; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #2d3b58; }
.release-integrity span { color: #6ee6bb; font: 800 10px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.release-integrity code { color: #b8c5da; font-size: 11px; overflow-wrap: anywhere; }
.release-integrity a { color: #fff; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
input { border-radius: 10px; }
.password-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; width: 100%; }
.password-control input { min-width: 0; padding-right: 12px; border-radius: 10px 0 0 10px; }
.password-toggle {
  min-width: 78px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: #eef3ff;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}
.password-toggle:hover, .password-toggle:focus-visible { background: #e0e8ff; color: var(--ink); }

@media (max-width: 1050px) {
  .primary-nav { background: #fff; }
  .rv-hero, .rv-modes-grid, .tutorial-title, .tutorial-stage, .pricing-heading, .faq-layout { grid-template-columns: 1fr; }
  .decision-console { max-width: 680px; }
  .workflow-track { grid-template-columns: 1fr 1fr; gap: 12px; }
  .workflow-track > i { display: none; }.workflow-track article { border-radius: 16px !important; }
  .rv-modes-grid { gap: 45px; }.rv-modes-copy { max-width: 760px; }
  .tutorial-title, .pricing-heading { gap: 16px; }.tutorial-stage { gap: 42px; }
  .faq-layout { gap: 35px; }.faq-layout > div:first-child { position: static; }
  .control-bento { grid-template-columns: 1fr 1fr; }.control-bento .bento-primary { grid-row: auto; }.control-bento article:nth-child(4) { grid-column: auto; }
  .nav-actions .language-switch { margin-left: auto; }
  .pricing-cards-home { grid-template-columns: 1fr 1fr; }
  .pricing-cards-home .price-trial { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body::before { display: none; }
  .rv-hero { padding-block: 58px 76px; }.rv-hero h1 { font-size: 44px; }
  .decision-console { padding: 14px; border-radius: 20px; }.decision-console::before, .decision-console::after { display: none; }
  .console-verdict { padding: 20px; }.score-ring { width: 92px; height: 92px; border-width: 8px; }.score-ring span { font-size: 21px; }
  .console-metrics { grid-template-columns: 1fr; }.console-metrics article { min-height: 96px; }
  .calculation-grid { grid-template-columns: 1fr 1fr; }.calculation-grid > span { display: none; }.calculation-grid > div { min-height: 105px; padding: 18px; }
  .workflow-track, .mode-lanes article, .control-bento { grid-template-columns: 1fr; }
  .workflow-track article { min-height: 205px; }.workflow-track article > strong { margin-top: 50px; }
  .mode-lanes article > div + div { border-top: 1px solid #2d4064; border-left: 0; }
  .mode-lanes header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .unified-sources, .unified-flow { grid-template-columns: 1fr; }.unified-flow > b { display: none; }.unified-flow div { min-height: 105px; }
  .control-bento article { min-height: 190px; }.control-bento .bento-primary > strong { font-size: 62px; }
  .price-card-home { min-height: 0; }.final-cta { padding: 36px 26px; }
  .pricing-cards-home { grid-template-columns: 1fr; }
  .pricing-cards-home .price-trial { grid-column: auto; }
}
