/* Whippersnapper waitlist page */
:root {
  --night: #0e1729;
  --navy: #14213a;
  --ink: #1b2219;
  --ink-2: #4a5246;
  --paper: #f6f3ea;
  --paper-2: #ece7da;
  --card: #fffdf8;
  --line: #ddd6c6;
  --green: #2d4a2b;
  --green-2: #3f6a3b;
  --blaze: #c2410c;       /* white text on this is 5.2:1 */
  --blaze-dark: #9a3412;
  --amber: #f4a259;
  --eink: #ecebe4;
  --radius: 14px;
  --serif: Rockwell, "Rockwell Nova", "Roboto Slab", "Courier New", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --shadow: 0 1px 2px rgba(20, 25, 15, .06), 0 8px 28px rgba(20, 25, 15, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--green-2); }
q { quotes: "\201C" "\201D"; }
:focus-visible { outline: 3px solid var(--focus, #9a3412); outline-offset: 3px; border-radius: 4px; }
.nav, .hero, .story, .turn, .join, .footer, .mobile-cta { --focus: #f4a259; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.kicker { font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blaze); margin-bottom: 1.1em; }
.kicker-light { color: var(--amber); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-lead { color: var(--ink-2); font-size: 1.1rem; }
@media (hover: none) { .chart-help { display: none; } }
.fineprint { font-size: .82rem; color: var(--ink-2); margin-top: 18px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px;
  background: var(--blaze); color: #fff; font: 700 1rem/1 var(--sans); text-decoration: none;
  cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 6px 18px rgba(194, 65, 12, .32);
}
.btn:hover { background: var(--blaze-dark); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { white-space: nowrap; min-height: 40px; padding: 0 16px; font-size: .92rem; box-shadow: none; }
.btn-lg { min-height: 56px; font-size: 1.08rem; width: 100%; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(14, 23, 41, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 1.2rem/1 var(--serif); text-decoration: none; }
.brand-mark { width: 44px; height: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn-sm { margin-left: auto; } }

/* Sky backgrounds */
.hero, .join { color: #fff; overflow: hidden; }
.sky { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 45% at 72% 88%, rgba(255, 190, 110, .55), transparent 70%),
    linear-gradient(180deg, #0e1729 0%, #1f2b4d 34%, #5a4566 58%, #c96a45 80%, #f2a65e 100%);
}
.sky-dusk { background:
    radial-gradient(ellipse 55% 40% at 25% 92%, rgba(255, 170, 90, .5), transparent 70%),
    linear-gradient(180deg, #0e1729 0%, #22305a 40%, #6b4a63 66%, #d0703f 88%, #e8935a 100%); }
.sky.has-art { background-size: cover; background-position: center bottom; }
.sun-disc { position: absolute; left: 72%; bottom: 13%; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%;
  background: radial-gradient(circle, #ffe2a8 0%, #ffc46e 45%, rgba(255,180,90,0) 72%); filter: blur(1px);
  animation: rise 6s ease-out both; }
@keyframes rise { from { transform: translateY(70px); opacity: .3; } to { transform: none; opacity: 1; } }
.treeline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 22%; min-height: 90px; fill: #0b120c; }

/* Hero */
.hero { min-height: min(100svh, 820px); display: flex; align-items: center; padding: 120px 0 130px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; width: 100%; }
.eyebrow { font: 700 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.2em; }
.hero h1 span { color: var(--amber); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 34em; }
.no-list { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 24px 0 28px; }
.no-list li { padding: 6px 12px 6px 30px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .9rem; position: relative; background: rgba(255,255,255,.06); }
.no-list li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 2px; background: var(--amber); transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 0 0 transparent; }
.no-list li::after { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 2px; background: var(--amber); transform: translateY(-50%) rotate(-45deg); }
@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-device { max-width: 360px; }
}

/* Forms */
.join-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.join-form input[type=email] {
  flex: 1 1 240px; min-height: 52px; padding: 0 16px; border-radius: 10px; font: 1rem var(--sans);
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.96); color: var(--ink);
}
.join-form .btn { min-height: 52px; }
.form-note { flex-basis: 100%; margin: 4px 0 0; font-size: .86rem; color: rgba(255,255,255,.72); }
.ts-slot { flex-basis: 100%; }
.ts-slot:empty { display: none; }
.join-form.done .ts-slot { display: none; }
.form-msg { flex-basis: 100%; margin: 0; min-height: 1.4em; font-weight: 600; color: #ffd3b8; }
.form-msg.ok { color: #c9f0c2; }
.join-form.done .field, .join-form.done input, .join-form.done button, .join-form.done .form-note { display: none; }
.join-form.done .form-msg { font-size: 1.15rem; }

/* Device illustration */
.device { position: relative; background: linear-gradient(160deg, #7b7c64, #5d5e4a); border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.14); transform: rotate(-2deg); }
.device-top { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 18px 14px 16px 18px; }
.device-screen { border: 5px solid #4f503d; border-radius: 3px; }
.device-side { display: grid; justify-items: center; gap: 6px; font: 800 .62rem/1.15 var(--sans); letter-spacing: .06em; text-align: center; color: #a5a68d; text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.switch { width: 34px; height: 14px; border-radius: 3px; background: #1d1e17; position: relative; margin-bottom: 8px; }
.switch::after { content: ""; position: absolute; left: 3px; top: 2px; width: 14px; height: 10px; border-radius: 2px; background: #4a4b3e; }
.leds { display: flex; gap: 5px; margin-bottom: 8px; }
.leds i { width: 6px; height: 6px; border-radius: 50%; background: #5a2a22; }
.leds i + i { background: #66d16a; box-shadow: 0 0 8px #66d16a; animation: blink 3s infinite; }
.knob { position: absolute; right: -9px; top: 40%; width: 10px; height: 26px; border-radius: 0 3px 3px 0; background: repeating-linear-gradient(#2c2d24 0 2px, #17180f 2px 4px); }
.device-base { padding: 0 18px 16px; color: #a5a68d; text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.device-name { display: block; margin: 0 -18px 12px; padding: 7px 0; text-align: center; background: rgba(0,0,0,.17); font: italic 800 .85rem/1 var(--sans); letter-spacing: .14em; color: #8d8e76; }
.terms { display: flex; gap: 14px; font: 800 .8rem/1.2 var(--sans); letter-spacing: .08em; }
.terms span { display: grid; justify-items: center; }
.terms small { font-size: .8rem; letter-spacing: .5em; margin-right: -.5em; }
.slots { display: flex; gap: 10px; margin-top: 8px; }
.slots i { width: 76px; height: 16px; border-radius: 8px; background: #1d1e17; box-shadow: inset 0 2px 3px rgba(0,0,0,.6); }
@keyframes blink { 0%, 92%, 100% { opacity: 1; } 95% { opacity: .2; } }
.device-cap { text-align: center; font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 18px; }
.hero-concept { margin: 0; }
.hero-concept img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); }
.hero-concept .device-cap { color: rgba(255,255,255,.72); }

/* E-ink */
.eink { background: var(--eink); color: #111; padding: 18px 20px; min-height: 150px; font-family: "DejaVu Sans", Verdana, Geneva, sans-serif;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), inset 0 2px 8px rgba(0,0,0,.12); }
.eink-title { font-weight: 800; font-size: 1.55rem; line-height: 1.1; margin-bottom: 8px; }
.eink-body { font-weight: 700; font-size: 1rem; line-height: 1.4; }
.device-lg .eink { min-height: 190px; padding: 24px 26px; }
.device-lg .eink-title { font-size: 2rem; }
.device-lg .eink-body { font-size: 1.15rem; }
.eink.flash { animation: eflash .45s steps(2); }
@keyframes eflash { 0% { filter: invert(1); } 100% { filter: none; } }

.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: none; opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Story */
.story { background: var(--night); color: #e9e7df; }
.story h2 { color: #fff; }
.story-body p { font-size: 1.15rem; color: rgba(233,231,223,.85); }
.pull { margin: 48px 0 0; padding: 28px 0 0 28px; border-left: 4px solid var(--blaze); }
.pull p { font: 700 clamp(1.6rem, 3.4vw, 2.4rem)/1.2 var(--serif); color: #fff; margin-bottom: .4em; }
.pull cite { font-style: normal; font-size: .9rem; color: var(--amber); letter-spacing: .04em; }

/* Season chart */
.season { background: var(--paper); }
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.chart-top { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.seg { display: inline-flex; background: var(--paper-2); padding: 4px; border-radius: 10px; }
.seg-btn { min-height: 40px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; font: 600 .92rem var(--sans); color: var(--ink-2); cursor: pointer; }
.seg-btn[aria-pressed=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.key { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.key-ws { background: var(--blaze); }
.key-fixed { background: #8a8f86; }
.key-dark { height: 12px; width: 14px; background: rgba(20, 33, 58, .16); border-radius: 3px; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; touch-action: pan-y; }
.chart text { font: 12px var(--sans); fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.chart .halo { paint-order: stroke; stroke: #fffdf8; stroke-width: 4px; stroke-linejoin: round; }
.chart .lbl { font-weight: 700; fill: var(--ink); font-size: 13px; }
.tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .85rem; line-height: 1.45; box-shadow: var(--shadow); min-width: 190px; }
.tip b { display: block; margin-bottom: 2px; }
.tip .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tip .row span:first-child { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.tip .diff { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); font-weight: 600; }
.chart-summary { font-size: 1.02rem; margin: 14px 0 0; }
.chart-table { margin-top: 12px; }
.chart-table summary { cursor: pointer; font-weight: 600; color: var(--green-2); min-height: 44px; display: flex; align-items: center; }
.table-scroll { overflow-x: auto; }
.chart-table table { border-collapse: collapse; width: 100%; font-size: .88rem; font-variant-numeric: tabular-nums; }
.chart-table th, .chart-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }

/* Turn */
.turn { background: var(--green); color: #eef2ea; }
.turn h2 { color: #fff; }
.turn p { font-size: 1.1rem; color: rgba(238,242,234,.88); }
.turn-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .turn-grid { grid-template-columns: 1fr; gap: 40px; } }
.feed-card { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.feed-card svg { width: 52px; height: 52px; flex: none; fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feed-card strong { display: block; font: 700 1.3rem/1.2 var(--serif); color: #fff; }
.feed-card span { font-size: .9rem; color: rgba(238,242,234,.7); }
.feeds-note { font-size: .95rem !important; margin-top: 18px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); z-index: 0; }
.steps li { position: relative; z-index: 1; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--card); border: 2px solid var(--green); color: var(--green); font: 700 1.3rem var(--serif); margin-bottom: 18px; }
.step-auto .step-n { background: var(--blaze); border-color: var(--blaze); color: #fff; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .step-n { grid-row: span 2; margin: 0; }
  .steps h3 { margin: 6px 0 4px; }
}

/* Screen demo */
.screen { background: var(--paper-2); }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "text demo" "chips demo"; column-gap: 64px; align-items: center; }
.screen-text { grid-area: text; align-self: end; }
.screen-chips { grid-area: chips; align-self: start; }
.screen-demo { grid-area: demo; }
@media (max-width: 860px) {
  .screen-grid { grid-template-columns: 1fr; grid-template-areas: "text" "demo" "chips"; row-gap: 28px; }
  .chips-label { margin-top: 0 !important; }
}
.screen p { color: var(--ink-2); font-size: 1.08rem; }
.chips-label { font-weight: 600; color: var(--ink) !important; font-size: .95rem !important; margin: 28px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #b5ab95; background: var(--card); font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--green-2); }
.chip[aria-pressed=true] { background: var(--green); border-color: var(--green); color: #fff; }
.screen-demo .device { transform: rotate(1.5deg); }
.screen-demo .device-cap { color: var(--ink-2); font-size: .95rem; }

/* Cards */
.built { background: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20,25,15,.06), 0 16px 36px rgba(20,25,15,.12); }
.card svg { width: 44px; height: 44px; margin-bottom: 18px; fill: none; stroke: var(--blaze); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--ink-2); margin: 0; }

/* Specs */
.specs-sec { padding-top: 0; background: var(--paper); }
.specs-details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.specs-details > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 22px 26px; font: 700 1.3rem var(--serif); }
.specs-details > summary::-webkit-details-marker { display: none; }
.specs-details > summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--blaze); margin-left: auto; }
.specs-details[open] > summary::after { content: "−"; }
.summary-hint { font: .85rem var(--sans); color: var(--ink-2); }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 12px 26px; border-top: 1px solid var(--line); font-size: .95rem; }
.specs th { width: 34%; font-weight: 600; }
@media (max-width: 560px) { .specs th, .specs td { display: block; width: auto; } .specs td { border-top: 0; padding-top: 0; color: var(--ink-2); } }

/* FAQ */
.faq { background: var(--paper); padding-top: 40px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 600; font-size: 1.08rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; color: var(--blaze); flex: none; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-2); padding-bottom: 12px; }

/* Meet the maker */
.maker { background: var(--paper-2); }
.maker-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; max-width: 1000px; }
.maker-photo { margin: 0; }
.maker-photo img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); transform: rotate(-1.5deg); border: 6px solid var(--card); }
.maker-copy p { color: var(--ink-2); font-size: 1.08rem; }
.maker-sign { font: 700 1.6rem/1 var(--serif); color: var(--ink) !important; margin-top: 8px; }
@media (max-width: 760px) { .maker-grid { grid-template-columns: 1fr; gap: 32px; } .maker-photo { max-width: 300px; } }

/* Final CTA */
.join { padding: clamp(96px, 12vw, 160px) 0 clamp(150px, 18vw, 220px); }
.join-inner { position: relative; z-index: 1; text-align: center; }
.join h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); }
.join-lead { font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 36em; margin: 0 auto 32px; }
.join-form-lg { margin: 0 auto; text-align: left; background: rgba(14, 23, 41, .72); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 28px; max-width: 560px; flex-direction: column; flex-wrap: nowrap; gap: 20px; }
.field { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.optional { font-weight: 400; color: rgba(255,255,255,.6); font-size: .85rem; margin-left: 6px; }
.join-form-lg input[type=email] { flex: none; width: 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); cursor: pointer; font-weight: 600; font-size: .92rem; }
.pills input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.join-form-lg .form-note { margin-top: -8px; }

/* Footer */
.footer { background: #0a110b; color: #b9c0b3; padding: 48px 0 110px; font-size: .9rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.brand-foot { font-size: 1.1rem; }
.footnav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footnav a { color: #b9c0b3; }
.legal { color: #8f978a; max-width: 760px; }
.legal a { color: #b9c0b3; }
.form-note a { color: inherit; }

/* Policy pages */
.policy { padding: 120px 0 72px; }
.policy h1 { font-size: clamp(2rem, 5vw, 3rem); }
.policy h2 { font-size: 1.3rem; margin-top: 1.8em; }
.policy .fineprint { margin-top: 2.4em; }

/* Feed-time calculator and location pages (generated by tools/build-feed-times.mjs) */
.feedtimes .fineprint { margin-top: 12px; }
.feedtimes .chart-table { margin-top: 12px; }
.today { margin-bottom: 1.1em; }
.today-date { font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.today-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; }
.today-grid div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; }
.today-grid .feed { border-color: var(--blaze); }
.today-grid dt { font-size: .82rem; color: var(--ink-2); }
.today-grid dd { margin: 2px 0 0; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.calc { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 1.4em; }
.calc .field { flex: 1 1 220px; }
.calc select { min-height: 52px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: inherit; }
.feedtimes-cta { margin-top: 2.2em; padding: 20px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.feedtimes-cta p:last-child { margin-bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta-note { color: var(--ink-2); font-size: .92rem; }
.draft-banner { background: #fde68a; color: #1b2219; font-weight: 700; padding: 10px 14px; border-radius: 8px; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { margin-bottom: 1.2em; }
.guide-list a { font-weight: 700; font-size: 1.15rem; }
.guide-list span { color: var(--ink-2); }
.loc-list { columns: 3; padding-left: 1.2em; }
.loc-list li { margin-bottom: 4px; }
@media (max-width: 640px) { .today-grid { grid-template-columns: repeat(2, 1fr); } .loc-list { columns: 2; } }

/* Mobile sticky CTA */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 14px; background: rgba(14,23,41,.95); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transform: translateY(140%); transition: transform .3s; }
.mobile-cta.show { transform: none; }
@media (max-width: 860px) { .mobile-cta { display: flex; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Placeholders: visible only in draft mode */
.ph, .ph-row, .ph-block { display: none !important; }
.draft .ph-block { display: revert !important; }
.draft .ph { display: inline-block !important; padding: 1px 8px; margin-left: 4px; border-radius: 4px; font: 600 .78rem/1.6 var(--sans); background: #fde2dd; color: #8e2a1f; outline: 1px dashed #c0392b; vertical-align: middle; }
.draft .ph::before { content: "TO DO: "; }
.draft .ph-row { display: table-row !important; }
@media (max-width: 560px) { .draft .ph-row { display: block !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Small phones */
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .nav-inner { gap: 12px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand-mark { width: 36px; height: auto; }
  .nav .btn-sm { padding: 0 12px; font-size: .85rem; }
  .device-lg .eink { padding: 18px; }
  .device-lg .eink-title { font-size: 1.6rem; }
  .device-lg .eink-body { font-size: .98rem; }
}

/* Optional photo art. To use: save the image as website/public/art/hero.jpg (and art/dusk.jpg),
   then add class="sky has-art" on that section's .sky div. The drawn sun and treeline hide. */
.hero .sky.has-art { background: linear-gradient(90deg, rgba(14,23,41,.72) 0%, rgba(14,23,41,.25) 60%, rgba(14,23,41,0) 100%), url("art/hero.jpg") center bottom / cover; }
.join .sky.has-art { background: linear-gradient(180deg, rgba(14,23,41,.55), rgba(14,23,41,.2)), url("art/dusk.jpg") center bottom / cover; }
.sky.has-art .sun-disc, .sky.has-art .treeline { display: none; }
@media (max-width: 700px) {
  .hero .sky.has-art { background-position: 0 0, 18% bottom; }   /* keep the deer in view on phones */
  .join .sky.has-art { background-position: 0 0, 22% bottom; }   /* keep the sunset glow in view */
}
