:root {
  --bg: #17140f;
  --bg-raised: #211d17;
  --line: #3a342b;
  --text: #f3ece0;
  --muted: #b5aa98;
  --blue: #5c84ff;
  --blue-strong: #7a9bff;
  --blue-ink: #0b1a33;
  --logo: #0000ff;
  --paper: #f3ece0;
  --radius: 14px;
  --wrap: 1080px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4eee3;
    --bg-raised: #fbf7ef;
    --line: #ded4c2;
    --text: #1d1a15;
    --muted: #6b6253;
    --blue: #0047ff;
    --blue-strong: #0036c4;
    --logo: #0000ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--blue); }
a:hover { color: var(--blue-strong); }
img { max-width: 100%; }

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

.display {
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: block; line-height: 0; }
.logo-mark {
  display: block; height: 38px; aspect-ratio: 727 / 370;
  background: var(--logo);
  -webkit-mask: url(/img/logo.svg) no-repeat center / contain;
  mask: url(/img/logo.svg) no-repeat center / contain;
}
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(44px, 7vw, 80px); margin: 0 0 22px; }
.hero h1 em { color: var(--blue); font-style: inherit; }
.hero p.lede { font-size: 20px; color: var(--muted); max-width: 30em; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 16px;
}
.badge-soon svg { width: 20px; height: 20px; fill: currentColor; }
.cta-note { color: var(--muted); font-size: 15px; }

/* Hero screenshot */
.phone-shot {
  justify-self: center;
  width: 290px;
  border: 9px solid #2b261f; border-radius: 46px; overflow: hidden;
  background: #f7f1e7;
  box-shadow: 0 30px 70px rgba(0,0,0,0.38);
}
.phone-shot img { display: block; width: 100%; height: auto; }

/* Live overlay on the real Today screen (units are screenshot pixels at 1290 wide) */
.screen { position: relative; container-type: inline-size; }
.ov {
  --u: calc(100cqw / 1290);
  position: absolute; background: #fdfaf4; color: #6b6255;
  font-family: -apple-system, "SF Pro Text", system-ui, "Inter", sans-serif;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-align: center;
}
.ov-rate {
  left: calc(var(--u) * 200); width: calc(var(--u) * 890);
  top: calc(var(--u) * 842); height: calc(var(--u) * 128);
  line-height: calc(var(--u) * 128); font-size: calc(var(--u) * 84); font-weight: 600;
  color: #26221c; letter-spacing: -0.01em;
}
.ov-rate small { font-size: calc(var(--u) * 46); font-weight: 500; color: #6b6255; margin-left: calc(var(--u) * 6); }
.ov-left {
  left: calc(var(--u) * 150); width: calc(var(--u) * 990);
  top: calc(var(--u) * 1027); height: calc(var(--u) * 66);
  line-height: calc(var(--u) * 66); font-size: calc(var(--u) * 45);
}
.ov-bar {
  left: calc(var(--u) * 80); width: calc(var(--u) * 1115);
  top: calc(var(--u) * 1338); height: calc(var(--u) * 58); background: #f7f1e7;
}
.ov-bar .track {
  position: absolute; left: calc(var(--u) * 17); right: calc(var(--u) * 20);
  top: calc(var(--u) * 23); height: calc(var(--u) * 12);
  border-radius: 99px; background: #e4dccb;
}
.ov-bar .dot {
  --p: 0;
  position: absolute; top: calc(var(--u) * 11); width: calc(var(--u) * 36); height: calc(var(--u) * 36);
  left: calc(var(--u) * 17 + var(--p) * var(--u) * 1042);
  border-radius: 50%; background: #4f7942; transition: left 1s linear;
}
.ov-task {
  left: calc(var(--u) * 1000); width: calc(var(--u) * 172);
  top: calc(var(--u) * 1600); height: calc(var(--u) * 50);
  line-height: calc(var(--u) * 50); font-size: calc(var(--u) * 45);
  text-align: right; color: #3b352d;
}
@media (prefers-reduced-motion: reduce) { .ov-bar .dot { transition: none; } }

/* Screenshot row */
.shots { padding-bottom: 72px; }
.shot-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start;
}
.shot { margin: 0; }
.shot figcaption { color: var(--muted); font-size: 15px; line-height: 1.5; min-height: 4.5em; margin-bottom: 14px; }
.shot figcaption strong { color: var(--text); font-weight: 600; display: block; }
.shot img {
  display: block; width: 100%; height: auto;
  border-radius: 22px; border: 1px solid var(--line);
  background: #f7f1e7;
}

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 12px; }
section .sub { color: var(--muted); max-width: 36em; margin: 0 0 36px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.promise h3 { font-size: 22px; margin: 0 0 8px; color: var(--text); }
.promise p { margin: 0; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.plan.pro { border-color: var(--blue); }
.plan h3 { font-size: 28px; margin: 0 0 4px; }
.plan .price { font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.plan .price small { color: var(--muted); font-weight: 400; font-size: 15px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plan li { margin: 6px 0; }
.fee-note {
  margin-top: 18px; padding: 18px 22px; border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); font-size: 15.5px;
}
.fee-note strong { color: var(--text); }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue); border: 1px solid var(--blue);
  border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px;
}

.maker p { max-width: 40em; font-size: 19px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Prose pages */
.prose { padding: 56px 0 72px; }
.prose .wrap { max-width: 760px; }
.prose h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 10px; }
.prose .meta { color: var(--muted); margin: 0 0 36px; }
.prose h2 {
  font-family: "Instrument Sans", sans-serif; font-weight: 600;
  font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 10px;
}
.prose h3 { font-size: 17px; margin: 26px 0 6px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .callout {
  background: var(--bg-raised); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 18px 22px; margin: 0 0 8px;
}
.prose .callout p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 10px 0; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

details {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin: 10px 0;
}
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
details p, details ol, details ul { color: var(--muted); margin: 8px 0 0; }

.big-email {
  display: inline-block; font-size: 22px; font-weight: 700; margin: 6px 0 4px;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone-shot { width: 260px; }
  .shot-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin: 0 -20px; padding-left: 20px; padding-right: 20px; scroll-padding-left: 20px;
  }
  .shot { scroll-snap-align: start; }
  .features, .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 40px; }
  .features, .promises, .plans { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  section { padding: 48px 0; }
}
