/* climbrate landing — rebuilt 2026-09-07 from the owner's Figma frame
   "climbrate — flight training, tracked task by task"
   (file f5l8wvVxJKRtvj1QCm4KTp, node 1:2, a 1440-wide canvas).

   GEOMETRY. Every length is written in --u, "one Figma pixel": 1px at ≥1440
   and 100vw/1440 below that, so a desktop sees the frame 1:1 and a laptop a
   proportionally scaled copy. Under 1200px (--u locked to 1px) the sections
   stack — see the media block at the end — and each device composition
   re-scales itself through a LOCAL --u so the bezels never overflow a phone.

   DEVICES. The Apple bezels are the actual PNGs from the Figma frame
   (assets/devices/), placed exactly the way the Figma component places them:
   a screen frame, and the bezel image inset by the component's percentages
   (iPhone 14: -3.95% / -8.55%; iPad Air landscape rotated 90°: -8.48% / -5.93%
   / -8.6% / -5.93%; MacBook Air 13": -11.11% / -17.43% / -16.67% / -17.29%).

   BODY COPY IS WHITE (owner, 2026-09-08): every paragraph, caption and
   description reads in the feature-paragraph style — #fff, 12.5/18.75 — not
   the frame's faint #6c6c70; the only grey text left is the footer legal line.
   TYPE. Four sets only, applied as classes so an audit is a grep:
     t-display  SF Pro Light 300, -.03em — hero, every section title, the tools list
     t-title    SF Pro Regular 400, -.018em — the hero numbers, "Clock in" row labels
     t-body     SF Pro Regular 400, -.005em — paragraphs, captions, footer
     t-label    SF Pro Medium 500 (600 for h3s), -.006em — nav, buttons, small heads
   Palette is the app's (tailwind.config.ts): ink #151516, panel #1d1d1d,
   subtle #6c6c70, dim #9a9a9e, brand #426eb5; the CTA blue is the iOS system
   blue the Figma "Liquid Glass" buttons use. SF Pro only, no generic fallback —
   the same rule as the app's font stack. */

:root{
  --page:#151516;
  --panel:#1d1d1d;
  --panel-2:#2b2b2b;
  --hair:rgba(255,255,255,.10);
  --hair-strong:rgba(255,255,255,.18);
  --text:#f2f2f4;
  --text-dim:#9a9a9e;
  --text-faint:#6c6c70;
  --mark:#426eb5;
  --blue:#0a84ff;
  --sans:-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text";
  --u1:min(1px, calc(100vw / 1440)); /* the page-level Figma pixel */
  --u:var(--u1);
  --gut:40px;
  --max:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--page); color:var(--text);
  font-family:var(--sans); -webkit-font-smoothing:antialiased;
  font-size:15px; line-height:1.55; overflow-x:clip;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.wrap{max-width:var(--max); margin:0 auto; padding:0 var(--gut)}
.stage{position:relative; width:calc(1440*var(--u)); height:100%; margin:0 auto}

/* ---------- the four type sets ---------- */
.t-display{font-weight:300; letter-spacing:-.03em; line-height:1.1}
.t-title{font-weight:400; letter-spacing:-.018em; line-height:1.1}
.t-body{font-weight:400; letter-spacing:-.005em; line-height:1.5}
.t-label{font-weight:500; letter-spacing:-.006em; line-height:1.4}
h1,h2,h3,p{margin:0}

/* ---------- header (Figma 1:307) ---------- */
header{
  position:fixed; inset:0 0 auto 0; z-index:50;
  /* viewport-fit=cover: the page runs under a phone's status bar, so the
     header's glass reaches the top edge as one piece (owner, 2026-09-10);
     the nav itself sits below the notch */
  padding-top:env(safe-area-inset-top);
  border-bottom:1px solid transparent;
  transition:background .35s ease, border-color .35s ease;
}
header.scrolled{
  /* Real glass (owner, 2026-09-11: "bring the blur back"). iOS Safari paints
     its status-bar strip from this colour WITHOUT the blur, so over bright
     content the strip can read a shade darker than the band — the owner
     chose the blur over a perfect match (theme-color #1c1c1e stays on the
     pages so the strip is at least the same base tone). */
  background:rgba(28,28,30,.7); backdrop-filter:blur(22px) saturate(160%);
  -webkit-backdrop-filter:blur(22px) saturate(160%); border-bottom-color:var(--hair);
}
.nav{
  position:relative; display:flex; align-items:center; justify-content:space-between;
  gap:calc(24*var(--u)); height:calc(34*var(--u)); width:calc(1440*var(--u));
  margin:calc(17.77*var(--u)) auto; padding:0 calc(140*var(--u));
}
.nav-links{display:flex; gap:calc(26*var(--u)); flex:1}
.nav-links a{font-size:calc(13*var(--u)); color:rgba(255,255,255,.72); position:relative; display:inline-block; transition:color .2s ease}
.nav-links a:hover{color:#fff}
.nav-links a::after{content:""; position:absolute; left:0; bottom:-4px; width:0; height:2px; background:currentColor; transition:width .3s ease}
.nav-links a:hover::after{width:100%}
.brand{position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); color:#fff; display:block}
.brand svg{height:calc(19*var(--u)); width:auto; display:block}
.nav-actions{display:flex; align-items:center; gap:calc(10*var(--u)); flex:1; justify-content:flex-end}
.nav-actions [hidden]{display:none}
.lbl-mob{display:none}
/* signed-in circle + menu (assets/session.js fills it from the app's Firebase session) */
.who{position:relative}
.who-btn{
  width:calc(34*var(--u)); height:calc(34*var(--u)); border-radius:50%;
  border:1px solid var(--hair-strong); background:rgba(255,255,255,.12); color:#fff;
  font-family:inherit; font-size:calc(12*var(--u)); font-weight:600; letter-spacing:.02em;
  /* owner, 2026-09-12: the initials sat ~¾px low — a button doesn't inherit
     the page font, and capitals ride high in a tall line box; line-height 1
     plus 1px of bottom pad puts the ink within ¼px of the disc's centre
     (measured with the system font at 8×) */
  line-height:1; padding:0 0 1px;
  display:grid; place-items:center; cursor:pointer; transition:background .2s ease;
}
.who-btn:hover,.who[open] .who-btn{background:rgba(255,255,255,.22)}
.who-menu{
  position:absolute; right:0; top:calc(100% + 10px); min-width:230px; padding:8px;
  background:var(--panel); border:1px solid var(--hair-strong); border-radius:12px;
  box-shadow:0 20px 40px -10px rgba(0,0,0,.6); z-index:60; text-align:left;
}
.who-id{margin:0 0 6px; padding:8px 10px 10px; border-bottom:1px solid var(--hair); font-size:12px; color:var(--text-dim); overflow:hidden}
.who-id b{display:block; font-size:13px; font-weight:600; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.who-id span{display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.who-menu a{display:block; padding:8px 10px; border-radius:8px; font-size:13px; color:var(--text); transition:background .15s ease, color .15s ease}
.who-menu a:hover{background:rgba(255,255,255,.06); color:#fff}
.who-menu a.who-out{color:var(--text-dim)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:calc(3*var(--u));
  height:calc(34*var(--u)); padding:0 calc(16*var(--u)); border-radius:999px;
  white-space:nowrap; font-size:calc(13*var(--u)); font-weight:500;
  border:1px solid transparent; cursor:pointer;
  transition:transform .18s ease, background .2s ease, border-color .2s ease;
}
.btn:active{transform:translateY(1px)}
.btn-ghost{background:rgba(255,255,255,.07); border-color:var(--hair-strong); color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.13)}
.btn-solid{background:#fff; color:#151516}
.btn-solid:hover{background:#e3e3e5}
.btn-buy{background:var(--blue); color:#fff}
.btn-buy:hover{background:#2b93ff}
.btn-buy .arrow{font-size:1.1em; line-height:1; margin-right:calc(2*var(--u))}
.btn-lg{height:calc(42*var(--u)); padding:0 calc(22*var(--u)); font-size:calc(14*var(--u))}
/* The Figma "Button - Liquid Glass - Text" (Glass Prominent, Large, Dark). */
.btn-glass{
  display:inline-flex; align-items:center; justify-content:center;
  height:calc(50*var(--u)); padding:0 calc(22*var(--u)); border-radius:999px;
  background:var(--blue); color:#fff; font-size:calc(17*var(--u)); font-weight:500;
  letter-spacing:-.01em; white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26), inset 0 -1px 1px rgba(0,0,0,.14), 0 10px 26px rgba(10,132,255,.22);
  transition:filter .2s ease, transform .18s ease;
}
.btn-glass:hover{filter:brightness(1.08)}
.btn-glass:active{transform:translateY(1px)}

/* ---------- hero (1:5, 1440×900) ---------- */
.hero{position:relative; height:calc(900*var(--u)); overflow:hidden}
.hero-art{position:absolute; inset:0; z-index:0; background:var(--page)}
.hero-art img{
  width:100%; height:100%; object-fit:cover; object-position:center 58%;
  filter:brightness(.62) contrast(1.06) saturate(.82);
}
.hero-scrim{
  position:absolute; inset:0;
  background:
    radial-gradient(120% 78% at 50% 42%, rgba(15,15,17,.10) 0%, rgba(15,15,17,.52) 58%, rgba(15,15,17,.80) 100%),
    linear-gradient(to bottom, rgba(15,15,17,.72) 0%, rgba(15,15,17,.20) 26%, rgba(15,15,17,.20) 58%, rgba(15,15,17,.55) 100%);
}
.hero-fade{
  position:absolute; left:0; right:0; top:calc(558*var(--u)); height:calc(342*var(--u)); z-index:1; pointer-events:none;
  background:linear-gradient(to bottom, rgba(21,21,22,0), rgba(21,21,22,.85) 64%, var(--page));
}
.hero .stage{z-index:2}
.hero-copy{
  position:absolute; left:calc(279.69*var(--u)); top:calc(350*var(--u)); width:calc(880.6*var(--u));
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
h1{font-size:calc(68*var(--u)); line-height:calc(72.08*var(--u)); color:#fff; white-space:nowrap; text-shadow:0 2px 30px rgba(0,0,0,.35)}
h1 span{color:rgba(255,255,255,.8)}
.hero-copy p{margin-top:calc(20.92*var(--u)); width:calc(473*var(--u)); font-size:calc(15*var(--u)); line-height:calc(24*var(--u)); color:#fff}
.hero-cta{display:flex; gap:calc(10*var(--u)); margin-top:calc(30*var(--u)); flex-wrap:wrap; justify-content:center}
.stats{position:absolute; left:calc(425*var(--u)); top:calc(809*var(--u)); display:flex; gap:calc(58*var(--u))}
.stat{width:calc(121*var(--u)); color:#fff}
.stat b{display:block; font-size:calc(48*var(--u)); line-height:calc(24*var(--u)); padding-top:calc(6*var(--u)); font-variant-numeric:tabular-nums}
.stat span{display:block; font-size:calc(10*var(--u)); line-height:calc(24*var(--u)); margin-top:calc(2*var(--u))}

/* ---------- shared phone composition (Device Bezels/iPhone/iPhone 14 - Midnight) ----------
   .dev-phone is the bezel's full extent; .ph is the component's screen frame
   (--sw × --sh Figma px) sitting inside it; .ph-screen clips the capture,
   .ph-bezel is the PNG inset by the component's own percentages. */
.dev{position:absolute}
.dev-phone{--sw:294; --sh:638; width:calc(var(--sw)*1.171*var(--u)); height:calc(var(--sh)*1.079*var(--u))}
.dev-phone .ph{left:calc(var(--sw)*.0855*var(--u)); top:calc(var(--sh)*.0395*var(--u))}
.ph{position:absolute; width:calc(var(--sw)*var(--u)); height:calc(var(--sh)*var(--u))}
.ph-screen{position:absolute; inset:0; overflow:hidden; border-radius:calc(var(--sw)*.115*var(--u)); background:#000}
.ph-shot{width:100%; height:100%; max-width:none; object-fit:cover; object-position:top}
.ph-cover{position:absolute; background:var(--page)}
.ph-bezel{position:absolute; inset:-3.95% -8.55%; pointer-events:none}
.ph-bezel img{width:100%; height:100%; max-width:none}

/* ---------- Powerful tools (14:437, 1440×845) ---------- */
/* ---------- What climbrate is (owner copy, 2026-09-12; no Figma node) ----------
   One centred statement, set large and light, between the stats and the tools. */
/* Not a slide (owner, 2026-09-12: "it seems empty"): it snaps with its
   bottom on the window's bottom edge, so one scroll from the hero shows the
   stats with this tucked under them, and the next lands on the tools. */
.about{position:relative; height:auto; padding:calc(28*var(--u)) 0 calc(84*var(--u))}
.about .stage{height:auto}
.about .txt{position:static; width:calc(820*var(--u)); margin:0 auto; text-align:center}
.about p{font-size:calc(21*var(--u)); line-height:1.5; letter-spacing:-.012em; color:rgba(255,255,255,.88)}
.about p + p{margin-top:calc(26*var(--u))}

.tools{position:relative; height:calc(845*var(--u)); overflow:hidden} /* the fan's outer phones stop at the section edge */
.tools h2{position:absolute; left:0; right:0; top:calc(48*var(--u)); text-align:center; font-size:calc(44*var(--u)); line-height:calc(49.28*var(--u)); color:#fff; white-space:nowrap}
.tools-sub{position:absolute; left:0; right:0; top:calc(108*var(--u)); text-align:center; font-size:calc(13*var(--u)); line-height:calc(20.15*var(--u)); color:#fff}
.tool-list{
  position:absolute; left:calc(129*var(--u)); top:calc(202*var(--u)); width:calc(343.33*var(--u));
  margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:calc(15*var(--u));
}
.tool-list li{height:calc(64.125*var(--u)); display:flex; align-items:center; justify-content:center}
.tool-list button{
  appearance:none; background:none; border:0; padding:0; margin:0; font:inherit; cursor:pointer;
  font-weight:300; letter-spacing:-.03em; font-size:calc(24*var(--u)); line-height:1.1; white-space:nowrap;
  color:rgba(255,255,255,.42); transition:color .4s ease;
}
.tool-list button:hover{color:rgba(255,255,255,.8)}
.tool-list button[aria-selected="true"]{color:#fff}
.tool-list button:focus-visible{outline:2px solid var(--blue); outline-offset:6px; border-radius:4px}
/* The active tool's copy: title on the list's scale, paragraph in the
   page's body style (owner, 2026-09-08: the 20px/45px paragraph out-shouted
   the list). Title centre lines up with the first list item. */
.tool-detail{position:absolute; z-index:2; left:calc(557*var(--u)); top:calc(214*var(--u)); width:calc(340*var(--u))}
.tool-detail h3{font-size:calc(36*var(--u)); line-height:calc(40*var(--u)); color:#fff; white-space:nowrap}
.tool-detail p{margin-top:calc(16*var(--u)); width:calc(340*var(--u)); font-size:calc(17*var(--u)); line-height:calc(26*var(--u)); color:#fff} /* owner, 2026-09-08: 12.5 was unreadable here */
.tool-detail h3,.tool-detail p{transition:opacity .26s ease, transform .26s ease}
.tool-detail.is-swapping h3,.tool-detail.is-swapping p{opacity:0; transform:translateY(calc(6*var(--u)))}

/* The phone fan (owner, 2026-09-08, after Apple's iPhone line-up): the
   current phone stands in front at true size exactly where the frame's phone
   was; its neighbours sit behind it on either side, receding and dimming with
   distance; the next one slides in from the right. Each card carries --d
   (signed offset from the front, set by the script) and --ad (its absolute
   value); cards more than two steps out are hidden. The box is masked at both
   edges so the outer phones fade instead of bumping into the copy. */
.dev-tools{
  --sw:286; --sh:622;
  left:calc(870*var(--u)); top:calc(179.43*var(--u)); width:calc(606*var(--u)); height:calc(680*var(--u));
  perspective:calc(1800*var(--u)); perspective-origin:50% 50%;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 20%, #000 82%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 20%, #000 82%, transparent);
}
.ring{position:absolute; left:calc(135.5*var(--u)); top:0; width:calc(335*var(--u)); height:calc(671*var(--u)); transform-style:preserve-3d}
.ring .ph{
  left:calc(24.5*var(--u)); top:calc(24.5*var(--u)); cursor:pointer;
  transform:translateX(calc(var(--d,0)*190*var(--u))) translateZ(calc(var(--ad,0)*-260*var(--u)));
  filter:brightness(calc(1 - var(--ad,0)*.3));
  z-index:calc(10 - var(--ad,0));
  transition:transform 1s cubic-bezier(.2,.7,.2,1), filter 1s ease, opacity .6s ease;
}
.ring .ph[data-front]{cursor:default}
/* a finger on the fan: cards follow it with no easing, then settle quickly */
.ring.dragging .ph{transition:none}
.ring.settling .ph{transition-duration:.45s,.45s,.3s}
.ring .ph[data-hide]{opacity:0; pointer-events:none}
.ph-empty{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:calc(18*var(--u)); background:var(--page); text-align:center; padding:calc(24*var(--u));
}
.ph-empty img{width:calc(44*var(--u)); height:auto; max-width:none; opacity:.9}
.ph-empty span{font-size:calc(20*var(--u)); color:var(--text-dim)}
@media (prefers-reduced-motion:reduce){ .ring{transition:none} .tool-detail h3,.tool-detail p{transition:none} }

/* ---------- One screen for the whole day (14:495, 1440×677) ---------- */
.day{position:relative; height:calc(677*var(--u))}
.day .txt{position:absolute; left:calc(100*var(--u)); top:calc(101*var(--u)); width:calc(386*var(--u))}
.day h2{font-size:calc(44*var(--u)); line-height:calc(49.28*var(--u)); color:#fff; white-space:nowrap}
.day .lede{width:calc(290*var(--u)); font-size:calc(12.5*var(--u)); line-height:calc(18.75*var(--u)); color:#fff}
.areas{list-style:none; margin:calc(23*var(--u)) 0 0; padding:0; border-top:1px solid var(--hair)}
.areas li{padding:calc(13*var(--u)) 0; border-bottom:1px solid var(--hair)}
.areas b{display:block; font-size:calc(13.5*var(--u)); font-weight:600; line-height:calc(20.925*var(--u)); height:calc(23*var(--u)); color:#fff}
.areas span{display:block; font-size:calc(12.5*var(--u)); line-height:calc(18.75*var(--u)); padding-top:calc(2*var(--u)); height:calc(23.25*var(--u)); color:#fff; white-space:nowrap}
/* The "Devices" group: iPhone (back) · iPad (middle) · MacBook (front). It is
   DESIGNED to run off the right edge (owner, 2026-09-07) — in the frame the
   MacBook's screen frame ends 137px past the 1440 canvas. So the group is a
   child of the SECTION, not the 1440 stage, and is pinned to the viewport's
   right edge by that same overhang: on a 1440 screen it matches the frame,
   on a wider one it still bleeds off the real edge instead of stopping at
   an invisible line mid-screen. Nothing else in the section moves. */
.day{overflow:hidden}
.dev-day{left:auto; right:calc(-137*var(--u)); top:calc(109.5*var(--u)); width:calc(1005*var(--u)); height:calc(458*var(--u))}
.d-iphone{--sw:156; --sh:339; position:absolute; left:0; top:calc(119*var(--u)); width:calc(156*var(--u)); height:calc(339*var(--u))}
.d-iphone .ph{left:0; top:0}
.d-iphone .ph-cover{left:calc(50*var(--u)); top:calc(321*var(--u)); width:calc(53*var(--u)); height:calc(15*var(--u)); background:var(--panel)}
.d-ipad{position:absolute; left:calc(133*var(--u)); top:0; width:calc(311*var(--u)); height:calc(446*var(--u))}
.d-ipad-shot{position:absolute; left:calc(4*var(--u)); top:0; width:calc(303*var(--u)); height:calc(405*var(--u)); max-width:none; object-fit:cover; object-position:top; border-radius:calc(8*var(--u))}
.d-ipad-cover{position:absolute; left:0; top:calc(390*var(--u)); width:calc(311*var(--u)); height:calc(56*var(--u)); background:#151517}
.d-ipad-bezel{position:absolute; left:calc(4*var(--u)); top:calc(12*var(--u)); width:calc(301*var(--u)); height:calc(434*var(--u)); display:flex; align-items:center; justify-content:center; pointer-events:none}
.d-ipad-rot{position:relative; flex:none; width:calc(434*var(--u)); height:calc(301*var(--u)); transform:rotate(90deg)}
.d-ipad-rot div{position:absolute; inset:-8.48% -5.93% -8.6% -5.93%}
.d-ipad-rot img{width:100%; height:100%; max-width:none}
.d-mac{position:absolute; left:calc(391*var(--u)); top:calc(45*var(--u)); width:calc(614*var(--u)); height:calc(379*var(--u))}
.d-mac-shot{position:absolute; left:0; top:0; width:calc(614*var(--u)); height:calc(379*var(--u)); max-width:none; object-fit:cover; object-position:left top; border-radius:calc(8*var(--u)) calc(8*var(--u)) 0 0}
.d-mac-bezel{position:absolute; left:0; top:0; width:calc(607*var(--u)); height:calc(379*var(--u)); pointer-events:none}
.d-mac-bezel div{position:absolute; inset:-11.11% -17.43% -16.67% -17.29%}
.d-mac-bezel img{width:100%; height:100%; max-width:none}

/* ---------- the four feature sections (741 tall each) ---------- */
.feat{position:relative; height:calc(741*var(--u))}
.feat .txt{position:absolute}
.feat h2{font-size:calc(44*var(--u)); line-height:calc(50*var(--u)); color:#fff}
.feat p{width:calc(359*var(--u)); font-size:calc(12.5*var(--u)); line-height:calc(18.75*var(--u)); color:#fff}
.feat p + p{margin-top:calc(18.75*var(--u))}
.feat .btn-glass{margin-top:calc(24*var(--u))}
.feat-never .dev-phone,.feat-sched .dev-phone{left:calc(988.5*var(--u)); top:calc(26.5*var(--u))}

/* Never forget when (37:1334) */
.feat-never .txt{left:calc(84*var(--u)); top:calc(171*var(--u)); width:calc(588*var(--u))}
.feat-never h2{width:calc(510*var(--u))}
.rows{margin:calc(22*var(--u)) 0 0; display:flex; flex-direction:column; gap:calc(30*var(--u))}
.rows > div{display:flex; align-items:baseline; height:calc(30*var(--u))}
.rows dt{flex:none; width:calc(168*var(--u)); font-size:calc(24*var(--u)); line-height:calc(30*var(--u)); color:#fff; white-space:nowrap}
.rows dd{margin:0; font-size:calc(12.5*var(--u)); line-height:calc(18.75*var(--u)); color:#fff; white-space:nowrap}
.feat-never .btn-glass{margin-top:calc(76*var(--u))}

/* Live Lessons + Live Grading (14:588) — two phones, text on the right */
.feat-live .txt{left:calc(921*var(--u)); top:calc(233*var(--u)); width:calc(380*var(--u))}
.feat-live h2 + p{margin-top:calc(14*var(--u))}
.dev-live{left:calc(64.5*var(--u)); top:calc(26.5*var(--u)); width:calc(717*var(--u)); height:calc(689*var(--u))}
.dev-live .ph{--sw:294; --sh:638; top:calc(25.5*var(--u))}
.dev-live .ph-1{left:calc(25.5*var(--u))}
.dev-live .ph-2{left:calc(397.17*var(--u))}
.dev-live .ph-1 .ph-cover{left:calc(112*var(--u)); top:calc(603*var(--u)); width:calc(100*var(--u)); height:calc(29*var(--u)); background:#000}
.dev-live .ph-2 .ph-cover{left:calc(105*var(--u)); top:calc(601*var(--u)); width:calc(93*var(--u)); height:calc(36*var(--u)); background:#000}

/* Full Schedule Management (37:1290) */
.feat-sched .txt{left:calc(139*var(--u)); top:calc(233*var(--u)); width:calc(510*var(--u))}
.feat-sched h2 + p{margin-top:calc(7*var(--u))}

/* Show off the professional (14:1096) — phone on the left, tall web capture */
.feat-show .dev-phone{left:calc(125.5*var(--u)); top:calc(29.5*var(--u))}
.feat-show .ph-shot{height:auto}
.feat-show .txt{left:calc(859*var(--u)); top:calc(233*var(--u)); width:calc(466*var(--u))}
.feat-show h2 + p{margin-top:calc(14*var(--u))}

/* ---------- Your students always know where they stand (46:188, 725 tall) ---------- */
.students{position:relative; height:calc(725*var(--u))}
.students .txt{position:absolute; left:calc(125*var(--u)); top:calc(99*var(--u)); width:calc(448*var(--u))}
.students h2{font-size:calc(44*var(--u)); line-height:calc(49.28*var(--u)); color:#fff}
.students .txt p{margin-top:calc(9*var(--u)); width:calc(299*var(--u)); font-size:calc(12.5*var(--u)); line-height:calc(18.8*var(--u)); color:#fff}
.cards{position:absolute; left:calc(125*var(--u)); top:calc(430*var(--u)); display:grid; grid-template-columns:repeat(3, calc(167*var(--u))); column-gap:calc(99*var(--u))}
.glyph{width:calc(24*var(--u)); height:calc(24*var(--u)); display:grid; place-items:center; border:1px solid var(--hair-strong); border-radius:calc(7*var(--u)); color:var(--text-dim)}
.glyph svg{width:calc(12*var(--u)); height:calc(12*var(--u))}
.card h3{margin-top:calc(12*var(--u)); font-size:calc(13.5*var(--u)); font-weight:600; line-height:calc(20.925*var(--u)); color:#fff}
.card p{margin-top:calc(6*var(--u)); font-size:calc(12.5*var(--u)); line-height:calc(18.75*var(--u)); color:#fff}
.dev-student{left:calc(974.5*var(--u)); top:calc(19.67*var(--u))}
.dev-student .ph-cover{left:calc(62*var(--u)); top:calc(3*var(--u)); width:calc(176*var(--u)); height:calc(36*var(--u))}

main{padding-bottom:calc(57*var(--u))}

/* ---------- pricing (card + comparison layout per foreflight.com/pricing,
     restyled onto the app palette; tiers/prices from lib/tiers.ts PLAN_CARDS) ---------- */
.sec{padding-top:calc(clamp(90px,12vw,150px) + env(safe-area-inset-top))}
.sec h2{font-weight:300; font-size:clamp(28px,3.6vw,44px); line-height:1.12; letter-spacing:-.03em; color:#fff; max-width:17ch}
.sec-lede{margin:12px auto 0; max-width:44ch; font-size:15px; color:var(--text-dim)}

/* billing toggle — the reference's muted box: label · switch · label + badge */
.bill{
  display:inline-flex; align-items:center; gap:16px; margin:22px auto 0; padding:12px 14px;
  background:var(--panel); border:1px solid var(--hair); border-radius:8px;
}
.bill-opt{display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--text-dim); cursor:pointer; transition:color .2s ease}
.bill-opt.on{color:#fff}
.bill-save{padding:2px 8px; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; border-radius:999px; background:var(--blue); color:#fff}
.switch{
  position:relative; flex:none; width:44px; height:24px; padding:0; border:2px solid transparent; border-radius:999px;
  background:var(--panel-2); cursor:pointer; transition:background .2s ease;
}
.switch[aria-checked="true"]{background:var(--blue)}
.switch .knob{position:absolute; left:0; top:0; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.35); transition:transform .2s ease}
.switch[aria-checked="true"] .knob{transform:translateX(20px)}
.switch:focus-visible{outline:2px solid var(--blue); outline-offset:2px}

/* the three cards — flat panels, the featured one inverted and stepped up */
.plans{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
  align-items:stretch; padding-top:clamp(40px,6vw,64px); text-align:left;
}
.plan{
  --ink:var(--text); --dim:var(--text-dim); --line:var(--hair);
  display:flex; flex-direction:column; padding:32px; position:relative;
  background:var(--panel); border:1px solid var(--hair); border-radius:8px;
  transition:transform .3s ease, box-shadow .3s ease;
}
.plan.featured{
  --ink:var(--page); --dim:rgba(21,21,22,.6); --line:rgba(21,21,22,.2);
  background:#fff; color:var(--page); border-color:transparent; z-index:1;
  transform:scale(1.05); box-shadow:0 25px 50px -12px rgba(0,0,0,.6);
}
.plan-head{margin-bottom:32px}
.plan-head h3{margin:0; font-size:18px; font-weight:700; color:var(--ink)}
.plan-head p{margin:2px 0 0; font-size:14px; line-height:1.5; color:var(--dim)}
.plan-price{display:flex; align-items:baseline; gap:4px; color:var(--ink)}
.plan-price .cur{font-size:24px; font-weight:500; color:var(--dim)}
.plan-price .num{font-size:48px; font-weight:700; letter-spacing:-.02em; line-height:1; font-variant-numeric:tabular-nums}
.plan-price .per{font-size:14px; color:var(--dim)}
.plan-per{margin:8px 0 0; font-size:12.5px; color:var(--dim)}
.plan-cta{
  margin:24px 0 40px; width:100%; height:56px; border-radius:8px; font-size:14px;
  background:var(--page); color:#fff; border:1px solid var(--hair);
  transition:box-shadow .2s ease, background .2s ease;
}
.plan-cta:hover{box-shadow:0 10px 15px -3px rgba(0,0,0,.4)}
.plan.featured .plan-cta{background:rgba(21,21,22,.1); border-color:rgba(21,21,22,.2); color:var(--page)}
.plan.featured .plan-cta:hover{background:rgba(21,21,22,.2); box-shadow:none}
.plan-feats{list-style:none; margin:0; padding:32px 0 0; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:16px}
.plan-feats li{display:flex; gap:12px; align-items:center; font-size:14px; line-height:1.45; color:var(--dim)}
.plan.featured .plan-feats li{color:rgba(21,21,22,.8)}
.pf-ck{flex:none}
.compare{margin-top:clamp(56px,7vw,84px); overflow-x:auto}
.compare table{width:100%; min-width:640px; border-collapse:collapse}
.compare th{
  text-align:left; padding:14px 18px; font-size:12.5px; font-weight:620;
  letter-spacing:.08em; text-transform:uppercase; color:var(--text-dim);
  border-bottom:1px solid var(--hair-strong);
}
.compare th+th, .compare td+td{text-align:center; width:17%}
.compare td{padding:13px 18px; font-size:13.5px; color:var(--text); border-bottom:1px solid var(--hair)}
.compare td:first-child{text-align:left}
.compare tr:nth-child(odd) td{background:rgba(255,255,255,.025)}
.compare .no{color:var(--text-faint); font-size:12px}
.ck{display:inline-grid; place-items:center; width:18px; height:18px; border-radius:50%; color:#fff}
.ck-lite{background:#5a5a5e}
.ck-pro{background:var(--mark)}
.ck-premier{background:#6e93d6}

/* ---------- documents: support / privacy-policy / terms-of-service (Flow
     idiom — no Figma frame; one narrow reading column on the pricing tokens) ---------- */
.doc-in{max-width:720px; margin:0 auto; padding:0 var(--gut)}
.doc-head{padding-bottom:clamp(26px,3.6vw,38px); border-bottom:1px solid var(--hair)}
.doc-head h1{margin:0; font-size:clamp(34px,4.4vw,56px); line-height:1.1; color:#fff; white-space:normal; text-shadow:none}
.doc-meta{margin:14px 0 0; font-size:13.5px; color:var(--text-dim)}
.doc-body{padding-top:clamp(26px,3.6vw,38px)}
.doc-body > p{margin:0 0 clamp(26px,3.4vw,36px); font-size:15.5px; line-height:1.6; color:var(--text)}
.doc-body section+section{margin-top:clamp(26px,3.4vw,36px)}
.doc-body h2{margin:0 0 10px; max-width:none; font-size:17px; font-weight:600; line-height:1.3; letter-spacing:-.006em; color:#fff}
.doc-body section p{margin:0; font-size:15.5px; line-height:1.6; color:var(--text)}
.doc-body section p+p{margin-top:12px}
.doc-body strong{color:#fff; font-weight:600}
.doc-body a,.help-lede a,.faq a{color:#fff; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--hair-strong); transition:text-decoration-color .2s ease}
.doc-body a:hover,.help-lede a:hover,.faq a:hover{text-decoration-color:#fff}
.doc-foot{display:flex; gap:22px; margin-top:clamp(40px,5vw,56px); padding-top:22px; border-top:1px solid var(--hair); font-size:13.5px; color:var(--text-faint)}
.doc-foot a{transition:color .2s ease}
.doc-foot a:hover{color:var(--text-dim)}

/* support: topic cards → two panels → FAQ */
.help .wrap{text-align:center}
.help h2{margin:0 auto}
.help-lede{margin:18px auto 0; max-width:52ch; font-size:15.5px; line-height:1.6; color:var(--text-dim)}
.help-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:clamp(36px,5vw,56px); text-align:left}
.help-card{
  display:flex; flex-direction:column; gap:8px; padding:22px 22px 20px;
  background:var(--panel); border:1px solid var(--hair); border-radius:14px;
  transition:border-color .2s ease, transform .2s ease;
}
.help-card:hover{border-color:var(--hair-strong); transform:translateY(-2px)}
.help-card h3{margin:0; font-size:15px; font-weight:600; color:#fff}
.help-card p{margin:0; font-size:13.5px; line-height:1.55; color:var(--text-dim); flex:1}
.help-go{margin-top:8px; font-size:13px; color:var(--blue)}
.help-go .arrow{display:inline-block; margin-left:3px}
.help-aside{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px; text-align:left}
.help-panel{
  display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:24px;
  background:rgba(255,255,255,.03); border:1px solid var(--hair); border-radius:14px;
}
.help-panel h3{margin:0; font-size:15px; font-weight:600; color:#fff}
.help-panel p{margin:0; font-size:13.5px; line-height:1.55; color:var(--text-dim); flex:1}
.help-panel .btn{margin-top:6px}
.faq{margin:clamp(56px,7vw,84px) auto 0; max-width:720px; text-align:left; border-top:1px solid var(--hair-strong)}
.faq-row{padding:20px 0; border-bottom:1px solid var(--hair)}
.faq dt{margin:0; font-size:15px; font-weight:600; color:#fff}
.faq dd{margin:8px 0 0; font-size:14.5px; line-height:1.6; color:var(--text)}

/* ---------- footer (1:265, 572 tall) ---------- */
footer{position:relative; background:var(--panel); border-top:1px solid rgba(255,255,255,.07); overflow:hidden}
.footer-cta{display:flex; flex-direction:column; align-items:center; text-align:center; padding:calc(146*var(--u)) 0 0}
.footer-cta h2{width:calc(527*var(--u)); font-size:calc(44*var(--u)); line-height:calc(49.28*var(--u)); color:#fff}
.footer-cta p{margin-top:calc(16.44*var(--u)); width:calc(406*var(--u)); font-size:calc(12.5*var(--u)); line-height:calc(18.75*var(--u)); color:#fff}
.footer-cta .hero-cta{margin-top:calc(31*var(--u))}
.foot{margin-top:calc(111*var(--u)); border-top:1px solid rgba(255,255,255,.07)}
.foot-in{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  width:calc(1440*var(--u)); margin:0 auto; padding:calc(22*var(--u)) calc(140*var(--u));
  font-size:calc(12*var(--u)); line-height:calc(18.6*var(--u)); color:var(--text-faint);
}
.foot .links{display:flex; gap:calc(22*var(--u))}
.foot a{transition:color .2s ease}
.foot a:hover{color:var(--text-dim)}

/* ---------- motion ---------- */
.rise{opacity:0; transform:translateY(14px); transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1)}
.rise.in{opacity:1; transform:none}
.hero-copy > *{animation:rise .9s cubic-bezier(.2,.7,.2,1) both}
.hero-copy > *:nth-child(1){animation-delay:.05s}
.hero-copy > *:nth-child(2){animation-delay:.14s}
.hero-copy > *:nth-child(3){animation-delay:.23s}
.stats{animation:rise 1s cubic-bezier(.2,.7,.2,1) .45s both}
@keyframes rise{from{opacity:0; transform:translateY(16px)}to{opacity:1; transform:none}}
/* ---------- slideshow (home page, desktop) ----------
   Owner, 2026-09-09: after the hero, every section is a "slide" that fits the
   browser window — no vertical or horizontal spill — and the page snaps from
   one to the next. Only the Frame-idiom home page (<html class="slides">) and
   only at the frame breakpoint; under 1200 the page stacks and scrolls freely.
   How the fit works: each slide declares its Figma height in --fh and shrinks
   its LOCAL --u until that height fits under the fixed header (--hdr), so the
   whole composition scales as one picture; --u1 already caps it at 100vw. */
:root{--hdr:calc(69.54*var(--u1))} /* nav 34 + 2×17.77 margins */
@media (min-width:1200px){
  html.slides{scroll-snap-type:y mandatory}
  .slides .hero{scroll-snap-align:start}
  .slides main{padding-bottom:0}
  .slides .slide{
    --u:min(var(--u1), calc((100vh - var(--hdr)) / var(--fh)));
    height:100vh; padding-top:var(--hdr); overflow:hidden;
    display:flex; align-items:center; justify-content:center;
    scroll-snap-align:start; scroll-snap-stop:always;
  }
  .slides .slide > .stage{flex:none; height:calc(var(--fh)*var(--u))}
  .slides .about{scroll-snap-align:end; scroll-snap-stop:always}
  .slides .tools{--fh:890} /* frame is 845 but the phone ring runs to 859; 890 leaves air under the phones (owner, 2026-09-09) */
  .slides .day{--fh:677}
  .slides .feat{--fh:741}
  .slides .students{--fh:725}
  /* the whole-day stack is a child of the SECTION (it bleeds off the viewport
     edge), so re-anchor its top to where the centred stage now sits */
  .slides .dev-day{top:calc(var(--hdr) + (100vh - var(--hdr) - 677*var(--u))/2 + 109.5*var(--u))}
  /* the footer is the last slide: CTA centred, legal bar on the floor */
  .slides footer{
    height:100vh; padding-top:var(--hdr); display:flex; flex-direction:column;
    scroll-snap-align:start; scroll-snap-stop:always;
  }
  .slides .footer-cta{flex:1; justify-content:center; padding-top:0}
  .slides .foot{margin-top:0}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none !important; transition:none !important}
  .rise{opacity:1; transform:none}
  html{scroll-behavior:auto}
}

/* ---------- under 1200: the frame stacks ----------
   --u is pinned to 1px so type reads at its designed size; every device
   composition scales itself to the viewport through its own --u. Same assets,
   same four type sets, same section order as the frame — only the geometry
   changes: one column, phones at ~three-quarters of the screen so a whole
   device fits in view, the whole-day stack keeping its off-the-edge bleed. */
@media (max-width:1199px){
  :root{--u1:1px; --u:1px}
  .stage{width:auto; height:auto; overflow:visible}
  .nav{width:auto; height:34px; padding:0 20px; margin:14px auto}
  .nav-links{display:none}
  .brand{position:static; transform:none}
  .brand svg{height:20px}
  .nav-actions{flex:0; gap:8px}
  /* signed in on a phone: "climbrate web" + the account circle, Buy Now
     hidden — three pills don't fit beside the wordmark (owner, 2026-09-09) */
  .lbl-desk{display:none} .lbl-mob{display:inline}
  html.signed-in .nav-actions .btn-buy{display:none}

  /* hero: copy, then a 2×2 stat grid, both in one centred column */
  /* owner, 2026-09-09: the hero fills the phone window top to bottom, copy
     at the top and the stats pinned to the bottom of that first screen —
     centring them used to leave a blank band under the stats before
     "Powerful tools" */
  .hero{height:auto; min-height:100svh; display:flex; flex-direction:column}
  .hero .stage{flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:44px; padding:calc(116px + env(safe-area-inset-top)) 24px 40px}
  .hero .stats{margin-top:auto}
  .hero-fade{top:auto; bottom:0; height:42%}
  .hero-copy{position:static; width:100%; max-width:560px}
  h1{font-size:clamp(32px,8.6vw,64px); line-height:1.06; white-space:normal}
  h1 span{display:block}
  .hero-copy p{margin-top:18px; width:auto; max-width:44ch; font-size:16px; line-height:1.55; color:rgba(255,255,255,.88)}
  /* the two view CTAs share one row on a phone (owner, 2026-09-09) */
  .hero-cta{margin-top:26px; gap:8px; width:100%; max-width:360px; flex-wrap:nowrap}
  .hero-cta .btn{flex:1 1 0; min-width:0; height:42px; padding:0 8px; font-size:12.5px}
  .stats{position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 28px; width:100%; max-width:340px}
  .stat{width:auto; text-align:center}
  .stat b{font-size:40px; line-height:1; padding:0}
  .stat span{font-size:11px; line-height:1.2; margin-top:6px; color:rgba(255,255,255,.72)}

  /* every stacked section: text first, device second, cards last */
  .tools,.day,.feat,.students{height:auto; padding:72px 24px 0}
  .about{padding:64px 24px 0}
  .about .stage{display:flex; flex-direction:column; align-items:center; max-width:640px; margin:0 auto}
  .about .txt{width:100%; max-width:560px; text-align:left}
  .about p{font-size:17px; line-height:1.6}
  .about p + p{margin-top:18px}
  .tools{padding-top:56px}
  .tools .stage,.day,.day .stage,.feat .stage,.students .stage{display:flex; flex-direction:column; align-items:center; gap:36px; max-width:640px; margin:0 auto}
  .day{max-width:none}
  .hero .hero-copy,.hero .stats,.day .txt,.feat .txt,.students .txt,.students .cards,.tools h2,.tools .tools-sub,.tools .tool-list,.tools .tool-detail{position:static; width:100%}
  /* stacked order (owner, 2026-09-10): title → pictures → text → button.
     The copy block dissolves (display:contents) so its title, copy and
     button become the column's own items and can be ordered around the
     device; the tools section orders its parts the same way. */
  .day .txt,.feat .txt,.students .txt{display:contents}
  .day .txt > *,.feat .txt > *,.students .txt > *{width:100%; max-width:560px; margin-top:0}
  .day .txt > h2,.feat .txt > h2,.students .txt > h2{order:0}
  .dev{order:1}
  .day .txt > :not(h2),.feat .txt > :not(h2),.students .txt > :not(h2){order:2}
  .feat .txt > p + p{margin-top:-18px}          /* two paragraphs read as one block (36px gap − 18) */
  .feat .txt > .btn-glass{order:3; width:100%; max-width:340px; margin-top:-8px}
  .cards{order:4}
  /* the whole-day stack is a child of the SECTION (its bleed), so that section's
     stage dissolves too and the stack orders among the copy's parts */
  .day .stage{display:contents}
  .tools h2{order:0} .tools-sub{order:1} .tools .dev-tools{order:2} .tool-detail{order:3} .tool-list{order:4}
  section .dev.dev-phone,section .dev.dev-live{position:relative; left:auto; right:auto; top:auto; margin:0} /* the column centres them; auto margins collapse when a box overflows */
  .dev-phone,.dev-tools{--u:min(1px, calc((100vw - 48px) / 345 * .78))}
  /* the fan: the front phone dead-centre on the screen with a neighbour
     peeking in on each side (owner, 2026-09-09). The box is wider than the
     screen; `margin:auto` collapses to 0 on negative free space and left-
     aligns it, but the column flex parent's align-items:center centres an
     overflowing item on its own — so the margins must be plain 0. */
  section .dev.dev-tools{position:relative; left:auto; top:auto; margin:0; touch-action:pan-y}
  .dev-tools{-webkit-mask-image:linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image:linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent)}
  .dev-live{--u:min(1px, calc((100vw - 48px) / 717))} /* the two-phone pair fits the 24px-padded column exactly (owner, 2026-09-10: it hung off the right) */
  /* the whole-day stack keeps its bleed: iPhone flush with the text's left
     edge, MacBook running off the right — 881 = the visible span of the group */
  .day{overflow:hidden; padding-bottom:32px} /* room for the MacBook base that spills below the group */
  section .dev.dev-day{--u:min(1px, calc((100vw - 24px) / 881)); position:relative; left:auto; right:auto; top:auto; align-self:flex-start; margin:0 0 0 calc(13*var(--u))}

  /* type at phone size — same four sets, sized for a hand-held screen */
  .tools h2,.day h2,.feat h2,.students h2,.footer-cta h2{font-size:clamp(30px,8vw,44px); line-height:1.1; width:auto; white-space:normal; text-wrap:balance}
  .tools .stage{gap:28px}
  .tools-sub{margin-top:-14px; font-size:14px; line-height:1.45}
  .tool-list{gap:6px; padding:4px 0}
  .tool-list li{height:auto; padding:6px 0}
  .tool-list button{white-space:normal; font-size:21px; line-height:1.35}
  .tool-detail{max-width:440px; text-align:center}
  .tool-detail h3{white-space:normal; font-size:28px; line-height:1.15}
  .tool-detail p{margin:12px auto 0; width:auto; font-size:17px; line-height:1.55}
  .day .txt{max-width:560px}
  .day .lede{width:auto; font-size:15px; line-height:1.55}
  .areas{margin-top:-14px}
  .areas li{padding:14px 0}
  .areas b{font-size:15px; height:auto; line-height:1.4}
  .areas span{white-space:normal; height:auto; padding-top:3px; font-size:14px; line-height:1.5}
  .rows{gap:20px}
  .rows > div{flex-direction:column; height:auto; gap:4px}
  .rows dt{width:auto; font-size:22px; line-height:1.2}
  .rows dd{white-space:normal; font-size:15px; line-height:1.5; color:rgba(255,255,255,.8)}
  .feat p,.students .txt p{width:auto; font-size:15px; line-height:1.55}
  .feat .btn-glass,.feat-never .btn-glass{height:48px; font-size:16px}
  .cards{grid-template-columns:1fr; gap:28px; max-width:560px}
  .glyph{width:28px; height:28px} .glyph svg{width:14px; height:14px}
  .card h3{margin-top:12px; font-size:15px}
  .card p{font-size:14.5px; line-height:1.55}
  main{padding-bottom:72px}

  .footer-cta{padding:88px 24px 0}
  .footer-cta h2,.footer-cta p{width:auto; max-width:30ch}
  .footer-cta p{font-size:15px; line-height:1.55}
  .footer-cta .hero-cta{width:100%; max-width:340px}
  .foot{margin-top:72px}
  .foot-in{width:auto; padding:22px 24px calc(22px + env(safe-area-inset-bottom)); flex-wrap:wrap; gap:14px 20px; font-size:12px}
  .foot .links{flex-wrap:wrap; gap:10px 18px}
  /* pricing on a phone (owner, 2026-09-10, after three-across proved too
     cramped): a swipe carousel — one full card at a time, the next peeking
     in, snapping card to card; the page script starts it on Pro */
  .plans{
    display:flex; gap:12px; margin:0 calc(-1*var(--gut)); padding:28px var(--gut) 12px;
    overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding:0 var(--gut);
    -webkit-overflow-scrolling:touch; scrollbar-width:none; overscroll-behavior-x:contain;
  }
  .plans::-webkit-scrollbar{display:none}
  .plan{flex:0 0 min(320px, 78vw); scroll-snap-align:center; padding:24px}
  .plan.featured{transform:none}
  .plan-head{margin-bottom:24px}
  .plan-cta{margin:20px 0 28px; height:52px}
  .plan-feats{padding-top:24px; gap:12px}
  .bill{gap:12px; padding:10px 12px}
  /* the comparison table fits the column — no sideways scroll inside a box
     (owner, 2026-09-10: it read as cropped) */
  .compare{margin-top:40px; overflow:visible}
  .compare table{min-width:0; table-layout:fixed}
  .compare th{padding:10px 4px; font-size:10px; letter-spacing:.06em}
  .compare td{padding:10px 4px; font-size:12px; line-height:1.35}
  .compare th+th,.compare td+td{width:46px}
  .compare .ck{width:16px; height:16px}
  .help-grid,.help-aside{grid-template-columns:1fr; max-width:440px; margin-left:auto; margin-right:auto}
  .help-aside{margin-top:18px}
  .help-panel .btn{width:100%; max-width:340px}
  .doc-in{padding:0 24px}
  .doc-head h1{white-space:normal; text-wrap:balance}
}
