/* PlanBeaver – planbeaver.app. Self-hosted fonts, no external resources, no tracking. */
@font-face { font-family: "Manrope"; src: url("fonts/manrope_semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito_sans.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  /* Brand: petrol and mint from the app icon (tools/icon/generate_icon.py); neutral, slightly cool grounds. */
  --cream: #F4F6F6; --cream-2: #E7EEEE; --paper: #FFFFFF; --sand: #D9E4E4;
  --ink: #0F252B; --brown: #0A3540; --brown-2: #1C7C82; --muted: #4D6166; --line: rgba(10, 53, 64, .13);
  --blue: #035264; --blue-2: #023F4D; --amber: #F29A12; --green: #2E7D5B; --red: #E5484D;
  --mint: #95DAD9; --teal: #2E9C9E;
  --wood: #C98A4B; --metal: #7D8A99; --print: #F29A12;
  --night: #062E37; --night-2: #0B3B46; --night-line: rgba(149, 218, 217, .15); --night-text: #EAF6F5; --night-muted: #A6C6C7;
  --r: 18px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(3, 38, 47, .06), 0 8px 24px rgba(3, 38, 47, .08);
  --shadow-lg: 0 2px 6px rgba(3, 38, 47, .08), 0 30px 70px -20px rgba(3, 38, 47, .35);
  --head: "Manrope", "Nunito Sans", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--brown); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font: 700 .92em ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--cream-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

html[data-released="false"] .when-released { display: none !important; }
html[data-released="true"] .when-soon { display: none !important; }
/* iOS launch switch (site.js IOS_RELEASED): .ios-on only once the app is in the App Store, .ios-off until then.
   Without the attribute (no JS) the page shows the pre-launch state. */
html:not([data-ios-released="true"]) .ios-on { display: none !important; }
html[data-ios-released="true"] .ios-off { display: none !important; }
/* Apple's badge artwork unchanged, as high as the Play badge and first in the row (Apple marketing guidelines). */
.appstore-badge { display: inline-flex; line-height: 0; transition: transform .15s; }
.appstore-badge:hover { transform: translateY(-1px); }
.appstore-badge img { display: block; height: 62px; width: auto; }
/* Until the EU gets the app (DSA trader status, docs/store/appstore.md): a quiet line under the store badges. */
.store-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
/* Official Google Play badge (unchanged artwork, height as in the brand guidelines’ examples) */
.play-badge { display: inline-flex; line-height: 0; transition: transform .15s; }
.play-badge:hover { transform: translateY(-1px); }
.play-badge img { height: 62px; width: auto; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.35em; border-radius: 999px; font: 800 1rem/1.1 var(--body);
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px -6px rgba(3, 82, 100, .6); }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { background: transparent; color: var(--brown); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--brown-2); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn small { display: block; font-weight: 600; font-size: .72rem; opacity: .85; letter-spacing: .02em; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.nav.scrolled { background: rgba(244, 246, 246, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--brown); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { background: rgba(10, 53, 64, .07); }
.nav .btn { padding: .65em 1.1em; font-size: .92rem; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { background: var(--blue-2); }
@media (max-width: 980px) { .nav .hide-md { display: none; } }
@media (max-width: 560px) { .nav .hide-sm { display: none; } .logo img { height: 28px; } .nav .wrap { gap: 8px; } }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -68px 0 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(255, 255, 255, .7), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); opacity: .55; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown-2); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(46, 156, 158, .22); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--brown-2); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-weight: 700; font-size: .93rem; }
.proof li { display: flex; align-items: center; gap: 7px; }
.proof svg { width: 18px; height: 18px; color: var(--green); flex: none; }

.hero-visual { position: relative; }
.float { position: absolute; z-index: 3; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: .86rem; line-height: 1.35; }
.float-formula { left: -28px; bottom: 16%; display: flex; flex-direction: column; gap: 4px; min-width: 196px; }
.float-formula .lbl { font-size: .74rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.float-formula .field { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--cream-2); border-radius: 10px; padding: 8px 10px; font: 700 1.05rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink); }
.float-formula .field .typed::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--teal); animation: blink 1s steps(1) infinite; }
.float-formula .field .unit { color: var(--muted); font-size: .85rem; }
.float-formula .result { font-weight: 800; color: var(--green); min-height: 1.35em; transition: opacity .3s; }
.float-cut { right: -18px; top: -7%; width: 236px; padding: 12px 12px 8px; }
.float-cut h4 { font: 800 .74rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.float-cut table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.float-cut td { padding: 5px 0; border-top: 1px solid var(--line); }
.float-cut td:last-child { text-align: right; font-weight: 800; color: var(--brown); white-space: nowrap; }
.float-badge { right: 8%; bottom: -18px; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--brown); padding: 10px 14px; }
.float-badge svg { width: 22px; height: 22px; color: var(--green); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
.float-cut, .float-formula { animation: bob 6s ease-in-out infinite; }
.float-formula { animation-delay: -3s; }
@media (max-width: 1100px) { .float-formula { left: 8px; } .float-cut { right: 8px; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 16px; }
}
@media (max-width: 620px) {
  .float-cut { display: none; }
  .float-formula { left: 50%; transform: translateX(-50%); bottom: -46px; animation: none; min-width: 230px; }
  .float-badge { display: none; }
  .hero-visual { margin-bottom: 56px; }
}

/* ── Device frame (tablet in landscape) ──────────────────────────────────── */
.tablet { position: relative; background: #121212; border-radius: clamp(14px, 2.4vw, 28px); padding: clamp(7px, 1.2vw, 14px); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2b2b2b; }
.tablet::before { content: ""; position: absolute; top: 50%; left: clamp(3px, .5vw, 6px); width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #333; }
.screen { position: relative; overflow: hidden; border-radius: clamp(6px, 1vw, 12px); background: #E9E6E0; aspect-ratio: 16 / 9; }
.screen > img, .screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.screen > video { opacity: 0; transition: opacity .35s; }
.screen > video.ready { opacity: 1; }
.screen .play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; border: 0;
  background: rgba(6, 46, 55, .75); color: #fff; display: none; place-items: center; cursor: pointer; }
.screen .play svg { width: 30px; height: 30px; margin-left: 4px; }
.screen.paused .play { display: grid; }

/* ── Sections ────────────────────────────────────────────────────────────── */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brown-2); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.section-head p { font-size: 1.15rem; color: var(--muted); }
.paper { background: var(--paper); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.stats { padding: 0 0 8px; }
.stats ul { list-style: none; margin: 0; padding: 22px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.stats li { text-align: center; padding: 8px 4px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font: 600 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--head); color: var(--brown); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.stats span { font-size: .9rem; color: var(--muted); font-weight: 700; line-height: 1.3; display: block; }
@media (max-width: 900px) { .stats ul { grid-template-columns: repeat(3, 1fr); row-gap: 18px; } .stats li:nth-child(4) { border-left: 0; } }
@media (max-width: 520px) { .stats ul { grid-template-columns: repeat(2, 1fr); padding: 14px; } .stats li:nth-child(odd) { border-left: 0; } .stats li:nth-child(4) { border-left: 1px solid var(--line); } }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { counter-increment: step; }
.step .tablet { margin-bottom: 22px; }
.step h3::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%;
  background: var(--brown); color: var(--cream); font-size: 1rem; vertical-align: 2px; }
.step p { color: var(--muted); }
.step code { font: 700 .95em ui-monospace, Consolas, monospace; background: var(--cream-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 48px; max-width: 640px; margin: 0 auto; } }

/* ── Tour (feature player) ───────────────────────────────────────────────── */
.tour { background: var(--night); color: var(--night-text); overflow: hidden; }
.tour h2, .tour h3 { color: var(--night-text); }
.tour .kicker { color: var(--mint); }
.tour .section-head p { color: var(--night-muted); }
.tour::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(var(--night-line) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--night-line) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); }
.tour-grid { position: relative; display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 44px; align-items: start; }
.tour-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tour-list button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; width: 100%; padding: 12px 14px; border-radius: 14px; cursor: pointer; position: relative; overflow: hidden; }
.tour-list button:hover { background: rgba(234, 246, 245, .06); }
.tour-list button:focus-visible { outline: 3px solid var(--mint); }
.tour-list .ic { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(234, 246, 245, .08); color: var(--night-muted); }
.tour-list .ic svg { width: 20px; height: 20px; }
.tour-list b { font-weight: 800; font-size: 1.02rem; color: var(--night-text); }
.tour-list small { font-size: .88rem; color: var(--night-muted); line-height: 1.4; display: none; }
.tour-list [aria-selected="true"] { background: rgba(234, 246, 245, .09); }
.tour-list [aria-selected="true"] small { display: block; }
.tour-list [aria-selected="true"] .ic { background: var(--mint); color: var(--night); }
.tour-list .bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(234, 246, 245, .12); display: none; }
.tour-list [aria-selected="true"] .bar { display: block; }
.tour-list .bar i { display: block; height: 100%; width: 0; background: var(--mint); border-radius: 2px; }
.tour-stage .tablet { background: #050505; }
.tour code { color: var(--mint); background: rgba(234, 246, 245, .1); }
.tour-caption { margin-top: 18px; display: none; gap: 14px; align-items: baseline; color: var(--night-muted); font-size: .98rem; min-height: 3.2em; }
.tour-caption b { color: var(--night-text); }
.tour-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(234, 246, 245, .1); color: var(--night-text); }
@media (max-width: 960px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-stage { order: -1; }
  .tour-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 8px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .tour-list::-webkit-scrollbar { display: none; }
  .tour-list li { flex: none; scroll-snap-align: start; }
  .tour-list button { grid-template-columns: 28px auto; padding: 10px 14px; background: rgba(234, 246, 245, .06); }
  .tour-list .ic { width: 28px; height: 28px; grid-row: auto; }
  .tour-list small { display: none !important; }
  .tour-caption { display: flex; }
}

/* ── Worlds: wood / metal / print ────────────────────────────────────────── */
.world { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.world + .world { margin-top: clamp(72px, 9vw, 120px); }
.world.flip .world-media { order: 2; }
.world-media { position: sticky; top: 110px; padding-bottom: 8%; }
.world-media .tablet + .tablet { position: absolute; width: 58%; right: -6%; bottom: -14%; }
.world-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; font-weight: 800; font-size: .88rem; margin-bottom: 16px; }
.world-badge i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.world-badge i svg { width: 14px; height: 14px; }
.wood .world-badge { background: rgba(201, 138, 75, .16); color: #7A4A1E; } .wood .world-badge i { background: var(--wood); }
.metal .world-badge { background: rgba(125, 138, 153, .18); color: #3E4855; } .metal .world-badge i { background: var(--metal); }
.print .world-badge { background: rgba(242, 154, 18, .16); color: #7A4A00; } .print .world-badge i { background: var(--print); }
.notes .world-badge { background: rgba(46, 156, 158, .14); color: var(--blue-2); } .notes .world-badge i { background: var(--teal); }
.tag-new { font-style: normal; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--mint); color: var(--night);
  padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.checks code { font: 700 .95em ui-monospace, Consolas, monospace; background: var(--cream-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.world-note { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks b { color: var(--brown); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: .85rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--brown); }
@media (max-width: 900px) {
  .world { grid-template-columns: 1fr; }
  .world.flip .world-media { order: 0; }
  .world-media { position: relative; top: auto; margin-bottom: 36px; }
}

/* ── Output wall ─────────────────────────────────────────────────────────── */
.outputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.out { background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); position: relative; transition: transform .2s, box-shadow .2s; }
.out:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.out .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--cream-2); color: var(--brown); }
.out .ic svg { width: 24px; height: 24px; }
.out h3 { font-size: 1.12rem; margin-bottom: .35em; }
.out p { font-size: .94rem; color: var(--muted); margin: 0; }
.out .fmt { position: absolute; top: 20px; right: 20px; font: 800 .72rem/1 ui-monospace, Consolas, monospace; letter-spacing: .04em; color: var(--brown-2); background: var(--cream-2); padding: 5px 7px; border-radius: 6px; }
.out.big { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px; align-items: center; padding: 28px; }
.out.big h3 { font-size: 1.5rem; }
.out.big p { font-size: 1.02rem; }
.out.big .shot { border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 1000px) { .outputs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .out.big { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .outputs { grid-template-columns: 1fr; } }

/* ── Feature wall (everything else) ──────────────────────────────────────── */
.wall { columns: 3 280px; column-gap: 28px; }
.wall-group { break-inside: avoid; margin-bottom: 28px; background: var(--paper); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.wall-group h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.wall-group h3 .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.wall-group ul { margin: 0; padding: 0; list-style: none; }
.wall-group li { padding: 7px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.wall-group li:first-child { border-top: 0; }

/* ── Comparison ──────────────────────────────────────────────────────────── */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 700; color: var(--ink); }
.compare thead th { font: 800 .95rem/1.25 var(--body); color: var(--muted); vertical-align: bottom; }
.compare thead th.us { color: var(--brown); }
.compare thead th.us img { height: 22px; width: auto; margin: 0 auto 4px; }
.compare td.us { background: rgba(3, 82, 100, .06); font-weight: 800; color: var(--brown); }
.compare tr:last-child td { border-bottom: 0; }
.y, .n, .p { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: .9rem; }
.y { background: var(--green); color: #fff; } .n { background: rgba(77, 97, 102, .14); color: var(--muted); } .p { background: rgba(242, 154, 18, .2); color: #7A4A00; }
.compare-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ── Offline / privacy ───────────────────────────────────────────────────── */
.offline { background: var(--night); color: var(--night-text); overflow: hidden; }
.offline h2 { color: var(--night-text); }
.offline .kicker { color: var(--mint); }
.offline-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.offline p { color: var(--night-muted); font-size: 1.1rem; }
.zero { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.zero div { border: 1px solid var(--night-line); border-radius: var(--r); padding: 20px; background: var(--night-2); }
.zero b { display: block; font: 600 2.6rem/1 var(--head); color: var(--mint); margin-bottom: 6px; }
.zero span { font-weight: 700; color: var(--night-text); hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 860px) { .offline-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.plan { background: var(--paper); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.pro { box-shadow: var(--shadow-lg), inset 0 0 0 2px var(--blue); position: relative; }
.plan .ribbon { position: absolute; top: -14px; left: 32px; background: var(--blue); color: #fff; font-weight: 800; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.6rem; margin-bottom: .2em; }
.plan .price { font: 600 1.25rem/1.3 var(--head); color: var(--ink); margin-bottom: 18px; }
.plan .price small { display: block; font: 700 .92rem/1.4 var(--body); color: var(--muted); }
.plan .checks { margin: 0; align-content: start; }
.plan .btn { align-self: flex-start; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--paper); border-radius: var(--r); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 800; font-size: 1.06rem; color: var(--brown); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 600 1.5rem/1 var(--head); color: var(--brown-2); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ── Final CTA + footer ──────────────────────────────────────────────────── */
.final { text-align: center; padding: clamp(72px, 10vw, 120px) 0; background: radial-gradient(800px 400px at 50% 0%, #fff, transparent 70%), var(--cream-2); }
.final img.mark { width: 84px; height: auto; margin: 0 auto 22px; }
.final p { color: var(--muted); font-size: 1.15rem; max-width: 34em; margin: 0 auto 28px; }
.final .cta-row { justify-content: center; }
.footer { background: var(--night); color: var(--night-muted); padding: 48px 0 40px; font-size: .92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer img { height: 30px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: var(--night-text); text-decoration: none; }
.footer a:focus-visible { outline-color: var(--mint); }
.footer a:hover { text-decoration: underline; }
.footer .fine { flex-basis: 100%; font-size: .82rem; opacity: .8; }

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal { max-width: 780px; padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin: 2em 0 .4em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal address { font-style: normal; line-height: 1.7; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 64px 0; }
.legal section { scroll-margin-top: 80px; }

/* Hero: the presentation clip shows the model small and right of centre – zoom in on it. */
.hero .screen > video { transform: translateX(-7%) scale(1.35); transform-origin: 62% 52%; }
