/* GamerIndonesia: "island-hopping arcade board game". Cream paper with a dot
   grid, navy ink outlines, hard offset shadows, and candy red / amber / teal
   accents. Hero, map, marquee, shelf and footer values mirror the reference
   design 1:1, so change tokens rather than the component rules. */

:root {
  --ink: #1b1446;
  --bg: #fff4e0;
  --bg-alt: #ffe8c2;
  --surface: #fff;
  --text: #1b1446;
  --muted: #4a4470;
  --muted-2: #7a7398;
  --accent: #ff3b5c;
  --accent-deep: #e0213f;
  --amber: #ffb627;
  --teal: #14c8b4;
  --lilac: #b9a8ff;
  --land: #4cd47e;
  --land-on: #2fbf68;
  --sea-top: #35c9dc;
  --sea-bottom: #1ea8bd;
  --white: #fff;
  --header-bg: rgba(255, 244, 224, 0.92);
  --dot: rgba(27, 20, 70, 0.07);
  --sun-ray: rgba(255, 182, 39, 0.35);
  --sun-gap: rgba(255, 182, 39, 0);
  --marquee-chip: rgba(255, 255, 255, 0.08);
  --footer-text: rgba(255, 255, 255, 0.68);
  --footer-link: rgba(255, 255, 255, 0.75);
  --border: 3px solid var(--ink);
  --radius: 20px;
  --header-h: 70px;
  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Poppins', Tahoma, Arial, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.55;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}

a { color: var(--accent-deep); text-decoration: none; }
button { font-family: var(--font-body); }
img { max-width: 100%; }
main { overflow-x: clip; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.measure { max-width: 560px; }
.measure-wide { max-width: 680px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ── Buttons, kicker, titles ──────────────────────────────────────────────── */

.gi-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: var(--border);
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  /* The reference renders these as <button>s, where a global button font rule
     wins over the display face, so the body face + normal line-height is the
     true rendered look. */
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0.01em;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gi-btn::after { content: "▶"; font-size: 0.7em; }
.gi-btn:hover,
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.gi-btn:active,
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

.gi-btn.gi-btn-sm,
.btn.btn-sm {
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 4px 4px 0 var(--ink);
}

.gi-btn.gi-btn-light,
.btn.btn-ghost { background: var(--white); color: var(--ink); }

.gi-link {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 3px solid var(--amber);
}

.link-accent {
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.kicker,
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transform: rotate(-2deg);
}

.gi-title,
.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub,
.section-head p { margin-top: 12px; font-size: 1.02rem; color: var(--muted); }

h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.2; }

/* ── Header + nav ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  direction: ltr;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.site-header .logo { display: inline-flex; flex-shrink: 0; }
.site-header .service-logo { height: 36px; width: auto; }

.site-nav-desktop { display: flex; align-items: center; gap: 22px; }
.site-nav-desktop > a:not(.gi-btn) {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  padding: 2px 0;
}
.site-nav-desktop > a:not(.gi-btn):hover,
.site-nav-desktop > a.is-active { border-bottom-color: var(--amber); }

.lang-switcher {
  display: inline-flex;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-switcher a {
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}
.lang-switcher a.is-active { background: var(--ink); color: var(--white); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.header-controls-mobile { display: none; align-items: center; gap: 12px; }

.nav-burger {
  display: grid;
  gap: 4px;
  padding: 9px 8px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.nav-burger span { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--ink); }

.site-nav { display: none; }

@media (max-width: 860px) {
  .site-nav-desktop { display: none; }
  .header-controls-mobile { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px 22px;
    background: var(--bg);
    border-bottom: var(--border);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }
  .site-nav a:not(.gi-btn) { padding: 0.6rem 0; font-weight: 700; color: var(--ink); }
  .site-nav .gi-btn { width: 100%; justify-content: center; margin-top: 8px; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
}

@media (max-width: 640px) {
  .site-header .service-logo { height: 28px; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
@media (max-width: 768px) { .hero { padding: 36px 0 48px; } }

.hero .sun {
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--sun-ray) 0 10deg, var(--sun-gap) 10deg 20deg);
  animation: spin 60s linear infinite;
  pointer-events: none;
}

.hero .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
@media (max-width: 768px) { .hero .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.hero .sticker {
  display: inline-block;
  padding: 6px 14px;
  border: var(--border);
  border-radius: 12px;
  background: var(--teal);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.hero .hero-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero .hero-title .line { display: block; }
.hero .hero-title .hl {
  position: relative;
  color: var(--accent);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--ink);
}

.hero .hero-desc { margin-top: 20px; max-width: 520px; font-size: 1.06rem; color: var(--muted); }

.hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 28px;
}

.hero .hero-note { margin-top: 16px; font-size: 12px; color: var(--muted-2); }

/* ── Map card (hero visual) ───────────────────────────────────────────────── */

.map-card {
  position: relative;
  padding: 14px;
  border: var(--border);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(1.2deg);
}
@media (max-width: 768px) { .map-card { transform: none; box-shadow: 6px 6px 0 var(--ink); } }

.map-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; }
.map-top .map-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.map-top .map-count {
  padding: 2px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber);
  font-weight: 800;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.map-sea {
  position: relative;
  overflow: hidden;
  border: var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--sea-top) 0%, var(--sea-bottom) 100%);
}

.map-svg { display: block; width: 100%; height: auto; }
.map-svg .route {
  fill: none;
  stroke: var(--white);
  stroke-width: 4;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
  animation: route 1.6s linear infinite;
}
.map-svg .island { cursor: pointer; outline: none; }
.map-svg .island .land { fill: var(--land); transition: fill 0.25s; }
.map-svg .island .node { fill: var(--white); transition: fill 0.25s; }
.map-svg .island .node-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  fill: var(--ink);
  pointer-events: none;
}
.map-svg .island.on .land { fill: var(--land-on); }
.map-svg .island.on .node { fill: var(--accent); }
.map-svg .island.on .node-num { fill: var(--white); }
.map-svg .island:focus-visible .node { stroke: var(--amber); }
.map-svg .boat { transition: transform 1.1s cubic-bezier(0.45, 0, 0.25, 1); }
.map-svg .boat .bob { animation: bob 1.8s ease-in-out infinite; }
.map-svg .cloud.c1 { animation: drift 26s linear infinite; }
.map-svg .cloud.c2 { animation: drift 34s linear infinite -14s; }

.map-game {
  position: relative;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  animation: pop-in 0.35s cubic-bezier(0.3, 1.5, 0.6, 1);
}
@media (max-width: 640px) {
  .map-game { gap: 10px; }
  .map-game .gi-btn-sm { padding: 8px 12px; }
}
.map-game img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  object-fit: cover;
}
.map-game .map-game-copy { flex: 1; min-width: 0; }
.map-game .map-game-copy .map-level {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.map-game .map-game-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
}
.map-game .map-game-copy p {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) { .map-game .map-game-copy p { display: none; } }

.map-hint { margin-top: 10px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted-2); }

/* ── Marquee ──────────────────────────────────────────────────────────────── */

.marquee {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: var(--border);
  border-bottom: var(--border);
  background: var(--ink);
  transform: rotate(-1.2deg);
  margin: 0 -20px;
}
.marquee .marquee-label {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 22px 0 48px;
  background: var(--amber);
  border-right: var(--border);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 640px) { .marquee .marquee-label { display: none; } }
.marquee .marquee-track {
  display: flex;
  gap: 20px;
  padding: 14px 0 14px 20px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee .marquee-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 22px 7px 7px;
  border-radius: 12px;
  background: var(--marquee-chip);
  white-space: nowrap;
}
.marquee .marquee-item img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid var(--white);
  object-fit: cover;
}
.marquee .marquee-item b { display: block; font-size: 14px; color: var(--white); }
.marquee .marquee-item em { display: block; font-style: normal; font-size: 11px; color: var(--amber); }

/* ── Shelf (showcase) ─────────────────────────────────────────────────────── */

.shelf { padding: 96px 0 70px; }
@media (max-width: 768px) { .shelf { padding: 70px 0 50px; } }

.shelf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
@media (max-width: 768px) { .shelf-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }

.game-card {
  --rx: 0deg;
  --ry: 0deg;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  text-align: left;
  color: var(--ink);
  font-size: 13.3333px; /* button-default metrics of the reference card */
  line-height: normal;
  cursor: pointer;
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.game-card:hover { box-shadow: 9px 9px 0 var(--ink); }
.game-card .game-art {
  position: relative;
  display: block;
  margin: 10px 10px 0;
  border: var(--border);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.game-card .game-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .game-art img { transform: scale(1.06); }
.game-card .game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.game-card .game-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.game-card .game-genre {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.game-card .game-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; line-height: 1.15; }
.game-card .game-blurb { flex: 1; font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) { .game-card .game-blurb { display: none; } }
.game-card .game-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  transition: background 0.2s;
}
.game-card .game-play i { font-style: normal; font-size: 10px; }
.game-card.tone-0 .game-play { background: var(--accent); color: var(--white); }
.game-card.tone-1 .game-play { background: var(--teal); }
.game-card.tone-2 .game-play { background: var(--amber); }
@media (max-width: 640px) { .game-card .game-name { font-size: 1.02rem; } }

/* ── Anywhere (why us) ────────────────────────────────────────────────────── */

.anywhere { padding: 70px 0; background: var(--bg-alt); border-top: var(--border); border-bottom: var(--border); }

.anywhere-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .anywhere-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .anywhere-grid { grid-template-columns: 1fr; gap: 16px; } }

.any-card {
  padding: 22px 20px;
  border: var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.any-card:nth-child(even) { transform: rotate(1deg); }
.any-card:nth-child(odd) { transform: rotate(-1deg); }
.any-card .any-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border: var(--border);
  border-radius: 16px;
}
.any-card .any-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.any-card.tone-0 .any-icon { background: var(--accent); }
.any-card.tone-1 .any-icon { background: var(--teal); }
.any-card.tone-2 .any-icon { background: var(--amber); }
.any-card.tone-3 .any-icon { background: var(--lilac); }
.any-card h3 { font-size: 1.2rem; }
.any-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }

.anywhere-note { margin-top: 26px; text-align: center; font-size: 12.5px; color: var(--muted-2); }

/* ── How (features as dice) ───────────────────────────────────────────────── */

.how { padding: 80px 0 40px; }
.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 30px;
  list-style: none;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 16%;
  right: 16%;
  border-top: 4px dotted var(--ink);
  opacity: 0.35;
}
@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; gap: 34px; }
  .how-steps::before { display: none; }
}
.how-step { position: relative; text-align: center; }
.how-step .die { display: block; width: 96px; height: 96px; margin: 0 auto 16px; transition: transform 0.3s ease; }
.how-step:hover .die { transform: rotate(-12deg) scale(1.06); }
.how-step.tone-1 .die-face { fill: var(--accent); }
.how-step.tone-2 .die-face { fill: var(--amber); }
.how-step.tone-3 .die-face { fill: var(--teal); }
.how-step h3 { font-size: 1.3rem; }
.how-step .how-copy { max-width: 300px; margin: 6px auto 0; font-size: 14.5px; color: var(--muted); }

/* ── Closing CTA ──────────────────────────────────────────────────────────── */

.closing { padding: 50px 0 30px; }
.closing-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: 44px 48px;
  border: var(--border);
  border-radius: 28px;
  background: var(--accent);
  box-shadow: 10px 10px 0 var(--ink);
  color: var(--white);
}
@media (max-width: 768px) {
  .closing-card { flex-direction: column; align-items: flex-start; padding: 34px 26px; box-shadow: 6px 6px 0 var(--ink); }
}
.closing-card .closing-copy { position: relative; max-width: 560px; }
.closing-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 3px 3px 0 var(--ink);
}
.closing-card p { margin-top: 10px; font-size: 1.05rem; font-weight: 500; }
.closing-card .gi-btn { position: relative; flex-shrink: 0; }
.closing-card .shape { position: absolute; border: var(--border); pointer-events: none; }
.closing-card .shape.s1 { right: 22%; top: -26px; width: 70px; height: 70px; border-radius: 50%; background: var(--amber); }
.closing-card .shape.s2 { right: 4%; bottom: -30px; width: 90px; height: 90px; border-radius: 22px; background: var(--teal); transform: rotate(18deg); }
.closing-card .shape.s3 {
  left: 46%;
  bottom: -20px;
  width: 0;
  height: 0;
  border: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid var(--lilac);
  transform: rotate(-12deg);
  opacity: 0.9;
}

/* ── Generic sections (inner pages) ───────────────────────────────────────── */

.section { padding: 70px 0; }
.section.tight { padding: 40px 0; }
.section.bg-alt { background: var(--bg-alt); border-top: var(--border); border-bottom: var(--border); }

.page-hero { padding: 56px 0 24px; }
.page-hero .lede { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }
.page-hero .container-narrow h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }

.icon-chip {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border: var(--border);
  border-radius: 16px;
  background: var(--teal);
}
.icon-chip svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card,
.optout-box,
.care-card,
.pricing-card,
.contact-form,
.form-card,
.value-row,
.vision-panel {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}

.steps-row,
.confirm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.confirm-row { margin-top: 26px; }
@media (max-width: 768px) { .steps-row, .confirm-row { grid-template-columns: 1fr; } }

.step-card { padding: 22px 20px; }
.step-card:nth-child(even) { transform: rotate(1deg); }
.step-card:nth-child(odd) { transform: rotate(-1deg); }
.step-card .num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border: var(--border);
  border-radius: 12px;
  background: var(--amber);
  font-family: var(--font-display);
  font-weight: 800;
}
.step-card:nth-child(3n + 2) .num { background: var(--accent); color: var(--white); }
.step-card:nth-child(3n) .num { background: var(--teal); }
.step-card h3 { font-size: 1.2rem; }
.step-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Pricing */
.plan-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.pricing-card { width: min(420px, 100%); padding: 28px 26px; box-shadow: 10px 10px 0 var(--ink); }
.plan-operator {
  display: inline-block;
  padding: 3px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.price-val {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
}
.price-freq { margin-top: 6px; font-weight: 800; color: var(--ink); }
.price-meta { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.plan-features { list-style: none; margin: 18px 0 22px; display: grid; gap: 8px; }
.plan-features li { position: relative; padding-left: 28px; font-size: 14.5px; }
.plan-features li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--teal);
  font-size: 7px;
}
.pricing-card .btn { width: 100%; }

/* Opt-out */
.optout-box { padding: 22px 24px; margin-bottom: 18px; }
.op-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.sms-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.sms-to { font-weight: 700; }
.sms-keyword,
.sms-dest {
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  word-break: break-word;
}
.sms-keyword { background: var(--accent); color: var(--white); }
.sms-dest { background: var(--amber); }
.optout-notes,
.refund-list { padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.refund-list {
  padding: 22px 24px 22px 42px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}

/* About */
.about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 768px) { .about-split { grid-template-columns: 1fr; } }
.about-split h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; line-height: 1.1; }
.about-split p { margin-top: 12px; color: var(--muted); }
.about-split .gi-btn,
.about-split .btn { margin-top: 24px; }
.about-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: min(460px, 100%);
  margin-inline: auto;
}
/* Each game icon sits whole on a coloured sticker tile: the icons already carry
   their own rounded frame, so the tile supplies the ink border, not the image. */
.about-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
  padding: 14%;
  border: var(--border);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}
.about-tile:nth-child(odd) { transform: rotate(-2deg); }
.about-tile:nth-child(even) { transform: rotate(2deg) translateY(14px); }
.about-tile.tone-0 { background: var(--teal); }
.about-tile.tone-1 { background: var(--accent); }
.about-tile.tone-2 { background: var(--amber); }
.about-tile.tone-3 { background: var(--lilac); }
.about-tile img { display: block; width: 100%; height: auto; border-radius: 16px; filter: drop-shadow(3px 3px 0 var(--ink)); }

.value-stack { display: grid; gap: 20px; }
.value-row { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; }
.value-row:nth-child(2) .icon-chip { background: var(--accent); }
.value-row:nth-child(3) .icon-chip { background: var(--amber); }
.value-row h3 { font-size: 1.2rem; }
.value-row p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.vision-panel { padding: 40px 44px; background: var(--accent); color: var(--white); box-shadow: 10px 10px 0 var(--ink); }
@media (max-width: 640px) { .vision-panel { padding: 30px 24px; } }
.vision-panel h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.8rem); font-weight: 800; line-height: 1.05; text-shadow: 3px 3px 0 var(--ink); }
.vision-panel p { margin-top: 12px; }
.vision-panel .vision-lead { font-size: 1.15rem; font-weight: 700; }

/* Contact */
.care-card { padding: 24px 26px; margin-bottom: 26px; }
.care-card h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.care-card p + p { margin-top: 6px; }
.care-card p { color: var(--muted); }
.care-card a { font-weight: 700; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq { padding-top: 60px; }
.faq-list { display: grid; gap: 16px; width: min(820px, 100%); margin: 0 auto; }
.faq-item {
  border: var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
}
.faq-item summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--amber);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; background: var(--accent); color: var(--white); }
.faq-body { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* ── Forms (contact + signin) ─────────────────────────────────────────────── */

.contact-form,
.form-card { padding: clamp(1.5rem, 4vw, 2.2rem); }
.form-card.narrow { width: min(520px, 100%); margin-inline: auto; }
.contact-form h3,
.form-card h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: box-shadow 0.15s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-2); font-weight: 500; }
.form-group input:focus,
.form-group textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--accent); }
.form-group textarea { resize: vertical; min-height: 140px; }
.signin-card button,
.form-card button,
.contact-form button { margin-top: 0.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.error-msg,
.errorMsg { display: none; margin-top: 0.3rem; font-size: 0.82rem; font-weight: 700; color: var(--accent-deep); }
.form-success,
.successMsg { display: none; margin-top: 1rem; font-weight: 700; color: var(--land-on); }
.form-success a,
.successMsg a { color: var(--accent-deep); }
.form-disclaimer { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }

/* ── 404 ──────────────────────────────────────────────────────────────────── */

.not-found { padding: 90px 0; text-align: center; }
.big-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--accent);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 6px 6px 0 var(--ink);
}
.not-found h1 { margin-top: 18px; font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; }
.not-found p { color: var(--muted); }

/* ── Legal pages (shared partials render inside .legals) ──────────────────── */

.legals-wrap { padding: 3.5rem 0; }
.legals { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem; }
.legals-wrap .legals { padding-top: 0; }
.legals .container {
  width: min(840px, 92vw);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}
.legals h1 { display: none; }
.legals h6 {
  margin: 2rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}
.legals h6:first-child { margin-top: 0; }
.legals p { margin-bottom: 0.85rem; line-height: 1.75; color: var(--muted); }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; color: var(--muted); }
.legals a { color: var(--accent-deep); text-decoration: underline; word-break: break-word; }
.legals strong { color: var(--ink); }
.legals table { width: 100%; margin: 1rem 0; border-collapse: collapse; font-size: 0.92rem; }
.legals th,
.legals td { padding: 0.55rem 0.7rem; border: 2px solid var(--ink); text-align: start; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.footer-wrapper { border-top: var(--border); background: var(--ink); }
.footer-wrapper footer { max-width: 1120px; margin: 0 auto; padding: 46px 20px; }
.footer-container { display: flex; gap: 2rem; justify-content: space-between; line-height: 1.6; }
@media (max-width: 768px) { .footer-container { display: block; } }
.footer-container .footer-logo { flex: 1; max-width: 380px; }
.footer-container .footer-logo img { height: 32px; width: auto; margin-bottom: 6px; }
.footer-container .footer-logo p { margin-top: 10px; font-size: 13px; color: var(--footer-text); }
.footer-container .footer-logo a:not([aria-label]) { color: var(--amber); }
.footer-container .footer-links { display: flex; flex: 2; justify-content: flex-end; }
@media (max-width: 768px) { .footer-container .footer-links { display: block; } }
.footer-container .footer-column { margin: 0 20px; }
@media (max-width: 768px) { .footer-container .footer-column { margin: 24px 0 0; } }
.footer-container .footer-column h4 {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--amber);
}
.footer-container .footer-column ul { list-style: none; }
.footer-container .footer-column li + li { margin-top: 4px; }
.footer-container .footer-column a { font-size: 13px; color: var(--footer-link); }
.footer-container .footer-column a:hover { color: var(--white); }
.footer-version { margin-top: 28px; font-size: 11px; color: var(--footer-text); opacity: 0.6; }

/* ── Scroll reveal (hidden only when JS tagged <html class="js">) ────────── */

html.js .reveal { opacity: 0; translate: 0 18px; transition: opacity 0.6s ease, translate 0.6s ease; }
html.js .reveal.in { opacity: 1; translate: 0 0; }

/* ── Keyframes + reduced motion ───────────────────────────────────────────── */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes route { to { stroke-dashoffset: -28; } }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}
@keyframes drift {
  from { transform: translateX(-80px) translateY(30px); }
  to { transform: translateX(640px) translateY(30px); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .sun,
  .map-svg .route,
  .map-svg .boat .bob,
  .map-svg .cloud,
  .marquee .marquee-track,
  .map-game { animation: none; }
  .map-svg .boat { transition: none; }
  html.js .reveal { opacity: 1; translate: none; transition: none; }
}
