@font-face {
  font-family: "Allo";
  src: url("/assets/fonts/Allo.woff2") format("woff2-variations"), url("/assets/fonts/Allo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --honey: #F6C23A;
  --honey-lt: #FFDA6B;
  --amber: #E88A00;
  --bg: #FEC060;
  --bg-deep: #F5A93A;
  --ink: #3A2416;
  --brown: #7A4310;
  --rim: #5A3214;
  --cream: #FFF6E0;
  --cream-2: #FCEBC4;
  --sage: #7DB85A;
  --sage-dk: #4E8A33;
  --green: #6FB247;
  --gold: #E9A92A;
  --grey: #A99A86;
  --pink: #F28C96;
  --blue: #5AAFE0;
  --wood: #C79A62;
  --radius: 28px;
  --shadow: 0 2px 0 rgba(90, 50, 20, .25), 0 18px 40px -18px rgba(90, 50, 20, .55);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Allo", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-variation-settings: "ROND" 100;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
h1, h2, h3, b, strong, .btn, summary { font-variation-settings: "ROND" 100; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); padding: 8px 14px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }

/* ---------- type ---------- */
.clay-title {
  font-weight: 900;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  word-spacing: .12em;
  margin: 0 0 .35em;
  color: var(--cream);
  -webkit-text-stroke: .2em var(--rim);
  paint-order: stroke fill;
  text-shadow: 0 .09em 0 var(--rim), 0 .16em .18em rgba(90, 50, 20, .35);
  text-wrap: balance;
}
.clay-title .honey { color: #FFBE3A; }
h2.clay-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }

.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brown);
  background: rgba(255, 246, 224, .75);
  border: 2px solid rgba(122, 67, 16, .18);
  padding: 6px 14px; border-radius: 999px;
  margin: 0 0 18px;
}
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--brown); max-width: 34em; margin: 0 0 28px; text-wrap: pretty; }
.fine { font-size: .9rem; color: var(--brown); opacity: .85; }
.center { text-align: center; justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  --img: url("/assets/sprites/kit9_button_green.webp");
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 4px 26px 10px;
  border: 0; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 800; font-size: 1.1rem; color: #fff;
  text-shadow: 0 2px 0 rgba(40, 70, 20, .55);
  border-style: solid; border-width: 22px 34px; border-color: transparent;
  border-image: var(--img) 90 120 fill / 22px 34px;
  padding: 0 4px 6px;
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), filter .2s;
}
.btn:hover { filter: brightness(1.06) saturate(1.05); transform: translateY(-2px); }
.btn:active { transform: scale(.94); }
.btn:disabled { filter: grayscale(.6) brightness(.95); opacity: .7; cursor: not-allowed; transform: none; }
.btn-amber { --img: url("/assets/sprites/kit9_button_wood.webp"); color: var(--cream); text-shadow: 0 2px 0 rgba(50, 25, 10, .6); }
.btn-cta { box-sizing: border-box; height: 64px; min-height: 0; border-width: 18px 30px; border-image-width: 18px 30px; font-size: 1.2rem; padding: 0 6px 4px; }
.btn-sm { min-height: 44px; font-size: .95rem; border-width: 16px 26px; border-image-width: 16px 26px; }

.appstore {
  display: inline-flex; align-items: center; gap: 10px; box-sizing: border-box; height: 64px;
  background: var(--ink); color: var(--cream);
  padding: 10px 22px 10px 16px; border-radius: 18px; text-decoration: none;
  box-shadow: 0 5px 0 #1d120a, 0 16px 30px -12px rgba(40, 20, 8, .6);
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1);
}
.appstore:hover { transform: translateY(-2px); }
.appstore:active { transform: translateY(3px); box-shadow: 0 2px 0 #1d120a; }
.appstore svg { width: 30px; height: 30px; }
.appstore span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.35rem; line-height: 1.05; }
.appstore small { font-weight: 600; font-size: .72rem; letter-spacing: .02em; opacity: .85; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 192, 96, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 2px solid rgba(122, 67, 16, .12);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { width: 170px; height: auto; }
.nav-links { display: flex; gap: 22px; font-weight: 700; }
.nav-links a { text-decoration: none; color: var(--brown); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--amber); transform: scaleX(0); transition: transform .2s; }
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 420px) { .brand img { width: 130px; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: url("/assets/sprites/kit_bg_honey.webp") center 30% / cover no-repeat, var(--bg);
  padding: 56px 0 120px;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; z-index: 2; }
.hero .clay-title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 26px 0 0; font-weight: 700; color: var(--brown); }
.trust li::before { content: ""; display: inline-block; width: 12px; height: 11px; margin-right: 7px; background: var(--sage); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-pot { position: absolute; width: 130px; left: 4%; bottom: -10px; filter: drop-shadow(0 14px 16px rgba(90, 50, 20, .35)); animation: bob 5s ease-in-out infinite; }
.hero-bees img { position: absolute; z-index: 1; filter: drop-shadow(0 10px 12px rgba(90, 50, 20, .3)); }
.fly.b1 { width: 92px; top: 12%; left: 46%; animation: fly1 9s ease-in-out infinite; }
.fly.b2 { width: 70px; top: 70%; left: 3%; animation: fly2 11s ease-in-out infinite; }
.fly.b3 { width: 64px; top: 8%; right: 4%; animation: fly1 8s ease-in-out infinite reverse; }
.drip { opacity: .9; }
.drip.d1 { width: 120px; right: -30px; bottom: 20%; transform: rotate(-12deg); }
.drip.d2 { width: 90px; left: -24px; top: 18%; transform: rotate(10deg); }
.drips {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 64' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C20 40 22 14 40 14 S58 34 70 34 82 6 100 6 118 46 132 46 150 22 168 22 186 38 200 38 222 18 240 40 V64 H0Z' fill='%23FCEBC4'/%3E%3C/svg%3E") 0 100% / 240px 64px repeat-x;
}
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero .cta-row, .trust { justify-content: center; }
  .fly.b1 { left: auto; right: 6%; top: 3%; }
}

@keyframes fly1 { 0%,100% { transform: translate(0, 0) rotate(-4deg); } 25% { transform: translate(-30px, -18px) rotate(3deg); } 50% { transform: translate(10px, -34px) rotate(-2deg); } 75% { transform: translate(24px, -8px) rotate(5deg); } }
@keyframes fly2 { 0%,100% { transform: translate(0, 0) scaleX(-1); } 50% { transform: translate(40px, -30px) scaleX(-1) rotate(6deg); } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- phone frame ---------- */
.phone {
  position: relative; width: min(340px, 78vw); aspect-ratio: 1206 / 2622;
  padding: 11px; border-radius: 56px;
  background: linear-gradient(145deg, #5a4030, #2B211B 40%, #1a120c);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12), 0 40px 70px -24px rgba(70, 35, 10, .7), 0 12px 24px -10px rgba(70, 35, 10, .5);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 46px; }
.phone.tilt { transform: rotate(4deg); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.phone.tilt:hover { transform: rotate(0) translateY(-6px); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p:not(.kicker) { font-size: 1.15rem; color: var(--brown); margin: 0; text-wrap: pretty; }

.try { background: var(--cream-2); }
.how { background: var(--cream); }
.shots { background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%); overflow: hidden; }
.features { background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 48v49M56 48v49' fill='none' stroke='%23e8a03a' stroke-opacity='.35' stroke-width='2'/%3E%3C/svg%3E"); }
.run { background: linear-gradient(180deg, #A6CC6A 0%, #8CBB52 100%); }
.clip { background: var(--cream); }
.gc { background: var(--cream-2); }
.ipad { background: linear-gradient(180deg, var(--cream-2), var(--bg)); }
.plus { background: var(--bg); }
.faq { background: var(--cream); }
.download { background: url("/assets/sprites/kit_bg_honey.webp") center / cover, var(--bg); text-align: center; }

/* ---------- playable board ---------- */
.board-card {
  position: relative; max-width: 480px; margin: 0 auto;
  background: linear-gradient(180deg, #FFD27A, #F6B44A);
  border-radius: 40px; padding: 22px 18px 26px;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .6), inset 0 -6px 0 rgba(160, 90, 20, .35), var(--shadow);
}
.hud { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: .9rem; font-weight: 700; color: var(--brown); }
.hud-item { display: flex; align-items: center; gap: 6px; background: rgba(255, 246, 224, .8); padding: 6px 12px 6px 8px; border-radius: 999px; }
.hud-item b { font-weight: 900; color: var(--ink); font-size: 1.05rem; }
.hud-item.dipper { flex-direction: column; gap: 0; background: none; padding: 0; }
.hud-item.dipper img { width: 100%; max-width: 190px; height: auto; }
.hud-item.dipper span { font-size: .8rem; color: var(--brown); margin-top: -2px; }
.hud-item.dipper b { font-size: .9rem; }

.board { position: relative; width: 100%; aspect-ratio: 8 / 8.66; margin: 10px auto 4px; touch-action: manipulation; }
.cell {
  position: absolute; width: 24%; aspect-ratio: 204 / 175;
  transform: translate(-50%, -50%);
  border: 0; padding: 0; background: none; cursor: pointer;
  perspective: 600px;
  -webkit-tap-highlight-color: transparent;
}
.cell .face { position: absolute; inset: 0; transition: transform .38s cubic-bezier(.3, 1.4, .5, 1); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cell .front { transform: rotateY(180deg); opacity: 0; }
.cell .face { transition: transform .38s cubic-bezier(.3, 1.4, .5, 1), opacity 0s linear .19s; }
.cell.open .back { opacity: 0; }
.cell.open .front { opacity: 1; }
.cell.open .back { transform: rotateY(-180deg); }
.cell.open .front { transform: rotateY(0); }
.cell .back img, .cell .front img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(90, 50, 20, .3)); }
.cell .letter {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 900; font-size: clamp(1.4rem, 5.6vw, 2.2rem); color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 240, 210, .6);
}
.cell .val { position: absolute; right: 20%; bottom: 14%; font-weight: 800; font-size: clamp(.6rem, 1.8vw, .8rem); color: var(--ink); }
.cell .mult { position: absolute; left: 50%; top: -6%; transform: translateX(-50%); font-size: .7rem; font-weight: 900; padding: 1px 6px; border-radius: 999px; color: #fff; }
.cell .mult.dl { background: #6FA552; } .cell .mult.tl { background: #3C6CB0; } .cell .mult.dw { background: #D47C98; } .cell .mult.tw { background: #B53A2E; }
.cell:hover:not(.used) .back { transform: translateY(-3px) scale(1.04); }
.cell.used { opacity: .35; cursor: default; }
.cell.used .front img { filter: grayscale(.4); }
.cell.flash .back img { animation: shimmer .5s ease; }
.cell.deco { cursor: default; pointer-events: none; }
.cell.deco img { width: 70%; margin: 10% auto 0; height: auto; }
@keyframes shimmer { 50% { filter: brightness(1.5) saturate(1.3); transform: scale(1.06); } }
.timer {
  position: absolute; width: 18%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%; background: var(--cream); color: var(--ink);
  font-weight: 900; font-size: clamp(1rem, 3.6vw, 1.5rem); line-height: 1;
  box-shadow: inset 0 -4px 0 rgba(160, 100, 40, .25), 0 4px 0 var(--rim);
}
.timer svg { position: absolute; inset: -6%; width: 112%; height: 112%; transform: rotate(-90deg); }
.timer circle { fill: none; stroke: var(--amber); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.timer small { display: block; font-size: .5em; font-weight: 700; color: var(--brown); }

.tray {
  display: flex; justify-content: center; gap: 2%;
  background: url("/assets/sprites/kit_tray.webp") center / 100% 100% no-repeat;
  aspect-ratio: 1426 / 401; padding: 6% 9% 9%; margin: 6px 0 4px;
}
.slot {
  flex: 0 0 15%; aspect-ratio: 189 / 163; display: grid; place-items: center;
  font-weight: 900; font-size: clamp(1.1rem, 4.4vw, 1.8rem); color: rgba(255, 246, 224, .5);
  background: rgba(60, 30, 10, .35); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  position: relative;
}
.slot.filled { color: var(--ink); background: url("/assets/sprites/kit_tile_hex.webp?v=2") center / contain no-repeat; clip-path: none; animation: pop .3s cubic-bezier(.3, 1.8, .5, 1); }
.slot.blind::after { content: "2×"; position: absolute; top: -4px; right: -2px; font-size: .55em; background: var(--sage); color: #fff; border-radius: 999px; padding: 0 5px; }
@keyframes pop { from { transform: scale(.4); } }

.clues { display: grid; gap: 6px; justify-content: center; margin: 6px 0 12px; min-height: 0; }
.clue-row { display: flex; gap: 6px; }
.clue {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  font-weight: 900; color: #fff; font-size: 1.2rem; text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.clue.g { background: var(--green); } .clue.y { background: var(--gold); } .clue.x { background: var(--grey); }
.clue-row .clue { animation: flipin .45s both; }
.clue-row .clue:nth-child(2) { animation-delay: .08s; } .clue-row .clue:nth-child(3) { animation-delay: .16s; }
.clue-row .clue:nth-child(4) { animation-delay: .24s; } .clue-row .clue:nth-child(5) { animation-delay: .32s; }
@keyframes flipin { from { transform: rotateX(90deg); } }

.board-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.icon-btn { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: .8rem; color: var(--brown); display: grid; justify-items: center; gap: 2px; padding: 6px; border-radius: 14px; transition: transform .15s; }
.icon-btn img { width: 40px; height: 40px; object-fit: contain; }
.icon-btn:active { transform: scale(.9); }
.toast {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) scale(.8); opacity: 0;
  pointer-events: none; margin: 0;
  background: var(--ink); color: var(--cream); font-weight: 800; padding: 12px 22px; border-radius: 18px;
  text-align: center; box-shadow: var(--shadow); transition: opacity .25s, transform .25s cubic-bezier(.3, 1.6, .5, 1);
  max-width: 86%;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step {
  counter-increment: s; position: relative;
  background: #fff8e8; border-radius: var(--radius); padding: 26px 22px 24px;
  border: 2px solid rgba(122, 67, 16, .1); box-shadow: var(--shadow);
}
.step::before {
  content: counter(s); position: absolute; top: -14px; left: 20px;
  width: 34px; height: 30px; display: grid; place-items: center;
  background: var(--amber); color: #fff; font-weight: 900;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.step h3 { font-size: 1.3rem; font-weight: 900; margin: 14px 0 6px; }
.step p { margin: 0; color: var(--brown); }
.step-art { position: relative; height: 96px; display: flex; align-items: center; justify-content: center; }
.step-art img { height: 88px; width: auto; filter: drop-shadow(0 8px 8px rgba(90, 50, 20, .25)); }
.mini-tile {
  position: absolute; right: 22%; top: 0; width: 58px; height: 50px; display: grid; place-items: center;
  background: url("/assets/sprites/kit_tile_hex.webp?v=2") center / contain no-repeat; font-weight: 900; font-size: 1.6rem;
  transform: rotate(8deg); filter: drop-shadow(0 6px 6px rgba(90, 50, 20, .3));
}
.mini-tile sub { font-size: .45em; position: absolute; right: 14px; bottom: 8px; }
.clue-art { gap: 6px; }
.clue-art .clue { width: 52px; height: 52px; font-size: 1.6rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- screenshot reel ---------- */
.reel {
  display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(16px, calc((100vw - var(--wrap)) / 2)) 40px;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.reel .phone { width: min(280px, 70vw); }
.reel figcaption { margin-top: 18px; font-size: 1.1rem; color: var(--brown); max-width: 260px; margin-inline: auto; }
.reel figcaption b { color: var(--ink); font-weight: 900; }
.reel-ctrl { display: flex; justify-content: center; gap: 14px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cream); color: var(--ink); font: inherit; font-size: 2rem; font-weight: 900; line-height: 1;
  box-shadow: 0 4px 0 var(--rim); transition: transform .15s;
}
.round-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--rim); }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: rgba(255, 248, 232, .93); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); border: 2px solid rgba(255, 255, 255, .7);
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
.feat:hover { transform: translateY(-4px) rotate(-.5deg); }
.feat.big { grid-column: span 2; display: grid; grid-template-columns: 110px 1fr; column-gap: 22px; align-items: center; }
.feat.big img { grid-row: span 2; width: 110px; }
.feat img { height: 64px; width: auto; margin-bottom: 10px; filter: drop-shadow(0 6px 8px rgba(90, 50, 20, .25)); }
.feat.big img { height: auto; margin: 0; }
.feat.big h3 { align-self: end; }
.feat.big p { align-self: start; }
.feat h3 { font-weight: 900; font-size: 1.3rem; margin: 0 0 6px; }
.feat p { margin: 0; color: var(--brown); }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } .feat.big { grid-column: auto; grid-template-columns: 72px 1fr; } .feat.big img { width: 72px; } }

/* ---------- hive run ---------- */
.run-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.run-copy p:not(.kicker) { font-size: 1.15rem; color: #2E4A17; }
.run .kicker { background: rgba(255, 255, 255, .7); color: #2E4A17; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.chapters::before { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; border-left: 5px dashed rgba(255, 255, 255, .6); }
.chapters li {
  position: relative; display: grid; grid-template-columns: 66px 1fr 64px; gap: 16px; align-items: center;
  background: #FFF8E8; border-radius: 24px; padding: 14px 18px 14px 14px; box-shadow: 0 5px 0 rgba(60, 90, 30, .35);
}
.chapters li:nth-child(even) { margin-left: 28px; }
.ch-num {
  width: 66px; height: 58px; display: grid; place-items: center; font-weight: 900; font-size: 1.6rem; color: var(--ink);
  background: url("/assets/sprites/kit_tile_hex.webp?v=2") center / contain no-repeat;
}
.chapters h3 { margin: 0; font-weight: 900; font-size: 1.25rem; }
.chapters p { margin: 0; color: var(--brown); }
.chapters img { width: 64px; filter: drop-shadow(0 5px 5px rgba(90, 50, 20, .25)); }
.chapters .wild { background: linear-gradient(90deg, #FFE7A8, #FFD27A); }
@media (max-width: 860px) { .run-in { grid-template-columns: 1fr; gap: 30px; } .chapters li:nth-child(even) { margin-left: 0; } .chapters li { grid-template-columns: 56px 1fr 48px; } .ch-num { width: 56px; height: 50px; } .chapters img { width: 48px; } .chapters::before { left: 28px; } }

/* ---------- app clip ---------- */
.clip-in, .gc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.clip-copy p:not(.kicker), .gc-copy > p:not(.kicker):not(.fine) { font-size: 1.15rem; color: var(--brown); }
.clip-card {
  max-width: 420px; margin: 0 auto; width: 100%;
  background: #fff; border-radius: 32px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(70, 35, 10, .6), 0 0 0 1px rgba(0, 0, 0, .05);
  transform: rotate(-3deg);
  font-family: -apple-system, system-ui, sans-serif;
}
.clip-header { width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; }
.clip-body { display: flex; align-items: center; gap: 14px; padding: 18px 20px 8px; }
.clip-icon { width: 54px; height: 54px; border-radius: 13px; }
.clip-body div { flex: 1; display: grid; }
.clip-body b { font-size: 1.05rem; color: #111; }
.clip-body span { color: #666; font-size: .9rem; }
.clip-open { background: #0A84FF; color: #fff !important; font-weight: 700; padding: 7px 22px; border-radius: 999px; }
.clip-foot { margin: 0; padding: 10px 20px 18px; color: #888; font-size: .85rem; }
.clip-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.qr { margin: 0; display: flex; align-items: center; gap: 14px; }
.qr img { width: 112px; height: 112px; background: #fff; padding: 8px; border-radius: 18px; box-shadow: var(--shadow); }
.qr figcaption { font-weight: 700; color: var(--brown); max-width: 9em; font-size: .95rem; }
@media (max-width: 860px) { .clip-in, .gc-in { grid-template-columns: 1fr; gap: 40px; } .clip-copy { order: -1; } }

/* ---------- game center ---------- */
.boards { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.boards li { background: #fff8e8; border-radius: 18px; padding: 12px 16px; color: var(--brown); box-shadow: 0 3px 0 rgba(122, 67, 16, .15); }
.boards b { display: block; color: var(--ink); font-weight: 900; font-size: 1.1rem; }
.lb {
  position: relative; max-width: 420px; width: 100%; margin: 0 auto;
  background: linear-gradient(160deg, #2B211B, #3e2c20); color: var(--cream);
  border-radius: 32px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(40, 20, 8, .7);
  transform: rotate(2deg);
}
.lb-head { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.1rem; margin-bottom: 14px; }
.gc-dot { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(#FF6B9A, #FFB347, #7DDB6A, #5AAFE0, #B57BFF, #FF6B9A); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.lb-tag { margin-left: auto; font-size: .75rem; background: var(--amber); color: #fff; padding: 3px 10px; border-radius: 999px; }
.lb ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lb li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; background: rgba(255, 255, 255, .06); padding: 10px 14px; border-radius: 16px; font-weight: 700; }
.lb li.me { background: linear-gradient(90deg, var(--amber), #F6C23A); color: var(--ink); }
.rk { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: rgba(255, 255, 255, .1); font-size: .9rem; }
.rk.gold { background: #F6C23A; color: var(--ink); } .rk.silver { background: #D9D2C5; color: var(--ink); } .rk.bronze { background: #C98A4E; color: var(--ink); }
.sc { font-weight: 900; }
.lb-bee { position: absolute; width: 84px; right: -26px; top: -40px; transform: scaleX(-1); animation: bob 4s ease-in-out infinite; }

/* ---------- ipad ---------- */
.ipad-frame {
  max-width: 820px; margin: 0 auto; padding: 16px; border-radius: 44px;
  background: linear-gradient(145deg, #5a4030, #2B211B 40%, #1a120c);
  box-shadow: 0 50px 90px -30px rgba(70, 35, 10, .7);
}
.ipad-frame img { width: 100%; border-radius: 30px; aspect-ratio: 2064 / 2752; object-fit: cover; }

/* ---------- plus ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 0 auto 18px; }
.plan {
  position: relative; text-align: center; background: var(--cream); border-radius: var(--radius); padding: 34px 22px 26px;
  box-shadow: var(--shadow); border: 3px solid transparent;
}
.plan.best { border-color: var(--sage); transform: translateY(-10px); background: #fffbef; }
.plan h3 { margin: 0; font-weight: 900; font-size: 1.3rem; }
.plan .price { font-size: 2.6rem; font-weight: 900; margin: 6px 0; color: var(--ink); line-height: 1.1; }
.plan .price small { font-size: .4em; font-weight: 700; color: var(--brown); }
.plan p { margin: 0; color: var(--brown); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--sage); color: #fff; font-weight: 900; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 3px 0 var(--sage-dk); }
.badge.amber { background: var(--amber); box-shadow: 0 3px 0 #a85f00; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; max-width: 420px; gap: 28px; } .plan.best { transform: none; } }

/* ---------- faq ---------- */
details { background: #fff8e8; border-radius: 22px; margin-bottom: 12px; box-shadow: 0 3px 0 rgba(122, 67, 16, .15); }
summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 900; font-size: 1.15rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; background: var(--honey); border-radius: 50%; font-size: 1.3rem; transition: transform .25s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 22px 20px; color: var(--brown); }

/* ---------- download + footer ---------- */
.dl-in { display: grid; justify-items: center; gap: 10px; }
.dl-icon { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 30px 50px -20px rgba(70, 35, 10, .6); animation: bob 5s ease-in-out infinite; }
.footer { background: var(--ink); color: var(--cream-2); padding: 48px 0 56px; }
.foot-in { display: grid; justify-items: center; gap: 18px; text-align: center; }
.footer nav { display: flex; gap: 26px; font-weight: 800; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--honey); }
.footer p { margin: 0; font-size: .85rem; opacity: .7; max-width: 60ch; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.doc { background: var(--cream); padding: 60px 0 90px; }
.doc .wrap { max-width: 760px; }
.doc h1 { margin-bottom: .5em; }
.doc h2 { font-weight: 900; font-size: 1.5rem; margin: 1.8em 0 .4em; }
.doc p, .doc li { color: var(--brown); font-size: 1.08rem; }
.doc a { color: var(--amber); font-weight: 800; }
