:root {
  color-scheme: dark;
  --ink: #f5f7ef;
  --muted: #adb6c7;
  --night: #0d1220;
  --panel: #151c2d;
  --panel-high: #1d263a;
  --line: #3c465d;
  --lime: #b5f048;
  --lime-dark: #416800;
  --teal: #5fd5c8;
  --surface-light: #f5f7ef;
  --surface: #ffffff;
  --light-ink: #172033;
  --max: 74rem;
  --radius: 1.5rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); line-height: 1.6; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; transform: translateY(-160%); padding: .7rem 1rem; border-radius: .6rem; background: var(--lime); color: #172400; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(92, 109, 140, .38); background: rgba(13, 18, 32, .96); }
.header-row { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--ink); text-decoration: none; font-weight: 850; letter-spacing: -.025em; }
.brand:visited, .brand:hover { color: var(--ink); }
.brand img { width: 2.55rem; height: 2.55rem; }
.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a { padding: .6rem .78rem; border-radius: .7rem; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 750; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); background: var(--panel); }
.main-nav .nav-support { margin-left: .4rem; border: 1px solid var(--line); color: var(--ink); }

.eyebrow, .section-kicker, .cookie-kicker { margin: 0 0 .85rem; color: var(--lime); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: .78rem; cursor: pointer; text-decoration: none; font-weight: 820; line-height: 1.15; }
.button-primary { background: var(--lime); color: #172400; }
.button-primary:hover { background: #c3f66a; }
.button-secondary { background: var(--panel); border-color: var(--line); color: var(--ink); }
.button-secondary:hover { background: var(--panel-high); }
.button-text { min-height: 2.75rem; background: transparent; border-color: transparent; color: var(--teal); text-decoration: underline; text-underline-offset: .2rem; }

.home-hero { overflow: hidden; padding: clamp(4.5rem, 9vw, 8rem) 0 4.5rem; background: radial-gradient(circle at 82% 28%, rgba(95,213,200,.14), transparent 25rem), radial-gradient(circle at 64% 80%, rgba(181,240,72,.1), transparent 24rem), var(--night); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(25rem, 1.1fr); align-items: center; gap: 3rem; }
.home-hero h1 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(3.4rem, 7.4vw, 6.7rem); font-weight: 900; }
.home-hero h1 span { color: var(--lime); }
.lede { max-width: 43rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-visual { position: relative; min-height: 34rem; }
.home-phone { position: absolute; overflow: hidden; width: 15rem; border: 8px solid #070a11; border-radius: 2.3rem; background: #070a11; box-shadow: 0 2rem 4rem rgba(0,0,0,.45); }
.home-phone img { width: 100%; }
.home-phone.primary { z-index: 2; top: 0; left: 28%; transform: rotate(2deg); }
.home-phone.secondary { top: 6.5rem; left: 0; transform: rotate(-7deg); opacity: .86; }
.home-note { position: absolute; z-index: 4; right: 0; bottom: 3rem; width: 15rem; padding: 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 1rem; background: var(--panel-high); }
.home-note strong, .home-note span { display: block; }
.home-note span { margin-top: .25rem; color: var(--muted); font-size: .88rem; }
.fact-band { border-block: 1px solid var(--line); background: var(--panel); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 1.55rem 1.6rem; border-left: 3px solid var(--lime); }
.fact + .fact { border-left-color: var(--teal); }
.fact:last-child { border-left-color: var(--lime); }
.fact strong { display: block; margin-bottom: .25rem; font-size: 1.05rem; }
.fact span { color: var(--muted); font-size: .9rem; }

.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section.light { background: var(--surface-light); color: var(--light-ink); }
.section-heading { max-width: 46rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2.35rem, 5vw, 4.2rem); font-weight: 900; }
.section-heading p { color: #596277; font-size: 1.08rem; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.journey-card { overflow: hidden; border: 1px solid #d7dccf; border-radius: var(--radius); background: var(--surface); }
.journey-card img { width: 100%; height: 20rem; object-fit: cover; object-position: top; }
.journey-copy { padding: 1.5rem; }
.journey-copy span { color: var(--lime-dark); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.journey-copy h3 { margin: .55rem 0 .7rem; font-size: 1.5rem; }
.journey-copy p { margin-bottom: 0; color: #596277; }
.split-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.cta-card { padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 2rem; background: var(--panel); }
.cta-card h2 { max-width: 13ch; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.cta-card p { max-width: 39rem; color: var(--muted); }
.cta-card.accent { background: linear-gradient(140deg, rgba(181,240,72,.13), rgba(95,213,200,.08)), var(--panel-high); }
.cta-card.accent strong { display: block; margin-bottom: .6rem; color: var(--lime); font-size: 1.35rem; }

.page-hero { padding: clamp(4rem, 8vw, 6.5rem) 0; background: radial-gradient(circle at 80% 25%, rgba(95,213,200,.12), transparent 23rem), var(--night); }
.page-hero h1 { max-width: 13ch; margin-bottom: 1.25rem; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; }
.page-hero .lede { max-width: 47rem; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.anchor-nav a { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 750; }

.feature-page { background: var(--surface-light); color: var(--light-ink); }
.feature-page .site-header, .feature-page .site-footer { color: var(--ink); }
.feature-page .page-hero { color: var(--ink); }
.feature-intro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-card { position: relative; overflow: hidden; min-height: 25rem; padding: 2rem; border: 1px solid #d9dfd3; border-radius: var(--radius); background: var(--surface); }
.feature-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.feature-card h3 { max-width: 18ch; margin-bottom: .8rem; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.feature-card p { max-width: 38rem; color: #596277; }
.feature-card img { align-self: end; justify-self: center; max-height: 22rem; border: 6px solid #0a0d15; border-radius: 1.8rem; box-shadow: 0 1.4rem 2.5rem rgba(21,31,47,.18); }
.compare-section { background: var(--night); color: var(--ink); }
.compare-section .section-heading p { color: var(--muted); }
.plan-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.plan { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--panel); }
.plan.pro { border-color: rgba(181,240,72,.6); background: linear-gradient(135deg, rgba(181,240,72,.08), transparent), var(--panel-high); }
.plan h3 { margin-bottom: .45rem; font-size: 1.45rem; }
.plan p { margin-bottom: 0; color: var(--muted); }
.comparison { overflow: hidden; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--panel); }
.comparison-row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(7rem, .6fr) minmax(7rem, .7fr); border-top: 1px solid var(--line); }
.comparison-row:first-child { border-top: 0; }
.comparison-row > * { padding: 1rem 1.15rem; }
.comparison-head { color: var(--muted); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.comparison-group { grid-column: 1 / -1; background: #0f1626; color: var(--teal); font-size: .77rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.feature-name { font-weight: 720; }
.tier { border-left: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.tier.pro { color: var(--lime); font-weight: 750; }
.comparison-foot { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.play-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 2rem; background: linear-gradient(135deg, rgba(181,240,72,.1), rgba(95,213,200,.06)), var(--panel); }
.play-panel h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.play-panel p { color: var(--muted); }
.play-badge { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .8rem; background: #05070c; }
.play-badge span, .play-badge strong { display: block; line-height: 1.05; }
.play-badge span { font-size: .7rem; }
.play-badge strong { margin-top: .18rem; color: white; font-size: 1rem; }
.activation { margin: 0; padding-left: 1.3rem; }
.activation li { margin-bottom: .75rem; color: var(--muted); }
.activation strong { color: var(--ink); }

.policy-page { color-scheme: light; background: var(--surface-light); color: var(--light-ink); }
.policy-page .site-header, .policy-page .page-hero, .policy-page .site-footer { color-scheme: dark; color: var(--ink); }
.policy-shell { padding: clamp(2rem, 6vw, 5rem) 0 7rem; }
.policy-article { padding: clamp(1.4rem, 5vw, 4rem); border: 1px solid #dbe0d5; border-radius: 1.6rem; background: var(--surface); box-shadow: 0 1.4rem 3rem rgba(22,32,51,.08); }
.policy-article section + section { margin-top: 3.25rem; padding-top: 3.25rem; border-top: 1px solid #dfe3da; }
.policy-article h2 { margin-bottom: 1rem; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.policy-article h3 { margin: 2rem 0 .55rem; font-size: 1.2rem; letter-spacing: -.02em; }
.policy-article p, .policy-article li { color: #495367; }
.policy-article a { color: var(--lime-dark); font-weight: 700; overflow-wrap: anywhere; }
.policy-article [data-open-cookie-settings] { padding: 0; border: 0; background: none; color: var(--lime-dark); cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: .18rem; }
.policy-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1.5rem 0 2rem; }
.policy-meta div { padding: 1rem; border-left: 3px solid var(--lime-dark); background: var(--surface-light); }
.policy-meta strong { display: block; margin-bottom: .25rem; font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
.notice { padding: 1rem 1.1rem; border-left: 4px solid var(--teal); background: #edf8f5; }
.cookie-table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .92rem; }
.cookie-table th, .cookie-table td { padding: .85rem; border: 1px solid #d8ded3; text-align: left; vertical-align: top; }
.cookie-table th { background: var(--surface-light); }

.site-footer { border-top: 1px solid var(--line); background: #090d17; }
.footer-row { min-height: 10rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand { color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 850; }
.footer-row p { margin: .25rem 0 0; color: var(--muted); font-size: .85rem; }
.footer-row nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem 1rem; }
.footer-row nav a, .footer-row nav button { padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .87rem; text-decoration: underline; text-underline-offset: .2rem; }
.footer-row nav a:hover, .footer-row nav button:hover { color: var(--ink); }

.cookie-banner { position: fixed; z-index: 90; right: 1rem; bottom: 1rem; left: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; width: min(calc(100% - 2rem), 72rem); margin-inline: auto; padding: 1.35rem; border: 1px solid #56617a; border-radius: 1rem; background: #101727; box-shadow: 0 1.5rem 4rem rgba(0,0,0,.55); color: var(--ink); }
.cookie-banner h2 { margin-bottom: .45rem; font-size: 1.45rem; letter-spacing: -.03em; }
.cookie-banner p { max-width: 46rem; margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.cookie-banner a { color: var(--teal); font-weight: 700; }
.cookie-banner .cookie-kicker { margin-bottom: .35rem; font-size: .67rem; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.cookie-banner-actions .button { min-height: 2.75rem; font-size: .82rem; }
.cookie-banner-actions .button-secondary { border-color: var(--surface-light); background: var(--surface-light); color: var(--light-ink); }
.cookie-banner-actions .button-secondary:hover { background: var(--surface); }
.cookie-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 1rem; }
.cookie-backdrop { position: absolute; inset: 0; background: rgba(3,6,12,.78); backdrop-filter: blur(5px); }
.cookie-dialog { position: relative; z-index: 1; overflow-y: auto; width: min(100%, 42rem); max-height: calc(100vh - 2rem); padding: clamp(1.35rem, 5vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.35rem; background: var(--panel); box-shadow: 0 2rem 6rem rgba(0,0,0,.65); color: var(--ink); }
.cookie-dialog h2 { padding-right: 2rem; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.cookie-dialog > p { color: var(--muted); }
.cookie-close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--night); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.cookie-options { margin: 1.5rem 0; border-block: 1px solid var(--line); }
.cookie-option { min-height: 5.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; color: var(--ink); cursor: pointer; }
.cookie-option + .cookie-option { border-top: 1px solid var(--line); }
.cookie-option strong, .cookie-option span span { display: block; }
.cookie-option span span { margin-top: .2rem; color: var(--muted); font-size: .84rem; }
.cookie-option input { appearance: none; flex: 0 0 auto; width: 2.8rem; height: 1.55rem; border: 1px solid var(--line); border-radius: 999px; background: radial-gradient(circle at .72rem 50%, #adb6c7 0 .43rem, transparent .46rem), var(--night); cursor: pointer; }
.cookie-option input:checked { border-color: var(--lime); background: radial-gradient(circle at calc(100% - .72rem) 50%, #172400 0 .43rem, transparent .46rem), var(--lime); }
.always-on { flex: 0 0 auto; padding: .3rem .55rem; border-radius: .4rem; background: rgba(181,240,72,.13); color: var(--lime); font-size: .72rem; font-weight: 800; }
.cookie-signal { padding: .8rem; border-left: 3px solid var(--teal); background: var(--night); font-size: .84rem; }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.cookie-dialog-actions .button { font-size: .84rem; }

@media (max-width: 60rem) {
  .home-hero-grid, .play-panel { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 36rem); margin-inline: auto; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .journey-card:last-child { grid-column: 1 / -1; }
  .split-cta { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: flex-start; }
}

@media (max-width: 44rem) {
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .header-row { min-height: 4.35rem; }
  .brand img { width: 2.2rem; height: 2.2rem; }
  .main-nav a { display: none; }
  .main-nav a[aria-current="page"], .main-nav .nav-support { display: inline-flex; }
  .home-hero { padding-top: 3.75rem; }
  .home-hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-visual { min-height: 27rem; }
  .home-phone { width: 11.7rem; border-width: 6px; border-radius: 1.8rem; }
  .home-phone.primary { left: 35%; }
  .home-phone.secondary { top: 5rem; }
  .home-note { right: .2rem; bottom: 1rem; width: 13rem; }
  .fact-grid, .journey-grid, .feature-intro-grid, .plan-strip, .policy-meta { grid-template-columns: 1fr; }
  .fact { padding: 1.1rem 1rem; }
  .journey-card:last-child { grid-column: auto; }
  .journey-card img { height: 16rem; }
  .feature-card, .feature-card.wide { min-height: auto; display: block; grid-column: auto; padding: 1.35rem; }
  .feature-card img { max-height: 19rem; margin: 1.25rem auto 0; }
  .page-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .comparison-head { display: none; }
  .comparison-row { grid-template-columns: 1fr 1fr; }
  .comparison-group { grid-column: 1 / -1; padding: .65rem .8rem; }
  .feature-name { grid-column: 1 / -1; padding: .7rem .8rem .35rem; font-size: .86rem; }
  .tier { position: relative; padding: .3rem .8rem .7rem 3rem; border-left: 0; color: var(--muted); font-size: .78rem; }
  .tier::before { position: absolute; left: .8rem; content: "Lite"; color: #77839a; font-size: .65rem; font-weight: 850; text-transform: uppercase; }
  .tier.pro { border-left: 1px solid var(--line); }
  .tier.pro::before { content: "Pro"; color: var(--lime); }
  .footer-row { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 2rem; }
  .footer-row nav { justify-content: flex-start; }
  .cookie-banner { bottom: .5rem; right: .5rem; left: .5rem; width: calc(100% - 1rem); max-height: calc(100vh - 1rem); overflow-y: auto; padding: 1rem; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner-actions .button-text { grid-column: 1 / -1; }
  .cookie-banner-actions .button { padding: .7rem; font-size: .78rem; }
  .cookie-dialog-actions { display: grid; }
  .cookie-dialog-actions .button { width: 100%; }
  .cookie-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .anchor-nav, .cookie-banner, .cookie-modal { display: none !important; }
  .page-hero { padding: 1rem 0; background: white; color: black; }
  .policy-shell { padding: 0; }
  .policy-article { padding: 0; border: 0; box-shadow: none; }
}
