/* Steady On website. Colours and type from docs/brand (colours.css, README.md). */

@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --paper: #F5F3EE;
  --sand: #E8E3D8;
  --slate: #1B2430;
  --slate-muted: #5A6470;
  --green: #2F6B5A;
  --sage: #DCE8E2;
  --clay: #B8763E;
  --terracotta: #A8492F;

  --bg: var(--paper);
  --surface: var(--sand);
  --text: var(--slate);
  --text-muted: var(--slate-muted);
  --primary: var(--green);
  --on-primary: var(--paper);
  --soft: var(--sage);
  --error: var(--terracotta);
  --line: var(--sand);
  --band-bg: var(--slate);
  --band-text: var(--paper);
  --field-border: var(--slate-muted);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B2430;
    --surface: #253041;
    --text: #F5F3EE;
    --text-muted: #A9B1BA;
    --primary: #6FAE96;
    --on-primary: #1B2430;
    --soft: #253041;
    --error: #E08A6E;
    --line: #253041;
    --band-bg: #253041;
    --band-text: #F5F3EE;
    --field-border: #A9B1BA;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 16px; z-index: 10; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 860px; }
.measure { max-width: 760px; }
.muted { color: var(--text-muted); }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); min-height: 44px; }
.brand-name { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.brand-logo { width: 40px; height: 40px; border-radius: 9px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 600; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.site-nav a:not(.btn):hover { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 18px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { color: var(--on-primary); filter: brightness(1.08); }
.btn-secondary { border: 1.5px solid var(--text); color: var(--text); background: transparent; font-weight: 600; }
.btn-secondary:hover { color: var(--text); background: var(--surface); }
.btn-small { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
.lead { font-size: 20px; line-height: 1.6; color: var(--text-muted); max-width: 580px; }
.body-l { font-size: 19px; color: var(--text-muted); }
.body { font-size: 17px; color: var(--text-muted); }
.small { font-size: 15px; color: var(--text-muted); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 88px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-phone { flex: 1 1 320px; display: flex; justify-content: center; }
.ticks { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 16px; color: var(--text-muted); }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks svg { flex: none; }

/* Phone mock-up of the app's Today screen (always shows the app's light look) */
.phone { width: 300px; height: 612px; border-radius: 48px; border: 10px solid #1B2430; background: #F5F3EE; color: #1B2430; padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.phone p { margin: 0; }
.ph-card { background: #E8E3D8; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ph-cap { font-size: 10px; line-height: 14px; font-weight: 700; color: #5A6470; letter-spacing: 0.04em; }
.ph-title { font-size: 16px; line-height: 20px; font-weight: 700; }
.ph-strip { display: flex; gap: 4px; margin: 4px 0; }
.ph-strip span { width: 22px; height: 6px; border-radius: 9px; background: #2F6B5A; }
.ph-strip span.today { width: 32px; }
.ph-strip span.next { background: transparent; border: 1px solid #5A6470; }
.ph-btn { height: 36px; border-radius: 999px; background: #2F6B5A; color: #F5F3EE; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ph-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; font-size: 12px; font-weight: 700; }
.ph-grid span { height: 30px; border-radius: 10px; border: 1.5px solid #5A6470; background: #F5F3EE; display: flex; align-items: center; justify-content: center; }
.ph-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ph-tile { background: #E8E3D8; border-radius: 16px; padding: 12px; height: 84px; display: flex; flex-direction: column; justify-content: flex-end; }
.ph-tile b { font-size: 13px; line-height: 17px; }
.ph-tile small { font-size: 11px; color: #5A6470; }
.ph-tabs { margin-top: auto; border-top: 1px solid #E8E3D8; padding-top: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; font-size: 10px; font-weight: 700; color: #5A6470; }
.ph-tabs .on { color: #2F6B5A; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.band { background: var(--surface); }
.band .section { padding-top: 88px; padding-bottom: 88px; }
.dark-band { background: var(--band-bg); color: var(--band-text); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.cards-wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--bg); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card-outline { border: 1.5px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card-outline svg { color: var(--primary); }
.myth-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.myth-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.myth-card { flex: 1 1 380px; background: #F5F3EE; color: #1B2430; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.myth-card .body { color: #5A6470; }
.badge { align-self: flex-start; font-size: 14px; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: #1B2430; color: #F5F3EE; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }

/* Waitlist form */
.form { background: var(--bg); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 17px; font-weight: 700; margin-top: 12px; }
.form label:first-of-type { margin-top: 0; }
.form input, .form select { min-height: 52px; border-radius: 14px; border: 1.5px solid var(--field-border); background: var(--bg); color: var(--text); padding: 0 14px; font-size: 18px; font-family: inherit; width: 100%; }
.form .btn { margin-top: 20px; min-height: 56px; width: 100%; }
.form-error { font-size: 15px; font-weight: 600; color: var(--error); min-height: 0; }
.form-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { background: var(--soft); border-radius: 24px; padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
[hidden] { display: none !important; }

/* FAQ */
.faq h3 { font-size: 20px; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1.5px solid var(--line); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer-links { display: flex; gap: 24px; font-size: 16px; font-weight: 600; }
.footer-links a { min-height: 44px; display: flex; align-items: center; }

/* Privacy page */
.policy { padding-top: 32px; padding-bottom: 96px; }
.policy h1 { margin-bottom: 8px; }
.policy h2 { font-size: 24px; font-weight: 800; margin-top: 40px; margin-bottom: 8px; }
.policy p, .policy li { font-size: 17px; color: var(--text); }
.policy p + p { margin-top: 12px; }
.policy ul { padding-left: 22px; margin: 8px 0 0; }
.draft-note { background: var(--surface); border-left: 0; border: 2px solid var(--clay); border-radius: 16px; padding: 16px 20px; margin: 24px 0 8px; font-size: 16px; }
