/* ===========================================================================
   Theme: courses
   ---------------------------------------------------------------------------
   One aesthetic, committed to: MARKER & STICKY-NOTE DIRECT RESPONSE.
   A classroom whiteboard energy — a heavy grotesk shouting in near-black, one
   phrase in leaf green, a yellow highlighter dragged under what matters, notes
   in a real hand tilted off-axis, and a single fat green button that looks
   pressable from across the room. Warm paper, never a white void; green-tinted
   shadow, never grey; radii that differ on purpose by what the thing IS.

   Colour is authored in OKLCH and shipped as hex, because this page takes
   money on every Android in India and a colour that does not parse is a sale
   that does not happen. The OKLCH each token came from is in the comment.
   ======================================================================== */

:root {
  /* ink ................................. oklch(.24 .03 155) and lighter */
  --ink:        #17261d;
  --ink-2:      #3b4d42;
  --muted:      #67786c;
  --muted-2:    #8b9a8f;

  /* leaf ................................ oklch(.47 .14 150) family */
  --leaf-900:   #0e4517;
  --leaf-700:   #1f6f23;
  --leaf-500:   #35b23f;
  --go:         #3fe05a;          /* oklch(.82 .22 145) — the button */
  --go-hi:      #57ef70;
  --go-lo:      #29c545;
  --go-ink:     #06270f;          /* 9.4:1 on --go */

  /* paper + marks */
  --paper:      #f7f6f0;          /* oklch(.97 .008 110) warm, never #fff */
  --paper-2:    #eef1e7;
  --card:       #ffffff;
  --note:       #fdf0a4;
  --note-2:     #f8e585;
  --hl:         #ffef7a;          /* highlighter */
  --line:       #e2e3d8;
  --line-2:     #d2d6c7;
  --flame:      #d8341f;
  --flame-ink:  #fff1ee;

  /* type */
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --body:    'Figtree', 'Segoe UI', system-ui, sans-serif;
  --hand:    'Caveat', 'Segoe Script', cursive;

  /* scale — 1.25-ish, with deliberate jumps at the top */
  --t-xs: 12.5px; --t-sm: 14px;  --t-md: 16.5px; --t-lg: 19px;
  --t-xl: 23px;   --t-2xl: 30px; --t-3xl: 40px;  --t-4xl: 54px; --t-5xl: 68px;

  /* radii — a POV, not one number everywhere */
  --r-chip: 10px; --r-fld: 14px; --r-card: 22px; --r-hero: 30px; --r-pill: 999px;

  /* elevation, tinted green so nothing floats in grey */
  --e1: 0 1px 2px rgba(23,48,28,.06), 0 2px 6px rgba(23,48,28,.05);
  --e2: 0 4px 10px rgba(23,48,28,.07), 0 12px 28px rgba(23,48,28,.08);
  --e3: 0 10px 22px rgba(23,48,28,.10), 0 28px 60px rgba(23,48,28,.13);
  --e-go: 0 4px 0 var(--go-lo), 0 10px 24px rgba(37,180,64,.34);

  /* motion */
  --fast: 120ms; --med: 220ms; --slow: 460ms;
  --ease: cubic-bezier(.2,.7,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --gut: 16px;
  color-scheme: light;
}

/* The page is authored light on purpose — it is a printed-poster idea. The
   dark-scheme block keeps it readable for anyone whose OS forces dark without
   pretending to be a different design. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12170f; --paper-2: #182015; --card: #1b2418;
    --ink: #eef3e8; --ink-2: #ccd8c6; --muted: #9dab97; --muted-2: #7d8b78;
    --line: #2c3827; --line-2: #3a4834;
    --note: #4a4318; --note-2: #5a5220;
    --hl: #5d5510;
    --e1: 0 1px 2px rgba(0,0,0,.4); --e2: 0 8px 24px rgba(0,0,0,.45);
    --e3: 0 20px 50px rgba(0,0,0,.55);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-md)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

/* Every class below that sets `display` would otherwise beat the UA sheet's
   `[hidden] { display: none }` — which is how the checkout sheet ended up
   painted open on load and refusing to close. The attribute wins, always. */
[hidden] { display: none !important; }

a { color: var(--leaf-700); text-underline-offset: 3px; }
a:hover { color: var(--leaf-900); }

:focus-visible {
  outline: 3px solid var(--leaf-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 90;
  transform: translateY(-160%);
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
}
.skip:focus { transform: none; }

.wrap { width: min(1060px, 100% - (var(--gut) * 2)); margin-inline: auto; }

.tnum { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* --------------------------------------------------------------- header -- */

.hd { padding: 14px 0 0; }
.hd-in {
  width: min(1060px, 100% - (var(--gut) * 2)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.hd-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.hd-brand span { display: grid; }
.hd-brand b { font: 800 var(--t-xl)/1.1 var(--display); letter-spacing: -.02em; }
.hd-brand i { font-style: normal; font-size: var(--t-xs); font-weight: 600; color: var(--muted); }

.hd-badge {
  display: flex; align-items: center; gap: 9px;
  background: var(--note); border: 1.5px solid var(--note-2);
  border-radius: var(--r-chip);
  padding: 8px 14px; color: #3f3606;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hd-badge { color: var(--ink); } }
.hd-badge span { display: grid; line-height: 1.25; }
.hd-badge b { font-size: var(--t-sm); font-weight: 800; }
.hd-badge i { font-style: normal; font-size: var(--t-xs); font-weight: 600; opacity: .8; }

/* ----------------------------------------------------------------- hero -- */

.hero { padding: 26px 0 8px; }
.hero-in {
  width: min(1060px, 100% - (var(--gut) * 2)); margin-inline: auto;
  display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .85fr);
  grid-template-areas: "copy art" "chips chips" "buy buy";
  align-items: start;
}
.hero-copy { grid-area: copy; padding-top: 10px; }
.hero-art  { grid-area: art; }
.chips     { grid-area: chips; }
.buy       { grid-area: buy; }

.h1 { display: grid; gap: 2px; margin-bottom: 18px; }
.h1-a, .h1-b {
  font: 900 clamp(34px, 6.4vw, var(--t-5xl))/0.98 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h1-b { color: var(--leaf-700); }

.lede { font-size: var(--t-lg); color: var(--ink-2); max-width: 46ch; }
.lede-hi { margin-top: 12px; font-size: var(--t-lg); font-weight: 700; }

.hl {
  background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 96%, transparent 96%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  color: inherit;
  padding: 0 2px;
  animation: swipe var(--slow) var(--ease-out) .35s forwards;
}
@keyframes swipe { to { background-size: 100% 100%; } }

/* the hand-written promise list — the thing this page is remembered by */
.hero-art { position: relative; min-height: 320px; padding: 8px 0 0; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--r-hero);
  opacity: .96;
}
.hand {
  position: relative; list-style: none;
  display: grid; gap: 4px;
  margin-top: 96px;
  padding: 0 4px;
}
.hand li { font: 700 clamp(22px, 3.2vw, 30px)/1.3 var(--hand); color: var(--ink); }
.hand li span {
  display: inline-block;
  background: linear-gradient(transparent 76%, var(--leaf-500) 76%, var(--leaf-500) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  padding-right: 6px;
  animation: swipe 520ms var(--ease-out) forwards;
  animation-delay: calc(.5s + (var(--i) * .13s));
}

/* sticky notes — tilted, paper-edged, never square to the grid */
.note {
  position: absolute;
  font: 700 clamp(17px, 2.2vw, 21px)/1.25 var(--hand);
  color: #453a05;
  background: var(--note);
  border-radius: 3px;
  padding: 10px 14px;
  box-shadow: var(--e2);
  max-width: 200px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .note { color: #f6efc9; } }
.note-a { top: 0; left: 0; transform: rotate(-4deg); }
.note-b { top: 14px; right: 0; transform: rotate(3.5deg); }
.note-c { transform: rotate(-2deg); max-width: 280px; justify-self: end; align-self: center; }

/* feature chips — four, but never four identical boxes: the first is the wide
   one because "lifetime" is the claim that carries the offer */
.chips { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.chip {
  display: grid; justify-items: center; gap: 6px; text-align: center;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-chip); padding: 14px 8px;
  color: var(--ink-2);
  box-shadow: var(--e1);
}
.chip svg { color: var(--leaf-700); }
.chip b { font-size: var(--t-sm); font-weight: 700; color: var(--ink); line-height: 1.25; }
.chip:first-child { border-color: var(--leaf-500); }

/* --------------------------------------------------------- the price card */

.buy {
  margin-top: 8px;
  background: var(--card);
  border: 2px solid var(--line-2);
  border-radius: var(--r-hero);
  padding: 22px;
  box-shadow: var(--e3);
}
.buy-top {
  display: grid; gap: 16px; align-items: center;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  margin-bottom: 18px;
}
.pill-hot {
  display: inline-block; background: var(--flame); color: var(--flame-ink);
  font: 800 var(--t-xs)/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--r-pill); margin-bottom: 10px;
}
.amt {
  font: 900 clamp(44px, 8vw, 72px)/0.9 var(--display);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.was { margin-top: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.was del { color: var(--flame); font-size: var(--t-lg); font-weight: 700; text-decoration-thickness: 2px; }
.off {
  background: var(--leaf-700); color: #eafbe6; font-size: var(--t-xs); font-weight: 800;
  padding: 4px 9px; border-radius: 6px; letter-spacing: .04em;
}
.plan { margin-top: 8px; font-size: var(--t-sm); font-weight: 600; color: var(--muted); }

.buy-note {
  background: var(--note); border-radius: 4px; padding: 14px 16px;
  font: 700 clamp(17px, 2.4vw, 22px)/1.3 var(--hand);
  color: #453a05; transform: rotate(-1deg); box-shadow: var(--e1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .buy-note { color: #f6efc9; } }

.buy-fine {
  margin-top: 12px; text-align: center;
  font-size: var(--t-sm); font-weight: 600; color: var(--muted);
}

.buy-soon { text-align: center; padding: 8px 0 4px; display: grid; gap: 12px; justify-items: center; }
.buy-soon h2 { font: 800 var(--t-2xl)/1.15 var(--display); letter-spacing: -.02em; }
.buy-soon p { color: var(--ink-2); max-width: 52ch; }

/* ------------------------------------------------------------- the button */

.go {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 62px; padding: 14px 26px;
  border: 0; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--go-hi), var(--go));
  color: var(--go-ink);
  font: 800 clamp(18px, 2.6vw, 24px)/1 var(--display);
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: var(--e-go);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), filter var(--fast);
  text-decoration: none;
}
.go:hover { filter: brightness(1.04); transform: translateY(-1px); }
.go:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--go-lo), 0 4px 12px rgba(37,180,64,.3); }
.go:focus-visible { outline: 3px solid var(--leaf-900); outline-offset: 3px; }
.go[disabled], .go[aria-busy="true"] { cursor: not-allowed; filter: saturate(.45) brightness(.98); transform: none; box-shadow: var(--e1); }
.go-ghost {
  background: transparent; color: var(--leaf-700);
  border: 2px solid var(--leaf-700); box-shadow: none; min-height: 54px;
  width: auto;
}
.go-ghost:hover { background: var(--leaf-700); color: #eafbe6; }
.go-wide { margin-top: 18px; }
.go-full { margin-top: 6px; }
.go-sm { width: auto; min-height: 52px; font-size: var(--t-lg); padding: 12px 22px; flex: 0 0 auto; }

.spin {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(6,39,15,.25); border-top-color: var(--go-ink);
  animation: spin 720ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------- shared section */

.h2 {
  font: 800 clamp(26px, 4.4vw, 42px)/1.08 var(--display);
  letter-spacing: -.03em; text-align: center; text-wrap: balance;
}
.h2-l { text-align: left; }
.h2-sub { margin-top: 8px; text-align: center; color: var(--muted); font-size: var(--t-lg); }

/* -------------------------------------------------------------- educators */

.edu { padding: 56px 0 8px; }
.edu-grid {
  list-style: none; margin-top: 28px;
  display: grid; gap: 12px;
  grid-template-columns: repeat(5, 1fr);
}
.ed {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 1 / 1.06;
  background: var(--paper-2);
  box-shadow: var(--e1);
}
.ed img { width: 100%; height: 100%; object-fit: cover; }
.ed-mono {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: var(--tint); color: #2b3a2d;
  font: 800 clamp(28px, 4vw, 44px)/1 var(--display); letter-spacing: -.02em;
}
.ed > b {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  font-size: var(--t-sm); font-weight: 700; line-height: 1.2; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 0 18px rgba(0,0,0,.4);
}
.ed-more {
  display: grid; place-content: center; gap: 4px; text-align: center;
  background: var(--card); border: 2px dashed var(--line-2); box-shadow: none;
}
.ed-more span { font: 800 34px/1 var(--display); color: var(--leaf-700); }
.ed-more b { position: static; color: var(--ink-2); text-shadow: none; }

/* ------------------------------------------------------------------- jab  */

.jab { margin-top: 48px; background: var(--leaf-900); color: #e9f6e4; padding: 40px 0; }
.jab-in { display: grid; gap: 24px; grid-template-columns: 210px minmax(0, 1fr); align-items: center; }
.jab-art { position: relative; display: grid; place-items: center; color: #7fe08d; }
.jab-glow {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,224,90,.28), transparent 70%);
}
.jab-copy .h2 { color: #fff; }
.jab-copy p { margin-top: 12px; color: #bdd9b8; font-size: var(--t-lg); max-width: 58ch; }

/* ------------------------------------------------------------------ maybe */

.maybe { padding: 52px 0 8px; }
.maybe-in { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; }
.maybe-body { margin-top: 14px; color: var(--ink-2); font-size: var(--t-lg); max-width: 48ch; }

.outs {
  list-style: none; margin-top: 36px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--e1);
  overflow: hidden;
}
.outs li {
  display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: 20px 10px; border-right: 1.5px solid var(--line);
  color: var(--leaf-700);
}
.outs li:last-child { border-right: 0; }
.outs b { font-size: var(--t-sm); font-weight: 700; color: var(--ink); }

/* -------------------------------------------------------------------- faq */

.faq { padding: 56px 0 0; }
.faq-list { margin-top: 24px; display: grid; gap: 10px; }
.faq details {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 4px 18px;
}
.faq details[open] { border-color: var(--leaf-500); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: var(--t-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: 0 0 18px; height: 18px; }
.faq-x::before, .faq-x::after {
  content: ''; position: absolute; inset: 8px 0 auto; height: 2.5px;
  background: var(--leaf-700); border-radius: 2px;
  transition: transform var(--med) var(--ease);
}
.faq-x::after { transform: rotate(90deg); }
.faq details[open] .faq-x::after { transform: rotate(0); }
.faq-a { padding: 0 0 18px; color: var(--ink-2); max-width: 70ch; }

/* ------------------------------------------------------------------- last */

.last { margin-top: 56px; background: var(--ink); color: #eef3e8; padding: 30px 0 38px; }
.last-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.last-copy { display: flex; align-items: center; gap: 14px; color: var(--go); }
.last-copy h2 { font: 800 var(--t-xl)/1.15 var(--display); color: #fff; letter-spacing: -.02em; }
.last-copy p { color: #a9bba7; font-size: var(--t-sm); margin-top: 2px; }

.clock { display: flex; align-items: center; gap: 6px; }
.clock span { display: grid; justify-items: center; background: var(--flame); border-radius: 10px; padding: 7px 12px; min-width: 62px; }
.clock b { font: 800 var(--t-xl)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.clock i { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffd9d2; margin-top: 3px; }
.clock em { font-style: normal; font-weight: 800; color: #6c7d6a; }

.proof { margin-top: 12px; text-align: center; color: #a9bba7; font-size: var(--t-sm); font-weight: 600; }

/* ----------------------------------------------------------------- footer */

.ft { background: var(--paper-2); border-top: 1.5px solid var(--line); padding: 34px 0; }
.ft-in { width: min(1060px, 100% - (var(--gut) * 2)); margin-inline: auto; display: grid; gap: 14px; }
.ft-brand { display: flex; align-items: center; gap: 9px; font: 800 var(--t-lg)/1 var(--display); }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-nav a { font-size: var(--t-sm); font-weight: 600; text-decoration: none; }
.ft-nav a:hover { text-decoration: underline; }
.ft-note { font-size: var(--t-sm); color: var(--muted); max-width: 76ch; }
.ft-legal { font-size: var(--t-xs); color: var(--muted-2); }

/* ------------------------------------------------------------ sticky bar */

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--card);
  border-top: 2px solid var(--line-2);
  box-shadow: 0 -8px 26px rgba(23,48,28,.14);
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform var(--med) var(--ease-out);
}
.sticky[data-show="1"] { transform: none; }
.sticky-in {
  width: min(1060px, 100%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.sticky-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sticky-price b { font: 900 var(--t-2xl)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sticky-price del { color: var(--flame); font-weight: 700; font-size: var(--t-sm); }
.sticky-price i { font-style: normal; font-size: var(--t-xs); font-weight: 600; color: var(--muted); width: 100%; }

/* ------------------------------------------------------------- the sheet */

.sheet-bg {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(14,30,18,.62);
  backdrop-filter: blur(3px);
  animation: fade var(--med) var(--ease) forwards;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  position: fixed; inset: 0; z-index: 51;
  display: grid; place-items: center;
  padding: var(--gut);
  overflow-y: auto;
}
.sheet-card {
  position: relative; width: min(460px, 100%);
  background: var(--card); border-radius: var(--r-hero);
  padding: 30px 26px 26px;
  box-shadow: var(--e3);
  animation: rise var(--med) var(--ease-out) forwards;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.sheet-x {
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink-2);
  cursor: pointer; transition: background var(--fast);
}
.sheet-x:hover { background: var(--line); }

.sheet h2 { font: 800 var(--t-2xl)/1.1 var(--display); letter-spacing: -.028em; padding-right: 44px; }
.sheet-sub { margin-top: 8px; color: var(--muted); font-size: var(--t-sm); }
.sheet-fine { margin-top: 12px; font-size: var(--t-xs); color: var(--muted); text-align: center; line-height: 1.5; }

.fld { margin-top: 16px; }
.fld label { display: block; font-size: var(--t-sm); font-weight: 700; margin-bottom: 6px; }
.fld input {
  width: 100%; min-height: 54px; padding: 12px 15px;
  border: 2px solid var(--line-2); border-radius: var(--r-fld);
  background: var(--paper); color: var(--ink);
  font: 600 var(--t-md)/1.4 var(--body);
  transition: border-color var(--fast), box-shadow var(--fast);
}
.fld input::placeholder { color: var(--muted-2); font-weight: 500; }
.fld input:hover { border-color: var(--muted-2); }
.fld input:focus { outline: none; border-color: var(--leaf-500); box-shadow: 0 0 0 4px rgba(53,178,63,.2); }
.fld input[aria-invalid="true"] { border-color: var(--flame); }
.fld input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(216,52,31,.18); }
.hint { margin-top: 5px; font-size: var(--t-xs); color: var(--muted); }
.err { margin-top: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--flame); }
.err-top { margin-top: 14px; background: #fdecea; border-radius: 10px; padding: 10px 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err-top { background: #3a1a15; } }

.opt { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: var(--t-sm); color: var(--ink-2); cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--leaf-700); margin-top: 1px; flex: 0 0 auto; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------- quiet pages (order etc) */

.qbar {
  width: min(1060px, 100% - (var(--gut) * 2)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0;
}
.qbrand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; font: 800 var(--t-xl)/1 var(--display); }
.qback { font-size: var(--t-sm); font-weight: 700; text-decoration: none; }
.qback:hover { text-decoration: underline; }

.panel {
  width: min(680px, 100% - (var(--gut) * 2)); margin: 18px auto 56px;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-hero); padding: 30px 26px; box-shadow: var(--e2);
}
.panel h1 { font: 800 clamp(26px, 5vw, 38px)/1.08 var(--display); letter-spacing: -.03em; }
.panel h2 { font: 800 var(--t-xl)/1.2 var(--display); letter-spacing: -.02em; margin-top: 24px; }
.panel p { margin-top: 12px; color: var(--ink-2); }
.panel ul, .panel ol { margin: 12px 0 0 20px; color: var(--ink-2); display: grid; gap: 7px; }

.state { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; font-weight: 600; }
.state-ok   { background: #e7f7e8; color: #114a16; }
.state-wait { background: var(--note); color: #453a05; }
.state-bad  { background: #fdecea; color: #8a1d11; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .state-ok   { background: #17351b; color: #c6ecc9; }
  :root:not([data-theme="light"]) .state-wait { background: #3d3710; color: #f3e9b5; }
  :root:not([data-theme="light"]) .state-bad  { background: #3a1a15; color: #f7ccc5; }
}

.kv { list-style: none; margin-top: 18px; display: grid; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; }
.kv li { display: flex; justify-content: space-between; gap: 16px; background: var(--card); padding: 12px 15px; font-size: var(--t-sm); }
.kv li span { color: var(--muted); font-weight: 600; }
.kv li b { font-weight: 700; text-align: right; word-break: break-word; }

.goods { margin-top: 20px; background: var(--paper-2); border-radius: 16px; padding: 18px; }
.goods a { font-weight: 700; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "copy" "art" "chips" "buy"; }
  .hero-art { min-height: 260px; }
  .hand { margin-top: 84px; }
  .edu-grid { grid-template-columns: repeat(4, 1fr); }
  .outs { grid-template-columns: repeat(3, 1fr); }
  .outs li:nth-child(3) { border-right: 0; }
  .outs li { border-bottom: 1.5px solid var(--line); }
  .jab-in { grid-template-columns: 1fr; }
  .jab-art { justify-items: start; }
  .maybe-in { grid-template-columns: 1fr; }
  .note-c { justify-self: start; }
}

@media (max-width: 640px) {
  :root { --gut: 16px; }
  .hd-in { flex-wrap: wrap; }
  .hd-badge { order: 3; width: 100%; }
  .buy-top { grid-template-columns: 1fr; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .edu-grid { grid-template-columns: repeat(3, 1fr); }
  .outs { grid-template-columns: repeat(2, 1fr); }
  .outs li:nth-child(3) { border-right: 1.5px solid var(--line); }
  .outs li:nth-child(even) { border-right: 0; }
  .last-in { flex-direction: column; align-items: flex-start; }
  .sticky-in { gap: 10px; }
  .sticky-price b { font-size: var(--t-xl); }
  .go-sm { font-size: var(--t-md); padding: 12px 18px; min-height: 50px; }
  /* On a phone the checkout reads as a bottom sheet: it rises from the thumb,
     keeps its own scroll, and never grows taller than the viewport. */
  .sheet { place-items: end center; padding: 0; }
  .sheet-card {
    width: 100%;
    max-height: 92dvh; overflow-y: auto;
    border-radius: var(--r-hero) var(--r-hero) 0 0;
    padding: 24px 20px calc(22px + env(safe-area-inset-bottom));
  }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .sheet-x { top: 10px; right: 10px; width: 44px; height: 44px; }
  /* the sticky bar must never cover the last thing on the page */
  body.has-sticky .ft { padding-bottom: 104px; }
}

@media (max-width: 380px) {
  .clock span { min-width: 54px; padding: 6px 9px; }
  .sticky-price i { display: none; }
}

/* ------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hl, .hand li span { background-size: 100% 100%; }
  .sticky { transition: none; }
}
