@font-face { font-family: "Display"; src: url("/assets/fonts/FiveOClockDisplay-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Display"; src: url("/assets/fonts/FiveOClockDisplay-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Body"; src: url("/assets/fonts/Rasa-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Body"; src: url("/assets/fonts/Rasa-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F2F5FB;
  --surface: #FFFFFF;
  --ink: #14202F;
  --muted: #5A6678;
  --line: #D9E0EC;
  --accent: #3340C4;
  --accent-ink: #FFFFFF;
  --brass: #8F630F;
  --brass-wash: #F6EBD3;
  --teal: #1E8E7A;
  --coral: #C8453B;
  --periwinkle: #4B5BD6;
  --pink: #C23469;
  --radius: 18px;
  --display: "Display", "Avenir Next", system-ui, sans-serif;
  --body: "Body", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B2B45; --surface: #243A5C; --ink: #F6F1E7; --muted: #B4BDCC; --line: #38507A;
    --accent: #8C9BFF; --accent-ink: #0F1A2C; --brass: #E0BE82; --brass-wash: rgba(224, 190, 130, 0.16);
    --teal: #3FC8AD; --coral: #FF7A6B; --periwinkle: #8C9BFF; --pink: #FF7AA8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.5 var(--body); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
section { padding: 48px 0; }
.top { padding: 20px 16px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 20px; }
h3 { font-size: 1.15rem; margin: 0 0 6px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; margin: 0 0 12px; }
.meta { color: var(--muted); font-size: 0.95rem; margin: 0; }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); background: var(--brass-wash); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }

.hero { padding-top: 24px; }
.features { display: grid; gap: 16px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--hue, var(--accent)); border-radius: var(--radius); padding: 20px; }
.feature p { margin: 0; color: var(--muted); }
.feature.stock { --hue: var(--teal); }
.feature.tonight { --hue: var(--coral); }
.feature.buy { --hue: var(--periwinkle); }
.feature.taste { --hue: var(--pink); }

.notify { margin-top: 28px; max-width: 480px; }
.notify label { display: block; font-family: var(--display); font-weight: 700; margin-bottom: 8px; }
.notify .row { display: flex; gap: 8px; }
.notify input { flex: 1; min-width: 0; padding: 14px 16px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.notify button { padding: 14px 20px; font-family: var(--display); font-weight: 700; font-size: 1rem; border: 0; border-radius: 14px; background: var(--accent); color: var(--accent-ink); cursor: pointer; min-height: 48px; }
.notify button[disabled] { opacity: 0.6; cursor: progress; }
.notify .helper { margin: 8px 0 0; font-size: 0.95rem; color: var(--muted); }
.notify-status { min-height: 1.5em; margin: 8px 0 0; font-size: 0.95rem; }
.notify-status.ok { color: #1f7a3d; }
.notify-status.err { color: #b3261e; }
@media (prefers-color-scheme: dark) { .notify-status.ok { color: #6fd18e; } .notify-status.err { color: #ff8a80; } }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 0.95rem; }
footer p { margin: 4px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

.policy { max-width: 760px; padding-top: 24px; padding-bottom: 56px; }
.policy section { margin-top: 28px; padding: 0; }
.policy h2 { font-size: 1.25rem; margin-bottom: 8px; }
.policy p { margin: 0 0 12px; }
