/* OnTheDay landing · built on the brand tokens (brand/BRAND_BOOK.html is law).
   Token block mirrors brand/tokens.css; regenerate together, never edit one. */

:root {
  --bg-canvas: #F1F3EF;
  --surface-raised: #F9FAF8;
  --surface-sunken: #E8EBE6;
  --border-subtle: #D7DAD5;
  --text-primary: #1C1F1A;
  --text-muted: #696F66;
  --accent-go: #409A5E;
  --accent-go-text: #297C47;
  --state-late: #B34D44;
  --focus-ring: #297C47;
  --radius-control: 8px;
  --radius-card: 12px;
  --motion-press: 120ms;
  --motion-hover: 160ms;
  --motion-enter: 200ms;
  --ease-out: cubic-bezier(.165,.84,.44,1);
}
[data-theme="dark"] {
  --bg-canvas: #0F120D;
  --surface-raised: #171B16;
  --surface-raised-2: #1F231D;
  --surface-raised-3: #282B26;
  --surface-sunken: #0B0D0A;
  --border-subtle: #30342E;
  --text-primary: #E6E9E5;
  --text-muted: #878C85;
  --accent-go: #277041;
  --accent-go-text: #559969;
  --state-late: #CB7168;
  --focus-ring: #559969;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-canvas: #0F120D;
    --surface-raised: #171B16;
    --surface-raised-2: #1F231D;
    --surface-raised-3: #282B26;
    --surface-sunken: #0B0D0A;
    --border-subtle: #30342E;
    --text-primary: #E6E9E5;
    --text-muted: #878C85;
    --accent-go: #277041;
    --accent-go-text: #559969;
    --state-late: #CB7168;
    --focus-ring: #559969;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root { --motion-press: 0ms; --motion-hover: 0ms; --motion-enter: 0ms; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-go-text); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.mut { color: var(--text-muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
header.site { padding-block: 26px; }
header.site .lockup {
  display: inline-block; width: 176px; height: 21px;
  background: currentColor; color: var(--text-primary);
  -webkit-mask: url(assets/otd-lockup-horizontal.svg) left center / contain no-repeat;
  mask: url(assets/otd-lockup-horizontal.svg) left center / contain no-repeat;
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 8vh, 96px) 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -.02em;
  max-width: 14ch;
}
.hero .sub { font-size: 17px; max-width: 52ch; margin: 0 0 26px; color: var(--text-muted); }
.sig { margin-top: 22px; font-weight: 800; font-variation-settings: "wdth" 118; font-size: 17px; letter-spacing: -.01em; }
.sig .go { color: var(--accent-go-text); }

/* hero photograph (Unsplash stand-in until licensed work lands) */
.heroshot { margin: 0; }
.heroshot img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-card);
}
.heroshot figcaption { margin-top: 8px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 900px) { .heroshot img { aspect-ratio: 16 / 10; } }

/* photo stand-in (labelled; licensed photography replaces it before launch) */
.standin {
  border-radius: var(--radius-card);
  background: var(--surface-sunken);
  border: 1px dashed var(--border-subtle);
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; gap: 6px;
}
.standin .tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.standin .brief { font-size: 12.5px; color: var(--text-muted); max-width: 34ch; }
@media (max-width: 900px) { .standin { aspect-ratio: 16 / 9; } }

/* ---------- waitlist form ---------- */
.wl { max-width: 460px; }
.wl .row { display: flex; gap: 10px; }
@media (max-width: 520px) { .wl .row { flex-direction: column; } }
.wl input[type="email"] {
  flex: 1; font: inherit; font-size: 15px;
  padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-control);
  background: var(--surface-raised);
  color: var(--text-primary);
}
.wl input[type="email"]::placeholder { color: var(--text-muted); }
.btn {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  border: 0; min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-control);
  background: var(--text-primary); color: var(--bg-canvas);
  transition: transform var(--motion-press) var(--ease-out), opacity var(--motion-hover) var(--ease-out);
}
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: default; }
.wl .consent { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; font-size: 12.5px; color: var(--text-muted); max-width: 46ch; }
.wl .consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent-go-text); }
.wl .status { margin-top: 12px; font-size: 14px; min-height: 22px; }
.wl .status.ok { color: var(--accent-go-text); font-weight: 600; }
.wl .status.err { color: var(--state-late); }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- sections ---------- */
section.fold { padding-block: clamp(48px, 9vh, 96px); border-top: 1px solid var(--border-subtle); }
.kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px; }
h2 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; font-variation-settings: "wdth" 112; letter-spacing: -.015em; line-height: 1.12; max-width: 24ch; }
.fold p { max-width: 58ch; }
.lead { font-size: 16.5px; }

/* benefits: asymmetric alternating rows, never equal cards */
.ben { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 34px 0; }
.ben + .ben { border-top: 1px solid var(--border-subtle); }
.ben:nth-child(even) .ben-media { order: -1; }
@media (max-width: 860px) {
  .ben { grid-template-columns: 1fr; gap: 22px; }
  .ben:nth-child(even) .ben-media { order: 0; }
}
.ben h3 { margin: 0 0 10px; font-size: 21px; font-weight: 650; letter-spacing: -.01em; }
.ben p { margin: 0; color: var(--text-muted); font-size: 15px; }
.ben-media { display: flex; justify-content: center; }

/* phone mockup (dark by force: the 6 AM screen on paper) */
.phone {
  width: 220px; height: 448px; border-radius: 32px; position: relative; overflow: hidden;
  border: 3px solid var(--border-subtle); background: var(--bg-canvas); color: var(--text-primary);
  box-shadow: 0 18px 44px rgba(20, 24, 18, .16);
  flex: 0 0 auto;
}
.phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 62px; height: 17px; border-radius: 10px; background: rgba(0,0,0,.5); z-index: 5; }
.lrow { display: flex; gap: 10px; padding: 9px 6px; align-items: center; font-size: 12px; border-radius: 9px; }
.lrow .t { font-variant-numeric: tabular-nums; width: 40px; font-weight: 650; font-size: 11px; }
.lrow.now { background: var(--surface-raised); font-weight: 600; font-size: 12.5px; }
.lrow.dim { color: var(--text-muted); }
.lrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-go-text); flex: 0 0 auto; }
.lrow .live { margin-left: auto; font-size: 9px; color: var(--accent-go-text); font-weight: 650; letter-spacing: .07em; }
.pushcard {
  background: var(--surface-raised); border: 1px solid var(--border-subtle);
  border-radius: 13px; padding: 12px 14px;
}
.pushcard .app { display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.ico { display: inline-block; width: 26px; height: 26px; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* founder */
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } }
.founder .standin { aspect-ratio: 1; max-width: 200px; }
blockquote { margin: 0; font-size: 18px; line-height: 1.5; max-width: 52ch; font-weight: 500; }
blockquote footer { margin-top: 12px; font-size: 13px; color: var(--text-muted); font-weight: 400; }

/* early access */
.early { text-align: left; }
.early .big { font-size: clamp(24px, 3vw, 32px); font-weight: 700; font-variation-settings: "wdth" 112; letter-spacing: -.015em; margin: 0 0 8px; }

/* footer */
footer.site { border-top: 1px solid var(--border-subtle); padding-block: 30px 44px; font-size: 13px; color: var(--text-muted); }
footer.site .cols { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer.site .mark { width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url(assets/otd-mark-mono.svg) center / contain no-repeat;
  mask: url(assets/otd-mark-mono.svg) center / contain no-repeat; }
footer.site a { color: var(--text-muted); }

/* ---------- load choreography: hero only, fades under reduced motion ---------- */
.rv { opacity: 0; transform: translateY(8px); animation: rv var(--motion-enter) var(--ease-out) forwards; }
.rv:nth-child(1) { animation-delay: 0ms; } .rv:nth-child(2) { animation-delay: 40ms; }
.rv:nth-child(3) { animation-delay: 80ms; } .rv:nth-child(4) { animation-delay: 120ms; }
.rv:nth-child(5) { animation-delay: 160ms; }
@keyframes rv { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rv { transform: none; animation: rvf 1ms linear forwards; }
  @keyframes rvf { to { opacity: 1; } }
}

/* privacy page */
.doc { padding-block: 40px 80px; }
.doc h1 { font-size: 30px; max-width: none; }
.doc h2 { font-size: 19px; margin-top: 28px; }
.doc p { max-width: 68ch; }
