/* Menu Money — "spec sheet".
 *
 * The subject is a 24pt strip of macOS chrome and a ledger that counts
 * fractions of a cent. So: hairlines instead of cards, a 24px module taken
 * from the menu bar's own height, monospaced tabular figures for anything
 * countable, and radius reserved for live status (pills) so shape means
 * something. No gradients anywhere.
 */

:root {
  --paper: #ffffff;
  --wash: #f4f6fa;          /* the single tint, used sparingly */
  --ink: #0b1220;
  --ink-soft: #5a6474;
  --rule: #e3e6ec;
  --rule-strong: #c3cad6;
  --blue: #1633cc;          /* inked, not the default SaaS blue */
  --blue-bright: #2b5cff;
  --blue-wash: #eef1fe;
  --gold: #c9971f;          /* struck coin, not highlighter */
  --gold-wash: #fbf3e0;
  --bad: #b3261e;

  --mod: 24px;              /* the menu bar is 24pt tall; the page counts in it */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { background: var(--paper); color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

/* ---------- type scale ---------- */
h1 {
  font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 800; margin: 0 0 calc(var(--mod) * .75);
}
h2 {
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 800; margin: 0 0 8px;
}
h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; line-height: 1.3; }
p { margin: 0 0 12px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* the mono face carries every label, figure and caption */
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 calc(var(--mod) * .66);
}
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
.hint {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.5;
  color: var(--ink-soft); margin: 6px 0 10px;
}
.hint.center { text-align: center; }
.error {
  font-family: var(--mono); font-size: 12px; color: var(--bad);
  min-height: 1.2em; margin: 8px 0 0;
}
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- shell ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  gap: var(--mod); padding: 0 5vw; height: calc(var(--mod) * 2.75);
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.topbar nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.topbar nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--ink-soft);
}
.topbar nav a:hover { color: var(--ink); text-decoration: none; }
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.03em;
}
.logo.small { font-size: 15px; }
.logo span { color: var(--blue); }

.section { padding: calc(var(--mod) * 2.5) 5vw; max-width: 1280px; margin: 0 auto; }
.section + .section { border-top: 1px solid var(--rule); }
.section.alt {
  background: var(--wash); max-width: none;
  padding-inline: max(5vw, calc((100% - 1280px) / 2 + 5vw));
}
.section-sub { color: var(--ink-soft); margin: 0 0 var(--mod); max-width: 58ch; }

/* the landing page centres; privacy/terms keep their left-aligned column */
.section.mid { text-align: center; }
.section.mid > * { margin-left: auto; margin-right: auto; }
.section.mid .section-sub { max-width: 60ch; margin-bottom: calc(var(--mod) * 1.4); }

/* ---------- hero: one centred column ---------- */
.hero {
  text-align: center; max-width: 800px; margin: 0 auto;
  padding: calc(var(--mod) * 3) 5vw calc(var(--mod) * 2.5);
}
.sub {
  font-size: 17px; line-height: 1.55; color: var(--ink-soft);
  max-width: 54ch; margin: 0 auto calc(var(--mod) * 1.4);
}
.hero .menubar-mock { max-width: 640px; margin: 0 auto; }
.hero-cta { display: flex; gap: 10px; justify-content: center; margin: calc(var(--mod) * 1.4) 0 var(--mod); }
.hero-proof {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 0;
  border-top: 1px solid var(--rule); padding-top: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
}
.hero-proof b { color: var(--ink); font-weight: 600; }

/* ---------- the menu bar mock ---------- */
.menubar-mock {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  background: #22303f; border-radius: 6px;
  padding: 0 12px; height: calc(var(--mod) * 1.75); color: #fff; font-size: 13px;
  overflow: visible; min-width: 0;
}
.menubar-mock.big { height: calc(var(--mod) * 2); font-size: 14px; }
.mb-apps { display: flex; gap: 12px; align-items: center; min-width: 0; overflow: hidden; }
.mb-dim { width: 13px; height: 13px; border-radius: 3px; background: #fff; opacity: .8; flex-shrink: 0; }
.mb-appname { font-weight: 600; }
.mb-menu { opacity: .6; }
.mb-right { display: flex; gap: 12px; align-items: center; min-width: 0; }
.mb-icon { opacity: .65; font-family: var(--mono); font-size: 11px; white-space: nowrap; flex-shrink: 0; }
.mb-ad {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  background: #0b1220; color: #fff;
  border: 1px solid var(--brand, #3c4a5c);
  border-radius: 999px;               /* radius is reserved for live status */
  padding: 3px 4px 3px 9px; min-width: 0; flex: 0 1 auto; overflow: hidden;
}
.mb-adtext {
  white-space: nowrap; overflow: hidden; min-width: 0; color: #fff; font-size: 12.5px;
  mask-image: linear-gradient(to right, #000 calc(100% - 10px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 10px), transparent 100%);
}
.mb-cta {
  flex-shrink: 0; background: var(--brand, var(--blue-bright)); color: #fff;
  font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .02em;
  border-radius: 999px; padding: 3px 8px; white-space: nowrap;
}
.mb-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #34d058; flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 14px; font-weight: 600;
  padding: 11px 18px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-bright); border-color: var(--blue-bright); }
.btn.ghost { border-color: var(--rule-strong); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.big-btn { width: 100%; padding: 14px; font-size: 15px; margin-top: 14px; }
.small-btn { padding: 7px 12px; font-size: 12px !important; }
.btn:disabled { opacity: .4; cursor: default; }

label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 0; }
input, textarea, select {
  width: 100%; margin-top: 6px; padding: 10px 12px;
  font-family: var(--display); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 0;
}
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
input[type="color"] { padding: 3px; height: 40px; cursor: pointer; }

/* ---------- live ledger strip ---------- */
.live-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  margin-top: calc(var(--mod) * 1.5); border-top: 1px solid var(--ink);
}
.live-stats .stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 26px; border-right: 1px solid var(--rule);
}
.live-stats .stat:last-child { border-right: none; }
.live-stats .stat b {
  font-family: var(--mono); font-size: 21px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--gold);
}
.live-stats .stat span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 3px;
}

/* ---------- launch form ---------- */
.launch-form, .launch-preview, .hero-copy, .menubar-mock, .mb-apps { min-width: 0; }
.launch-form {
  border: 1px solid var(--rule); padding: calc(var(--mod) * 1.1); background: var(--paper);
  max-width: 620px; text-align: left;
}
.launch-form h3 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom: 1px solid var(--rule); padding-bottom: 7px;
  margin: var(--mod) 0 4px;
}
.launch-form h3:first-child { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3col { display: grid; grid-template-columns: 1fr 1fr .75fr; gap: 12px; align-items: end; }
.input-prefix { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.input-prefix input { margin-top: 0; font-family: var(--mono); }
.est-line {
  margin-top: 18px; padding: 12px 14px; background: var(--blue-wash);
  border-left: 2px solid var(--blue);
}
.est-line b { font-family: var(--mono); font-size: 17px; font-weight: 600; }

.launch-preview { max-width: 520px; margin-bottom: calc(var(--mod) * 1.25); }
.preview-pop { border: 1px solid var(--rule); padding: 14px; margin-top: 12px; text-align: left; }
.pop-head { margin-bottom: 6px; }
.sponsored {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .16em; color: var(--ink-soft);
}

/* ---------- get the app ---------- */
.get-app { border: 1px solid var(--rule); padding: calc(var(--mod) * 1.1); max-width: 520px; }
.waitlist-copy { margin: 0 0 12px; font-size: 14px; }
.waitlist-row { display: flex; gap: 10px; }
.waitlist-row input { flex: 1; min-width: 0; margin-top: 0; }
.waitlist-row .btn { flex-shrink: 0; }
/* ---------- FAQ ---------- */
.faq { max-width: 720px; text-align: left; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; gap: 14px; align-items: baseline; cursor: pointer; list-style: none;
  padding: 15px 0; font-size: 15px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--mono); color: var(--ink-soft); }
.faq details[open] summary::after { content: "–"; }
.faq details > :last-child { margin-bottom: 18px; }
.faq p, .faq li { color: var(--ink-soft); font-size: 14px; }
.faq ol { margin: 10px 0 0; padding-left: 20px; }
.faq li { margin-bottom: 7px; }
.faq b { color: var(--ink); font-weight: 600; }

.success-card { border: 1px solid var(--rule); padding: calc(var(--mod) * 1.5); text-align: center; margin-top: var(--mod); }
.success-icon {
  width: 40px; height: 40px; margin: 0 auto 12px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold); font-size: 18px;
}
.card { border: 1px solid var(--rule); padding: calc(var(--mod) * .9); }

.footer {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  padding: calc(var(--mod) * 1.5) 5vw; border-top: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft);
}
.hidden { display: none !important; }

/* ---------- narrow ---------- */
@media (max-width: 700px) {
  .topbar { height: auto; flex-wrap: wrap; gap: 10px 16px; padding: 12px 5vw; }
  .topbar nav { margin-left: 0; width: 100%; gap: 16px; flex-wrap: wrap; }
  .grid2, .grid3col { grid-template-columns: 1fr; }
  .hero-cta { flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 100%; }
  .waitlist-row { flex-wrap: wrap; }
  .waitlist-row .btn { width: 100%; }
  .mb-apps .mb-menu { display: none; }
  .mb-right > .mb-icon:not(:last-child) { display: none; }
  .live-stats .stat { border-right: none; padding: 12px 16px; }
}
