/* 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: #22324d;
  --ink-soft: #4d5d78;
  --line: #22324d;
  --cream: #fff8ea;
  --cream-2: #fffcf4;
  --sand: #f3e4c6;
  --sand-deep: #e6cf9f;
  --sea: #2fb3c9;
  --sea-deep: #1b8aa3;
  --sea-night: #0f5f73;
  --sky: #62d2e5;
  --sky-light: #bdeefa;
  --coral: #ff7b5c;
  --coral-deep: #e05c3e;
  --gold: #ffc83d;
  --green: #3db356;
  --green-press: #2f9e45;
  --violet: #4c3a8f;
  --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(--sea-deep);
  border-bottom: 4px solid var(--sea-night);
  color: #fff;
}
.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-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.bar-nav a {
  padding: 8px 12px;
  border-radius: 12px;
  color: #d8f4fa;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}
.bar-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.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(--coral);
  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(--coral-deep); }
.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(--sea-night); }
.fine { margin-top: 14px; color: var(--ink-soft); font-size: 15px; max-width: 46ch; }
.kicker {
  margin-bottom: 10px;
  color: var(--sea-night);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker-light { color: #ffe08a; }

.hero { padding: 48px 0 40px; background: linear-gradient(#62d2e5, #bdeefa 70%, #f6e7c8); }
.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: 15ch; }
.lead { margin-top: 16px; max-width: 40ch; 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(15, 47, 64, 0.3);
}
.iphone figcaption {
  width: min(86vw, 300px);
  margin: 12px auto 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.band { padding: 72px 0; }
.band, #get { scroll-margin-top: 84px; }
.band-sea { background: var(--sea-deep); color: #fff; }
.band-sea .section-head p { color: #d8f4fa; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head h2, .split h2, .band-cream h2, .band-sand 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: var(--cream);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--line);
}
.step-no {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2.5px solid var(--line);
  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); }
.band-sand { background: var(--sand); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split-flip { grid-template-columns: 0.8fr 1.2fr; }
.split .sheet { margin-top: 28px; }
.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: var(--gold);
  border: 2px solid var(--line);
}
.places { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.places li {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 3px solid var(--sand-deep);
  border-radius: 16px;
  font-size: 15px;
  color: var(--ink-soft);
}
.places b { display: block; color: var(--ink); font-size: 17px; }
.sheet {
  background: var(--cream-2);
  border: 3px solid var(--line);
  border-bottom-width: 8px;
  border-radius: 24px;
  padding: 22px;
}
.sheet-kicker { color: var(--coral-deep); 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(#4c3a8f, #c86a8e 48%, #ffb98a 78%, #ffe0b8); color: #fff; }
.band-sunset .prose, .band-sunset .checks li { color: #fff3e6; }
.band-sunset .checks li::before { border-color: #fff; }
.band-sunset .iphone figcaption { color: #fff3e6; }
.soon { margin-top: 16px; color: #ffe08a; }

.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 var(--sand-deep);
}
.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: var(--sea-night); }

.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.help a {
  display: block;
  padding: 18px;
  background: #fff;
  border: 3px solid var(--line);
  border-bottom-width: 7px;
  border-radius: 18px;
  text-decoration: none;
}
.help a:hover { background: var(--cream-2); }
.help a:active { transform: translateY(2px); border-bottom-width: 4px; }
.help b { display: block; font-size: 21px; font-weight: 900; margin-bottom: 4px; }
.help span { color: var(--ink-soft); font-size: 15px; }

.band-close { background: var(--sea-night); color: #fff; text-align: center; }
.close { display: grid; justify-items: center; gap: 14px; }
.close img { border-radius: 22px; }
.close p { max-width: 46ch; color: #d8f4fa; }
.colophon { background: #0b4554; color: #bfe7f0; 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: #fff; }

:focus-visible { outline: 3px solid #fff3b0; outline-offset: 3px; }
.band-cream :focus-visible, .band-sand :focus-visible, .hero :focus-visible { outline-color: var(--sea-night); }

@media (max-width: 860px) {
  .bar { flex-wrap: nowrap; padding-bottom: 10px; }
  .bar-nav { display: none; }
  .split-flip > .iphone { order: 2; }
  .split .iphone, .split .iphone figcaption { width: min(72vw, 260px); }
  .hero { padding-top: 28px; }
  .hero-grid, .split, .steps, .facts, .help, .places { 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, .help a:active { transform: none; }
}
