/* Golden Mountain Campground and Park website.
   Owner and developer: Kevin, Golden Mountain Campground and Park. Copyright (c) 2026 Kevin. All rights reserved. */
:root {
  --pine: #1f5a3c;
  --pine-deep: #102b1c;
  --leaf: #8fd16a;
  --leaf-ink: #2d6a3a;
  --mist: #e4f2da;
  --snow: #f6f8f4;
  --paper: #ffffff;
  --text: #17211b;
  --muted: #52605a;
  --line: #d6ddd7;
  --danger: #b3261e;
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --mist: #213a2a; --snow: #121a16; --paper: #1a2520; --text: #eef2ee; --muted: #a9b5ae; --line: #2c3b34; --leaf-ink: #a9dd86; --danger: #ffb4a9;
  }
}
:root[data-theme="dark"] {
  --mist: #213a2a; --snow: #121a16; --paper: #1a2520; --text: #eef2ee; --muted: #a9b5ae; --line: #2c3b34; --leaf-ink: #a9dd86; --danger: #ffb4a9;
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 70px); scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--snow); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
a { color: inherit; }
:focus-visible { outline: 3px solid #3f9b5a; outline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Buttons */
.btn { display: inline-block; background: var(--leaf); color: #0f2a17; font-weight: 600; text-decoration: none; padding: 13px 24px; border-radius: 12px; border: 0; font-family: var(--body); font-size: 17px; cursor: pointer; min-height: 48px; }
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.btn.dark { background: var(--pine-deep); color: #fff; }

/* Header */
.topstrip { background: #0a1c12; color: #cfe0d8; font-size: 14px; }
.topstrip .wrap { max-width: 1320px; display: flex; justify-content: flex-end; padding-top: 5px; padding-bottom: 5px; }
.topstrip a { color: #cfe0d8; text-underline-offset: 3px; min-height: 24px; display: inline-flex; align-items: center; }
.topstrip a:hover { color: #fff; }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--pine-deep); color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { font-family: var(--display); font-weight: 900; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; }
.bar nav { display: flex; gap: 20px; align-items: center; font-size: 16px; }
.bar nav a { text-decoration: none; opacity: .88; }
.bar nav a:hover { opacity: 1; }
.bar .btn { padding: 8px 16px; font-size: 15px; min-height: 40px; opacity: 1; }
.bar .btn, .bar nav a { white-space: nowrap; }
.nav-short { display: none; }
.bar .wrap { max-width: 1480px; gap: 24px; }
@media (min-width: 701px) { .brand { white-space: nowrap; } }
@media (max-width: 1420px) { .nav-long { display: none; } .nav-short { display: inline; } }
.nav-toggle-input { display: none; }
.nav-burger { display: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); background: transparent; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
@media (max-width: 1240px) {
  .nav-burger { display: inline-flex; }
  .bar nav { display: none; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: var(--pine-deep, #16321f); padding: 10px 16px; gap: 2px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
  .bar nav a { padding: 12px 6px; white-space: normal; }
  .nav-toggle-input:checked ~ nav { display: flex; }
}
@media (max-width: 700px) {
  .sun { right: 5%; top: 24px; }
  .brand { font-size: 15px; line-height: 1.1; }
  .bar .wrap { gap: 10px; }
}

/* Hero */
.hero { position: relative; background: linear-gradient(#eaf5e0 0%, #c6e4b6 38%, #8fc085 70%, #4d8a63 100%); color: var(--pine-deep); overflow: hidden; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #1f5a3c; stroke-width: 1.4; opacity: .2; }
.sun { position: absolute; right: 7%; top: 44px; width: clamp(96px, 19vw, 230px); height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 clamp(8px, 1.4vw, 14px) rgba(249,252,236,.5), 0 12px 30px rgba(16,43,28,.28); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding-top: clamp(40px, 8vw, 84px); padding-bottom: clamp(70px, 12vw, 130px); }
.hero h1 { font-weight: 900; font-stretch: 112%; font-size: clamp(26px, 5.2vw, 58px); line-height: 1.02; letter-spacing: -0.025em; }
.hero-links { margin: 18px 0 0; }
.hero-link { display: inline-block; padding: 10px 18px; border-radius: 12px; border: 2px solid var(--pine-deep); color: var(--pine-deep); background: rgba(255,255,255,.55); font-weight: 600; text-decoration: none; font-size: 17px; line-height: 1.3; }
.hero-link:hover { background: rgba(255,255,255,.85); }
.hero-sub { max-width: 36ch; font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; margin: 22px 0 0; }
.treeline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(110px, 17vw, 190px); display: block; z-index: 1; }

/* Dock: quick check card overlapping the tree line, then the facts ribbon */
.dock { background: var(--pine-deep); color: #fff; display: flow-root; position: relative; z-index: 2; }
.quick-outer { position: relative; z-index: 3; margin-top: clamp(-78px, -9vw, -50px); }
.quick { background: transparent; color: #fff; border-radius: 18px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr 1.9fr auto; gap: 14px; align-items: end; box-shadow: none; }
.quick select { font-size: 16px; padding-right: 30px; text-overflow: ellipsis; }
.quick input[type=text], .quick select { background: #c9e0c6; border: 2px solid var(--pine-deep); color: var(--pine-deep); font-weight: 500; }
.quick input[type=text]::placeholder { color: rgba(16, 43, 28, .7); font-weight: 400; }
.quick .dcal { color: var(--pine-deep); }
.quick .dcal:hover { background: rgba(255, 255, 255, .5); }
.quick label { color: #fff; text-shadow: 0 1px 3px rgba(8, 26, 15, .85), 0 0 10px rgba(8, 26, 15, .55); }
.quick .link-btn, .quick-evt .link-btn { color: var(--leaf); text-shadow: 0 1px 3px rgba(8, 26, 15, .85), 0 0 10px rgba(8, 26, 15, .55); }
.quick .field { margin: 0; min-width: 0; }
@media (max-width: 860px) { .quick { grid-template-columns: 1fr 1fr; } .quick .field.wide, .quick .btn { grid-column: 1 / -1; } }
.facts { padding-top: 34px; padding-bottom: 38px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 4px 18px; border-left: 1px solid rgba(255,255,255,.22); font-size: 17px; line-height: 1.35; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 2px; }
.facts span { color: #c5d6ce; font-size: 16px; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Sections */
section { padding: 76px 0; }
h2 { font-weight: 900; font-size: clamp(32px, 5.2vw, 50px); }
.lead { color: var(--muted); max-width: 52ch; margin: 14px 0 0; }

/* Sites list */
.sites { margin-top: 36px; border-top: 3px solid var(--pine); }
.site { display: grid; grid-template-columns: 1fr auto; gap: 6px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.site h3 { font-size: 26px; font-weight: 800; }
.site p { margin: 6px 0 0; color: var(--muted); font-size: 17px; max-width: 54ch; grid-column: 1; }
.site .price { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--leaf-ink); line-height: 1; }
.site .price small { display: block; margin-top: 6px; font-family: var(--body); font-weight: 400; font-size: 15px; color: var(--muted); line-height: 1.3; }
@media (max-width: 640px) {
  .site { grid-template-columns: 1fr; }
  .site .price { grid-column: 1; grid-row: auto; text-align: left; order: 2; }
  .site .price small { display: inline; margin-left: 8px; }
}

.logo-row { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 4vw, 48px); margin-bottom: 40px; }
.logo-row img { width: clamp(88px, 25vw, 200px); height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 6px 18px rgba(16, 43, 28, .22); }

/* Speedway and trails */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.panel { border-radius: 22px; padding: 32px; color: #fff; }
.panel.track { background: var(--pine-deep); }
.panel.trail { background: var(--pine); }
.panel h3 { font-size: 30px; font-weight: 900; }
.panel p { color: #d6e4dd; margin: 12px 0 0; }
.panel h4 { font-family: var(--display); font-size: 18px; font-weight: 800; margin: 24px 0 10px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 4px 13px; font-size: 16px; }
.callout { margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: rgba(143,209,106,.16); border: 1px solid rgba(143,209,106,.5); }
.callout b { color: var(--leaf); }
.scale { display: flex; align-items: flex-end; gap: 6px; margin-top: 18px; }
.scale i { display: block; width: 26px; border-radius: 4px; background: var(--leaf); }
.scale i:nth-child(1) { height: 14px; opacity: .45; }
.scale i:nth-child(2) { height: 22px; opacity: .6; }
.scale i:nth-child(3) { height: 30px; opacity: .75; }
.scale i:nth-child(4) { height: 38px; opacity: .9; }
.scale i:nth-child(5) { height: 46px; }
.scale span { margin-left: 10px; align-self: center; color: #d6e4dd; font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.14); color: #e8f0ec; font-size: 17px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg); }
.textlink { color: #fff; font-weight: 600; text-underline-offset: 3px; display: inline-block; margin-top: 20px; }
.textlink:hover { color: var(--leaf); }
@media (max-width: 800px) { .panels { grid-template-columns: 1fr; } .panel { padding: 26px; } }

.trchart { margin-top: 20px; }
.trchart h4 { margin: 0 0 4px; }
.tr-sub { margin: 0 0 12px !important; font-size: 16px; }
.tr-legend { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; color: #e8f0ec; }
.tr-legend li { display: flex; align-items: center; gap: 7px; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex: none; }
.dot.easy, .tr-fill.easy { background: #4cc26b; }
.dot.mod, .tr-fill.mod { background: #4a90e2; }
.dot.hard, .tr-fill.hard { background: #14181a; box-shadow: inset 0 0 0 2px #e8f0ec; }
.dot.ext, .tr-fill.ext { background: #e0483c; }
.tr-list { list-style: none; margin: 8px 0 0; padding: 0; }
.tr-row { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.tr-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.tr-name { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.tr-name:hover { color: var(--leaf); }
.tr-meta { color: #d6e4dd; font-size: 15px; white-space: nowrap; }
.tr-track { position: relative; height: 12px; border-radius: 6px; margin-top: 6px; overflow: hidden; background: linear-gradient(to right, rgba(76,194,107,.30) 0 30%, rgba(74,144,226,.30) 30% 60%, rgba(10,14,12,.55) 60% 80%, rgba(224,72,60,.34) 80% 100%); }
.tr-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.tr-note { font-size: 15px !important; margin-top: 12px !important; }

.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; margin-top: 14px; display: block; text-decoration: underline; text-underline-offset: 3px; }
.trdialog { border: 0; border-radius: 22px; background: var(--pine); color: #fff; width: calc(100% - 28px); max-width: 580px; max-height: 86vh; padding: 26px 24px 22px; overflow: auto; }
.trdialog::backdrop { background: rgba(8, 26, 15, .65); }
.trdialog h3 { font-size: 24px; font-weight: 900; margin: 0 40px 6px 0; }
.trdialog p { color: #d6e4dd; margin: 0; }
.trdialog h4 { font-family: var(--display); font-size: 18px; font-weight: 800; margin: 14px 0 4px; }
.trclose { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.trclose:hover { background: rgba(255,255,255,.26); }
.trdialog .trchart { margin-top: 4px; }

/* Amenities */
.amen { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.amen li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.amen b { font-weight: 600; }
.amen span { color: var(--muted); display: block; font-size: 16px; }
@media (max-width: 640px) { .amen { grid-template-columns: 1fr; } }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Booking */
.steps { list-style: none; display: flex; gap: 10px; padding: 0; margin: 26px 0 0; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 6px; background: var(--snow); }
.steps li b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--text); font-family: var(--display); font-size: 14px; }
.steps li.done { color: var(--text); border-color: var(--leaf-ink); }
.steps li.done b { background: var(--leaf); color: #0f2a17; }
.steps li.now { color: var(--text); border-color: var(--pine); font-weight: 600; }
.steps li.now b { background: var(--pine); color: #fff; }

.book-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; margin-top: 30px; align-items: start; }
@media (max-width: 820px) { .book-grid { grid-template-columns: 1fr; gap: 28px; } }
.card { border: 1px solid var(--line); background: var(--snow); border-radius: 18px; padding: 24px; }
.card + .card { margin-top: 18px; }
.card h3 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.field { margin-bottom: 16px; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type=date], input[type=text], input[type=email], input[type=tel], select { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--text); min-height: 48px; height: 48px; }

.sitepick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
@media (max-width: 520px) { .sitepick { grid-template-columns: 1fr; } }
.pick { position: relative; display: block; margin: 0; font-weight: 400; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick-body { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--paper); }
.pick-body b { display: block; font-weight: 600; font-size: 17px; line-height: 1.25; }
.pick-body span { display: block; color: var(--muted); font-size: 16px; }
.pick input:checked + .pick-body { border-color: var(--pine); background: var(--mist); }
.pick input:focus-visible + .pick-body { outline: 3px solid #3f9b5a; outline-offset: 2px; }

.stepper { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
.stepper button { width: 48px; border: 0; background: transparent; color: var(--text); font-size: 24px; cursor: pointer; }
.stepper button:hover { background: var(--mist); }
.stepper input { width: 100%; min-width: 0; border: 0; text-align: center; font: inherit; font-weight: 600; background: transparent; color: var(--text); min-height: 48px; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.summary { background: var(--pine-deep); color: #fff; border-radius: 18px; padding: 26px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 82px); }
@media (max-width: 820px) { .summary { position: static; } }
.summary h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.summary dl { margin: 0; }
.summary .line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 17px; line-height: 1.35; }
.summary dt { color: #d6e4dd; }
.summary dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.empty { color: #c5d6ce; margin: 0 0 8px; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 0; font-family: var(--display); font-weight: 800; font-size: 32px; }
.total small { font-family: var(--body); font-weight: 400; font-size: 15px; color: #c5d6ce; text-align: right; }
.summary .btn { width: 100%; text-align: center; }

/* Checkout */
.checkout { margin-top: 36px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--snow); max-width: 680px; }
.checkout h3 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 18px; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.err { color: var(--danger); margin: 12px 0 0; min-height: 1.5em; font-size: 16px; }
textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--text); min-height: 200px; resize: vertical; }
.confirm .actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.confirm .small { color: var(--muted); font-size: 16px; margin: 14px 0 0; }


/* Check-in demo */
.demo-note { margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: var(--mist); border: 1px solid var(--leaf-ink); font-size: 16px; max-width: 720px; }
.tabs { display: flex; flex-wrap: wrap; max-width: 100%; width: fit-content; margin-top: 26px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--paper); gap: 4px; }
.tabs button { border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 16px; padding: 9px 20px; border-radius: 999px; cursor: pointer; min-height: 44px; }
@media (max-width: 520px) { .tabs { border-radius: 22px; } .tabs button { padding: 9px 14px; font-size: 15px; } }
.tabs button[aria-selected="true"] { background: var(--pine); color: #fff; }
.demo-card { max-width: 720px; margin-top: 22px; }
.rider { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 12px; }
.rider .field { margin: 0; }
.rider button.x { height: 48px; width: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--text); font-size: 20px; cursor: pointer; }
@media (max-width: 560px) { .rider { grid-template-columns: 1fr 1fr; } .rider .field:first-child { grid-column: 1 / -1; } .rider button.x { grid-column: 2; justify-self: end; } }
.link-btn { background: none; border: 0; color: var(--leaf-ink); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 6px 0; min-height: 44px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.waiver-box { height: 280px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--paper); font-size: 16px; line-height: 1.55; }
.waiver-box h4 { margin: 0 0 8px; font-family: var(--display); font-size: 19px; }
.waiver-box p { margin: 0 0 10px; }
.waiver-box ul { margin: 0 0 10px; padding-left: 20px; }
.sign-row { border-top: 1px solid var(--line); padding: 14px 0; }
.sign-row:first-child { border-top: 0; }
.sign-row .who { font-weight: 600; }
.sign-row input[type=text] { margin-top: 6px; }
.tag { display: inline-block; font-size: 14px; padding: 1px 9px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); margin-left: 6px; font-weight: 400; }
.passcard { max-width: 720px; margin-top: 22px; border-radius: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; }
.passcard .info { padding: 26px; }
.passcard .site { font-family: var(--display); font-weight: 900; font-size: 54px; line-height: 1; color: var(--leaf-ink); }
.passcard h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.passcard ul { list-style: none; margin: 14px 0 0; padding: 0; font-size: 17px; }
.passcard li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.passcard .qrcol { background: #fff; padding: 22px; display: grid; place-items: center; align-content: center; gap: 10px; color: #17211b; }
.passcard .qrcol small { font-size: 14px; color: #52605a; word-break: break-all; max-width: 280px; text-align: center; }
.qrbox { width: 280px; height: 280px; display: grid; place-items: center; }
.qrbox img, .qrbox canvas { max-width: 100%; height: auto; }
@media (max-width: 760px) { .passcard { grid-template-columns: 1fr; } }
.status { border-radius: 14px; padding: 14px 18px; font-family: var(--display); font-weight: 800; font-size: 24px; }
.status.green { background: #1f7a43; color: #fff; }
.status.amber { background: #f0c35a; color: #3a2b00; }
.status.red { background: #b3261e; color: #fff; }
.result { max-width: 720px; margin-top: 18px; }
.result ul { list-style: none; margin: 14px 0 0; padding: 0; }
.result li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.result .bad { color: var(--danger); font-weight: 600; }
.codebox { width: 100%; min-height: 96px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.samples span { color: var(--muted); font-size: 16px; }
.samples button { border: 1px solid var(--line); background: var(--paper); color: var(--text); border-radius: 999px; font: inherit; font-size: 15px; padding: 6px 14px; cursor: pointer; min-height: 40px; }
video#scan-video { width: 100%; max-width: 420px; border-radius: 12px; margin-top: 12px; background: #000; }
.loglist { list-style: none; padding: 0; margin: 10px 0 0; font-size: 16px; }
.loglist li { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* Footer */


/* Account page */
.acct { display: grid; grid-template-columns: 210px 1fr; gap: 30px; margin-top: 26px; align-items: start; }
@media (max-width: 760px) { .acct { grid-template-columns: 1fr; gap: 18px; } }
.acct-nav { display: grid; gap: 4px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); }
@media (max-width: 760px) { .acct-nav { display: flex; overflow-x: auto; position: static; gap: 8px; padding-bottom: 4px; } }
.acct-nav button { text-align: left; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 17px; padding: 10px 14px; border-radius: 12px; cursor: pointer; min-height: 44px; white-space: nowrap; }
.acct-nav button:hover { background: var(--mist); }
.acct-nav button[aria-current="page"] { background: var(--pine); color: #fff; }
@media (max-width: 760px) { .acct-nav button { border: 1px solid var(--line); background: var(--paper); } .acct-nav button[aria-current="page"] { border-color: var(--pine); } }
.acct-head { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; }
.acct-head h3 { font-size: 26px; font-weight: 800; }
.acct-head p { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.acct-main > .card { max-width: 720px; }
.acct-main h4 { font-family: var(--display); font-size: 22px; margin: 0 0 6px; font-weight: 800; }
.bigsite { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 1; color: var(--leaf-ink); margin-top: 8px; }
.chip { display: inline-block; font-size: 15px; padding: 2px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--mist); font-weight: 600; margin: 8px 6px 0 0; }
.chip.ok { background: #d8f0d2; border-color: #7fbf74; color: #1c5a2a; }
.chip.warn { background: #fbe9b8; border-color: #e0b94f; color: #5a4300; }
:root[data-theme="dark"] .chip.ok { background: #1f4a2c; color: #bfe8b6; }
:root[data-theme="dark"] .chip.warn { background: #4a3a10; color: #f3d98a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.ok { background: #1f4a2c; color: #bfe8b6; } :root:not([data-theme="light"]) .chip.warn { background: #4a3a10; color: #f3d98a; } }
.todo { list-style: none; margin: 8px 0 0; padding: 0; }
.todo li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.todo li:first-child { border-top: 0; }
.todo .mark { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; border: 2px solid var(--line); }
.todo .mark.done { background: var(--leaf); border-color: var(--leaf); color: #0f2a17; }
.todo .txt { flex: 1; min-width: 160px; }
.todo .txt small { display: block; color: var(--muted); font-size: 15px; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.list-item:first-child { border-top: 0; }
.list-item .meta { color: var(--muted); font-size: 16px; }
.list-item b { font-weight: 600; }
.mini-btn { border: 1px solid var(--line); background: var(--paper); color: var(--text); border-radius: 10px; font: inherit; font-size: 15px; padding: 6px 12px; cursor: pointer; min-height: 40px; }
.formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .formrow { grid-template-columns: 1fr; } }
.ok-msg { color: var(--leaf-ink); font-weight: 600; margin: 10px 0 0; min-height: 1.4em; }
.danger { border-color: var(--danger) !important; }
.btn.warn-btn { background: var(--danger); color: #fff; }


/* Typeable dates */
.dfield { position: relative; }
.dfield input.dvis { padding-right: 52px; }
.dfield input[aria-invalid="true"] { border-color: var(--danger); }
.dcal { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.dcal:hover { background: var(--mist); color: var(--text); }
.dcal svg { width: 22px; height: 22px; }
.dnative { position: absolute !important; right: 8px; bottom: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
@media (max-width: 520px) { .dfield input.dvis { font-size: 15px; padding-left: 10px; padding-right: 38px; } .dcal { width: 34px; right: 3px; } }
@media (max-width: 340px) { .dfield input.dvis { font-size: 13px; padding-left: 6px; padding-right: 26px; } .dcal { width: 24px; } .dcal svg { width: 16px; height: 16px; } .row { gap: 8px; } }
@media (max-width: 380px) { .dfield input.dvis { font-size: 14px; padding-left: 8px; padding-right: 30px; } .dcal { width: 28px; right: 2px; } .dcal svg { width: 18px; height: 18px; } .card { padding: 16px; } .wed-main .card, .demo-card { padding: 16px; } }
.dhint { display: none; color: var(--danger); font-size: 15px; margin-top: 4px; }
.dhint.show { display: block; }


.calpop { position: absolute; top: calc(100% + 6px); left: 0; width: 320px; max-width: 92vw; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(8, 26, 15, .28); padding: 14px; z-index: 60; }
.calhead { display: grid; grid-template-columns: 42px 1fr 94px 42px; gap: 6px; align-items: center; }
.calhead button { height: 44px; border: 1px solid var(--line); background: var(--snow); color: var(--text); border-radius: 10px; font-size: 20px; cursor: pointer; }
.calhead select { width: 100%; min-height: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--snow); color: var(--text); font: inherit; font-size: 16px; font-weight: 600; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: 10px; }
.calgrid .dow { font-size: 13px; color: var(--muted); text-align: center; padding: 4px 0; }
.calgrid button { height: 40px; border: 0; background: transparent; border-radius: 10px; font: inherit; font-size: 16px; cursor: pointer; color: var(--text); padding: 0; }
.calgrid button:hover:not(:disabled) { background: var(--mist); }
.calgrid button.today { box-shadow: inset 0 0 0 2px var(--leaf-ink); }
.calgrid button[aria-pressed="true"] { background: var(--pine); color: #fff; }
.calgrid button:disabled { opacity: .3; cursor: not-allowed; }
.calfoot { display: flex; justify-content: space-between; margin-top: 10px; }
.calfoot button { border: 0; background: none; color: var(--leaf-ink); font: inherit; font-weight: 600; cursor: pointer; padding: 8px 4px; min-height: 40px; }
.calhint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.pick.off { opacity: .45; }
.pick.off input { cursor: not-allowed; }
.evmsg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); font-size: 16px; }
.evmsg.block { border-color: var(--danger); }
.co-note { color: #d6e4dd; font-size: 16px; margin: 10px 0 0; min-height: 1.4em; }
.evdata { margin-top: 28px; max-width: 720px; }
.evdata summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.evdata pre { overflow: auto; max-height: 340px; font-size: 13px; line-height: 1.45; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 0 0; }

.evcal { max-width: 860px; margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 18px; }
.evcal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.evcal-head h3 { font-size: 24px; font-weight: 800; }
.evcal-head button { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--snow); color: var(--text); border-radius: 12px; font-size: 24px; cursor: pointer; }
.evcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.evcal-grid .dow { text-align: center; font-size: 14px; color: var(--muted); padding: 4px 0; }
.evcal-cell { min-height: 78px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 5px; background: var(--snow); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.evcal-cell.blank { border-color: transparent; background: transparent; }
.evcal-cell.today { box-shadow: inset 0 0 0 2px var(--leaf-ink); }
.evcal-cell .dn { font-size: 14px; color: var(--muted); }
.cal-chip { border: 0; border-radius: 6px; padding: 3px 6px; font: inherit; font-size: 13px; font-weight: 600; text-align: left; color: #fff; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 24px; }
.cal-chip.speedway { background: var(--pine-deep); }
.cal-chip.offroad { background: var(--pine); }
.cal-chip.campground { background: var(--leaf-ink); }
.cal-chip:disabled { opacity: .45; cursor: default; }
@media (max-width: 640px) {
  .evcal { padding: 12px; }
  .evcal-cell { min-height: 46px; padding: 3px; }
  .cal-chip { font-size: 0; min-height: 8px; height: 8px; padding: 0; border-radius: 4px; }
}
.evcal-list { margin-top: 16px; border-top: 1px solid var(--line); }
.evitem { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.evitem b { font-weight: 600; }
.evitem .meta { color: var(--muted); font-size: 16px; }
.evitem .mini-btn { border: 1px solid var(--line); background: var(--snow); color: var(--text); border-radius: 10px; font: inherit; font-size: 15px; padding: 6px 12px; cursor: pointer; min-height: 40px; }
.ok-msg { color: var(--leaf-ink); font-weight: 600; margin: 10px 0 0; min-height: 1.4em; }

.vfilter { margin-top: 14px; }
.vf-label { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.vpills { display: flex; flex-wrap: wrap; gap: 8px; }
.vpill { position: relative; display: block; margin: 0; font-weight: 400; }
.vpill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vpill span { display: block; border: 2px solid var(--line); border-radius: 999px; padding: 6px 16px; background: var(--paper); font-weight: 600; font-size: 16px; min-height: 44px; line-height: 28px; }
.vpill input:checked + span { border-color: var(--pine); background: var(--mist); }
.vpill input:focus-visible + span { outline: 3px solid #3f9b5a; outline-offset: 2px; }

.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; max-width: 720px; margin: 0 auto; background: var(--pine-deep); color: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 12px 34px rgba(8, 26, 15, .4); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.consent p { margin: 0; flex: 1; min-width: 240px; font-size: 16px; line-height: 1.45; color: #e8f0ec; }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.consent[hidden] { display: none !important; }
.mkt-table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 6px 0 18px; }
.mkt-table th, .mkt-table td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.mkt-table th { font-weight: 600; color: var(--muted); font-size: 15px; }
.mkt-h { font-family: var(--display); font-size: 18px; font-weight: 800; margin: 14px 0 2px; }
.mkt-table td.n, .mkt-table th.n { text-align: right; padding-right: 0; padding-left: 8px; white-space: nowrap; }

.quick-evt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: flex-end; }
.quick-evt .link-btn { color: var(--leaf); min-height: 40px; padding: 0; }
.quick-evt .field { flex: 1; min-width: 240px; margin: 0; }

.logo-tab { border: 0; background: none; padding: 0; border-radius: 50%; cursor: pointer; transition: transform .15s; }
.logo-tab:hover { transform: translateY(-3px); }
.logo-tab:focus-visible { outline: 3px solid #3f9b5a; outline-offset: 5px; }
.logo-tab img { display: block; }
.logo-tab[aria-selected="true"] img { box-shadow: 0 0 0 5px var(--leaf), 0 8px 22px rgba(16, 43, 28, .3); }
.vpanels { margin-top: 34px; }
.panel.camp { background: #2d6a3a; }
.pgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; }
.pevents { border-left: 1px solid rgba(255,255,255,.22); padding-left: 28px; }
.pevents h4 { margin-top: 0; }
.pev { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.pev b { font-weight: 600; color: #fff; display: block; }
.pev .m { color: #d6e4dd; font-size: 15px; }
.pev button { border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 10px; font: inherit; font-size: 15px; padding: 6px 12px; min-height: 40px; cursor: pointer; }
.pev button:hover { background: rgba(255,255,255,.14); }
.pevents .none { color: #d6e4dd; margin: 4px 0 0; }
.pevents .btn { margin-top: 16px; }
@media (max-width: 800px) {
  .pgrid { grid-template-columns: 1fr; gap: 24px; }
  .pevents { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 20px; }
}

.flist { margin-top: 10px; }
.fitem { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.fitem b { font-weight: 600; }
.fitem .meta { color: var(--muted); font-size: 16px; }
.fitem .site-btn { border: 2px solid var(--leaf-ink); background: var(--mist); color: var(--text); border-radius: 10px; font: inherit; font-weight: 700; padding: 6px 12px; min-height: 40px; cursor: pointer; }
.sitemap { display: grid; gap: 16px; margin-top: 18px; }
.sitemap h5 { margin: 0 0 6px; font-family: var(--display); font-size: 16px; font-weight: 800; }
.cells { display: grid; gap: 4px; }
.cell { width: 100%; aspect-ratio: 1; min-width: 26px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line); background: var(--snow); color: var(--muted); font-size: 12px; padding: 0; font-family: inherit; }
.cell.has { background: var(--leaf); border-color: var(--leaf); color: #0f2a17; font-weight: 700; cursor: pointer; }
.cell.active { background: var(--pine); border-color: var(--pine); color: #fff; outline: 3px solid var(--leaf); outline-offset: 1px; }
.sample-note { color: var(--muted); font-size: 15px; margin: 14px 0 0; }

.wed-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; margin-top: 26px; align-items: start; }
@media (max-width: 860px) { .wed-grid { grid-template-columns: 1fr; gap: 22px; } }
.wed-main .steps { margin-top: 0; margin-bottom: 14px; }
.wed-main .card + .card { margin-top: 0; }
.wed-side { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 82px); }
@media (max-width: 860px) { .wed-side { position: static; } }
.wed-how { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 10px; font-size: 17px; }
.wed-list { list-style: none; margin: 8px 0 0; padding: 0; }
.wed-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.wed-list li:last-child { border-bottom: 0; }
.wed-list span { display: block; color: var(--muted); font-size: 16px; }
.chk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 520px) { .chk-grid { grid-template-columns: 1fr; } }
.check small { color: var(--muted); font-size: 15px; }
.avail { margin-top: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 16px; }
.avail.ok { background: #d8f0d2; border-color: #7fbf74; color: #1c5a2a; }
.avail.warn { background: #fbe9b8; border-color: #e0b94f; color: #5a4300; }
.avail.bad { background: #fadbd6; border-color: #d98a80; color: #7a1d14; }
:root[data-theme="dark"] .avail.ok { background: #1f4a2c; color: #bfe8b6; }
:root[data-theme="dark"] .avail.warn { background: #4a3a10; color: #f3d98a; }
:root[data-theme="dark"] .avail.bad { background: #4a1f1a; color: #f2b6ae; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .avail.ok { background: #1f4a2c; color: #bfe8b6; } :root:not([data-theme="light"]) .avail.warn { background: #4a3a10; color: #f3d98a; } :root:not([data-theme="light"]) .avail.bad { background: #4a1f1a; color: #f2b6ae; } }
.avail div + div { margin-top: 6px; }
.wsum dl { margin: 0; }
.wsum .l { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.wsum dt { color: var(--muted); }
.wsum dd { margin: 0; font-weight: 600; text-align: right; }
.inbox-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.inbox-item:last-child { border-bottom: 0; }
.inbox-item .meta { color: var(--muted); font-size: 16px; }

.dir-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 26px; align-items: start; }
@media (max-width: 800px) { .dir-grid { grid-template-columns: 1fr; } }
.dir-grid .card { margin: 0; }
.dir-tips { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 17px; color: var(--muted); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

.hint.turn { margin: 4px 0 14px; font-size: 16px; }
.turn-sum { color: #d6e4dd; font-size: 16px; margin: 10px 0 0; min-height: 1.3em; }

.waiver-box { max-height: 260px; overflow-y: auto; border: 2px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 0 0 14px; background: var(--mist); font-size: 16px; }
.waiver-box:focus { outline: 3px solid var(--forest, #1f3d2f); outline-offset: 2px; }
.pass-qr { display: inline-block; padding: 8px; background: #fff; border-radius: 12px; min-width: 216px; min-height: 216px; }
.pass-qr img, .pass-qr canvas { display: block; }

/* Closing band and footer */
.band { background: var(--pine); color: #fff; padding: 56px 0; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 4.4vw, 40px); }
footer { background: var(--pine-deep); color: #cfe0d8; padding: 48px 0 56px; font-size: 16px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
footer p { margin: 0 0 6px; }
@media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* separate pages */
h1.page-title { font-weight: 900; font-size: clamp(32px, 5.2vw, 50px); }
.venture-page .vlogo img { height: 84px; width: auto; display: block; margin: 0 0 18px; }
.venture-page .vpanels { margin-top: 28px; }
main > section:first-child:not(.alt), main > section.venture-page { padding-top: 48px; }
