/* Choppable — spruce green on a light, green-tinted ground. */
:root {
  --bg: #f5f7f5;
  --surface: #ffffff;
  --ink: #18241e;
  --ink-2: #2f4a3c;
  --muted: #5d6b63;
  --line: #dbe2dd;
  --line-soft: #e7ece8;
  --spruce: #1f6b4a;
  --spruce-dark: #164f37;
  --spruce-soft: #e3efe8;
  --night: #18241e;
  --night-2: #22302a;
  --mint: #5cc192;
  --amber-bg: #fdf3e1;
  --amber-ink: #7a4a07;
  --berry: #a12a37;
  --berry-bg: #fbe9eb;
  --display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--spruce); }
a:hover { color: var(--spruce-dark); }
:focus-visible { outline: 3px solid var(--spruce); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 720px; }
.eyebrow { font: 600 0.75rem/1.2 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--spruce); }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 12px); }
.section { padding-block: 40px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 10px; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--spruce); color: #fff; }
.btn-primary:hover { background: var(--spruce-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--spruce); border-color: var(--spruce); }
.btn-ghost:hover { background: var(--spruce-soft); }
.btn-block { width: 100%; }
.btn svg { flex: none; }

/* Header */
.site-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; font: 700 1.3rem/1 var(--display); }
.brand:hover { color: inherit; }
.head-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 20px; font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar .head-link { border: 1px solid var(--line); color: var(--ink); }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(78vh, 640px); color: #fff; background: var(--night); display: flex; flex-direction: column; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,26,19,.88) 0%, rgba(12,26,19,.45) 14%, rgba(12,26,19,.12) 30%, rgba(12,26,19,.2) 40%, rgba(12,26,19,.9) 80%, rgba(12,26,19,.96) 100%); }
@media (min-width: 760px) { .hero::after { background: linear-gradient(90deg, rgba(12,26,19,.86) 0%, rgba(12,26,19,.55) 45%, rgba(12,26,19,.05) 75%), linear-gradient(180deg, rgba(12,26,19,.6) 0%, rgba(12,26,19,0) 20%, rgba(12,26,19,0) 70%, rgba(12,26,19,.7) 100%); } .hero > img { object-position: 70% 50%; } }
.hero > * { position: relative; z-index: 1; }
.hero > img { position: absolute; z-index: 0; }
.hero::after { z-index: 0; }
.hero > .wrap { width: 100%; }
.hero .site-head { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero .head-link { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.hero .head-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-copy { margin-top: auto; padding-block: 0 72px; display: flex; flex-direction: column; gap: 12px; }
.hero-copy > * { max-width: 760px; }
.hero-copy .eyebrow { color: #a9e0c4; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.2rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero p { font-size: 1.08rem; color: #dce6e0; max-width: 58ch; }

/* Lookup card */
.lookup-band { background: linear-gradient(var(--night) 0 56px, var(--bg) 56px); }
.lookup { position: relative; z-index: 2; top: -40px; margin-bottom: -40px; background: var(--surface); border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px rgba(12,26,19,.16); display: grid; gap: 12px; max-width: 720px; }
.lookup label, .field-label { font: 600 1.15rem/1.2 var(--display); }
.lookup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lookup-row input { flex: 1 1 220px; min-width: 0; }
input[type=text], input[type=email], input[type=search], select { font: inherit; min-height: 48px; padding: 0 14px; border: 1px solid #c9d3cc; border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; }
.lookup-row .btn { flex: 0 0 auto; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.status { min-height: 1.4em; font-size: 0.88rem; color: var(--muted); }
.status[data-tone=error] { color: var(--berry); }

/* Answer card */
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.answer-head { padding: 20px; display: grid; gap: 6px; background: var(--spruce-soft); }
.answer[data-tone=soon] .answer-head { background: var(--amber-bg); }
.answer[data-tone=soon] .answer-head .eyebrow { color: var(--amber-ink); }
.answer[data-tone=no] .answer-head { background: var(--berry-bg); }
.answer[data-tone=no] .answer-head .eyebrow { color: var(--berry); }
.answer-head h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.answer-head p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-bottom: 1px solid var(--line); margin: 0; }
.facts div { padding: 14px 20px; display: grid; gap: 2px; border-right: 1px solid var(--line-soft); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: 0.8rem; color: var(--muted); }
.facts dd { margin: 0; font: 600 1.15rem/1.25 var(--display); }
.answer-actions { padding: 20px; display: grid; gap: 10px; }
.answer-actions .note { text-align: center; }
.answer-foot { padding: 0 20px 20px; font-size: 0.82rem; color: var(--muted); }

/* Cards and content */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.step-n { font: 700 1.5rem/1 var(--display); color: var(--spruce); }
.photo { border-radius: 14px; overflow: hidden; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--spruce); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 0.92rem; text-decoration: none; }
.chip:hover { border-color: var(--spruce); color: var(--spruce); }
.region h3 { font-size: 0.8rem; font-family: var(--body); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feature .photo { border-radius: 0; position: relative; min-height: 280px; }
.feature .photo img { position: absolute; inset: 0; }
.feature-body { padding: 24px; display: grid; gap: 12px; align-content: center; }
.callout { background: var(--spruce-soft); border-radius: 16px; padding: 24px; display: grid; gap: 12px; }
.maplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.maplist a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.maplist a:hover { border-color: var(--spruce); }
.maplist span:last-child { color: var(--muted); font-size: 0.85rem; flex: none; }
.notice { border-left: 0; background: var(--amber-bg); color: var(--amber-ink); border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; }

/* Remind form */
.remind { background: var(--night); color: #e6ede8; border-radius: 16px; padding: 24px; display: grid; gap: 12px; max-width: 720px; }
.remind h2 { color: #fff; font-size: 1.5rem; }
.remind p { color: #b9c7bf; }
.remind input[type=email] { background: var(--night-2); border-color: #3b4d43; color: #fff; }
.remind .consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.88rem; color: #b9c7bf; }
.remind .consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--mint); }
.remind .btn { background: var(--mint); color: #0c1a13; border: 0; }
.remind .btn:hover { background: #7fd0aa; }
.remind .done { color: #a9e0c4; font-weight: 600; }
.hp { position: absolute; left: -5000px; }

/* Promo components (rendered by src/promo/render.js) */
.promo--card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 10px; }
.promo__title { font: 600 1.1rem/1.3 var(--display); margin: 0; }
.promo__body { margin: 0; color: var(--muted); font-size: 0.92rem; }
.promo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.promo__app { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.promo__app > div:first-child { min-width: 0; flex: 1 1 200px; font-size: 0.92rem; }
.promo__app span { color: var(--muted); }
.promo__tag { font-size: 0.72rem; font-weight: 600; color: var(--amber-ink) !important; background: var(--amber-bg); padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
.promo__ctas { display: flex; gap: 6px; flex-wrap: wrap; }
.promo-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; background: var(--spruce); color: #fff; font-size: 0.86rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.promo-cta:hover { background: var(--spruce-dark); color: #fff; }
.promo-cta--waitlist { background: transparent; color: var(--spruce); border: 1px solid var(--spruce); }
.promo--strip { display: grid; gap: 6px; }
.promo-strip__line { margin: 0; }
.promo--strip a { color: var(--ink); }
.promo-strip__apps { display: flex; gap: 16px; flex-wrap: wrap; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 24px; padding-block: 28px 40px; font-size: 0.9rem; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 10px; }

/* Media kit */
.kit-hero { padding-block: 48px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; align-items: start; }
.kit-hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
.kit-hero .lede { font-size: 1.1rem; color: #3d4d44; max-width: 62ch; }
.angles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.gallery .photo { aspect-ratio: 4 / 5; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Map page */
.map-page { height: 100dvh; overflow: hidden; background: var(--bg); }
#map { position: fixed; inset: 0; background: #e8ece8; }
.map-head { position: fixed; z-index: 500; top: calc(12px + env(safe-area-inset-top, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); right: calc(64px + env(safe-area-inset-right, 0px)); display: flex; gap: 10px; align-items: center; }
.map-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(24,36,30,.2); }
.map-title { flex: 1; min-width: 0; min-height: 44px; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; border-radius: 22px; background: var(--surface); box-shadow: 0 1px 4px rgba(24,36,30,.2); line-height: 1.25; }
.map-title span { font-size: 0.75rem; color: var(--muted); }
.leaflet-top.leaflet-right { top: calc(4px + env(safe-area-inset-top, 0px)); right: env(safe-area-inset-right, 0px); }
.map-sheet { position: fixed; z-index: 500; left: 0; right: 0; bottom: 0; max-height: 62dvh; overflow-y: auto; background: var(--surface); border-radius: 18px 18px 0 0; box-shadow: 0 -2px 14px rgba(24,36,30,.14); padding: 18px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); display: grid; gap: 12px; }
@media (min-width: 760px) { .map-sheet { left: auto; right: 16px; bottom: 16px; width: 400px; border-radius: 16px; } }
.map-sheet h1 { font-size: 1.25rem; }
.map-sheet[data-tone=yes] h1 { color: var(--spruce); }
.map-sheet[data-tone=no] h1 { color: var(--berry); }
.map-sheet[data-tone=warn] h1 { color: var(--amber-ink); }
.legend { list-style: none; margin: 0; padding: 10px 0; border-block: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 6px; }
.key { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.key-district { border: 2px dashed var(--spruce); }
.key-park { background: rgba(96, 160, 90, .55); }
.key-you { width: 12px; height: 12px; border-radius: 6px; background: #2b6fd6; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #2b6fd6; }
.map-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.rules { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.rules div { display: grid; grid-template-columns: minmax(90px, 30%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.rules dt { color: var(--muted); font-size: 0.88rem; }
.rules dd { margin: 0; }

/* Guide */
.prose { display: grid; gap: 14px; }
.prose h2 { font-size: 1.6rem; margin-top: 18px; scroll-margin-top: 16px; }
.prose ul, .prose ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose nav ol { margin-top: 6px; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq details p { padding: 12px 0 16px; }

/* Delight */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.answer-head { position: relative; overflow: hidden; }
.snow { position: absolute; inset: 0; pointer-events: none; }
.snow i { position: absolute; top: -10px; width: var(--size); height: var(--size); border-radius: 50%; background: #fff; opacity: .9; box-shadow: 0 0 2px rgba(24,36,30,.25); animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--drift), 180px); opacity: 0; } }
.map-sheet .snow { position: absolute; }
.countdown { font: 600 0.95rem/1.3 var(--body); color: var(--amber-ink); background: rgba(255,255,255,.6); border-radius: 999px; padding: 4px 12px; justify-self: start; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: none; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-width: 48px; min-height: 46px; padding: 0 12px; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: var(--spruce); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--spruce); outline-offset: -3px; }
.fit-out { display: grid; gap: 6px; }
.fit-big { font: 500 1.15rem/1.4 var(--body); }
.fit-big strong { font-family: var(--display); font-size: 1.35rem; color: var(--spruce); }
.card-callout { grid-template-columns: 1fr auto; align-items: center; }
@media (max-width: 600px) { .card-callout { grid-template-columns: 1fr; } }
.card-tool { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; }
.card-preview { margin: 0; }
.card-preview canvas { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 14px; display: block; box-shadow: 0 8px 28px rgba(12,26,19,.18); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-btn:focus-within { outline: 3px solid var(--spruce); outline-offset: 2px; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 4px; }
.stats dd { order: -1; margin: 0; font: 700 2.2rem/1 var(--display); color: var(--spruce); font-variant-numeric: tabular-nums; }
.stats dt { color: var(--muted); font-size: 0.9rem; }
.season-banner { background: var(--night); color: #e6ede8; font-size: 0.92rem; padding-block: 10px; }
.season-banner a { color: #a9e0c4; }
