:root {
  --paper: #FCF2E7;
  --card: #FFFFFF;
  --ink: #3B2A20;
  --muted: #8C7566;
  --rule: #EBD9C8;
  --ginger: #D9692D;
  --ginger-deep: #BF5620;
  --on-ginger: #2B1B12;
  --moss: #6E8B4E;
  --night: #241E36;
  --night-2: #2F2749;
  --night-ink: #F3EAE0;
  --night-muted: #A99EB8;
  --glow: #F2B85C;
  --mint: #9EDCC3;
  --coral: #FF8A65;
  --shadow: 0 24px 48px -28px rgba(59, 42, 32, 0.45), 0 2px 6px -2px rgba(59, 42, 32, 0.12);
  --display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  --mono: "DM Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1E1712; --card: #2A211B; --ink: #F3E9DE; --muted: #B8A192; --rule: #3A2E26;
    --ginger: #E8813F; --ginger-deep: #F0934F; --on-ginger: #1E1712; --moss: #9DB77A;
    --shadow: 0 24px 48px -28px rgba(0,0,0,0.8), 0 2px 6px -2px rgba(0,0,0,0.4);
  }
}
:root[data-theme="dark"] {
  --paper: #1E1712; --card: #2A211B; --ink: #F3E9DE; --muted: #B8A192; --rule: #3A2E26;
  --ginger: #E8813F; --ginger-deep: #F0934F; --on-ginger: #1E1712; --moss: #9DB77A;
  --shadow: 0 24px 48px -28px rgba(0,0,0,0.8), 0 2px 6px -2px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 19px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
.wrap > *, .col > * { min-width: 0; }
@media (max-width: 600px) { .bd { display: none; } }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1040px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }
.col { max-width: 680px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }
.hand { font-family: var(--hand); font-weight: 600; font-size: 28px; line-height: 1.15; color: var(--ginger); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--ginger); outline-offset: 3px; border-radius: 4px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ginger); color: var(--on-ginger);
  font-family: var(--body); font-weight: 800; font-size: 18px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(217, 105, 45, 0.9);
  transition: background 160ms ease, transform 160ms ease;
}
.btn:hover { background: var(--ginger-deep); }
.btn:active { transform: translateY(1px); }
.btn.small { font-size: 15px; padding: 10px 18px; }
.btn .amt { font-family: var(--mono); font-weight: 500; opacity: 0.9; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.bar .nav { display: flex; gap: clamp(16px, 2.5vw, 28px); }
.bar .nav a { font-size: 15px; font-weight: 700; color: var(--muted); text-decoration: none; }
.bar .nav a:hover { color: var(--ginger); }
@media (max-width: 760px) { .bar .nav { display: none; } }
#device, #night, #specs, #reserve, #faq { scroll-margin-top: 72px; }

/* hero */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .photo { margin-bottom: 20px; } }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.06; letter-spacing: -0.01em; margin: 10px 0 20px; }
.hero .lede { font-size: clamp(19px, 1.5vw, 21px); max-width: 30em; color: var(--ink); }
.hero .cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-note { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.photo { position: relative; }
.photo img { border-radius: 22px; box-shadow: var(--shadow); }
.photo .cap { position: absolute; left: 22px; bottom: -16px; background: var(--card); color: var(--ginger); padding: 6px 16px 8px; border-radius: 999px; box-shadow: var(--shadow); transform: rotate(-2deg); font-size: 26px; }
.photo .device-peek { position: absolute; right: -12px; top: -16px; width: 42%; border-radius: 14px; border: 5px solid var(--card); box-shadow: var(--shadow); transform: rotate(2.5deg); }

/* story */
.story-head { padding: clamp(24px, 5vw, 56px) 0 8px; }
.story-head h2 { font-size: clamp(32px, 4vw, 46px); }
.story-head p { margin-top: 10px; color: var(--muted); font-weight: 600; }
.scene { position: relative; padding: clamp(40px, 6vw, 72px) 0; }
.scene .col { position: relative; padding-left: calc(clamp(20px, 5vw, 44px) + 34px); }
.scene .col::before { content: ""; position: absolute; left: clamp(20px, 5vw, 44px); top: 0; bottom: 0; width: 2px; background: var(--rule); border-radius: 2px; }
.scene .col::after { content: ""; position: absolute; left: calc(clamp(20px, 5vw, 44px) - 5px); top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ginger); box-shadow: 0 0 0 4px var(--paper); }
.time { font-family: var(--body); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ginger); margin-bottom: 18px; }
.line { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.35; font-weight: 600; max-width: 20em; }
.note { margin-top: 12px; }
.scene img { border-radius: 20px; box-shadow: var(--shadow); }
.scene .pic { margin: 22px 0 6px; max-width: 560px; }
.scene .pic.sm { max-width: 460px; }

/* dusk / night / dawn */
.scene.dusk { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 22%, #5A4560 60%, var(--night) 100%); padding-bottom: clamp(56px, 8vw, 96px); }
.scene.dusk .col::before { background: linear-gradient(180deg, var(--rule), transparent); }
.scene.night { background: var(--night); color: var(--night-ink); }
.scene.night .col::before { background: rgba(255,255,255,0.10); }
.scene.night .col::after { background: var(--mint); box-shadow: 0 0 0 4px var(--night), 0 0 18px var(--mint); }
.scene.night .time { color: var(--mint); }
.scene.night .note { color: var(--glow); }
.scene.dawn { background: linear-gradient(180deg, var(--night) 0%, #4C3A56 30%, #C98B6A 62%, var(--paper) 100%); color: var(--night-ink); padding-top: clamp(56px, 8vw, 96px); }
.scene.dawn .col::before { background: linear-gradient(180deg, rgba(255,255,255,0.10), var(--rule)); }
.scene.dawn .col::after { background: var(--glow); box-shadow: 0 0 0 4px var(--night), 0 0 18px var(--glow); }
.scene.dawn .time { color: var(--glow); }
.scene.dawn .line { color: var(--ink); }
.scene.dawn .after { color: var(--ink); }

/* device view (3:12) */
.cam { position: relative; max-width: 560px; margin: 22px 0 6px; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9); }
.cam img { border-radius: 0; box-shadow: none; filter: brightness(0.5) saturate(0.55) sepia(0.25); }
.cam svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cam .ring { fill: none; stroke: var(--mint); stroke-width: 3; stroke-dasharray: 14 10; transform-box: fill-box; transform-origin: center; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.03); opacity: 1; } }
.chip { position: absolute; left: 14px; top: 14px; background: rgba(36,30,54,0.85); color: var(--night-ink); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; padding: 7px 11px; border-radius: 8px; }
.chip b { color: var(--mint); font-weight: 500; }
.chip.flag b { color: var(--coral); }

/* audio card (3:40) */
.audio { max-width: 560px; margin: 22px 0 6px; background: var(--night-2); border-radius: 20px; padding: 18px 18px 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9); }
.audio .h { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--night-muted); margin-bottom: 10px; }
.audio .h b { color: var(--coral); font-weight: 500; }
.audio svg { width: 100%; height: 90px; display: block; }
.audio .w { fill: none; stroke: var(--night-muted); stroke-width: 1.6; }
.audio .f { fill: none; stroke: var(--coral); stroke-width: 2.2; }
.audio .lab { font-family: var(--mono); font-size: 11px; fill: var(--coral); letter-spacing: 0.06em; }

/* notification (7:00) */
.toast { max-width: 460px; margin: 22px 0 6px; background: var(--card); color: var(--ink); border-radius: 18px; padding: 16px 18px 18px; box-shadow: var(--shadow); }
.toast .h { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toast .h svg { width: 22px; height: 22px; }
.toast .h span:last-child { margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; }
.toast p { font-size: 17.5px; line-height: 1.5; }
.toast p b { color: var(--ginger); font-weight: 800; }

/* founder */
.founder { padding: clamp(48px, 8vw, 96px) 0; }
.founder .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .founder .wrap { grid-template-columns: minmax(0, 1fr); } }
.founder h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.founder p { margin-top: 18px; font-size: 20px; max-width: 26em; }
.founder .sig { margin-top: 18px; font-size: 26px; }
.founder img { border-radius: 22px; box-shadow: var(--shadow); }

/* device */
.device { padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--rule); }
.device .wrap { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .device .wrap { grid-template-columns: minmax(0, 1fr); } }
.device h2 { font-size: clamp(30px, 3.6vw, 42px); }
.device ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; font-size: 19px; max-width: 26em; }
.device li { padding-left: 26px; position: relative; }
.device li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; border: 2px dashed var(--ginger); }
.device .wip { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--glow) 16%, var(--card)); font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.device .proof { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.device img { border-radius: 22px; box-shadow: var(--shadow); }

/* real-photo strip under the device shot */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.shots figcaption { margin-top: 6px; text-align: center; font-family: var(--hand); font-weight: 600; font-size: 20px; color: var(--muted); }

/* test bench */
.lab { padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--rule); }
.lab h2 { font-size: clamp(30px, 3.6vw, 42px); }
.lab p.big { margin-top: 16px; font-size: 20px; max-width: 34em; }
.screen { margin: 28px 0 0; }
.screen img { width: 100%; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.screen figcaption { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted); }
.specs { margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } }
.specs > div { border-top: 2px solid var(--rule); padding-top: 10px; }
.specs dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ginger); }
.specs dd { margin: 6px 0 0; font-size: 16.5px; line-height: 1.5; }

/* reserve */
.reserve { padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--rule); }
.reserve .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .reserve .wrap { grid-template-columns: minmax(0, 1fr); } }
.reserve h2 { font-size: clamp(30px, 3.6vw, 42px); }
.reserve p.big { margin-top: 16px; font-size: 20px; max-width: 26em; }
.ticket { background: var(--card); border-radius: 22px; padding: 26px 26px 24px; box-shadow: var(--shadow); }
.ticket .h { font-family: var(--display); font-size: 24px; margin-bottom: 14px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--rule); font-weight: 600; font-size: 16.5px; }
.row .amt { font-family: var(--mono); font-size: 18px; }
.row.total { border-bottom: 0; font-weight: 800; font-size: 18px; padding-top: 12px; }
.row.total .amt { font-size: 24px; color: var(--ginger); }
.row.total .was { font-family: var(--mono); font-size: 14px; color: var(--muted); text-decoration: line-through; margin-left: 8px; }
.ticket .promise { margin: 12px 0 18px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--moss) 14%, var(--card)); color: var(--ink); font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.ticket .btn { width: 100%; justify-content: center; }
.ticket .fine { margin-top: 12px; font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.5; }

/* faq */
.faq { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); border-top: 1px solid var(--rule); }
.faq h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 22px; }
.faq dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px clamp(24px, 4vw, 56px); }
@media (max-width: 760px) { .faq dl { grid-template-columns: 1fr; } }
.faq dt { font-weight: 800; margin-bottom: 4px; }
.faq dd { margin: 0; font-size: 17px; color: var(--ink); opacity: 0.85; }

footer { padding: 24px 0 44px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* thank-you banner */
.thanks { background: var(--card); border-bottom: 1px solid var(--rule); padding: 22px 0; }
.thanks p { max-width: 62ch; font-size: 17.5px; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 450ms ease, transform 450ms ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .cam .ring { animation: none; }
  .btn { transition: none; }
}
