:root {
  --paper: #f6fff6;
  --paper-strong: #ffffff;
  --ink: #14261a;
  --muted: #53645a;
  --leaf: #237a4d;
  --leaf-dark: #135334;
  --sun: #f4c84a;
  --berry: #c84b63;
  --sky: #80d8f7;
  --soil: #493529;
  --line: #cfe0cb;
  --shadow: 0 18px 44px rgba(20, 38, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--ink);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(207, 224, 203, 0.9);
  background: rgba(246, 255, 246, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(20, 38, 26, 0.16) 45% 55%, transparent 55%),
    linear-gradient(var(--leaf) 0 50%, var(--sun) 50%);
  box-shadow: 4px 4px 0 var(--sky);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--ink);
}

.section-band {
  padding: 78px 32px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-inner.compact {
  width: min(1040px, 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 44px;
  align-items: center;
  min-height: 680px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(128, 216, 247, 0.2), transparent 34%),
    var(--paper);
}

.hero-copy {
  width: min(720px, 100%);
  min-width: 0;
  justify-self: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 900;
  overflow-wrap: anywhere;
}

h1 span {
  display: inline-block;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 20px;
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.button {
  padding: 0 18px;
}

.button.primary {
  color: #ffffff;
  background: var(--leaf);
  box-shadow: 5px 5px 0 var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: var(--sun);
}

.button:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.button-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}

.play-icon::before {
  content: "";
  position: absolute;
  inset: 2px 3px 2px 5px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.copy-icon::before,
.copy-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.copy-icon::before {
  left: 5px;
  top: 2px;
}

.copy-icon::after {
  left: 1px;
  top: 6px;
  background: inherit;
}

.trust-note {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  justify-self: start;
  width: min(680px, 100%);
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  min-width: 0;
  filter: drop-shadow(0 22px 24px rgba(20, 38, 26, 0.14));
}

.restock-panel {
  position: absolute;
  right: 26px;
  bottom: 8px;
  width: 176px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: 7px 7px 0 var(--berry);
}

.restock-label,
.restock-help {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.restock-panel strong {
  display: block;
  margin: 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.95rem;
  line-height: 1;
}

.answer-strip {
  background: var(--paper-strong);
}

.answer-grid,
.route-grid,
.topic-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.answer-card,
.route-step,
.timeline article,
.redeem-steps,
.faq-list details,
.topic-card,
.content-card,
.note-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.answer-card {
  padding: 22px;
}

.topics-section {
  background: var(--paper);
}

.topic-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.topic-card {
  min-height: 150px;
  padding: 20px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.topic-card:hover {
  border-color: var(--leaf);
  transform: translateY(-2px);
}

.topic-card span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--leaf-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topic-card strong {
  display: block;
  line-height: 1.28;
}

.answer-card p,
.route-step p,
.timeline p,
.faq-list p,
.section-heading p {
  color: var(--muted);
}

.jump-nav {
  position: sticky;
  top: 59px;
  z-index: 4;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 32px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.jump-nav a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  background: #ffffff;
}

.jump-nav a:hover {
  color: var(--ink);
  border-color: var(--leaf);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: start;
}

.play-section,
.guide-section,
.tracker-section {
  background: var(--paper);
}

.codes-section,
.events-section,
.faq-section {
  background: #ffffff;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 4px solid var(--sun);
}

.check-list li {
  position: relative;
  padding: 0 0 18px 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sky);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.code-table {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-strong);
}

.code-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr 120px;
  align-items: center;
  min-height: 64px;
  border-top: 1px solid var(--line);
}

.code-row:first-child {
  border-top: 0;
}

.code-row > span,
.code-row > button {
  padding: 14px 16px;
}

.code-head {
  min-height: 46px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 800;
}

.code-token {
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.mini-button {
  min-height: 38px;
  margin: 12px 16px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--sun);
}

.redeem-steps {
  margin-top: 20px;
  padding: 22px;
}

.redeem-steps ol {
  margin-bottom: 0;
  padding-left: 22px;
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.route-step {
  padding: 22px;
}

.route-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--sky);
  font-weight: 900;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.weather-grid span {
  display: block;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
}

.weather-grid span:nth-child(3n + 2) {
  border-left-color: var(--sun);
}

.weather-grid span:nth-child(3n) {
  border-left-color: var(--berry);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  padding: 22px;
}

.timeline time {
  display: block;
  margin-bottom: 12px;
  color: var(--leaf-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 32px;
  color: #ffffff;
  background: var(--ink);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: #ffffff;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
}

.page-shell {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 76px 32px;
}

.page-shell h1 {
  font-size: 3.5rem;
}

.page-shell a {
  color: var(--leaf-dark);
  font-weight: 800;
}

.page-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.15rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: start;
  margin-top: 30px;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-card,
.note-box {
  padding: 24px;
}

.note-box {
  border-left: 5px solid var(--sun);
}

.content-card ul,
.content-card ol,
.note-box ul,
.note-box ol {
  margin-bottom: 0;
  padding-left: 22px;
}

.mini-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-table div {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1fr;
  border-top: 1px solid var(--line);
}

.mini-table div:first-child {
  border-top: 0;
  color: #ffffff;
  background: var(--ink);
  font-weight: 900;
}

.mini-table span {
  padding: 12px 14px;
}

.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.related-grid a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: #ffffff;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .answer-grid,
  .route-grid,
  .timeline,
  .topic-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy,
  .hero-visual {
    justify-self: stretch;
  }

  .route-grid {
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .section-band {
    padding: 56px 20px;
  }

  .hero {
    gap: 30px;
  }

  h1 {
    max-width: 100%;
    font-size: 3rem;
  }

  h1 span {
    display: block;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .jump-nav {
    top: 0;
    padding: 10px 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .restock-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .code-table {
    border-width: 1px;
  }

  .code-row,
  .code-head {
    grid-template-columns: 1fr;
  }

  .code-head {
    display: none;
  }

  .code-row > span,
  .code-row > button {
    padding: 10px 14px;
  }

  .mini-button {
    width: calc(100% - 28px);
    margin: 10px 14px 14px;
  }

  .weather-grid {
    grid-template-columns: 1fr;
  }

  .mini-table div {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 20px;
  }

  .page-shell {
    padding: 56px 20px;
  }

  .page-shell h1 {
    font-size: 2.75rem;
  }
}

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