:root {
  --bg: #f7f1e8;
  --card: #fffaf2;
  --ink: #2b2118;
  --muted: #6b5b4b;
  --accent: #c2562f;
  --gold: #e0a03a;
  --btn: #8f3b1f;
  --line: rgba(43, 33, 24, .14);
  --shadow: 0 1px 2px rgba(0, 0, 0, .06);
  --lift: 0 8px 24px rgba(0, 0, 0, .08);
  --radius: 12px;
  --font: Inter, "Segoe UI", sans-serif;
  --display: Fraunces, Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:hover { color: var(--btn); }
.top, .foot, .sheet { width: min(1120px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.top nav, .foot nav { display: flex; gap: 16px; }
.top a, .foot a { text-decoration: none; }
.brand {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}
.sheet { padding-bottom: 64px; }
.open { padding-top: 16px; }
.kicker {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
}
h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
}
.deck { margin: 0 0 16px; max-width: 70ch; color: var(--muted); }
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 480px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}
.cover, .loader {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.cover { background: var(--bg); }
.cover img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.play {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn);
  color: var(--card);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.play:hover { background: #732f18; }
.play.slim { position: static; width: auto; min-width: 160px; }
.pin {
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--card);
  transform: rotate(-45deg);
  box-shadow: inset 0 0 0 4px var(--gold);
}
.loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
  text-align: center;
}
.loader p { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.2; }
.stage[data-gf-state="loading"] .loader { display: flex; }
.stage[data-gf-state="loading"] .cover,
.stage[data-gf-state="playing"] .cover { display: none; }
.route {
  position: relative;
  width: min(280px, 70%);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 12px, transparent 12px 20px);
  animation: march .8s linear infinite;
}
.pin-move {
  position: absolute;
  top: -16px;
  left: 0;
  animation: walk 1.6s ease-in-out infinite;
}
@keyframes march { to { background-position: 20px 0; } }
@keyframes walk { to { left: calc(100% - 14px); } }
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0 48px;
}
.act {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--btn);
  background: var(--btn);
  color: var(--card);
  font-weight: 600;
  cursor: pointer;
}
.act:hover { background: #732f18; }
.act.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.act.ghost:hover { border-color: var(--accent); color: var(--accent); }
[data-gf-like][aria-pressed="true"],
[data-gf-like][data-gf-liked] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.tally { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.share-msg { margin: 0; font-size: 14px; color: var(--muted); }
.prose { max-width: 70ch; }
.prose h2, .faq h2, .talk h2 {
  margin: 48px 0 16px;
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .faq p, .talk p { margin: 0 0 16px; }
.prose ol, .prose ul { margin: 0 0 16px; padding: 0; list-style: none; }
.prose ol { counter-reset: step; }
.prose ol li {
  position: relative;
  margin: 0 0 16px;
  padding-left: 48px;
}
.prose ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: -4px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
  color: var(--accent);
}
.prose ul { border-top: 1px solid var(--line); }
.prose ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.faq h3 {
  margin: 24px 0 8px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
  font-size: 18px;
  line-height: 1.2;
}
.talk { max-width: 70ch; margin-top: 48px; }
[data-gf-comments][data-gf-empty]::before {
  content: "No notes yet. Which pin took you farthest?";
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
}
.talk form {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.talk label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.talk input, .talk textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.talk textarea { min-height: 96px; resize: vertical; }
.note {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.note header { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 14px; color: var(--muted); }
.note header strong { color: var(--ink); font-size: 16px; }
.note[data-gf-owner] { background: var(--card); border-radius: var(--radius); padding: 16px; }
.owner { color: var(--accent); font-weight: 600; }
.reply { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-weight: 600; }
.replies { margin-left: 16px; }
.foot {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot .brand { display: inline-block; margin-bottom: 12px; }
.legal { padding-top: 32px; }
@media (max-width: 640px) {
  h1 { font-size: 32px; }
  .prose h2, .faq h2, .talk h2 { font-size: 28px; }
  .top, .foot, .sheet { width: min(1120px, calc(100% - 32px)); }
  .stage { aspect-ratio: 3 / 4; min-height: 0; }
  .play, .act { width: 100%; }
  .actions { flex-direction: column; align-items: stretch; }
  .play.slim { width: 100%; }
}


.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 56px;
}
.facts p {
  margin: 0;
  padding: 16px 18px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.facts b {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}
.facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.about, .steps, .rules, .tiers, .faq { margin: 0 0 56px; }
.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}
.about h2, .steps h2, .rules h2, .tiers h2, .faq h2, .talk h2 { margin-top: 0; }
.lede {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.3;
}
.about-card {
  padding: 20px 22px 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.steps ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 64px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
}
.rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.rule-grid article { margin: 0; padding-top: 4px; border-top: 1px solid var(--line); }
.rule-grid h3 {
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
}
.rule-grid p { margin: 0 0 8px; }
.tiers { margin: 0 0 56px; }
.scale { max-width: 720px; margin: 0 0 20px; padding: 0; list-style: none; }
.tier-note {
  padding: 20px 22px 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
}
.scale li {
  display: grid;
  grid-template-columns: 76px 1fr;
  grid-template-rows: auto auto;
  gap: 6px 12px;
  align-items: center;
  margin: 0 0 16px;
}
.km {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}
.tier { grid-column: 2; grid-row: 1; }
.bar {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
}
.scale li:nth-child(1) .bar { width: 22%; }
.scale li:nth-child(2) .bar { width: 40%; }
.scale li:nth-child(3) .bar { width: 58%; background: #c4843a; }
.scale li:nth-child(4) .bar { width: 76%; background: var(--accent); }
.scale li:nth-child(5) .bar { width: 100%; background: var(--btn); }
.scale li:nth-child(6) .bar { width: 10%; background: var(--muted); }
.tier b { font-family: var(--display); }
.tier-note p { margin: 0 0 14px; }
.qgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.qgrid article {
  margin: 0;
  padding: 18px 18px 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.qgrid h3 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
}
.talk { max-width: none; }
.talk form { max-width: 720px; }
.note {
  margin: 0 0 12px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 800px) {
  .facts, .about, .steps ol, .rule-grid, .qgrid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .lede { font-size: 24px; }
}


.about h2, .steps h2, .rules h2, .tiers h2 {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}
.steps li::before { color: var(--ink); }
@media (max-width: 640px) {
  .about h2, .steps h2, .rules h2, .tiers h2 { font-size: 28px; }
  .facts b { font-size: 28px; }
}


.top nav { flex-wrap: wrap; }
.practice { margin: 0 0 56px; }
.practice h2 {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 16px;
}
.practice p { margin: 0 0 16px; max-width: 70ch; }
.more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 0 56px;
}
.more a { font-weight: 600; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px 48px; margin: 8px 0 16px; }
.foot-cols nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-cols p { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .practice h2 { font-size: 28px; }
}
