:root {
  --bg: #fbf8f3;
  --bg-alt: #f3ede4;
  --ink: #1d2623;
  --muted: #5b6662;
  --brand: #1f5f57;
  --brand-ink: #ffffff;
  --brand-soft: #e3efec;
  --accent: #b07a4f;
  --line: #e2d9cc;
  --card: #ffffff;
  --ok: #1f7a4a;
  --error: #b3261e;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(29, 38, 35, 0.08);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111715;
    --bg-alt: #17201d;
    --ink: #eef3f1;
    --muted: #a9b5b0;
    --brand: #5fc2b2;
    --brand-ink: #0c1412;
    --brand-soft: #1d302c;
    --accent: #d5a47a;
    --line: #2a3632;
    --card: #1a2421;
    --ok: #6fd39c;
    --error: #ff8a80;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(680px, 100% - 40px); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--brand); color: var(--brand-ink); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { left: 8px; z-index: 10; }

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }

.btn {
  display: inline-block;
  background: var(--brand); color: var(--brand-ink);
  font-weight: 650; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 30%, transparent);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px;
}
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-small { padding: 9px 16px; font-size: .9375rem; box-shadow: none; white-space: nowrap; }
.btn-block { width: 100%; margin-top: 8px; }

.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .02em; margin: 0 0 12px; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; }
.lede { font-size: 1.1875rem; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.promises { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.promises li {
  background: var(--brand-soft); color: var(--ink);
  border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9375rem;
}
.promises li::before { content: "✓ "; color: var(--brand); font-weight: 800; }
.fineprint { color: var(--muted); font-size: .875rem; margin-top: 12px; }

.phone {
  justify-self: center;
  width: 300px; aspect-ratio: 9 / 18.5;
  background: #0f1413; border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.phone-screen {
  height: 100%; border-radius: 34px; padding: 18px 18px 20px;
  background: #fbf8f3; color: #1d2623; display: flex; flex-direction: column;
}
.ps-top { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; font-weight: 600; }
.ps-backup { display: inline-flex; align-items: center; gap: 6px; background: #e3efec; color: #1f5f57; padding: 4px 8px; border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #1f7a4a; }
.ps-title { font-size: 1.25rem; font-weight: 750; margin: 20px 0 12px; }
.bristol { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.bristol span {
  aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 10px; background: #efe7dc; font-weight: 700; font-size: .875rem; color: #6b5a4a;
}
.bristol .on { background: #b07a4f; color: #fff; }
.bristol .on2 { background: #e8d6c5; color: #6b5a4a; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.chip { font-size: .75rem; background: #fff; border: 1px solid #e2d9cc; border-radius: 999px; padding: 4px 10px; }
.ps-save { background: #1f5f57; color: #fff; text-align: center; border-radius: 14px; padding: 12px; font-weight: 700; }
.ps-sub { font-weight: 700; margin: 20px 0 8px; font-size: .875rem; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 110px; align-items: end; }
.week div { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.week i { display: block; width: 100%; border-radius: 6px; background: #1f5f57; opacity: .85; }
.week i.none { height: 8px; background: repeating-linear-gradient(45deg, #b07a4f, #b07a4f 3px, transparent 3px, transparent 6px); opacity: .7; }
.week b { font-size: .6875rem; color: #5b6662; font-weight: 600; }
.ps-note { font-size: .6875rem; color: #5b6662; margin: 10px 0 0; }

.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 14px; }
.section-lede { color: var(--muted); margin: 0 0 32px; max-width: 42em; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.1875rem; }
.card p { margin: 0; color: var(--muted); }
.quote { display: block; color: var(--accent); font-style: italic; font-weight: 600; margin-bottom: 6px; }

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.features li { padding-left: 28px; position: relative; color: var(--muted); }
.features li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 4px; background: var(--brand); }
.features strong { color: var(--ink); }

.waitlist { background: var(--brand-soft); }
form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
form label { display: block; font-weight: 650; margin: 16px 0 6px; }
form label:first-child { margin-top: 0; }
.req { color: var(--muted); font-weight: 500; font-size: .875rem; }
input[type=email], input[type=text], select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 18px 0 8px; }
legend { font-weight: 650; margin-bottom: 6px; }
.radio { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 8px 0; }
.radio input { width: 18px; height: 18px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; margin: 18px 0 8px; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.beta-box { border: 1px solid var(--line, #d9d4cc); border-radius: 12px; padding: 16px 18px; }
.beta-box h3 { margin-top: 0; }
.beta-box p { margin: 8px 0; }
.soon { color: var(--muted); font-weight: 500; }
.form-status { min-height: 1.6em; margin: 12px 0 0; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.error { color: var(--error); }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 650; }
details p { color: var(--muted); margin: 10px 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9375rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }

.legal h1 { font-size: 2.2rem; margin-top: 48px; }
.legal h2 { font-size: 1.3rem; margin-top: 32px; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: 260px; }
  .cards, .features { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  form { padding: 20px; }
  .footer-row { justify-content: flex-start; }
}

/* Photo promise band (2026-10-03) */
.photos-band { background: var(--brand-soft); }
.photos-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.photos-band .section-lede { margin-bottom: 20px; }
.photo-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.photo-points li { padding-left: 28px; position: relative; color: var(--muted); }
.photo-points li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.photo-points strong { color: var(--ink); }
.promises a { color: inherit; text-decoration: none; }
.promises a:hover { text-decoration: underline; }
.photo-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pd-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.pd-label { font-weight: 700; font-size: .875rem; margin: 0 0 10px; }
.pd-note { font-size: .75rem; color: var(--muted); margin: 10px 0 0; }
.pd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pd-grid i { aspect-ratio: 1; border-radius: 4px; background: linear-gradient(135deg, #9cc3d5, #e8c99b); }
.pd-grid i:nth-child(2n) { background: linear-gradient(135deg, #b9d3a5, #6f9fb8); }
.pd-grid i:nth-child(3n) { background: linear-gradient(135deg, #f0b49e, #d9c7e8); }
.pd-blur {
  aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center;
  background: radial-gradient(circle at 45% 55%, #8a6a4f 0 18%, #cdb79f 45%, #e9e1d6 75%);
  filter: saturate(.8);
}
.pd-blur span { background: rgba(255,255,255,.85); color: #1d2623; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.pd-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .75rem; font-weight: 600; margin: 10px 0 0; }
.pd-switch { flex: none; width: 30px; height: 18px; border-radius: 999px; background: var(--brand); position: relative; }
.pd-switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
@media (max-width: 860px) {
  .photos-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Launch-day switch (app.js): classes like .btn set display, which would otherwise override hidden. */
[hidden] { display: none !important; }
