/* Cracked V3's one stylesheet, in V2's coral look (v2/src/client/coral/coral.css, its tokens copied): a cool near-white
   page, white cards with hairline borders, one coral key per screen, the deep navy card, Inter. Phone first: one column,
   the places as a row of pills under the bar; from 1000 px the flush white sidebar holds them. One spacing scale
   (4 8 12 16 24 32 48), even gaps, one centered capped column. */
@font-face { font-family: "Inter"; src: url("/fonts/Inter-100-900.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --c-page: #fafaf9; --c-card: #ffffff; --c-line: #ececee; --c-line-2: #e5e7eb; --c-tint: #f5f5f7;
  --c-ink: #14161b; --c-body: #3f4450; --c-soft: #6b7280; --c-faint: #8a8f98;
  --c-coral: #f2542d; --c-coral-h: #e04420; --c-coral-ink: #e0481f; --c-coral-t: #fdece6; --c-coral-ring: #f6c9ba;
  --c-navy: #1c2230; --c-ok: #1e9e5a; --c-ok-t: #e6f6ec; --c-wait: #8a6100; --c-wait-t: #fcefc7; --c-bad: #c8102e; --c-bad-t: #ffe1e3;
  --c-r: 12px; --c-r-sm: 10px; --c-shadow: 0 1px 2px rgb(16 24 40 / 4%);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --c-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-page); color: var(--c-ink); font: 400 15px/1.5 var(--c-font); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
img, video { max-width: 100%; display: block; }

/* the frame */
.app { min-height: 100vh; }
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: var(--s3); height: 56px; padding: 0 var(--s4);
  background: rgb(255 255 255 / 92%); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line); }
.logo { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 800; letter-spacing: -0.02em; font-size: 17px; text-decoration: none; }
.logo i { width: 24px; height: 24px; border-radius: 7px; background: var(--c-coral); display: inline-block; box-shadow: inset 0 -3px 0 rgb(0 0 0 / 14%); }
.bar .grow { flex: 1; }
.who { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.who form { margin: 0; }
.org-pick { max-width: 46vw; height: 32px; padding: 0 var(--s2); border: 1px solid var(--c-line-2); border-radius: 999px; background: var(--c-card); font: 600 13px var(--c-font); color: var(--c-ink); }
.places { display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s3) var(--s4); scrollbar-width: none; border-bottom: 1px solid var(--c-line); background: var(--c-card); }
.places::-webkit-scrollbar { display: none; }
.places a { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 var(--s3); border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 14px; color: var(--c-body); background: var(--c-tint); }
.places a[aria-current="page"] { background: var(--c-ink); color: #fff; }
.main { width: 100%; max-width: 760px; margin: 0 auto; padding: var(--s5) var(--s4) var(--s7); display: grid; gap: var(--s5); }
.main.wide { max-width: 1080px; }
@media (min-width: 1000px) {
  .app.signed { display: grid; grid-template-columns: 232px 1fr; }
  .app.signed .bar { grid-column: 1 / -1; padding: 0 var(--s5); }
  .app.signed .places { grid-row: 2; flex-direction: column; gap: var(--s1); overflow: visible; padding: var(--s5) var(--s3); border-bottom: 0; border-right: 1px solid var(--c-line);
    position: sticky; top: 56px; height: calc(100vh - 56px); align-self: start; }
  .app.signed .places a { height: 40px; padding: 0 var(--s3); border-radius: var(--c-r-sm); background: transparent; }
  .app.signed .places a[aria-current="page"] { background: var(--c-coral-t); color: var(--c-coral-ink); }
  .main { padding: var(--s6) var(--s5) var(--s7); }
}

/* type */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-soft); }
.title { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.lede { color: var(--c-body); font-size: 16px; }
.head { display: grid; gap: var(--s2); }
.quiet { color: var(--c-soft); font-size: 13px; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
@media (min-width: 1000px) { .title { font-size: 32px; } }

/* cards and lists */
.card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--c-r); box-shadow: var(--c-shadow); padding: var(--s4); display: grid; gap: var(--s3); min-width: 0; }
.card.navy { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.card.navy .quiet { color: #b9bfcc; }
.card h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.stack { display: grid; gap: var(--s3); }
.list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.list > li { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--c-line); min-width: 0; }
.list > li:last-child { border-bottom: 0; }
.list .main-col { display: grid; gap: 2px; min-width: 0; }
.list .main-col > * { overflow-wrap: anywhere; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--s3); }
.stat { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--c-r); padding: var(--s4); display: grid; gap: var(--s1); }
.stat b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--s2); border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--c-tint); color: var(--c-body); white-space: nowrap; }
.pill.ok { background: var(--c-ok-t); color: var(--c-ok); }
.pill.wait { background: var(--c-wait-t); color: var(--c-wait); }
.pill.bad { background: var(--c-bad-t); color: var(--c-bad); }
.pill.key { background: var(--c-coral-t); color: var(--c-coral-ink); }
.table-wrap { overflow-x: auto; margin: 0 calc(-1 * var(--s4)); padding: 0 var(--s4); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: var(--s2) var(--s2); border-bottom: 1px solid var(--c-line); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-soft); font-weight: 700; white-space: nowrap; }
td { overflow-wrap: anywhere; }

/* forms */
form { margin: 0; }
.form { display: grid; gap: var(--s3); }
label { display: grid; gap: var(--s1); font-size: 13px; font-weight: 600; color: var(--c-body); }
input[type="text"], input[type="email"], input[type="search"], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; padding: var(--s2) var(--s3); border: 1px solid var(--c-line-2); border-radius: var(--c-r-sm); background: #fff;
  font: 400 15px/1.4 var(--c-font); color: var(--c-ink); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--c-coral-ring); border-color: var(--c-coral); }
.code-input { font: 700 28px/1 ui-monospace, Menlo, monospace; letter-spacing: 0.3em; text-align: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); border-radius: var(--c-r-sm);
  border: 1px solid var(--c-line-2); background: #fff; color: var(--c-ink); font: 700 15px var(--c-font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--c-coral); border-color: var(--c-coral); color: #fff; box-shadow: inset 0 -2px 0 rgb(0 0 0 / 12%); }
.btn.primary:hover { background: var(--c-coral-h); }
.btn.small { min-height: 34px; padding: 0 var(--s3); font-size: 13px; }
.btn.block { width: 100%; }
.check { display: flex; align-items: center; gap: var(--s2); font-weight: 500; }

/* notices */
.flash { padding: var(--s3) var(--s4); border-radius: var(--c-r-sm); background: var(--c-ok-t); color: var(--c-ok); font-weight: 600; }
.flash.bad { background: var(--c-bad-t); color: var(--c-bad); }
.empty { padding: var(--s5); text-align: center; color: var(--c-soft); border: 1px dashed var(--c-line-2); border-radius: var(--c-r); background: var(--c-card); }

/* the ad: a 9:16 player */
.ad { display: grid; gap: var(--s3); }
.player { width: 100%; max-width: 360px; aspect-ratio: 9 / 16; border-radius: var(--c-r); background: #000; object-fit: cover; margin: 0 auto; }
.pitch { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .pitch { grid-template-columns: 360px 1fr; align-items: start; } .pitch .player { margin: 0; } }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.version { position: fixed; right: 10px; bottom: 10px; z-index: 50; padding: 3px 8px; border-radius: 999px; background: rgb(255 255 255 / 88%);
  box-shadow: 0 1px 3px rgb(0 0 0 / 14%); color: #77716a; font: 500 11px/1.4 ui-monospace, Menlo, monospace; text-decoration: none; }
.test-strip { background: var(--c-wait-t); color: var(--c-wait); text-align: center; font-size: 12px; font-weight: 700; padding: 6px var(--s4); }
