/* Nunito, the game's typeface. SIL Open Font License. */
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/nunito-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/nunito-latin-900.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #3a2414;
  --ink-soft: #6b4a2e;
  --cream: #fff6e4;
  --cream-2: #fffaf0;
  --wood: #8a5530;
  --wood-dark: #5e3518;
  --line: #3a2414;
  --sky: #79d2fa;
  --sky-deep: #5eb8ea;
  --grass: #7ac74f;
  --green: #146b32;
  --green-press: #0f5528;
  --sunset: #ffb98a;
  --sunset-deep: #ff9f70;
  --navy: #1c3360;
  --shadow: 0 18px 40px rgba(58, 36, 20, 0.18);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sky);
  font-family: Nunito, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.45;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { transform: none; }

.bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  background: var(--wood);
  border-bottom: 4px solid var(--wood-dark);
  color: #fff8ec;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.brand span { white-space: nowrap; }
.bar .tablist {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.bar .tablist button {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #f6e4c4;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}
.bar .tablist button:hover { color: #fff; background: rgba(255, 246, 228, 0.12); }
.bar .tablist button[aria-selected="true"] {
  background: #fff6e4;
  color: #3a2414;
}
.bar .cta { margin-left: auto; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border: 3px solid var(--line);
  border-bottom-width: 6px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}
.cta:hover { background: var(--green-press); }
.cta:active { transform: translateY(2px); border-bottom-width: 3px; }
.cta-small { min-height: 42px; padding: 8px 12px; font-size: 15px; border-radius: 14px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 22px; }
.text-link { font-weight: 900; color: var(--wood-dark); }
.fine { margin-top: 14px; color: var(--ink-soft); font-size: 15px; max-width: 46ch; }
.kicker {
  margin-bottom: 10px;
  color: var(--wood-dark);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker-dark { color: var(--navy); }

.hero { padding: 48px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero-grid > *, .split > * { min-width: 0; }
h1 { font-size: clamp(40px, 5vw, 64px); max-width: 14ch; }
.lead { margin-top: 16px; max-width: 38ch; font-size: 20px; }

.iphone {
  width: min(86vw, 300px);
  margin: 0 auto;
}
.iphone img {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
  border: 8px solid #111;
  border-radius: 42px;
  box-shadow: 0 0 0 1px #2a2a2a, 0 22px 40px rgba(36, 22, 14, 0.28);
}
#orchard .wrap { max-width: 760px; }
.iphone figcaption {
  width: min(86vw, 300px);
  margin: 12px auto 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.tab-panel {
  background: #fff;
  border: 3px solid #3a2414;
  border-radius: 18px;
  padding: 8px 22px 22px;
}
.tab-panel h2 { font-size: 32px; margin: 12px 0 8px; }
.tab-panel h3 { font-size: 20px; margin: 20px 0 6px; }
.tab-panel p, .tab-panel li { color: var(--ink-soft); font-size: 16px; }
.tab-panel p { margin: 0 0 10px; }
.tab-panel ul { margin: 0 0 10px; padding-left: 18px; }
.tab-panel a { color: #9a4e00; }
#pages { scroll-margin-top: 84px; }

.band { padding: 72px 0; }
.band, #get { scroll-margin-top: 84px; }
.band-wood { background: #6f4324; color: #fff6e4; }
.band-wood .section-head p { color: #f3d9a8; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head h2, .split h2, .band-cream h2, .close h2 { font-size: clamp(32px, 4vw, 48px); }
.section-head p, .prose { margin-top: 12px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.steps li {
  margin: 0;
  padding: 18px 18px 20px;
  background: #fff6e4;
  color: var(--ink);
  border: 3px solid #3a2414;
  border-radius: 18px;
  box-shadow: 0 6px 0 #3a2414;
}
.step-no {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #f6c21d;
  border: 2.5px solid #3a2414;
  font-weight: 900;
}
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { font-size: 16px; color: var(--ink-soft); }

.band-cream { background: var(--cream); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.checks { margin: 16px 0 0; padding: 0; list-style: none; }
.checks li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 28px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f6c21d;
  border: 2px solid #3a2414;
}
.sheet {
  background: var(--cream-2);
  border: 3px solid #3a2414;
  border-bottom-width: 8px;
  border-radius: 24px;
  padding: 22px;
}
.sheet-kicker { color: var(--wood); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.sheet h3 { font-size: 28px; margin: 6px 0 12px; }
.sheet ul { margin: 0; padding-left: 18px; }
.sheet li { margin: 0 0 10px; font-size: 16px; }
.sheet li:last-child { margin-bottom: 0; }

.band-sunset { background: linear-gradient(#ff9f70, #ffe3b8 55%, #f2d39a); }
.orchard-card {
  background: #22335a;
  color: #fff6e4;
  border: 3px solid #1c3360;
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.orchard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill-navy { background: #1c3360; color: #fff; flex: none; }
.place {
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 13px;
}
.fruits { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.fruits li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff6e4;
  color: var(--ink);
  border-radius: 14px;
  padding: 8px 10px;
  border: 2.5px solid #3a2414;
}
.fruit { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #3a2414; flex: none; }
.apple { background: radial-gradient(circle at 30% 30%, #f2b33c, #e8573a); }
.pear { background: #e8d94a; border-radius: 40% 40% 50% 50%; }
.cherry { background: #9a1a2e; }
.orchard-note { color: #d5e4ff; font-size: 15px; }
.soon { margin-top: 16px; color: var(--navy); }

.facts { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts div {
  margin: 0;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  border: 3px solid #ead7b4;
}
.facts dt { font-weight: 900; font-size: 20px; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink-soft); font-size: 16px; }
.facts a { color: #9a4e00; }

.band-close { background: #5e3518; color: #fff6e4; text-align: center; }
.close { display: grid; justify-items: center; gap: 14px; }
.close img { border-radius: 22px; }
.close p { max-width: 46ch; color: #f3d9a8; }
.close a:not(.cta) { color: #ffd27a; }
.colophon { background: #3a2414; color: #f3d9a8; padding: 18px 0 28px; font-size: 14px; }
.colophon-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.colophon p { margin: 0; }
.colophon nav { display: flex; gap: 14px; }
.colophon a { color: #fff6e4; }

:focus-visible { outline: 3px solid #fff8c8; outline-offset: 3px; }
.band-cream :focus-visible, .hero :focus-visible { outline-color: #1c3360; }

@media (max-width: 860px) {
  .bar { flex-wrap: wrap; row-gap: 8px; padding-bottom: 12px; }
  .bar .tablist { order: 3; width: 100%; margin-left: 0; }
  .bar .tablist button { flex: 1; padding-inline: 8px; }
  .band-sunset .orchard-card { order: 2; }
  .hero { padding-top: 28px; }
  .hero-grid, .split, .steps, .facts { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  .lead { font-size: 18px; }
  .band { padding: 48px 0; }
  .brand span { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta:active { transform: none; }
}

