/* mastersoup.ai — landing page.
   Register: the cost argument first, then the measurements that answer
   "cheap, but is it worse?". Type is Archivo for voice, IBM Plex Mono for
   every figure — the same rule the demo page states: measurements are mono
   and tabular so columns line up as they change. */

:root {
  --bg:        #FFFFFF;
  --ink:       #0A0B0C;
  --body:      #3C4248;
  --muted:     #5A6167;
  --rule:      #E6E7E8;
  --track:     #E4E7E9;
  --bar-mute:  #6F777E;
  --alarm:     #B42318;
  --accent:    #C2410C;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --measure: 872px;
  --gutter: 64px;
}

/* A deliberate single-mode design: the page is a white sheet with hard black
   rules, and a dark repaint would undo the one contrast it is built on. */
:root { color-scheme: light; }

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #9A3412; }

.fig { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter) 72px; }

/* ── masthead ─────────────────────────────────────────────── */
.masthead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; padding: 26px 0 18px;
  border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.brand span { font-size: 13px; color: var(--muted); font-weight: 500; }
.masthead .locus { font-size: 12px; color: var(--muted); }

/* ── hero ─────────────────────────────────────────────────── */
.hero { padding: 52px 0 0; display: flex; flex-direction: column; gap: 20px; }
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 6.4vw, 62px);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.035em;
}
.hero p {
  margin: 0; max-width: 58ch;
  font-size: clamp(16px, 2.1vw, 18px); color: var(--body); font-weight: 500;
  text-wrap: pretty;
}

/* ── the cost band ────────────────────────────────────────── */
.band { margin-top: 46px; border-top: 2px solid var(--ink); padding-top: 20px; }
.band-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.band-note { margin: 8px 0 22px; font-size: 14px; color: var(--muted); font-weight: 500; }

.rows { display: flex; flex-direction: column; gap: 30px; }

/* One block per baseline: what it costs now, and what it costs with
   Mastersoup. Both bars share one LINEAR scale whose ceiling is the largest
   baseline — linear, not log, because the gap the page argues is 10:1 and a
   log axis would flatten exactly the thing being shown. */
.cmp { display: flex; flex-direction: column; gap: 6px; }
.cmp-name { font-weight: 600; }
.cmp-line {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.cmp-k {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
}
.cmp-amt {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: clamp(17px, 3.2vw, 21px); font-weight: 600;
}
.cmp-amt.high { color: var(--alarm); }
.cmp-amt.mid  { color: var(--body); }
.cmp-amt.ours { color: var(--accent); }

.track { height: 12px; background: var(--track); border-radius: 2px; }
/* min-width so a 2.1% bar is still a mark rather than nothing on a phone. */
.track i { display: block; height: 12px; min-width: 3px; border-radius: 2px; }
.bar-high { background: var(--alarm); }
.bar-mute { background: var(--bar-mute); }
.bar-ours { background: var(--accent); }

.track + .cmp-line { margin-top: 8px; }

.disclaimer {
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  line-height: 1.6; margin: 20px 0 0;
}

/* ── the measurements ─────────────────────────────────────── */
.metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px; padding-top: 24px;
}
.metric { display: flex; flex-direction: column; gap: 8px; }
.metric .n {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 5.4vw, 50px); font-weight: 600; line-height: 1;
}
.metric .n small { font-size: 0.56em; color: var(--muted); font-weight: 600; }
.metric .k { font-weight: 600; border-top: 1px solid var(--rule); padding-top: 10px; }
.metric .d { font-size: 14px; color: var(--muted); font-weight: 500; text-wrap: pretty; }
.metric .d .fig { color: var(--alarm); }

/* ── call to action ───────────────────────────────────────── */
.cta { padding-top: 46px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-block; flex-shrink: 0;
  padding: 15px 26px; border-radius: 4px; font-weight: 600;
  border: 2px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--ink); color: #FFFFFF; }
.btn-primary:hover { background: #23262A; color: #FFFFFF; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #FFFFFF; }
.cta .aside { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ── footer ───────────────────────────────────────────────── */
.foot {
  margin-top: 46px; padding-top: 16px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}

/* ── narrow ───────────────────────────────────────────────── */
@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .metrics { grid-template-columns: 1fr; gap: 26px; }
  .masthead .locus { display: none; }
  /* The headline breaks at its sentence boundary on a wide screen; on a phone
     the sentences wrap on their own and a forced break only makes a worse rag. */
  .hero h1 br { display: none; }
  .btn { width: 100%; text-align: center; }
  .cta .aside { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
