@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

/* Sparse tokens (sparse/lib/ui/theme.dart): Ink by default, Paper for light preference. */
:root {
  --ground: #0B0B0A; --sheet: #161614; --line: #2A2926; --text: #ECE8DF;
  --soft: #C9C3B6; --muted: #9A958A; --accent: #E0913A; --on-accent: #0B0B0A;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ground: #F3F0E8; --sheet: #FFFDF7; --line: #D6D1C5; --text: #1A1917;
    --soft: #3A3833; --muted: #5E5A52; --accent: #B5651D; --on-accent: #FFFDF7;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--text); }
body { font: 400 17px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--text); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 24px 0; flex-wrap: wrap; }
.brand { font: 300 26px/1 Fraunces, Georgia, serif; text-decoration: none; }
.bar nav { display: flex; gap: 20px; font-size: 15px; }
.bar nav a { color: var(--soft); text-decoration: none; }

h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 80px); }
h2 { font-size: clamp(32px, 5vw, 48px); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 48px 0 72px; align-items: center; }
@media (min-width: 860px) { .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.lede { font-size: 19px; color: var(--soft); max-width: 34em; margin: 24px 0 0; }
.day-line { position: relative; height: 11px; max-width: 360px; margin-top: 28px; }
.day-line::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line); }
.day-line i { position: absolute; left: 0; top: 5px; height: 1px; background: var(--muted); }
.day-line b { position: absolute; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 26px; text-decoration: none; font-weight: 500; border: 1px solid var(--line); }
.btn.primary { background: var(--text); color: var(--ground); border-color: var(--text); }
.btn.primary:hover { color: var(--ground); opacity: 0.9; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

.phone { border: 1px solid var(--line); border-radius: 36px; overflow: hidden; max-width: 320px; margin: 0 auto; background: #0B0B0A; }

.video { position: relative; aspect-ratio: 9 / 16; max-width: 320px; margin: 0 auto; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #0B0B0A; }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video button span { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.video button:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

section { padding: 64px 0; border-top: 1px solid var(--line); }
.problem ul { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .problem ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.problem li { color: var(--soft); }
.problem strong { color: var(--text); font-weight: 500; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .feature.flip .shot { order: -1; } }
.feature p { color: var(--soft); }
.shot { margin: 0; }

.faq dl { margin: 32px 0 0; display: grid; gap: 24px; }
.faq dt { font-weight: 500; }
.faq dd { margin: 6px 0 0; color: var(--soft); }

.close { text-align: center; }
.close .actions { justify-content: center; }

.doc { max-width: 720px; padding: 32px 0 64px; }
.doc h1 { font-size: clamp(40px, 7vw, 60px); }
.doc h2 { font-size: 26px; margin-top: 40px; }
.doc p, .doc li { color: var(--soft); }
.meta { color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: opacity .15s, color .15s; }
}
