@font-face{font-family:Outfit;font-weight:400;font-display:swap;src:url(/fonts/outfit-400.ttf) format("truetype")}
@font-face{font-family:Outfit;font-weight:500;font-display:swap;src:url(/fonts/outfit-500.ttf) format("truetype")}
@font-face{font-family:Outfit;font-weight:600;font-display:swap;src:url(/fonts/outfit-600.ttf) format("truetype")}
@font-face{font-family:Outfit;font-weight:800;font-display:swap;src:url(/fonts/outfit-800.ttf) format("truetype")}
/* The app's tokens (src/theme/tokens.ts) plus the colours of the donkey (assets/brand/logo.svg). */
:root {
  --canvas: #F7F5F2;
  --surface: #FFFFFF;
  --ink: #2A2B2E;
  --ink-soft: #55575C;
  --hairline: #ECE9E4;
  --lavender: #E7DEF5;
  --sage: #DDE8D0;
  --butter: #F4ECB8;
  --powder: #D7E5EF;
  --blush: #F5DFDD;
  --star: #F5B82E;
  --gold: #F2951C;
  --donkey: #2F2940;
  --donkey-soft: #544A6E;
  --ear: #CDBDF0;
  --cream: #FFF4DC;
  --sea: #CFE5F2;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 18px/1.55 Outfit, system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
h1 em { font-style: normal; color: var(--gold); }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1180px, 100% - 64px); } }
.eyebrow { font-weight: 600; font-size: 15px; color: var(--donkey-soft); margin-bottom: 14px; letter-spacing: 0.01em; }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-soft); margin-top: 18px; max-width: 42em; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
section { padding-block: clamp(64px, 9vw, 120px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--donkey); color: #fff; font: 600 18px Outfit, system-ui, sans-serif;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #3E3655; }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.board .btn-ghost { background: var(--canvas); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 16px; }
.link { display: inline-block; margin-top: 24px; font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* Nav */
.nav {
  position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; gap: 24px;
  width: min(1180px, 100% - 24px); margin: 12px auto 0; padding: 8px 10px 8px 16px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 999px; box-shadow: 0 8px 30px rgba(47, 41, 64, .08);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo > img { width: 40px; height: 40px; }
.wordmark { display: block; width: 86px; }
.wordmark svg { width: 100%; height: auto; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; font-weight: 500; font-size: 16px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { font-weight: 600; font-size: 15px; text-underline-offset: 3px; }
@media (max-width: 920px) { .nav-links { display: none; } }
@media (max-width: 430px) { .wordmark { display: none; } .nav-end { gap: 10px; } .btn-small { padding: 0 16px; font-size: 15px; } }

/* Launch alert */
.wl { width: 100%; max-width: 500px; }
.wl-row { display: flex; gap: 8px; padding: 6px; background: var(--surface); border-radius: 999px; box-shadow: 0 10px 30px rgba(47, 41, 64, .1); }
.wl-row input { flex: 1; min-width: 0; height: 52px; padding: 0 8px 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 17px Outfit, system-ui, sans-serif; }
.wl-row input:focus { outline: none; }
.wl-row:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.wl-row .btn { flex: none; min-height: 52px; padding: 0 26px; }
.wl-row .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-msg:empty { display: none; }
.wl-msg { margin-top: 12px; padding: 10px 16px; border-radius: 16px; font-weight: 600; font-size: 16px; line-height: 1.3; }
.wl-msg.ok { background: var(--sage); }
.wl-msg.bad { background: var(--blush); }
.wl-note { margin-top: 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.35; }
.wl.done .wl-row, .wl.done .wl-note { display: none; }
.hero-alert { margin-top: 26px; margin-bottom: 12px; font-weight: 600; font-size: 19px; }
.hero-play { display: table; margin-top: 16px; }
.final .wl { margin-top: 26px; text-align: center; }
@media (max-width: 480px) {
  .wl-row { flex-direction: column; padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
  .wl-row:focus-within { outline: none; }
  .wl-row input { flex: none; padding: 0 22px; background: var(--surface); box-shadow: 0 8px 24px rgba(47, 41, 64, .08); }
  .wl-row input:focus { outline: 3px solid var(--gold); }
  .wl-row .btn { width: 100%; }
}

/* Sunburst, the signature of the welcome screen and the store images */
.burst {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-conic-gradient(from 4deg at var(--bx, 72%) var(--by, 42%), #F7E9A8 0 9deg, transparent 9deg 18deg);
  -webkit-mask-image: radial-gradient(circle at var(--bx, 72%) var(--by, 42%), #000 0, transparent 68%);
  mask-image: radial-gradient(circle at var(--bx, 72%) var(--by, 42%), #000 0, transparent 68%);
  opacity: .8;
}

/* Hero */
.motto { margin-bottom: 8px; font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.015em; color: var(--donkey); }
.hero { position: relative; margin-top: -72px; padding-block: 130px 72px; overflow: clip; background: linear-gradient(180deg, #FBF5D8, var(--canvas) 82%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .lead { max-width: 33em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 12px; border-radius: 14px; background: rgba(255, 255, 255, .6); color: var(--ink-soft); font-weight: 600; font-size: 15px; line-height: 1.15; }
.store svg { width: 22px; height: 22px; fill: var(--ink-soft); }
.store small { display: block; font-size: 11.5px; font-weight: 500; }
.hero-art { position: relative; display: flex; justify-content: center; min-height: 620px; }
.phone { position: relative; width: 100%; max-width: 280px; padding: 8px; border-radius: 44px; background: var(--ink); box-shadow: 0 30px 60px rgba(47, 41, 64, .22); flex: none; }
.phone img { width: 100%; height: auto; border-radius: 36px; }
.phone-hero { z-index: 2; width: 292px; max-width: 292px; align-self: center; rotate: 3deg; }
.hero-donkey { position: absolute; z-index: 3; width: 190px; top: -6px; left: 50%; translate: -292px 0; rotate: -10deg; filter: drop-shadow(0 14px 16px rgba(47, 41, 64, .18)); }
.float { position: absolute; z-index: 3; filter: drop-shadow(0 14px 16px rgba(47, 41, 64, .18)); animation: bob 6s ease-in-out infinite; }
.f1 { top: 8%; right: -1%; width: 150px; }
.f2 { top: 44%; left: -2%; width: 124px; animation-delay: -1.5s; }
.f3 { bottom: 9%; right: -3%; width: 150px; animation-delay: -3s; }
.f4 { bottom: 0; left: 6%; width: 136px; animation-delay: -4.5s; }
@keyframes bob { 50% { translate: 0 -12px; } }
@media (max-width: 920px) {
  .hero { padding-top: 112px; }
  .hero-in { grid-template-columns: 1fr; }
  .burst { --bx: 50%; --by: 72%; }
  .hero-art { min-height: 560px; margin-top: 44px; }
  .phone-hero { width: 256px; }
  .hero-donkey { width: 112px; top: -30px; translate: -176px 0; }
  .f1 { width: 118px; right: 0; }
  .f2 { width: 100px; left: 0; }
  .f3 { width: 118px; right: 0; }
  .f4 { width: 108px; left: 2%; }
}

/* Numbers */
.stats { padding-block: 0; background: var(--donkey); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 44px; }
.stats strong { display: block; font-size: clamp(44px, 6vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--star); }
.stats span { display: block; margin-top: 8px; color: var(--ear); font-weight: 500; font-size: 17px; }
@media (max-width: 720px) { .stats-in { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; } }

/* Made for the islands */
.home { padding-bottom: 0; background: linear-gradient(180deg, var(--canvas), var(--sea) 62%); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { padding: 9px 18px; border-radius: 999px; background: var(--surface); font-weight: 500; font-size: 17px; }
.home-img {
  width: 100%; max-width: none; height: auto; margin-top: 40px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%);
  mask-image: linear-gradient(180deg, transparent, #000 18%);
}

/* The game */
.game { background: var(--lavender); background: linear-gradient(180deg, #F1EBFA, var(--lavender)); }
.board { max-width: 860px; margin-inline: auto; padding: clamp(14px, 3vw, 28px); background: var(--surface); border-radius: 34px; box-shadow: 0 30px 70px rgba(47, 41, 64, .12); text-align: center; }
.board-top { display: flex; align-items: center; gap: 12px; }
.wish { flex: 1; min-height: 62px; display: block; padding: 11px 16px; border-radius: 20px; background: var(--canvas); text-align: left; font-weight: 500; font-size: 17px; line-height: 1.3; }
.reward { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--butter); font-weight: 600; font-size: 15px; white-space: nowrap; }
.stars { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--butter); font-size: 22px; font-weight: 800; }
.stars svg { width: 24px; height: 24px; fill: var(--star); }
.map-box { margin-top: 10px; }
#map { width: 100%; height: auto; overflow: visible; }
.cell { cursor: pointer; transition: fill .15s ease, opacity .2s ease; opacity: .5; }
.cell.open { opacity: 1; }
.cell.open:hover { fill: #FFE9A0; }
.cell:focus-visible { outline: none; stroke: var(--gold); stroke-width: 7px; }
.built image { pointer-events: none; }
.pop { transform-box: fill-box; transform-origin: 50% 90%; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.fact { min-height: 54px; margin: 6px auto 12px; max-width: 34em; color: var(--ink-soft); font-size: 17px; line-height: 1.35; }
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.piece { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 10px; border: 2px solid transparent; border-radius: 20px; background: var(--canvas); color: var(--ink); font: 500 15px/1.15 Outfit, system-ui, sans-serif; cursor: pointer; transition: border-color .15s ease, opacity .15s ease; }
.piece img { width: 100%; max-width: 72px; height: auto; }
.piece b { font-weight: 800; font-size: 16px; }
.piece.on { border-color: var(--donkey); background: var(--surface); }
.piece:disabled { opacity: .4; cursor: not-allowed; }
@media (min-width: 940px) {
  .board {
    display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: auto auto 1fr auto;
    grid-template-areas: 'map top' 'map pal' 'map fact' 'map reset'; gap: 14px 28px;
    max-width: 1120px; align-items: start; text-align: left;
  }
  .board-top { grid-area: top; align-items: flex-start; }
  .map-box { grid-area: map; margin: 0; align-self: center; }
  .palette { grid-area: pal; grid-template-columns: repeat(3, 1fr); margin: 0; }
  .fact { grid-area: fact; margin: 0; }
  #reset { grid-area: reset; justify-self: start; }
}
@media (max-width: 560px) { .piece { font-size: 13px; } .wish { font-size: 15.5px; } .stars { font-size: 18px; padding: 7px 11px; } }

/* How it works */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: clamp(24px, 3.4vw, 40px) clamp(24px, 3.4vw, 40px) 0; border-radius: 34px; overflow: hidden; }
.card p { margin-top: 10px; color: var(--ink-soft); }
.card .phone { align-self: center; width: min(280px, 82%); margin-bottom: -150px; }
.card { max-height: 760px; }
.butter { background: var(--butter); }
.sage { background: var(--sage); }
.powder { background: var(--powder); }
.lavender { background: var(--lavender); }
.blush { background: var(--blush); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Programme */
.program { background: var(--surface); }
.program-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.areas { display: grid; gap: 10px; }
.areas li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 24px; border-radius: 22px; font-weight: 600; font-size: 19px; }
.areas b { font-weight: 800; font-size: 30px; letter-spacing: -0.02em; white-space: nowrap; }
.areas small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .program-in { grid-template-columns: 1fr; } }

/* Families */
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.family-grid article { padding: 26px; background: var(--surface); border-radius: 26px; }
.family-grid h3 { font-size: 21px; }
.family-grid p { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }
@media (max-width: 980px) { .family-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .family-grid { grid-template-columns: 1fr; } }

/* The donkey */
.donkey { background: var(--donkey); color: #fff; }
.donkey-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.donkey img { width: clamp(140px, 22vw, 260px); background: var(--cream); border-radius: 44px; padding: 16px; }
.donkey .eyebrow { color: var(--ear); }
.donkey .lead { color: #E9E3F7; }
@media (max-width: 640px) { .donkey-in { grid-template-columns: 1fr; } }

/* FAQ */
.faq-in { display: grid; grid-template-columns: 1fr 2.2fr; gap: 32px; }
details { border-bottom: 1px solid #DEDAD3; }
summary { padding: 20px 34px 20px 0; font-weight: 600; font-size: 20px; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 500; color: var(--gold); }
details[open] summary::after { content: '−'; }
details p { padding-bottom: 22px; color: var(--ink-soft); max-width: 40em; }
@media (max-width: 760px) { .faq-in { grid-template-columns: 1fr; } }

/* Final */
.final { position: relative; overflow: clip; background: linear-gradient(180deg, var(--canvas), #FBF0BE); text-align: center; --bx: 50%; --by: 40%; }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final img { width: 120px; margin-bottom: 18px; }
.final .stores { justify-content: center; }

/* Footer */
.footer { padding-block: 44px; background: var(--ink); color: #D9D8DC; font-size: 16px; }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.footer .wordmark { width: 96px; margin-bottom: 10px; }
.wordmark-light { background: var(--canvas); padding: 8px 12px; border-radius: 12px; box-sizing: content-box; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 500; }
.footer-small { grid-column: 1 / -1; font-size: 14px; color: #A5A4AA; }
@media (max-width: 600px) { .footer-in { grid-template-columns: 1fr; } }

/* Legal and support pages */
.sub { display: flex; flex-direction: column; min-height: 100vh; }
.doc { flex: 1; width: min(760px, 100% - 32px); margin: 56px auto 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); }
.doc h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 36px; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc mark { background: var(--butter); border-radius: 6px; padding: 0 6px; font-weight: 600; }
.updated { color: var(--ink-soft); font-size: 16px; }
.doc-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Reveal: only hidden when JS is there to show it again */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .pop { animation: none; }
  .js .reveal { opacity: 1; translate: 0 0; transition: none; }
}

/* The App Store button: the main call to action since the iOS release (2026-11-07). */
.appstore { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 12px 28px 12px 22px; border-radius: 18px; background: #000; color: #fff; text-decoration: none; line-height: 1.1; font-weight: 600; font-size: 26px; letter-spacing: -.01em; box-shadow: 0 14px 34px rgba(47, 41, 64, .25); transition: transform .15s ease, box-shadow .15s ease; }
.appstore:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(47, 41, 64, .3); }
.appstore svg { width: 36px; height: 36px; fill: #fff; flex: none; }
.appstore small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; opacity: .85; }
/* Both store buttons side by side; they stack on a narrow phone. */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-row .appstore { margin-top: 0; }
.final .store-row { justify-content: center; }
.store-note { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.final-android { margin-top: 30px; font-weight: 600; font-size: 18px; }
.final .stores { margin-top: 12px; }
.final .wl { margin-top: 14px; }
.hero .stores { margin-top: 0; margin-bottom: 12px; }

/* Pages reached from the reminder e-mails (unsubscribe, open the app). */
.util [hidden] { display: none !important; }
.util img { width: 96px; margin-bottom: 12px; }
.util .lead { margin-inline: auto; }
.util .btn, .util .appstore { margin-top: 26px; }
.util .wl-msg { margin-top: 20px; }
.open-noapp { margin-top: 36px; font-weight: 600; }
.util .open-mobile + .open-desktop + .appstore, .util .open-mobile:not([hidden]) ~ .appstore { margin-top: 12px; }
.util .stores { justify-content: center; }
/* Landing page of the iPhone ads: the page fills the screen, the button is the only thing to do. */
.ios { min-height: calc(100svh - 120px); justify-content: center; }
.ios .ios-motto { margin: 0 0 6px; font-weight: 600; color: var(--ink-soft); }
.ios .appstore { margin-top: 30px; }
.ios-footer { padding-block: 24px; }
