@font-face {
  font-family: "Geist Pixel";
  src: url("assets/fonts/geist-pixel.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f2df;
  --paper-light: #fff9e8;
  --ink: #183a2c;
  --quiet: #4a6251;
  --rule: #b6b9a4;
  --red-ink: #a83c25;
  --tomato: #e96d50;
  --gold: #f1cd82;
  --blue: #c5dfd8;
  --club-green: #18382c;
  --cream-line: #5b7463;
  --display: "Geist Pixel", Impact, "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(22px, 5.1vw, 78px);
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(#7a663d15 .55px, transparent .75px);
  background-size: 6px 7px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
}

h2 {
  font-size: clamp(3.25rem, 7.1vw, 6.5rem);
  letter-spacing: -.025em;
}

h3 { font-size: clamp(1.7rem, 2.9vw, 2.7rem); }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

::selection { color: var(--ink); background: var(--gold); }

.wrap {
  width: min(1320px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.symbols { position: absolute; }
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  vertical-align: middle;
}

.small-type,
.eyebrow,
.section-label {
  font: 700 .74rem/1.35 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  z-index: 3;
  inset: 8px auto auto 8px;
  padding: 10px 16px;
  background: var(--paper-light);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.masthead__inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}

.brand img { border-radius: 9px; }
.brand span {
  font: 400 1.48rem/1 var(--display);
  letter-spacing: .01em;
  text-transform: uppercase;
}

.masthead nav { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 55px); }

.masthead nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  font-size: .875rem;
  text-decoration: none;
  text-underline-offset: .28em;
  white-space: nowrap;
}

.masthead__status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}

.status-dot { width: 8px; height: 8px; background: var(--tomato); border-radius: 50%; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
  padding-block: clamp(35px, 4vw, 61px) clamp(43px, 5vw, 72px);
}

.hero__copy { position: relative; z-index: 1; min-width: 0; container-type: inline-size; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow .icon { width: 20px; height: 20px; color: var(--red-ink); }

.hero h1 {
  font-size: clamp(2rem, 16cqw, 8rem);
  line-height: .96;
  letter-spacing: -.029em;
  margin-top: .18em;
}

.hero h1 span { display: block; white-space: nowrap; }
.hero__accent { color: var(--red-ink); }

.hero__description {
  max-width: 27ch;
  margin-top: clamp(20px, 3vw, 35px);
  font-size: clamp(1.08rem, 1.83vw, 1.48rem);
  line-height: 1.44;
  color: var(--quiet);
  font-weight: 520;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 19px;
  margin-top: 26px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 17px 9px 19px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 150ms var(--ease-out), transform 130ms var(--ease-out);
}

.button:active { transform: scale(.96); }
.button--primary { background: var(--ink); color: var(--paper-light); }
.button--primary:focus-visible { outline-color: var(--ink); }
.button .icon { width: 19px; height: 19px; }
.hero__availability { color: var(--quiet); }

.hero__stage { position: relative; min-width: 0; isolation: isolate; }
.hero__map {
  position: absolute;
  z-index: -1;
  inset: 7% 0 auto;
  width: 100%;
  height: 85%;
  object-fit: fill;
}

.hero__shot { width: min(53%, 282px); margin-left: 25%; }

.shot {
  position: relative;
  display: block;
  border-radius: var(--shot-radius, 16px);
  transition: transform 150ms var(--ease-out);
}

.shot img {
  width: 100%;
  border-radius: inherit;
  outline: 1px solid #0002;
}

.shot--hero {
  padding: 5px;
  border: 1px solid #183a2c;
  border-radius: 22px;
  background: #192c21;
  box-shadow: 3px 5px 0 #153b3340, 0 15px 30px #173d3430;
}

.shot--hero img { border-radius: 16px; }

.shot__expand {
  position: absolute;
  top: 9px;
  right: -36px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid #f8f2df55;
  border-radius: 50%;
}

.shot__expand .icon { width: 17px; height: 17px; }

figcaption { display: flex; align-items: center; gap: .6em; margin-top: 13px; white-space: nowrap; }
figcaption span { color: var(--red-ink); }

.hero__stamp {
  position: absolute;
  z-index: 1;
  top: 65%;
  right: 1%;
  width: clamp(77px, 9.3vw, 130px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  border: 1px solid var(--red-ink);
  color: var(--red-ink);
  background: var(--paper-light);
  box-shadow: 2px 3px #28392c22;
  font: 400 clamp(1.05rem, 2.25vw, 2rem)/.82 var(--display);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(11deg);
  pointer-events: none;
}

.hero__stamp::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed currentColor;
  border-radius: inherit;
}

.hero__stamp .icon { width: 25%; height: auto; aspect-ratio: 1; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 28px;
}

.section-label__number {
  display: grid;
  place-items: center;
  width: 31px;
  height: 29px;
  background: var(--ink);
  color: var(--paper-light);
  border-radius: 2px;
  letter-spacing: 0;
}

.section-label__line { flex: 1; height: 1px; background: var(--rule); }
.section-label__aside { color: var(--quiet); }

.scorecard { padding-bottom: clamp(62px, 9vw, 130px); }

.scorecard__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin-block: 27px 31px;
}

.scorecard__heading p { color: var(--quiet); font-weight: 600; font-size: 1.02rem; }

.scorecard__steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0;
  margin: 0;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 3px 3px;
}

.scorecard__steps li {
  min-width: 0;
  padding: clamp(17px, 2.5vw, 35px);
  background: #fff9e87d;
}

.scorecard__steps li + li { border-left: 1px solid var(--rule); }

.scorecard__step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--red-ink);
}

.scorecard__step-top .icon { width: 25px; height: 25px; }
.scorecard__steps p { margin-top: 12px; color: var(--quiet); font-size: .98rem; line-height: 1.55; }

.dice-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px clamp(17px, 2.5vw, 35px);
  margin-top: 13px;
  border: 1px solid #c5b580;
  border-radius: 3px;
  background-color: #f4dfa7;
  background-image: repeating-linear-gradient(0deg, #72542612 0 1px, transparent 1px 22px);
}

.dice-preview__intro { min-width: 140px; }
.dice-preview__intro h3 { font-size: 2.3rem; margin-top: 3px; }

.die-button {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  transition: transform 130ms var(--ease-out);
}

.die-button:active { transform: scale(.96); }
.die-face {
  width: 48px;
  height: 48px;
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  gap: 3px;
  padding: 7px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--paper-light);
  box-shadow: 2px 3px var(--ink);
}

.die-face i { align-self: center; justify-self: center; width: 6px; height: 6px; border-radius: 50%; }

.die-face[data-face="1"] i:nth-child(5),
.die-face[data-face="2"] i:is(:nth-child(1), :nth-child(9)),
.die-face[data-face="3"] i:is(:nth-child(1), :nth-child(5), :nth-child(9)),
.die-face[data-face="4"] i:is(:nth-child(1), :nth-child(3), :nth-child(7), :nth-child(9)),
.die-face[data-face="5"] i:is(:nth-child(1), :nth-child(3), :nth-child(5), :nth-child(7), :nth-child(9)),
.die-face[data-face="6"] i:not(:nth-child(3n + 2)) { background: var(--ink); }

.dice-preview__result { display: grid; gap: 2px; font-size: .95rem; line-height: 1.4; }
.dice-preview__result span { color: #3d503c; }

.strategy {
  background-color: var(--club-green);
  background-image: radial-gradient(#f8f2df15 .6px, transparent .8px);
  background-size: 8px 9px;
  color: var(--paper-light);
  padding-block: clamp(35px, 5vw, 65px) clamp(58px, 7vw, 100px);
}

.strategy .section-label__number { color: var(--ink); background: var(--gold); }
.strategy .section-label__line { background: var(--cream-line); }
.strategy .section-label__aside { color: #bdd0bf; }

.strategy__grid, .daily__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 110px);
  align-items: center;
  margin-top: clamp(33px, 6vw, 84px);
}

.strategy h2 span { color: var(--gold); }
.strategy__copy > p, .daily__copy > p { max-width: 38ch; margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.strategy__copy > p { color: #e0e7d7; }

.bag-notes { max-width: 490px; margin-top: 27px; border-top: 1px solid var(--cream-line); }

.bag-notes div {
  display: grid;
  grid-template-columns: minmax(6.4em, 2fr) 3fr;
  gap: 15px;
  align-items: center;
  min-height: 47px;
  padding-block: 8px;
  border-bottom: 1px solid var(--cream-line);
}

.bag-notes dt { color: var(--gold); font: 700 .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.bag-notes dd { font-size: .95rem; }

.strategy__media, .daily__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  isolation: isolate;
  min-width: 0;
}

.shot--strategy, .shot--daily {
  width: min(53%, 245px);
  box-shadow: 6px 8px #0b271d33, 0 12px 22px #0b271d29;
}

.strategy__guide {
  position: absolute;
  z-index: -1;
  width: 80%;
  height: 68%;
  top: 14%;
  right: 7%;
  transform: rotate(7deg);
  border: 1px solid #91b6a18f;
  border-radius: 48% 49% 44% 47%;
  background:
    radial-gradient(ellipse, transparent 62%, #8cb2a157 62.4% 62.7%, transparent 63% 69%, #8cb2a158 69.4% 69.7%, transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 22px, #8cb2a125 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 22px, #8cb2a125 23px 24px),
    #315849;
}

.strategy__guide::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px dashed #8cb2a17d;
  border-radius: inherit;
}

.strategy__tag {
  position: absolute;
  top: 31%;
  right: 0;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid #e0b45f;
  box-shadow: 2px 3px #162b21;
  transform: rotate(8deg);
}

.strategy__tag span { position: absolute; left: 14px; bottom: -28px; transform: rotate(185deg); color: var(--gold); font-size: 1.2rem; }
.strategy figcaption { color: #e0e7d7; }
.strategy figcaption span { color: var(--gold); }

.daily {
  padding-block: clamp(36px, 5vw, 65px) clamp(53px, 7vw, 95px);
  background-color: var(--blue);
  background-image: radial-gradient(#3c6f611c .55px, transparent .8px);
  background-size: 7px 8px;
}

.daily .section-label__line { background: #789d8f; }
.daily h2 span { color: var(--red-ink); }
.daily__copy > p { color: #294f42; }

.daily__reset {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 10px 15px 10px 12px;
  border: 1px dashed #5c8577;
  background: #dbece1;
}

.daily__reset .icon { color: var(--red-ink); }
.daily__reset strong { display: block; margin-top: 3px; letter-spacing: .02em; font-size: .92rem; }

.daily__paper {
  position: absolute;
  z-index: -1;
  width: 78%;
  top: 16%;
  bottom: 20%;
  left: 7%;
  padding: 15px;
  transform: rotate(-9deg);
  background: var(--paper-light);
  border: 1px solid #7d9a8c;
  border-radius: 3px;
  box-shadow: 4px 6px #32584a28;
}

.daily__paper-top { display: flex; justify-content: space-between; gap: 5px; align-items: center; border-bottom: 2px solid #456b5d; padding-bottom: 10px; }
.daily__paper-top .icon { width: 16px; height: 16px; color: var(--red-ink); }
.daily__paper-days { display: grid; grid-template-columns: repeat(7, 1fr); padding-block: 8px; border-bottom: 1px solid var(--rule); }
.daily__paper-lines { height: 75%; background: repeating-linear-gradient(0deg, transparent 0 28px, var(--rule) 29px 30px); }
.shot--daily { margin-left: 18%; }
.daily figcaption { margin-left: 18%; }

.tutorial { padding-top: clamp(58px, 9vw, 124px); }

.tutorial__inner {
  display: grid;
  grid-template-columns: minmax(124px, 220px) 1fr;
  align-items: center;
  gap: clamp(25px, 5vw, 71px);
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid #baa878;
  border-radius: 4px;
  background: #f3dd9e;
  background-image: repeating-linear-gradient(0deg, #75582310 0 1px, transparent 1px 22px);
}

.tutorial__portrait {
  padding: 7px 7px 14px;
  max-width: 207px;
  background: var(--paper-light);
  border: 1px solid #ac915c;
  transform: rotate(-4deg);
  box-shadow: 3px 4px #6d54202b;
}

.tutorial__portrait img { image-rendering: pixelated; }
.tutorial__copy .small-type { color: var(--red-ink); }
.tutorial h2 { margin-top: 5px; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.tutorial__copy > p:not(.small-type) { max-width: 49ch; margin-top: 10px; color: #3d503c; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 4px;
  text-underline-offset: .23em;
  font-size: .92rem;
  font-weight: 750;
}

.text-link .icon { width: 17px; height: 17px; }

.faq { padding-block: clamp(55px, 9vw, 112px); }

.faq__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 30px;
  margin-top: 26px;
}

.faq__questions { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding-block: 10px;
  list-style: none;
  font-weight: 680;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: none; content: "+"; color: var(--red-ink); font: 400 1.65rem/1 var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 25px 16px 0; color: var(--quiet); }

.launch { background: var(--club-green); color: var(--paper-light); border-top: 6px solid var(--gold); }

.launch__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 26px;
  padding-top: clamp(34px, 6vw, 68px);
}

.launch .eyebrow .icon { color: var(--gold); }
.launch h2 { margin-top: 12px; }
.launch__status { display: grid; justify-items: start; gap: 4px; padding-bottom: 2px; }
.launch__label { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 740; font-size: 1.05rem; }
.launch__status .small-type { color: #d4e0d1; }
.launch__status .button { margin-top: 9px; background: var(--gold); color: var(--ink); }
.launch__status .button:focus-visible { outline-color: var(--paper-light); }

.launch__bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  min-height: 61px;
  border-top: 1px solid var(--cream-line);
  color: #d4e0d1;
}

.launch__bottom a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.launch__bottom .icon { width: 17px; height: 17px; }

.screenshot-dialog {
  width: max-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 8px;
  border: 1px solid var(--cream-line);
  border-radius: 12px;
  color: var(--paper-light);
  background: var(--club-green);
  box-shadow: 0 12px 36px #0005;
  overscroll-behavior: contain;
}

.screenshot-dialog::backdrop { background: #102c23dc; }
body:has(.screenshot-dialog[open]) { overflow: hidden; }
.screenshot-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 5px 5px; }
.screenshot-dialog img { width: auto; max-width: 100%; max-height: calc(100dvh - 100px); margin-inline: auto; border-radius: 6px; }

.dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cream-line);
  border-radius: 5px;
  background: var(--club-green);
  transition: background-color 150ms var(--ease-out);
}

.dialog-close:focus-visible { outline-offset: -4px; }

@media (hover: hover) and (pointer: fine) {
  .masthead nav a:hover, .masthead__status:hover, .launch__bottom a:hover { text-decoration: underline; text-underline-offset: .25em; }
  .button--primary:hover { background: #27533d; }
  .shot:hover { transform: translateY(-3px); }
  .die-button:hover .die-face { background: #fffdf3; }
  .text-link:hover, .faq summary:hover { color: var(--red-ink); }
  .launch__status .button:hover { background: var(--paper-light); }
  .dialog-close:hover { background: #385d49; }
}

@media (max-width: 920px) {
  .strategy__tag { right: -4%; }
}

@media (max-width: 720px) {
  :root { --gutter: clamp(16px, 5vw, 32px); }
  .masthead__inner { min-height: 67px; grid-template-columns: 1fr auto; gap: 15px; }
  .masthead__status, .masthead .nav-faq { display: none; }
  .masthead nav { gap: 17px; }
  .masthead nav a { font-size: .81rem; }
  .brand img { width: 37px; height: 37px; border-radius: 7px; }
  .brand span { font-size: .95rem; }
  .hero { grid-template-columns: 1fr; gap: 31px; padding-block: 36px 50px; }
  .hero__description { margin-top: 18px; }
  .hero__actions { margin-top: 21px; }
  .hero__stage { width: min(100%, 500px); margin-inline: auto; }
  .hero__shot { width: min(63%, 250px); margin-left: 19%; }
  .hero__stamp { width: clamp(72px, 16vw, 105px); font-size: clamp(1.1rem, 3.9vw, 1.7rem); right: 1%; }
  .section-label__aside { display: none; }
  .scorecard__heading { margin-block: 21px; }
  .scorecard__steps { grid-template-columns: 1fr; }
  .scorecard__steps li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .scorecard__step-top { margin-bottom: 7px; }
  .scorecard__steps p { margin-top: 8px; }
  .strategy__grid, .daily__grid { grid-template-columns: 1fr; margin-top: 28px; }
  .strategy__media, .daily__media { width: min(100%, 430px); margin-inline: auto; }
  .strategy__tag { right: 1%; }
  .daily__copy { grid-row: 1; }
  .faq__grid { grid-template-columns: 1fr; gap: 19px; }
}

@media (max-width: 460px) {
  .hero__stamp { right: 0; }
  .dice-preview { display: grid; grid-template-columns: auto 1fr; gap: 8px 13px; }
  .dice-preview__intro { grid-column: 1 / -1; }
  .dice-preview__result { font-size: .875rem; }
  .tutorial__inner { grid-template-columns: minmax(70px, 85px) 1fr; gap: 14px; padding: 17px 13px; }
  .tutorial__portrait { padding: 4px 4px 8px; }
  .tutorial__copy .small-type { font-size: .62rem; }
  .tutorial h2 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .tutorial__copy > p:not(.small-type) { font-size: .88rem; line-height: 1.47; }
  .tutorial .text-link { font-size: .78rem; }
  .launch__inner { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  .button:active, .die-button:active, .shot:hover { transform: none; }
}
