/* The course site's one stylesheet. A docs look: white space, one sans-serif (Geist), one accent
   (ember orange), hairlines instead of shadows, light and dark. Nothing here is shared with the
   shop's room homepage. */

@font-face {
  font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/geist-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/geist-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --surface: #ffffff;
  --line: #e4e4e7;
  --line-soft: #efeff1;
  --text: #18181b;
  --muted: #5f5f6b;
  --faint: #8e8e99;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-on: #ffffff;
  --accent-soft: #fff3ed;
  --accent-line: #fed7c3;
  --link: #c2410c;
  --ok: #15803d;
  --ok-soft: #edf7f0;
  --danger: #b91c1c;
  --radius: 10px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --bar: 60px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d0d0f; --bg-soft: #141417; --surface: #161619; --line: #2a2a30; --line-soft: #1f1f24;
    --text: #ededf0; --muted: #a3a3ae; --faint: #73737e;
    --accent: #f26d2b; --accent-hover: #ff8a4c; --accent-on: #140904; --accent-soft: #2a1710; --accent-line: #5a2e19;
    --link: #ff8a4c; --ok: #4ade80; --ok-soft: #10251a; --danger: #f87171;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0d0f; --bg-soft: #141417; --surface: #161619; --line: #2a2a30; --line-soft: #1f1f24;
  --text: #ededf0; --muted: #a3a3ae; --faint: #73737e;
  --accent: #f26d2b; --accent-hover: #ff8a4c; --accent-on: #140904; --accent-soft: #2a1710; --accent-line: #5a2e19;
  --link: #ff8a4c; --ok: #4ade80; --ok-soft: #10251a; --danger: #f87171;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.i-sm { width: 15px; height: 15px; vertical-align: -2px; }
.dark-on { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dark-on { display: inline; } :root:not([data-theme="light"]) .dark-off { display: none; } }
:root[data-theme="dark"] .dark-on { display: inline; }
:root[data-theme="dark"] .dark-off { display: none; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- buttons, fields, little things ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; font-weight: 550; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-on); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--faint); color: var(--text); }
.btn-plain { background: none; color: var(--muted); padding-left: 10px; padding-right: 10px; }
.btn-plain:hover { color: var(--text); background: var(--bg-soft); }
.btn-lg { min-height: 48px; padding: 12px 22px; font-size: 16px; border-radius: 10px; }
.btn-sm { min-height: 32px; padding: 5px 11px; font-size: 14px; border-radius: 7px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: default; }
.btn.armed, .btn.armed:hover { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn.done { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer;
}
.icon-btn:hover { color: var(--text); background: var(--bg-soft); }

.field { display: grid; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 550; }
.input, textarea.input, select.input {
  width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px; line-height: 1.5;
}
textarea.input { min-height: 96px; resize: vertical; }
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hint { font-size: 13px; color: var(--faint); }
.error { color: var(--danger); font-size: 14px; }
.error:empty { display: none; }

.pill {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 550; letter-spacing: .01em; background: var(--bg-soft); color: var(--muted);
  border: 1px solid var(--line-soft); white-space: nowrap;
}
a.pill { text-decoration: none; }
a.pill:hover { color: var(--text); border-color: var(--line); }
.pill-accent { background: var(--accent-soft); color: var(--link); border-color: var(--accent-line); }
.pill-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.kbd { font-family: var(--mono); font-size: .9em; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 90;
  padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 15px;
  transition: opacity .2s, transform .2s; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- the bar along the top ---------- */
.bar {
  position: sticky; top: 0; z-index: 40; height: var(--bar);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-soft);
}
.bar-in { display: flex; align-items: center; gap: 8px; height: 100%; }
.bar .wrap { max-width: 1120px; }
.mark { display: inline-flex; align-items: baseline; gap: 8px; color: var(--text); text-decoration: none; margin-right: auto; min-width: 0; }
.mark b { font-weight: 650; font-size: 15.5px; letter-spacing: -0.01em; white-space: nowrap; }
.mark span { font-size: 13px; color: var(--faint); white-space: nowrap; }
.mark:hover { color: var(--text); }
.mark-rest { font-style: normal; }
@media (max-width: 860px) { .mark-rest { display: none; } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }
@media (max-width: 760px) { .nav .wide { display: none; } }
@media (max-width: 560px) { .nav { display: none; } .mark b { font-size: 15px; } }
@media (max-width: 420px) { .mark span { display: none; } }

.menu { position: relative; }
.avatar {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--link); font-weight: 650; font-size: 14px; border: 1px solid var(--accent-line);
}
.menu-btn { display: inline-flex; align-items: center; gap: 6px; padding: 3px; border: 0; background: none; cursor: pointer; border-radius: 999px; }
.menu-pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0, 0, 0, .08); display: none;
}
.menu.open .menu-pop { display: block; }
.menu-pop .who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line-soft); margin-bottom: 4px; font-size: 14px; }
.menu-pop .who b { display: block; font-weight: 600; }
.menu-pop .who span { color: var(--faint); font-size: 13px; overflow-wrap: anywhere; }
.menu-pop a, .menu-pop button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 8px; border: 0;
  background: none; text-align: left; font-size: 14.5px; color: var(--text); text-decoration: none; cursor: pointer;
}
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg-soft); color: var(--text); }

/* ---------- the front page ---------- */
.hero { padding: 72px 0 40px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; margin: 18px 0 22px; }
@media (max-width: 820px) { .hero h1 .br { display: none; } }
.hero h1 .soft { color: var(--faint); }
.lede { font-size: clamp(17px, 2.2vw, 19.5px); line-height: 1.55; color: var(--muted); max-width: 40em; }
.lede em { font-style: normal; color: var(--text); }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 32px 0 0; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .now { font-size: 34px; font-weight: 650; letter-spacing: -0.03em; }
.price s { color: var(--faint); font-size: 18px; }
.buy-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--faint); }
.until { margin-top: 10px; }

.frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.frame iframe, .frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.frame-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; }
.frame-ph .play {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
.frame-ph .play .i { width: 24px; height: 24px; margin-left: 3px; }
.frame-ph b { font-weight: 600; font-size: 16px; }
.frame-ph span { font-size: 14px; color: var(--faint); max-width: 34ch; }
.hero .frame { margin-top: 56px; }

/* the clips at the top of the front page until there's a trailer (home.js plays them) */
.hero .reel { margin: 56px 0 0; }
.hero .reel .frame { margin: 0; background: #1a1a1d; }
.reel video { opacity: 0; transition: opacity .35s ease; }
.reel video.on { opacity: 1; }
.reel-bars { position: absolute; z-index: 1; top: 10px; left: 14px; right: 14px; display: flex; gap: 6px; }
.reel-bars button { flex: 1; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.reel-bars i { position: relative; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .42); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.reel-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.reel-sound {
  position: absolute; z-index: 1; right: 12px; bottom: 12px; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(13, 13, 15, .55); color: #fff;
}
.reel-sound:hover { background: rgba(13, 13, 15, .78); }
.reel-sound span { display: flex; }
.reel-sound .on, .reel-sound[aria-pressed="true"] .off { display: none; }
.reel-sound[aria-pressed="true"] .on { display: flex; }
.reel-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; }
.reel-line { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 17.5px; letter-spacing: -0.01em; }
.reel-line [data-who] { flex: none; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--link); }
.reel-line q { quotes: "“" "”"; }
.reel-note { margin-top: 8px; font-size: 14px; color: var(--faint); }
.reel-note b { color: var(--muted); font-weight: 550; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 7px; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); font-weight: 550; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .06); }
@media (max-width: 640px) { .reel-line { font-size: 16px; } .reel-bars { left: 10px; right: 10px; } .reel-sound { width: 36px; height: 36px; right: 10px; bottom: 10px; } }

.section { padding: 88px 0 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.03em; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head .eyebrow { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .section { padding-top: 64px; } .hero { padding-top: 40px; } }
/* a soft band behind a section, so the long page has a rhythm */
.band { margin-top: 88px; padding-bottom: 88px; background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band .step:not(:first-child)::before { background: var(--bg-soft); }
@media (max-width: 640px) { .band { margin-top: 64px; padding-bottom: 64px; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px 26px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(32px, 5vw, 48px); font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 20px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
}
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.shots .frame { aspect-ratio: 16 / 10; }
.shots .frame:only-child { grid-column: 1 / -1; aspect-ratio: auto; }
.shots .frame:only-child img { position: static; display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } }

.day { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: day; }
.day::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.step { position: relative; padding: 32px 24px 0 0; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent); }
.step:first-child::before { background: var(--accent); }
.step .when { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--link); }
.step h3 { font-size: 20px; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .parts { margin-top: 12px; font-size: 13.5px; color: var(--faint); }
.after { margin-top: 28px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) {
  .day { grid-template-columns: 1fr; }
  .day::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .step { padding: 0 0 28px 36px; }
}

.parts-list { border-top: 1px solid var(--line); }
.part { border-bottom: 1px solid var(--line); }
.part summary {
  display: grid; grid-template-columns: 56px 1fr auto 20px; align-items: center; gap: 12px;
  padding: 18px 0; cursor: pointer; list-style: none;
}
.part summary::-webkit-details-marker { display: none; }
.part summary .n { font-size: 14px; color: var(--faint); font-variant-numeric: tabular-nums; }
.part summary h3 { font-size: 18px; font-weight: 550; letter-spacing: -0.015em; }
.part summary h3 small { font-weight: 400; color: var(--faint); font-size: 14px; letter-spacing: 0; margin-left: 8px; }
.part summary .meta { font-size: 14px; color: var(--muted); white-space: nowrap; }
.part summary .chev { color: var(--faint); transition: transform .2s; }
.part[open] summary .chev { transform: rotate(180deg); }
.part summary:hover h3 { color: var(--link); }
.part ol { list-style: none; margin: 0; padding: 0 0 14px 68px; }
.part li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.part li .num { color: var(--faint); font-size: 14px; font-variant-numeric: tabular-nums; }
.part li .t { font-size: 15.5px; }
.part li .t small { display: block; color: var(--faint); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.part li .ty { font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) {
  .part summary { grid-template-columns: 36px 1fr 20px; }
  .part summary .meta { grid-column: 2; grid-row: 2; margin-top: -6px; }
  .part summary .chev { grid-column: 3; grid-row: 1; }
  .part ol { padding-left: 0; }
  .part li { grid-template-columns: 40px 1fr; }
  .part li .ty { grid-column: 2; }
  .part summary h3 small { display: block; margin: 2px 0 0; }
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 24px; }
.bonus .big { font-size: 30px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.bonus h3 { font-size: 17px; margin: 14px 0 6px; }
.bonus p { color: var(--muted); font-size: 15.5px; }
.bonus .where { margin-top: 14px; font-size: 14px; color: var(--faint); }

.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.quote .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.quote p { margin: 10px 0 14px; font-size: 16px; }
.quote .by { font-size: 14px; color: var(--faint); }
.win-card .frame { aspect-ratio: 16 / 9; margin-bottom: 14px; border-radius: 10px; }

.about { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.about .photo { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.about .photo svg { width: 100%; height: 100%; display: block; }
.about h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.03em; margin: 10px 0 18px; }
.about p { font-size: 17px; color: var(--muted); max-width: 36em; }
.about p + p { margin-top: 14px; }
.about p b { color: var(--text); font-weight: 550; }
.about .eyebrow { font-size: 13px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 28px; } .about .photo { max-width: 260px; } }

.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 550; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { color: var(--faint); transition: transform .2s; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--muted); }

.final { margin: 104px 0 0; padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final h2 { font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -0.035em; max-width: 18ch; }
.final .buy { margin-top: 28px; }

.foot { padding: 48px 0 56px; color: var(--faint); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .grow { margin-right: auto; }

/* ---------- inside the course: the lesson page ---------- */
.app-bar .wrap, .app-bar .bar-in { max-width: none; }
.app-bar .bar-in { padding: 0 16px; }
.progress { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.meter { width: 120px; height: 6px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
@media (max-width: 700px) { .progress .meter { width: 64px; } .progress .of { display: none; } }
@media (max-width: 420px) { .progress { display: none; } }
.only-narrow { display: none; }
@media (max-width: 1000px) { .only-narrow { display: inline-grid; } }

.learn { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: calc(100vh - var(--bar)); }
.side {
  position: sticky; top: var(--bar); height: calc(100vh - var(--bar)); overflow-y: auto; overscroll-behavior: contain;
  border-right: 1px solid var(--line-soft); padding: 20px 12px 40px; background: var(--bg);
}
.side-group + .side-group { margin-top: 18px; }
.side-group h4 { display: flex; gap: 8px; align-items: baseline; padding: 0 10px 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.side-group h4 .count { margin-left: auto; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; text-transform: none; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 7px 10px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.4;
}
.side a:hover { background: var(--bg-soft); color: var(--text); }
.side a[aria-current="page"] { background: var(--accent-soft); color: var(--text); font-weight: 500; }
.side a .tick { margin-top: 1px; }
.tick { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; flex: none; }
.tick .i { width: 11px; height: 11px; stroke-width: 3; }
.is-done .tick, .tick.on { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.side a .num { color: var(--faint); font-variant-numeric: tabular-nums; margin-right: 4px; }
.side-top { display: flex; align-items: center; gap: 8px; padding: 0 10px 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.side-top a { display: inline-flex; padding: 0; color: var(--muted); font-size: 14px; }
.side-top a:hover { background: none; color: var(--text); }
.side-close { display: none; margin-left: auto; }
@media (max-width: 1000px) {
  .learn { grid-template-columns: minmax(0, 1fr); }
  .side {
    position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); height: auto;
    transform: translateX(-102%); transition: transform .22s ease; box-shadow: 0 0 0 100vmax transparent;
  }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); }
  .side-close { display: inline-grid; }
}

.lesson { max-width: 820px; width: 100%; margin: 0 auto; padding: 40px 40px 96px; }
@media (max-width: 640px) { .lesson { padding: 24px 16px 72px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.lesson h1 { font-size: clamp(28px, 4.4vw, 38px); letter-spacing: -0.03em; margin: 12px 0 12px; }
.lesson-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: var(--muted); font-size: 14.5px; }
.lesson-covers { margin-top: 16px; font-size: 17px; color: var(--muted); }
.skip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 24px 0 0; padding: 12px 12px 12px 16px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line-soft);
  font-size: 15px;
}
.lesson .frame { margin-top: 28px; border-radius: 12px; }
.lesson .frame-ph { background: var(--bg-soft); }
.notice { margin-top: 28px; padding: 14px 16px; border-radius: 10px; border: 1px dashed var(--line); color: var(--muted); font-size: 15px; }

.done-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.done-row .next { margin-left: auto; text-align: right; text-decoration: none; color: var(--text); display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); }
.done-row .next:hover { border-color: var(--faint); color: var(--text); }
.done-row .next small { font-size: 13px; color: var(--faint); }
.done-row .next span { font-weight: 550; display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; }
@media (max-width: 640px) { .done-row .next { margin-left: 0; width: 100%; } .done-row [data-done] { flex: 1; } }

.ask-card {
  margin-top: 24px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft);
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
}
.ask-card b { display: block; font-weight: 600; }
.ask-card p { color: var(--muted); font-size: 15px; }
.ask-card[hidden] { display: none; }

/* the lesson's words */
.prose { margin-top: 28px; font-size: 16.5px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 24px; margin-top: 40px; letter-spacing: -0.02em; }
.prose h3 { font-size: 19px; margin-top: 32px; }
.prose h4 { font-size: 16.5px; margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li > p { margin: 0; }
.prose code { font-family: var(--mono); font-size: .88em; padding: 2px 5px; border-radius: 5px; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 2px solid var(--line); color: var(--muted); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figure img { display: block; border-radius: 10px; border: 1px solid var(--line); }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--faint); }
.prose img { height: auto; }
.prose .embed { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.prose .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.prose th { font-weight: 600; background: var(--bg-soft); }
.prose tr:last-child td { border-bottom: 0; }
.prose .code { position: relative; }
.prose pre { margin: 0; padding: 16px 18px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); overflow-x: auto; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; }
.prose .copy { position: absolute; top: 8px; right: 8px; min-height: 28px; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; cursor: pointer; color: var(--muted); }
.prose .copy:hover { color: var(--text); }
.prose .checklist { list-style: none; padding-left: 0; }
.prose .task { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.prose .task input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--accent); }
.prose .task input:checked + label { color: var(--faint); text-decoration: line-through; }
.box { padding: 16px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); }
.box > * + * { margin-top: 10px; }
.box-label { font-size: 12.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.box-tip { border-color: var(--accent-line); background: var(--accent-soft); }
.box-tip .box-label { color: var(--link); }
.box-warning { border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.box-warning .box-label { color: var(--danger); }
.box-placeholder { border-style: dashed; background: none; color: var(--muted); }
.box-placeholder .box-label { color: var(--faint); }
.box-code .code-line { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.box-code .code-line code { font-size: 17px; font-weight: 600; letter-spacing: .04em; border: 0; background: none; padding: 0; }
.box-code .copy { position: static; }

/* comments, under lessons and posts */
.comments { margin-top: 56px; }
.comments h2 { font-size: 20px; letter-spacing: -0.02em; display: flex; gap: 8px; align-items: baseline; }
.comments h2 .faint { font-weight: 400; font-size: 16px; }
.comment-form { margin-top: 16px; display: grid; gap: 10px; }
.comment-form .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.comment-list { list-style: none; margin: 24px 0 0; padding: 0; }
.comment { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.comment .avatar { width: 32px; height: 32px; font-size: 13px; }
.comment .who { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; }
.comment .who b { font-weight: 600; }
.comment .who time { color: var(--faint); }
.comment .text { margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment .acts { display: flex; gap: 4px; margin: 6px 0 0 -10px; }
.comment .acts button { min-height: 30px; padding: 4px 10px; font-size: 13.5px; }
.comment .replies { list-style: none; margin: 8px 0 0; padding: 0; }
.comment .replies .comment { border-top: 0; padding: 10px 0 0; }
.comment .reply-form { margin-top: 10px; }
.badge-owner { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--accent); color: var(--accent-on); letter-spacing: .02em; }
.empty { padding: 28px 0 4px; color: var(--faint); font-size: 15px; }

/* ---------- dashboard ---------- */
.dash { max-width: 1120px; margin: 0 auto; padding: 40px 24px 96px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
@media (max-width: 1000px) { .dash { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 640px) { .dash { padding: 24px 16px 72px; } }
.hello { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.03em; }
.continue { margin-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); }
.continue:hover { border-color: var(--faint); color: var(--text); }
.continue .k { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--link); }
.continue h2 { font-size: 22px; margin: 6px 0 4px; letter-spacing: -0.02em; }
.continue p { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .continue { grid-template-columns: 1fr; } }
.overall { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.overall .meter { flex: 1; max-width: 360px; height: 8px; }
.dash-parts { margin-top: 36px; border-top: 1px solid var(--line); }
.dpart { border-bottom: 1px solid var(--line); }
.dpart summary { display: grid; grid-template-columns: 36px 1fr auto 20px; gap: 12px; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; }
.dpart summary::-webkit-details-marker { display: none; }
.dpart summary .n { color: var(--faint); font-size: 14px; }
.dpart summary h3 { font-size: 17px; font-weight: 550; }
.dpart summary .meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; white-space: nowrap; }
.dpart summary .meter { width: 80px; height: 5px; }
.dpart summary .chev { color: var(--faint); transition: transform .2s; }
.dpart[open] summary .chev { transform: rotate(180deg); }
.dpart ul { list-style: none; margin: 0; padding: 0 0 12px 48px; }
.dpart li a { display: grid; grid-template-columns: 18px 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
.dpart li a:hover { background: var(--bg-soft); }
.dpart li .num { color: var(--faint); font-variant-numeric: tabular-nums; font-size: 14px; }
.dpart li .ty { color: var(--faint); font-size: 13px; white-space: nowrap; }
@media (max-width: 560px) {
  .dpart summary { grid-template-columns: 28px 1fr 20px; }
  .dpart summary .meta { grid-column: 2; grid-row: 2; }
  .dpart ul { padding-left: 0; }
  .dpart li a { grid-template-columns: 18px 36px 1fr; }
  .dpart li .ty { display: none; }
}
.rail h3 { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; display: flex; justify-content: space-between; }
.rail h3 a { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; }
.rail + .rail { margin-top: 32px; }
.mini-wins { list-style: none; margin: 0; padding: 0; }
.mini-wins li { padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.mini-wins li .who { font-size: 13.5px; color: var(--faint); margin-bottom: 2px; }
.mini-wins li a { color: var(--text); text-decoration: none; }
.mini-wins li a:hover { color: var(--link); }

/* ---------- the board ---------- */
.board { max-width: 820px; margin: 0 auto; padding: 40px 24px 96px; }
@media (max-width: 640px) { .board { padding: 24px 16px 72px; } }
.board-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: end; }
.board-head h1 { font-size: clamp(28px, 4.4vw, 36px); letter-spacing: -0.03em; }
.board-head p { color: var(--muted); margin-top: 6px; }
.tabs { display: flex; gap: 4px; margin-top: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 10px 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 15px; white-space: nowrap; text-decoration: none; }
.tabs a[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); font-weight: 550; }
.tabs a:hover { color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
a.chip { text-decoration: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; cursor: pointer; }
.chip:hover { color: var(--text); border-color: var(--faint); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .x { opacity: .7; }
.posts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.post { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px 20px; }
.post.pinned { border-color: var(--accent-line); }
.post-top { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 14px; }
.post-top b { font-weight: 600; }
.post-top time { color: var(--faint); }
.post-top .pin { margin-left: auto; color: var(--link); font-size: 13px; font-weight: 550; display: inline-flex; gap: 4px; align-items: center; }
.post-text { margin-top: 10px; font-size: 16.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-media { margin-top: 14px; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.post-media img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.yt { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: center; margin-top: 14px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.yt:hover { border-color: var(--faint); color: var(--text); }
.yt img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; background: var(--bg-soft); }
.yt span { font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 480px) { .yt { grid-template-columns: 1fr; } .yt img { width: 100%; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.post-acts { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 12px 0 -6px -10px; }
.post-acts .btn-plain { min-height: 34px; font-size: 14px; gap: 6px; }
.post-acts .btn-plain[aria-pressed="true"] { color: var(--link); }
.post-acts .btn-plain[aria-pressed="true"] .i { fill: currentColor; }
.post-acts .right { margin-left: auto; }
.post .comments { margin-top: 14px; padding-top: 4px; }
.post .comment-list { margin-top: 6px; }
.more { display: flex; justify-content: center; margin-top: 20px; }
.compose { margin-top: 24px; }
.compose-box { display: grid; gap: 14px; }
.compose .kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.compose .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.checkline input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.attach { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.attach-preview { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.attach-preview img { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.helper { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); font-size: 14.5px; color: var(--muted); }
.helper b { color: var(--text); font-weight: 600; }
.helper ul { margin: 6px 0 0; padding-left: 18px; }
.count-line { margin-top: 10px; font-size: 14px; color: var(--faint); }

/* ---------- small centred pages: sign in, welcome ---------- */
.narrow { max-width: 440px; margin: 0 auto; padding: 72px 24px 96px; }
@media (max-width: 640px) { .narrow { padding: 40px 16px 72px; } }
.narrow h1 { font-size: 30px; letter-spacing: -0.03em; }
.narrow > p { margin-top: 10px; color: var(--muted); }
.narrow form { margin-top: 28px; display: grid; gap: 14px; }
.narrow .btn { width: 100%; }
.sent { margin-top: 24px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); }
.sent b { display: block; font-weight: 600; }
.sent p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.dev-link { margin-top: 12px; font-size: 14px; overflow-wrap: anywhere; }

/* ---------- admin ---------- */
.admin { max-width: 960px; margin: 0 auto; padding: 32px 24px 96px; }
@media (max-width: 640px) { .admin { padding: 24px 16px 72px; } }
.admin h1 { font-size: 30px; letter-spacing: -0.03em; }
.admin-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.admin-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--surface); }
.admin-item .top { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 14px; color: var(--muted); }
.admin-item .top b { color: var(--text); font-weight: 600; }
.admin-item .body { margin-top: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-item .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-item.is-removed { opacity: .55; }
.admin .stars { color: var(--accent); letter-spacing: 2px; }

/* ---------- plain reading pages (terms) ---------- */
.paper { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.paper .prose { margin-top: 20px; }
@media print {
  .bar, .foot, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .paper { padding: 0; max-width: none; }
}

/* the review's stars */
.stars-pick { border: 0; margin: 0; padding: 0; }
.stars-pick legend { padding: 0; margin-bottom: 6px; }
.stars-row { display: flex; gap: 2px; }
.stars-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-row label { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; color: var(--faint); }
.stars-row label .i { width: 26px; height: 26px; }
.stars-row label:hover { background: var(--bg-soft); }
.stars-row input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 1px; }
.stars-row[data-v="1"] label:nth-of-type(-n+1), .stars-row[data-v="2"] label:nth-of-type(-n+2),
.stars-row[data-v="3"] label:nth-of-type(-n+3), .stars-row[data-v="4"] label:nth-of-type(-n+4),
.stars-row[data-v="5"] label:nth-of-type(-n+5) { color: var(--accent); }
.stars-row[data-v="1"] label:nth-of-type(-n+1) .i, .stars-row[data-v="2"] label:nth-of-type(-n+2) .i,
.stars-row[data-v="3"] label:nth-of-type(-n+3) .i, .stars-row[data-v="4"] label:nth-of-type(-n+4) .i,
.stars-row[data-v="5"] label:nth-of-type(-n+5) .i { fill: currentColor; }

/* front page: how a film gets made (three steps with real pictures), who it's for, and the mindset (29 Oct) */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-step .when { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--link); }
.how-step h3 { font-size: 20px; margin: 6px 0 14px; }
.how-step .frame { aspect-ratio: 16 / 9; margin: 0; }
.msg { border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: var(--surface); padding: 16px 18px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.sheet img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.who h3 { font-size: 18px; margin-bottom: 14px; }
.who ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.who li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.who li .i { margin-top: 3px; }
.who .yes .i { color: var(--ok); }
.who .no .i { color: var(--faint); }
.bet .section-head p { max-width: 40em; }
.bet .section-head p + p { margin-top: 12px; }
.bet-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.bet-points h3 { font-size: 18px; margin-bottom: 6px; }
.bet-points p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 820px) {
  .how, .bet-points { grid-template-columns: 1fr; }
}
.lede strong { color: var(--text); font-weight: 650; }
.how-looks { margin-top: 18px; }

/* India: the box before Razorpay's checkout (home.js askEmail): their email and the no-refunds tick */
.pay-box {
  width: min(440px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.pay-box::backdrop { background: rgba(0, 0, 0, .45); }
.pay-box form { display: grid; gap: 16px; }
.pay-box h2 { margin: 0; font-size: 21px; letter-spacing: -0.02em; }
.pay-box .checkline a { color: var(--link); }
.pay-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
