:root {
  --bg: #e7eaee;
  --card: #f7f8fa;
  --text: #15181d;
  --muted: #545d68;
  --primary: #12803f;
  --accent: #f0a30a;
  --primary-dark: #0c6a33;
  --go: #38d27a;
  --line: #cfd5dc;
  --asphalt: #1b1f25;
  --lamp-off: #3a4049;
  --radius: 12px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, .08);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2, h1 { font-family: var(--font-head); font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -64px; padding: 8px 16px; background: var(--asphalt); color: #fff; border-radius: var(--radius); z-index: 10; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand .gf-site-icon { width: 32px; height: 32px; border-radius: var(--radius); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 16px; font-weight: 600; }
.site-nav a:hover { color: var(--text); }

/* Hero and player */
.hero { padding-top: 24px; }
.hero-title { font-size: 48px; }
.hero-sub { margin-left: 12px; font-size: 28px; color: var(--muted); }
.permit {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  margin-top: 16px; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.permit-text { display: flex; align-items: baseline; gap: 8px; font-size: 16px; }
.permit-icon { flex: none; width: 16px; height: 16px; align-self: center; fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.permit-link { font-size: 16px; font-weight: 600; white-space: nowrap; }
.permit-link::after { content: " \2197"; }

.stage {
  position: relative; margin-top: 16px; aspect-ratio: 16 / 9; width: 100%;
  background: var(--asphalt); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2);
}
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage:fullscreen, .stage[data-gf-fs="1"] { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; margin: 0; }
.cover { position: absolute; inset: 0; }
.cover-img { width: 100%; height: 100%; object-fit: cover; }
/* Dim the still and darken the empty road on the right, where the only control sits. */
.cover-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(21, 24, 29, .3) 0%, rgba(21, 24, 29, .3) 58%, rgba(21, 24, 29, .85) 76%, rgba(21, 24, 29, .92) 100%);
}
.play {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 8px 24px 8px 8px;
  background: var(--primary); color: #fff; border: 0; border-radius: var(--radius);
  font: 700 28px/1 var(--font-head); letter-spacing: .02em; cursor: pointer; box-shadow: var(--shadow-2);
}
.play:hover { background: var(--primary-dark); }
.play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Start lights: three ambers, then green */
.tree { display: inline-flex; flex-direction: column; gap: 4px; padding: 8px; background: var(--asphalt); border-radius: var(--radius); }
.tree i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp-off); }
.tree-lg { gap: 8px; padding: 12px; }
.tree-lg i { width: 16px; height: 16px; }
.play:hover .tree i, .play:focus-visible .tree i, .loader .tree i { animation: 2.4s linear infinite; }
.play:hover .tree i:nth-child(1), .play:focus-visible .tree i:nth-child(1), .loader .tree i:nth-child(1) { animation-name: lamp-1; }
.play:hover .tree i:nth-child(2), .play:focus-visible .tree i:nth-child(2), .loader .tree i:nth-child(2) { animation-name: lamp-2; }
.play:hover .tree i:nth-child(3), .play:focus-visible .tree i:nth-child(3), .loader .tree i:nth-child(3) { animation-name: lamp-3; }
.play:hover .tree i:nth-child(4), .play:focus-visible .tree i:nth-child(4), .loader .tree i:nth-child(4) { animation-name: lamp-go; }
@keyframes lamp-1 { 0%, 8% { background: var(--lamp-off); } 10%, 85% { background: var(--accent); box-shadow: 0 0 8px var(--accent); } 90%, 100% { background: var(--lamp-off); } }
@keyframes lamp-2 { 0%, 28% { background: var(--lamp-off); } 30%, 85% { background: var(--accent); box-shadow: 0 0 8px var(--accent); } 90%, 100% { background: var(--lamp-off); } }
@keyframes lamp-3 { 0%, 48% { background: var(--lamp-off); } 50%, 85% { background: var(--accent); box-shadow: 0 0 8px var(--accent); } 90%, 100% { background: var(--lamp-off); } }
@keyframes lamp-go { 0%, 68% { background: var(--lamp-off); } 70%, 85% { background: var(--go); box-shadow: 0 0 12px var(--go); } 90%, 100% { background: var(--lamp-off); } }

.loader {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 24px; background: var(--asphalt); color: #fff; text-align: center;
}
.stage[data-gf-state="loading"] .loader { display: flex; }
.loader-title { font: 700 28px/1.2 var(--font-head); letter-spacing: .02em; }
.loader-note { font-size: 16px; color: #b9c0c9; }
.exit-fs {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  min-height: 44px; padding: 8px 16px; border: 0; border-radius: var(--radius);
  background: rgba(21, 24, 29, .85); color: #fff; font: 600 16px/1 var(--font-body); cursor: pointer;
}
.exit-fs[hidden] { display: none; }

.stage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  font: 600 16px/1 var(--font-body); cursor: pointer;
}
.chip:hover { border-color: var(--text); }
.chip-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.chip-like[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip-like[aria-pressed="true"] .chip-icon { fill: currentColor; }
.chip-end { margin-left: auto; }
.share-msg { font-size: 14px; color: var(--muted); }
/* Shown only on narrow or touch screens, next to the player. */
.touch-tip { display: none; margin-top: 12px; max-width: 70ch; font-size: 16px; color: var(--muted); }
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .touch-tip { display: block; }
}

/* Content sections */
.block { margin-top: 64px; }
.block h2 { font-size: 36px; max-width: 30ch; }
.block h2::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: 12px; background: var(--accent); }
.block h3 { font-size: 18px; font-weight: 600; }
.lead { margin-top: 16px; max-width: 70ch; color: var(--muted); }

.how-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; margin-top: 32px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 24px; }
.step { position: relative; padding-left: 64px; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--asphalt); color: #fff; border-radius: var(--radius);
  font: 700 22px/1 var(--font-head);
}
.step h3 { padding-top: 8px; }
.step p { margin-top: 8px; max-width: 60ch; }
kbd {
  display: inline-block; min-width: 32px; padding: 2px 8px;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: var(--radius);
  font: 600 16px/1.4 var(--font-body); text-align: center;
}
.keys { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.keys-title { font: 700 22px/1.2 var(--font-head); }
.key-list { margin: 16px 0 0; display: grid; gap: 12px; }
.key-row { display: flex; align-items: center; gap: 16px; }
.key-row dt { margin: 0; }
.key-row dd { margin: 0; }

.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.mode { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.mode h3 { font: 700 22px/1.2 var(--font-head); letter-spacing: .01em; }
.mode p { margin-top: 8px; }

.shot { margin: 0; }
.shot img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-1); }
.shot figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.shot-wide { margin-top: 32px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.split-media { display: grid; gap: 16px; }
.split-text h3 { margin-top: 24px; }
.split-text p:not(.lead) { margin-top: 8px; }

.compare { width: 100%; margin-top: 32px; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 16px 24px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--asphalt); color: #fff; font-weight: 600; }
.compare tbody th { width: 20%; font-weight: 600; }
.compare td { width: 40%; }

/* Ad slot (one Native Banner, hidden until ad code exists) */
.ad-slot { margin-top: 64px; }
.ad-slot[hidden] { display: none; }
.ad-slot-label { margin-bottom: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ad-slot-box { min-height: 440px; }
.ad-slot-preview { display: grid; place-items: center; border: 1px dashed var(--muted); border-radius: var(--radius); color: var(--muted); font-size: 14px; }

.faq-list { margin-top: 32px; max-width: 800px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font: 700 28px/1 var(--font-head); color: var(--muted); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary h3 { font-size: 18px; }
.faq-item p { padding-bottom: 24px; max-width: 70ch; }

/* Comments */
.comment-count:empty { display: none; }
.c-form { display: grid; gap: 16px; margin-top: 32px; max-width: 800px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.c-replying { display: none; font-size: 16px; color: var(--muted); }
.c-form[data-gf-replying] .c-replying { display: block; }
.field { display: grid; gap: 8px; font-size: 16px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); font: 400 16px/1.5 var(--font-body); }
.field textarea { resize: vertical; }
.c-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn { min-height: 44px; padding: 8px 24px; border: 0; border-radius: var(--radius); background: var(--primary); color: #fff; font: 600 16px/1 var(--font-body); cursor: pointer; }
.btn:hover { background: var(--primary-dark); }
.c-msg { font-size: 14px; color: var(--muted); }
.link-btn { padding: 0; border: 0; background: none; color: var(--primary-dark); font: 600 14px/1.6 var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.c-list { max-width: 800px; margin-top: 24px; display: grid; gap: 16px; }
.c-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.c-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 16px; }
.c-head time { font-size: 14px; color: var(--muted); }
.c-owner { display: none; padding: 0 8px; border-radius: var(--radius); background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; }
[data-gf-owner] > .c-head .c-owner { display: inline-block; }
[data-gf-owner] { border-left: 3px solid var(--primary); padding-left: 16px; }
.c-to { font-size: 14px; color: var(--muted); }
.c-text { margin: 8px 0; white-space: pre-line; overflow-wrap: anywhere; }
.c-replies { margin-top: 8px; padding-left: 24px; border-left: 2px solid var(--line); }
.c-item-reply { padding: 12px 0; }
.c-item-reply:last-child { border-bottom: 0; }
.c-empty { display: none; max-width: 800px; margin-top: 16px; color: var(--muted); }
.c-list[data-gf-empty] ~ .c-empty { display: block; }
.c-list[data-gf-off] ~ .c-empty { display: none; }

/* Legal pages */
.legal { max-width: 800px; padding-top: 48px; }
.legal-title { font-size: 48px; }
.legal-date { margin-top: 12px; font-size: 14px; color: var(--muted); }
.prose { margin-top: 32px; }
.prose h2 { margin-top: 48px; font-size: 28px; }
.prose p, .prose ul { margin: 16px 0 0; max-width: 70ch; }
.prose ul { padding-left: 24px; }
.prose li + li { margin-top: 8px; }

/* Footer */
.site-footer { margin-top: 64px; padding: 48px 0 32px; background: var(--asphalt); color: #c4cad2; font-size: 16px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-brand { font: 700 22px/1.2 var(--font-head); color: #fff; }
.footer-note { margin-top: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; }
.footer-nav a { color: #fff; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { margin-top: 32px; font-size: 14px; color: #9aa3ad; }

@media (min-width: 768px) {
  .ad-slot-box { min-height: 280px; }
}

@media (max-width: 1023px) {
  .play-label-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 14px; }
  .brand-name { font-size: 18px; }
  .hero { padding-top: 24px; }
  .hero-title { font-size: 32px; }
  .hero-name, .hero-sub { display: block; }
  .hero-sub { margin: 4px 0 0; font-size: 22px; }
  .permit { padding: 16px; }
  .permit-link { white-space: normal; }
  .stage { margin-left: -16px; margin-right: -16px; width: calc(100% + 32px); border-radius: 0; }
  .play { gap: 12px; min-height: 56px; padding: 8px 16px 8px 8px; font-size: 22px; }
  .tree { padding: 6px; gap: 3px; }
  .tree i { width: 6px; height: 6px; }
  .tree-lg { gap: 6px; padding: 8px; }
  .tree-lg i { width: 10px; height: 10px; }
  .loader { gap: 8px; padding: 12px; }
  .loader-title { font-size: 22px; }
  .loader-note { font-size: 14px; }
  .chip-end { margin-left: 0; }
  .block { margin-top: 48px; }
  .block h2 { font-size: 28px; }
  .how-grid, .split, .modes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .step { padding-left: 56px; }
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { border-top: 1px solid var(--line); }
  .compare tr:first-child { border-top: 0; }
  .compare tbody th { width: auto; padding: 16px 16px 4px; border-top: 0; font-family: var(--font-head); font-size: 22px; line-height: 1.2; }
  .compare td { padding: 4px 16px 12px; border-top: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .ad-slot { margin-top: 48px; }
  .legal { padding-top: 32px; }
  .legal-title { font-size: 32px; }
  .prose h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play:hover .tree i, .play:focus-visible .tree i, .loader .tree i { animation: none; }
  .loader .tree i:nth-child(-n+3) { background: var(--accent); }
  .loader .tree i:nth-child(4) { background: var(--go); }
}
