/* FastFame: the launch.donce.dev design system. White paper, Geist, one violet accent, green only for live and approved. */
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
  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;
}

:root {
  --white: #fff;
  --paper: #f6f7f9;
  --paper-2: #eef0f3;
  --ink: #0a0c10;
  --ink-2: #1b1e25;
  --body: #474e5c;
  --muted: #5f6776;
  --line: #e6e8ec;
  --line-2: #d5d9e0;
  --acc: #7055f5;
  --acc-soft: #ece8ff;
  --acc-pale: #f6f4ff;
  --acc-ink: #3f27b5;
  --acc-deep: #5a3fe0;
  --acc-rgb: 112 85 245;
  --live: #1fa65a;
  --live-soft: #e3f6ea;
  --live-ink: #0b6b3a;
  --night: #130e2c;

  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(10,12,16,.05);
  --sh-2: 0 1px 1px rgba(10,12,16,.04), 0 4px 10px -2px rgba(10,12,16,.06), 0 14px 28px -12px rgba(10,12,16,.10);
  --sh-3: 0 1px 1px rgba(10,12,16,.04), 0 10px 22px -6px rgba(10,12,16,.08), 0 36px 64px -24px rgba(22,34,60,.22);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--acc); color: #fff; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sec { padding: 120px 0; }
.sec-tight { padding: 0 0 120px; }
.sec-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.05; letter-spacing: -0.04em; }
.lead { font-size: 18px; line-height: 1.5; color: var(--body); max-width: 52ch; margin-top: 16px; text-wrap: pretty; }
.head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: 48px; }
.head > div { grid-column: 1 / span 8; }
.subhead { font-size: 22px; letter-spacing: -0.03em; line-height: 1.2; margin: 72px 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:active { transform: scale(.97); }
.btn-acc {
  background: var(--acc); color: #fff; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgb(var(--acc-rgb) / .4), 0 10px 22px -10px rgb(var(--acc-rgb) / .75);
}
.btn-acc:hover { background: var(--acc-deep); transform: translateY(-1px); }
.btn-acc .arr { transition: transform .22s var(--ease); }
.btn-acc:hover .arr { transform: translateX(3px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); }
.btn-ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1px #b4bac5, var(--sh-1); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16.5px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }

/* Nav: a floating pill */
.nav { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; padding: 0 12px; pointer-events: none; }
/* the pill reaches 20px past the page's text rail, so the brand and the button sit on the rail */
.nav-in {
  position: relative; isolation: isolate; pointer-events: auto; max-width: 1176px; height: 60px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 32px;
}
.nav-in::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 0 0 1px rgba(23,16,58,.07), 0 10px 30px -16px rgba(23,16,58,.25);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.03em; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.mark svg { width: 14px; height: 14px; }
.nav-links { display: flex; gap: 2px; margin-right: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--body); padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(23,16,58,.05); }

/* Tags and chips */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-live { background: var(--live-soft); color: var(--live-ink); }
.tag-live i { background: var(--live); }
.tag-acc { background: var(--acc-soft); color: var(--acc-ink); font-weight: 600; }
.tag-soft { background: var(--paper); color: var(--body); box-shadow: inset 0 0 0 1px var(--line); }
.tag-line { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag-stop { background: var(--paper-2); color: var(--muted); }
.ok-ic { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--live-soft); color: var(--live-ink); }
.ok-acc { background: var(--acc-soft); color: var(--acc-ink); }

/* Cards */
.card { background: #fff; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.card-title { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.card-note { font-size: 13.5px; color: var(--muted); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-tile { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); }
.ic-tile-lg { width: 52px; height: 52px; border-radius: 15px; }
.ic-tile-lg .ic { width: 24px; height: 24px; }
.prod-ic {
  width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, #1c2330, #0a0c10); color: #fff; font-weight: 600; font-size: 17px; letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.prod-ic-open { background: var(--acc-soft); color: var(--acc-ink); box-shadow: inset 0 0 0 1px rgb(var(--acc-rgb) / .18); }

/* Hero: a fine dot grid behind the stage */
.hero { position: relative; padding: 150px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(23,16,58,.16) 1px, transparent 1.4px);
  background-size: 22px 22px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(46% 62% at 74% 50%, #000 0%, rgba(0,0,0,.5) 48%, transparent 82%);
          mask-image: radial-gradient(46% 62% at 74% 50%, #000 0%, rgba(0,0,0,.5) 48%, transparent 82%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; margin-bottom: 28px;
  border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(23,16,58,.08), var(--sh-1);
}
.status:hover { box-shadow: inset 0 0 0 1px rgba(23,16,58,.16), var(--sh-1); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; box-shadow: 0 0 0 3px var(--live-soft); }
.eb-sep { width: 1px; height: 14px; background: var(--line-2); }
.eb-note { color: var(--muted); font-weight: 400; }
h1 { font-size: clamp(44px, 4.7vw, 66px); line-height: 1.02; letter-spacing: -0.045em; }
h1 .l { display: block; white-space: nowrap; }
.hero-sub { font-size: 19px; line-height: 1.5; color: var(--body); max-width: 30em; margin-top: 24px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

.hero-copy > * { opacity: 0; transform: translateY(10px); animation: rise .45s var(--ease) forwards; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.stage { position: relative; height: 640px; }
.st-shot { position: absolute; left: 28px; right: 0; top: 52px; box-shadow: 0 0 0 1px rgba(23,16,58,.08), var(--sh-3); opacity: 0; animation: rise .7s var(--ease) .1s forwards; transform: translateY(14px); }
.fl {
  position: absolute; z-index: 2; background: #fff; border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(23,16,58,.07), 0 10px 20px -10px rgba(23,16,58,.2), 0 28px 44px -28px rgba(23,16,58,.32);
  opacity: 0; transform: translateY(14px); animation: rise .6s var(--ease) forwards, bob 5.5s ease-in-out 1.2s infinite alternate;
}
@keyframes bob { from { translate: 0 0; } to { translate: 0 -6px; } }
.fl-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.fl-cap span:last-child:not(.tag) { color: var(--muted); font-weight: 400; }
.fl-chip { right: 8px; top: 0; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border-radius: 999px; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; animation-delay: .5s, 2.2s; }
.fl-title { margin-top: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; }
.fl-check { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--body); }

/* Pilot */
.cta {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: center;
  padding: 72px 64px; border-radius: 36px;
  background: radial-gradient(60% 110% at 92% 0%, rgb(var(--acc-rgb) / .3) 0%, rgb(var(--acc-rgb) / 0) 64%), linear-gradient(180deg, #f5f2ff, #ece7ff);
  box-shadow: inset 0 0 0 1px rgb(var(--acc-rgb) / .12);
}
.cta h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.045em; line-height: 1.02; }
.cta-card { padding: 26px 28px; border-radius: 28px; box-shadow: 0 0 0 1px rgba(23,16,58,.05), 0 30px 60px -30px rgba(40,24,120,.4); }
.gets { margin-top: 14px; }
.gets li { display: flex; align-items: center; gap: 12px; height: 52px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; }
.gets li + li { border-top: 1px solid var(--line); }
.cta-note { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: 24px; }
.foot-tag { font-size: 14.5px; color: var(--muted); max-width: 30ch; margin-top: 16px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.foot-h { font-size: 13.5px; font-weight: 500; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.foot-col a { display: inline-block; font-size: 14.5px; color: var(--muted); padding: 4px 0; transition: color .15s; }
.foot-col a:hover { color: var(--ink); }
.foot-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Shared bits */
.btn-block { display: flex; width: 100%; }
.btn-xs { height: 32px; padding: 0 12px; font-size: 13px; gap: 6px; }
.btn-xs .ic { width: 15px; height: 15px; }
.btn-danger { background: #fff; color: #b42318; box-shadow: inset 0 0 0 1px #f1c4bf, var(--sh-1); }
.btn-danger:hover { background: #fff5f4; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--acc-ink); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.btn-acc, .btn-ghost, .btn-danger { cursor: pointer; }
.inline-form { display: contents; }
.muted { color: var(--muted); }
.fine { font-size: 13.5px; margin-top: 12px; }
.center { text-align: center; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .95em; letter-spacing: 0; }
.break { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kicker { font-size: 13.5px; font-weight: 500; color: var(--acc-ink); letter-spacing: -0.005em; margin-bottom: 6px; }
.txtlink { display: inline-flex; align-items: center; gap: 6px; color: var(--acc-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.txtlink .ic { width: 16px; height: 16px; }
.prose { color: var(--body); max-width: 64ch; text-wrap: pretty; }
.prose h1, .prose h2, .prose h3, .prose strong { color: var(--ink); }
.prose p + p, p.prose + p.prose { margin-top: 12px; }
.prose a, .auth-sub a, .auth-fine a, .hint a, .muted a, .panel-s a { color: var(--acc-ink); text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--muted); margin-bottom: 16px; padding: 6px 0; }
.back:hover { color: var(--ink); }
.back .ic { width: 18px; height: 18px; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; color: var(--body); }
.ticks .ic { width: 18px; height: 18px; margin-top: 3px; flex: none; color: var(--live); stroke-width: 2.2; }
.ticks strong { color: var(--ink); font-weight: 600; }
.ticks-no .ic { color: var(--muted); }
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); font-size: 15px; margin-bottom: 18px; }
.flash .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke-width: 2.2; }
.flash-ok { background: var(--live-soft); color: var(--live-ink); }
.flash-err { background: #fff1ef; color: #9a1c10; box-shadow: inset 0 0 0 1px #f6cfc9; }

/* Forms */
.stack { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; border: 0; min-width: 0; }
fieldset { border: 0; min-width: 0; }
.label { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.input {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 0;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); transition: box-shadow .15s;
}
textarea.input { resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input::placeholder { color: #8a91a0; }
.input:hover { box-shadow: inset 0 0 0 1px #b4bac5, var(--sh-1); }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--acc), 0 0 0 4px rgb(var(--acc-rgb) / .14); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #d92d20; }
.input[readonly] { background: var(--paper); }
.input-code { font-size: 26px; letter-spacing: .3em; text-align: center; font-weight: 600; }
.input-file { font-size: 15px; color: var(--body); max-width: 100%; }
.input-file::file-selector-button { font: inherit; font-weight: 500; margin-right: 12px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.hint { font-size: 13.5px; color: var(--muted); }
.field-err { font-size: 13.5px; color: #b42318; font-weight: 500; }
.at-input { position: relative; }
.at-input > span { position: absolute; left: 14px; top: 0; height: 48px; display: grid; place-items: center; color: var(--muted); font-size: 16px; pointer-events: none; }
.at-input .input { padding-left: 32px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input, .opt input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .15s, box-shadow .15s, color .15s; }
.pill:hover span { box-shadow: inset 0 0 0 1px #b4bac5; }
.pill input:checked + span { background: var(--acc-soft); color: var(--acc-ink); box-shadow: inset 0 0 0 1.5px var(--acc); }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; cursor: pointer; display: block; }
.opt span { display: flex; align-items: center; min-height: 52px; padding: 12px 16px; border-radius: 14px; background: #fff; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); transition: background .15s, box-shadow .15s; }
.opt:hover span { box-shadow: inset 0 0 0 1px #b4bac5, var(--sh-1); }
.opt input:checked + span { background: var(--acc-pale); box-shadow: inset 0 0 0 2px var(--acc); color: var(--acc-ink); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt.is-wrong span, .opt.is-wrong input:checked + span { background: #fff1ef; box-shadow: inset 0 0 0 2px #e5675a; color: #9a1c10; }
.quiz { display: flex; flex-direction: column; gap: 12px; }
.quiz-q { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; margin-bottom: 12px; padding: 0; }
.prog { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--paper-2); overflow: hidden; color: var(--acc); }
.prog::-webkit-progress-bar { background: var(--paper-2); border-radius: 999px; }
.prog::-webkit-progress-value { background: var(--acc); border-radius: 999px; transition: width .3s var(--ease); }
.prog::-moz-progress-bar { background: var(--acc); border-radius: 999px; }

/* Landing extras */
.nav-end { display: flex; align-items: center; gap: 6px; }
.nav-signin { font-size: 14.5px; font-weight: 500; color: var(--body); padding: 8px 14px; border-radius: 999px; }
.nav-signin:hover { color: var(--ink); background: rgba(23,16,58,.05); }
.st-card { position: absolute; left: 28px; right: 0; top: 64px; opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) .1s forwards; box-shadow: 0 0 0 1px rgba(23,16,58,.08), var(--sh-3); }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; padding: 36px 32px 0; height: 300px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: flex-end; }
.pod-amt { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; }
.pod-bar { width: 100%; display: grid; place-items: start center; padding-top: 14px; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, var(--acc-soft), var(--acc-pale)); color: var(--acc-ink); font-weight: 600; font-size: 18px; box-shadow: inset 0 0 0 1px rgb(var(--acc-rgb) / .14); }
.pod-1 .pod-bar { height: 190px; background: linear-gradient(180deg, var(--acc), var(--acc-deep)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.pod-1 .pod-amt { color: var(--acc-ink); font-size: 36px; }
.pod-2 .pod-bar { height: 132px; }
.pod-3 .pod-bar { height: 92px; }
.st-note { padding: 18px 28px 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); }
.fl-lesson { left: 0; bottom: 0; width: 290px; padding: 16px 18px; animation-delay: .7s, 2.6s; }
.wk-card { padding: 32px; }
.wk-prod { display: flex; align-items: center; gap: 14px; }
.wk-prod h3 { font-size: 24px; letter-spacing: -0.035em; line-height: 1.15; }
.wk-prod p { color: var(--body); }
.wk-angle { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.wk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.wk-facts dt { font-size: 13.5px; color: var(--muted); }
.wk-big { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.wk-s { font-size: 13.5px; color: var(--muted); }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step, .bonus { padding: 26px; }
.step h3, .bonus h3 { font-size: 19px; letter-spacing: -0.03em; margin-top: 20px; }
.step p, .bonus p { color: var(--body); margin-top: 8px; font-size: 15.5px; text-wrap: pretty; }
.bonus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.track { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.track-n { font-size: 14px; font-weight: 600; color: var(--acc-ink); }
.track h3 { font-size: 17px; letter-spacing: -0.02em; }
.track p { color: var(--body); font-size: 15px; margin-top: 2px; }
.track-c { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.winners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.winner { display: flex; align-items: center; gap: 14px; padding: 20px; }
.winner > div { flex: 1; min-width: 0; }
.win-h { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-p { font-size: 13.5px; color: var(--muted); }
.win-amt { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--acc-ink); }
.page-top { padding-top: 132px; }
.h-page { font-size: clamp(36px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.045em; }
.narrow { max-width: 760px; }
.narrow h2 { font-size: 22px; letter-spacing: -0.03em; margin: 36px 0 10px; }
.narrow .prose p, .narrow .prose li { margin-top: 10px; }
.narrow .prose ul { list-style: disc; padding-left: 20px; }
.brief-list { display: flex; flex-direction: column; gap: 12px; }
.brief-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 24px; transition: box-shadow .15s; }
.brief-row:hover { box-shadow: 0 0 0 1px rgb(var(--acc-rgb) / .35), var(--sh-2); }
.brief-row-main { flex: 1; min-width: 0; }
.brief-row-t { font-size: 18px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.brief-row-t a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.brief-row-d { margin-top: 2px; font-size: 14px; color: var(--muted); }
.brief-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.brief-row-p { font-size: 15px; font-weight: 600; color: var(--ink); }
.brief-page { max-width: 820px; }
.brief-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.prod-ic-lg { width: 64px; height: 64px; border-radius: 18px; font-size: 28px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 20px; }
.facts > div { padding: 18px 22px; border-left: 1px solid var(--line); min-width: 0; }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; margin-top: 2px; overflow-wrap: anywhere; }
.facts dd.facts-s { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 0; }
.bsec { margin-top: 32px; }
.bsec > h2, .bsec h2 { font-size: 20px; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px; }
.panel > .bsec:first-child { margin-top: 0; }
.hooks { display: flex; flex-direction: column; gap: 10px; }
.hook { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.hook p { flex: 1; min-width: 0; font-weight: 500; color: var(--ink-2); }
.hook-n { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; color: var(--acc-ink); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.dodont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; margin-top: 36px; background: var(--acc-pale); box-shadow: inset 0 0 0 1px rgb(var(--acc-rgb) / .16); }
.cta-inline p { font-weight: 500; }
.creator-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.creator-handle { color: var(--muted); font-size: 16px; margin-top: 4px; }
.creator-bio { color: var(--body); margin-top: 10px; max-width: 52ch; }
.vlist { display: flex; flex-direction: column; }
.vrow { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); }
.vrow:first-child { border-top: 0; }
.vrow-p { font-size: 13px; font-weight: 600; color: var(--acc-ink); min-width: 74px; }
.vrow-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.vrow-l:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sign-in and joining */
.auth-body { background: var(--paper); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.auth-switch { font-size: 14.5px; font-weight: 500; color: var(--body); padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.auth-switch:hover { background: rgba(23,16,58,.05); color: var(--ink); }
.auth { flex: 1; width: 100%; max-width: 480px; margin: 0 auto; padding: 24px 16px 48px; }
.auth-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 0 0 1px var(--line), var(--sh-2); display: flex; flex-direction: column; gap: 18px; }
.auth-card h1 { font-size: 30px; line-height: 1.1; letter-spacing: -0.04em; }
.auth-sub { color: var(--body); text-wrap: pretty; }
.auth-mail { color: var(--ink); overflow-wrap: anywhere; }
.auth-fine { font-size: 13.5px; color: var(--muted); text-align: center; }
.auth-resend { font-size: 14px; color: var(--muted); text-align: center; }
.auth-foot { display: flex; justify-content: center; gap: 20px; padding: 20px; font-size: 13.5px; color: var(--muted); }
.auth-foot a:hover { color: var(--ink); }
.join-head { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.join-back { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--body); box-shadow: inset 0 0 0 1px var(--line-2); }
.join-back:hover { background: var(--paper); }
.join-head .prog { flex: 1; }
.slide-art { height: 140px; border-radius: 20px; display: grid; place-items: center; background: radial-gradient(70% 90% at 70% 10%, rgb(var(--acc-rgb) / .24), transparent 70%), linear-gradient(180deg, var(--acc-pale), var(--acc-soft)); color: var(--acc-ink); }
.slide-ic { width: 56px; height: 56px; stroke-width: 1.4; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--live-soft); color: var(--live-ink); }
.done-mark .ic { width: 30px; height: 30px; stroke-width: 2.2; }
.stats { display: grid; gap: 10px; }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats > div { padding: 12px 14px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.stats dt { font-size: 12.5px; color: var(--muted); }
.stats dd { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.mini-brief { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.mini-k { font-size: 12.5px; color: var(--muted); }
.mini-t { font-weight: 600; letter-spacing: -0.02em; }
.mini-s { font-size: 13.5px; color: var(--body); }

/* The creator app */
.app-body { background: var(--paper); }
.av { border-radius: 50%; flex: none; object-fit: cover; background: var(--acc-soft); }
.av-letter { display: inline-grid; place-items: center; color: var(--acc-ink); font-weight: 600; }
.av-36 { width: 36px; height: 36px; font-size: 15px; }
.av-40 { width: 40px; height: 40px; font-size: 16px; }
.av-48 { width: 48px; height: 48px; font-size: 19px; }
.av-72 { width: 72px; height: 72px; font-size: 28px; }
.av-96 { width: 96px; height: 96px; font-size: 38px; }
.side { display: none; }
.app-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.app-top-end { display: flex; align-items: center; gap: 8px; }
.top-link { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--body); }
.top-link:hover { background: var(--paper); }
.app-main { width: 100%; max-width: 980px; margin: 0 auto; padding: 24px 16px calc(96px + env(safe-area-inset-bottom)); }
.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.tab .ic { width: 22px; height: 22px; }
.tab.is-on { color: var(--acc-ink); }
.side-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; }
.side-link { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--body); transition: background .15s, color .15s; }
.side-link:hover { background: var(--paper); color: var(--ink); }
.side-link.is-on { background: var(--acc-soft); color: var(--acc-ink); }
.side-me { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.side-me:hover { background: var(--paper); }
.side-me > span { display: flex; flex-direction: column; min-width: 0; }
.side-me-n { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-me-l { font-size: 12.5px; color: var(--muted); }
.pg-head { margin-bottom: 20px; }
.pg-head .muted { margin-top: 4px; }
.h-app { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.04em; }
.h-sub { font-size: 19px; letter-spacing: -0.03em; line-height: 1.2; margin: 28px 0 10px; }
.h-mini { font-size: 14.5px; letter-spacing: -0.01em; margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.grid-3, .grid-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.panel { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel > .card-head { margin: -22px -22px 0; padding: 16px 22px; }
.panel + .panel, .card + .panel, .panel + .card, .grid-2 + .panel, .grid-2 + .bsec, .facts + .panel, .panel + .btn { margin-top: 16px; }
.panel-s { color: var(--body); text-wrap: pretty; }
.note { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 14px; }
.note > div { flex: 1; min-width: 0; }
.note-warn { background: #fffaf0; box-shadow: 0 0 0 1px #f3dfb6, var(--sh-1); }
.ok-warn { background: #fdefd2; color: #8a5a00; }
.note-t { font-weight: 600; }
.note-s { color: var(--body); font-size: 14.5px; }
.wk-name { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.lvl-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; }
.lvl-row .muted { font-weight: 400; font-size: 14px; }
.lesson-next { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s; }
.lesson-next:hover { background: var(--paper); }
.lesson-next > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lesson-next > .ic { color: var(--muted); }
.lesson-next-k { font-size: 13px; color: var(--muted); }
.lesson-next-t { font-weight: 600; letter-spacing: -0.02em; }
.lesson-next-lg { padding: 18px 20px; margin-bottom: 20px; box-shadow: 0 0 0 1px var(--line), var(--sh-2); border-radius: 24px; background: #fff; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--body); }
.checklist .ic { width: 18px; height: 18px; color: var(--line-2); stroke-width: 2.2; }
.checklist .is-done { color: var(--ink); }
.checklist .is-done .ic { color: var(--live); }
.wk-head { display: flex; align-items: center; gap: 14px; }
.wk-head .kicker { margin-bottom: 2px; }
.seg { display: flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; }
.seg-i { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--body); white-space: nowrap; }
.seg-i:hover { color: var(--ink); }
.seg-i.is-on { background: var(--ink); color: #fff; }
.seg-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-ink); font-size: 12px; font-weight: 600; }
.seg-i.is-on .seg-n { background: rgba(255,255,255,.2); color: #fff; }
.send-form { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.send-form .field { width: 100%; }
.vcards { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.vempty { margin-top: 20px; }
.vcard { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.vcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vcard-l { font-weight: 500; overflow-wrap: anywhere; }
.vcard-l:hover { text-decoration: underline; text-underline-offset: 3px; }
.vcard-m { font-size: 14px; }
.vcard-note { padding: 10px 14px; border-radius: 12px; background: var(--paper); color: var(--ink-2); font-size: 14.5px; }
.vcard .send-form { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.me-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 14px; background: var(--acc-pale); box-shadow: inset 0 0 0 1px rgb(var(--acc-rgb) / .2); }
.me-t { font-weight: 600; letter-spacing: -0.02em; }
.rank { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--paper); color: var(--ink-2); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.me-row .rank { background: var(--acc); color: #fff; box-shadow: none; }
.board { display: flex; flex-direction: column; }
.board-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.board-row:first-child { border-top: 0; }
.board-row:nth-child(-n+3) .rank { background: var(--acc-soft); color: var(--acc-ink); box-shadow: none; }
.board-row.is-me { background: var(--acc-pale); }
.board-n { flex: 1; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-n a:hover { text-decoration: underline; text-underline-offset: 3px; }
.board-v { font-size: 14px; color: var(--muted); white-space: nowrap; }
.board-p { min-width: 44px; text-align: right; font-weight: 600; color: var(--acc-ink); }
.past { display: flex; flex-direction: column; }
.past > li { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); }
.past > li:first-child { border-top: 0; }
.past-w { font-size: 13px; font-weight: 600; color: var(--acc-ink); min-width: 64px; }
.past-h { flex: 1; min-width: 0; font-weight: 500; }
.past-l { font-size: 14px; color: var(--muted); }
.chips-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -2px 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; flex: none; background: #fff; font-size: 14.5px; font-weight: 500; color: var(--body); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip:hover { color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.chip-n { font-size: 12.5px; color: var(--muted); }
.chip.is-on .chip-n { color: rgba(255,255,255,.7); }
.lessons { margin-top: 14px; display: flex; flex-direction: column; overflow: hidden; }
.lessons > li + li { border-top: 1px solid var(--line); }
.lrow { display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-height: 60px; }
.lrow:hover { background: var(--paper); }
.lrow-ic { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.lrow-ic .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.lrow.is-done .lrow-ic { background: var(--live-soft); color: var(--live-ink); box-shadow: none; }
.lrow-t { flex: 1; min-width: 0; font-weight: 500; }
.lrow-m { display: flex; align-items: center; gap: 8px; font-size: 13.5px; white-space: nowrap; }
.lesson { max-width: 680px; display: flex; flex-direction: column; }
.lesson .h-app { margin-bottom: 12px; }
.lesson-point { font-size: 18px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.lesson .vid-link { margin-top: 20px; }
.vid-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.card.vid-link { box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.vid-link:hover { background: var(--paper); }
.vid-link > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vid-link > .ic { color: var(--muted); flex: none; }
.vid-t { font-weight: 600; }
.try { margin-top: 24px; padding: 18px 20px; background: var(--acc-pale); box-shadow: inset 0 0 0 1px rgb(var(--acc-rgb) / .18); }
.try-k { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--acc-ink); margin-bottom: 6px; }
.try-k .ic { width: 18px; height: 18px; }
.lesson-done { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.big-num { font-size: 44px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.addr { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--paper); }
.copy-row { display: flex; gap: 10px; }
.copy-row .input { flex: 1; min-width: 0; }
.copy-row .btn { flex: none; height: 48px; }
.copy-row .btn .ic { width: 18px; height: 18px; }
.ledger { display: flex; flex-direction: column; }
.ledger > li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); }
.ledger > li:first-child { border-top: 0; }
.panel .ledger > li { padding: 10px 0; }
.ledger > li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.ledger .muted { font-size: 13.5px; }
.ledger-t { font-weight: 500; }
.ledger-a { font-weight: 600; white-space: nowrap; }
.ledger-who { flex-direction: row !important; align-items: center; gap: 12px; }
.ledger-who > span { display: flex; flex-direction: column; min-width: 0; }
.invite-facts { margin-top: 16px; }
.facts + .ledger, .panel + .facts { margin-top: 16px; }
.prof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 24px; margin-bottom: 16px; }
.prof-t { flex: 1; min-width: 200px; }
.prof-bio { margin-top: 8px; color: var(--body); }
.prof-a { display: flex; flex-wrap: wrap; gap: 8px; }
.prof-foot { margin-top: 32px; display: flex; justify-content: flex-start; }
.photo-row { display: flex; align-items: center; gap: 18px; }
.photo-row .field { flex: 1; min-width: 0; }
.danger { margin-top: 24px; box-shadow: 0 0 0 1px #f6cfc9, var(--sh-1); }
.danger .card-title { color: #9a1c10; }

/* Admin */
.adm-body { background: var(--paper); }
.adm-top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.adm-top-in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.adm-nav { order: 3; flex-basis: 100%; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; }
.adm-link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--body); white-space: nowrap; }
.adm-link .ic { width: 18px; height: 18px; }
.adm-link:hover { background: var(--paper); color: var(--ink); }
.adm-link.is-on { background: var(--acc-soft); color: var(--acc-ink); }
.adm-out { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.adm-out:hover { color: var(--ink); background: var(--paper); }
.adm { max-width: 1240px; margin: 0 auto; padding: 24px 16px 64px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.kpi dt, .kpi .kpi-s { font-size: 13.5px; color: var(--muted); }
.kpi dd { font-size: 28px; font-weight: 600; letter-spacing: -0.04em; }
a.kpi:hover { box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); }
.row-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.row-end { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--paper); }
.tbl tfoot td { font-weight: 600; border-top: 1px solid var(--line-2); border-bottom: 0; }
.tbl a { font-weight: 500; }
.tbl a:hover { text-decoration: underline; text-underline-offset: 3px; }
.num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.inline-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.inline-fields .field { flex: 1; min-width: 180px; }
.inline-fields .btn { height: 48px; }
.mini-dl { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.mini-dl > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
.mini-dl dt { color: var(--muted); }
.mini-dl dd { overflow-wrap: anywhere; }
.mini-dl a { color: var(--acc-ink); }

/* Responsive */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4, .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .app-main { padding: 32px 24px 104px; }
  .adm-top-in, .adm { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 26px; }
  .panel > .card-head { margin: -26px -26px 0; padding: 18px 26px; }
}
@media (min-width: 960px) {
  .app { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
  .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 24px 16px; background: #fff; border-right: 1px solid var(--line); }
  .side > .brand { padding: 0 8px; }
  .app-top, .tabbar { display: none; }
  .app-main { grid-column: 2; padding: 40px 40px 64px; }
  .adm-nav { order: 0; flex-basis: auto; margin: 0 auto 0 12px; }
  .adm-out { margin-left: 0; }
}
@media (max-width: 1080px) {
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .stage { height: 520px; max-width: 560px; }
  .fl-lesson { display: none; }
  .head > div { grid-column: 1 / -1; }
  .sec { padding: 80px 0; }
  .cta { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding: 48px 32px; }
  .bonus-grid, .winners { grid-template-columns: minmax(0, 1fr); }
  .tracks { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav { top: 10px; padding: 0 8px; }
  .nav-in { height: 56px; padding: 0 8px 0 16px; gap: 12px; }
  .nav-signin { padding: 8px 10px; }
  h1 { font-size: 40px; }
  h1 .l { white-space: normal; }
  .hero { padding: 104px 0 32px; }
  .hero-sub { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .stage { height: 420px; }
  .st-card { left: 0; top: 54px; }
  .podium { height: 230px; padding: 24px 18px 0; gap: 10px; }
  .pod-amt { font-size: 24px; }
  .pod-1 .pod-amt { font-size: 28px; }
  .pod-1 .pod-bar { height: 140px; }
  .pod-2 .pod-bar { height: 100px; }
  .pod-3 .pod-bar { height: 70px; }
  .st-note { padding: 14px 20px 18px; }
  .fl-chip { right: 0; font-size: 12.5px; height: 36px; }
  .fl-lesson { display: none; }
  .sec { padding: 64px 0; }
  .sec-tight { padding-bottom: 64px; }
  .head { margin-bottom: 28px; }
  .lead { font-size: 17px; }
  .wk-card { padding: 22px; }
  .wk-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step, .bonus { padding: 22px; }
  .track { grid-template-columns: 28px minmax(0, 1fr); }
  .track-c { grid-column: 2; }
  .cta { padding: 36px 20px; border-radius: 28px; }
  .cta-card { padding: 18px 20px; }
  .page-top { padding-top: 104px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { border-left: 0; border-top: 1px solid var(--line); padding: 14px 18px; }
  .facts > div:first-child { border-top: 0; }
  .dodont { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cta-inline { flex-direction: column; align-items: stretch; text-align: center; }
  .hook { flex-wrap: wrap; }
  .hook .btn-xs { margin-left: 42px; }
  .brief-row { padding: 16px 18px; }
  .creator-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
  .auth { padding-top: 8px; }
  .auth-card { padding: 24px 20px; border-radius: 22px; }
  .auth-card h1 { font-size: 26px; }
  .auth-top { padding: 16px; }
  .opts-grid { grid-template-columns: minmax(0, 1fr); }
  .board-row { padding: 12px 14px; gap: 10px; }
  .board-row .av { display: none; }
  .copy-row { flex-direction: column; }
  .copy-row .btn { width: 100%; }
  .prof { flex-direction: column; align-items: flex-start; }
  .big-num { font-size: 38px; }
  .past-l { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-copy > *, .st-card, .fl { opacity: 1; transform: none; animation: none; }
}
