/* Dandelion website. Follows Dandelion Brand System v2.0 ("Modern Editorial with
   Botanical Accents") and docs/design-system.md: forest framing, warm cream
   surfaces, gold Radiant Bloom, Fraunces headings, Inter UI. Gold is for the
   bloom and small accents only; primary actions are forest. */
:root {
  --forest: #073C2B;
  --deep-forest: #052F23;
  --cream: #FAF4E8;
  --gold: #D5A02D;
  --sage: #A7B694;
  --ochre: #F4E3BC;

  --bg: #FAF4E8;
  --surface: #FFFCF5;
  --ink: #17372C;
  --heading: #073C2B;
  --muted: #536A5E;
  --line: #E6DCC8;
  --accent: #073C2B;
  --accent-ink: #FAF4E8;
  --soft: #DDE4D2;
  --warm-ink: #7A5A12;
  --danger-ink: #A2402B;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06261C;
    --surface: #0C3326;
    --ink: #FAF4E8;
    --heading: #FAF4E8;
    --muted: #B9C4B6;
    --line: #1F4A3A;
    --accent: #D5A02D;
    --accent-ink: #052F23;
    --soft: #1F4A3A;
    --warm-ink: #E2BE6A;
    --danger-ink: #F0A08C;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; color: var(--heading); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Lockup: Radiant Bloom + wordmark + descriptor ---------- */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); }
.lockup img { width: 44px; height: 44px; }
.lockup .word { display: block; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: -0.01em; }
.lockup .desc { display: block; font-family: var(--sans); font-weight: 600; font-size: 10.5px; letter-spacing: 0.32em; margin-top: 5px; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans); text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
}
.btn:hover { filter: brightness(1.12); }
.btn-outline { background: transparent; color: var(--heading); border: 1.5px solid var(--heading); }

/* ---------- Header + hero (cream, like the brand board) ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.nav .btn { min-height: 42px; padding: 10px 18px; font-size: 15px; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 48px 0 96px; position: relative; }
.hero h1 { font-size: clamp(36px, 3.8vw, 50px); font-weight: 600; line-height: 1.12; }
.hero h1 span { display: block; }
@media (min-width: 901px) { .hero h1 span { white-space: nowrap; } }
.hero .lede { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 32em; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .note { font-size: 14px; color: var(--muted); }
.hero .sprig { position: absolute; left: -34px; bottom: 28px; width: 120px; opacity: 0.9; pointer-events: none; }

/* ---------- Phone: the Today screen from the brand concept ---------- */
.phone {
  justify-self: center; width: 320px; max-width: 100%;
  border-radius: 44px; padding: 10px; background: #0B1F18;
  box-shadow: 0 40px 70px -20px rgba(7, 60, 43, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
  font-family: var(--sans);
}
.screen { border-radius: 35px; overflow: hidden; background: #FAF4E8; color: #17372C; font-size: 13px; }
.s-head { background: #073C2B; color: #FAF4E8; padding: 14px 16px 18px; position: relative; overflow: hidden; }
.s-status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; margin-bottom: 12px; padding: 0 4px; }
.s-brand { display: flex; align-items: center; gap: 8px; }
.s-brand img { width: 26px; height: 26px; }
.s-brand b { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.s-brand svg.bell { margin-left: auto; width: 20px; height: 20px; }
.s-greet { font-family: var(--serif); font-size: 21px; line-height: 1.2; margin-top: 14px; position: relative; z-index: 1; }
.s-date { font-size: 10px; letter-spacing: 0.14em; color: #C5D0C0; margin-top: 4px; position: relative; z-index: 1; }
.s-head .leaves { position: absolute; right: -6px; bottom: -8px; width: 104px; }
.s-body { padding: 12px; display: grid; gap: 10px; }
.s-attn { display: flex; gap: 10px; align-items: center; background: #F4E3BC; color: #5C4410; border-radius: 14px; padding: 11px 12px; }
.s-attn svg { width: 22px; height: 22px; flex: none; color: #B07D17; }
.s-attn b { display: block; color: #052F23; font-size: 13.5px; }
.s-attn small { font-size: 11.5px; }
.s-attn .chev { margin-left: auto; color: #052F23; }
.s-card { background: #FFFCF5; border: 1px solid #EDE4D2; border-radius: 14px; padding: 12px 14px; }
.s-card-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.s-card-top b { font-family: var(--serif); font-size: 18px; font-weight: 600; color: #073C2B; }
.s-card-top small { font-size: 11px; color: #536A5E; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 10px 44px 1fr; gap: 8px; align-items: center; padding: 4px 0; position: relative; }
.tl li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #073C2B; }
.tl li:nth-child(even)::before { background: #D5A02D; }
.tl time { text-align: right; font-variant-numeric: tabular-nums; }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-tile { border-radius: 14px; padding: 10px 12px; font-size: 11.5px; line-height: 1.35; }
.s-tile b { display: block; font-size: 12.5px; color: #052F23; margin-bottom: 4px; }
.s-tile.warm { background: #F4E3BC; }
.s-tile.sage { background: #E3E8D8; }
.s-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #EDE4D2; background: #FFFCF5; padding: 8px 4px 12px; text-align: center; font-size: 9.5px; color: #536A5E; }
.s-tabs span { display: grid; justify-items: center; gap: 2px; }
.s-tabs svg { width: 18px; height: 18px; }
.s-tabs .on { color: #073C2B; font-weight: 700; }
.s-tabs .on svg { background: #DDE4D2; border-radius: 8px; padding: 2px; width: 26px; height: 22px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.kicker { font: 600 11px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--warm-ink); margin-bottom: 16px; }

/* Moments: before/after pairs */
.moments { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.moment-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.moment { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; }
.moment .before { font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--heading); }
.moment .before q { font-style: italic; }
.moment .after { color: var(--muted); padding-left: 16px; border-left: 3px solid var(--gold); }

/* Outcome band (forest framing) */
.outcome { background: var(--forest); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.outcome h2 { color: var(--cream); font-size: clamp(32px, 4.6vw, 52px); }
.outcome h2 em { color: var(--gold); font-weight: 500; }
.outcome .mark { width: 64px; margin: 0 auto 24px; }
.outcome p { max-width: 640px; margin: 20px auto 0; color: #C5D0C0; font-size: 18px; }
.inside { list-style: none; padding: 0; margin: 32px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 720px; }
.inside li { border: 1px solid rgba(250, 244, 232, 0.25); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* Waitlist */
.waitlist { text-align: center; }
.waitlist .section-head { margin: 0 auto 32px; }
form.join {
  max-width: 560px; margin: 0 auto; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: grid; gap: 16px;
}
label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=email], input[type=text] {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 16px var(--sans);
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.choices { display: flex; gap: 8px; }
.choice { flex: 1; position: relative; margin: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 600; font-size: 15px;
}
.choice input:checked + span { border-color: var(--accent); background: var(--soft); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
form.join .btn { width: 100%; }
form.join .btn[disabled] { opacity: 0.6; cursor: wait; }
.fine { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { font-weight: 600; min-height: 1.2em; }
.status.err { color: var(--danger-ink); }
.thanks { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; }
.thanks img { width: 56px; margin: 0 auto 12px; }
.thanks h3 { font-size: 26px; margin-bottom: 8px; }
.thanks p { color: var(--muted); }

/* Footer */
footer { background: var(--deep-forest); color: #C5D0C0; padding: 44px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
footer .lockup { color: var(--cream); }
footer .lockup img { width: 36px; height: 36px; }
footer .lockup .word { font-size: 22px; }
footer .lockup .desc { font-size: 9px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--cream); text-decoration: none; }
footer nav a:hover { text-decoration: underline; }

/* Legal pages */
.legal { padding: 40px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.legal .summary ul { margin: 8px 0 0; }
.legal-nav { border-bottom: 1px solid var(--line); }

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 24px; }
  .hero .sprig { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .moment-list { grid-template-columns: 1fr; }
  .moment { padding: 22px; }
  .moment .before { font-size: 20px; }
  .two { grid-template-columns: 1fr; }
  .hero .lede { font-size: 17px; }
  form.join { padding: 20px; }
  .lockup img { width: 36px; height: 36px; }
  .lockup .word { font-size: 23px; }
  .lockup .desc { font-size: 9px; letter-spacing: 0.26em; }
  .nav .btn { padding: 8px 14px; font-size: 14px; min-height: 40px; }
}
