/* Bee Hive — tokens, type, buttons, shared bits. Colours come from the game's
   own art: honey gold, kit wood brown, logo-ribbon blue, leaf green. */
:root {
  --honey: #ffc21a;
  --honey-hi: #ffe27a;
  --honey-deep: #f29a0e;
  --amber: #d86f00;
  --wood: #6b3410;
  --wood-dark: #3c1c06;
  --cream: #fff6dc;
  --cream-2: #ffeec0;
  --leaf: #4db234;
  --leaf-hi: #7fdc4f;
  --leaf-dark: #2b7a17;
  --ribbon: #1f5fd0;
  --ribbon-dark: #123b8a;
  --sky: #6cc6ff;
  --pink: #ff5fa2;
  --ink: #3c1c06;
  --ink-soft: #7a4a22;
  --radius: 28px;
  --gutter: 16px;
  --shadow-lg: 0 30px 60px -20px rgba(80, 36, 0, .45), 0 10px 20px -10px rgba(80, 36, 0, .3);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }

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

/* Display type: Coiny with the kit's chunky brown outline. */
.display {
  font-family: Coiny, Nunito, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.02;
  color: #fff;
  -webkit-text-stroke: .16em var(--wood);
  paint-order: stroke fill;
  text-shadow: 0 .09em 0 var(--wood-dark), 0 .2em .35em rgba(60, 28, 6, .35);
}
.h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); margin-bottom: 18px; text-wrap: balance; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 16px;
  font-weight: 900; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--ribbon); border-radius: 999px;
  box-shadow: inset 0 -3px 0 var(--ribbon-dark), 0 6px 14px -6px rgba(18, 59, 138, .6);
}
p.eyebrow.center { display: table; margin-inline: auto; }

/* Buttons: the kit's glossy pills. */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row.center { justify-content: center; }
.btn {
  --b: var(--leaf); --b-hi: var(--leaf-hi); --b-dark: var(--leaf-dark);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 900 1.12rem/1 Nunito, system-ui, sans-serif; color: #fff; text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
  background: linear-gradient(180deg, var(--b-hi), var(--b) 55%);
  box-shadow: inset 0 -6px 0 var(--b-dark), inset 0 3px 0 rgba(255, 255, 255, .45), 0 12px 22px -10px rgba(40, 20, 0, .55);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; position: absolute; inset: 5px 18px auto; height: 38%;
  border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .55), transparent);
  pointer-events: none;
}
.btn:hover { transform: translateY(-3px) scale(1.03); filter: saturate(1.1) brightness(1.04); }
.btn:active { transform: translateY(2px) scale(.98); box-shadow: inset 0 -2px 0 var(--b-dark), 0 6px 12px -8px rgba(40, 20, 0, .5); }
.btn:focus-visible { outline: 4px solid var(--ribbon); outline-offset: 4px; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn small { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin-bottom: 3px; }
.btn .btn-txt { display: flex; flex-direction: column; align-items: flex-start; }
.btn-store { --b: #2a1405; --b-hi: #5a3212; --b-dark: #120700; }
.btn-store { padding: 12px 22px 14px; }
.btn-store.is-off { --b: #9a9187; --b-hi: #bdb5aa; --b-dark: #7d756c; cursor: default; filter: grayscale(1); opacity: .75; }
.btn-store.is-off:hover, .btn-store.is-off:active { transform: none; filter: grayscale(1); }
.btn-web { --b: var(--honey-deep); --b-hi: var(--honey-hi); --b-dark: var(--amber); color: var(--wood-dark); text-shadow: 0 1px 0 rgba(255, 255, 255, .5); font-size: 1.2rem; padding: 17px 28px 19px; }
.btn-web .pulse { position: absolute; inset: -6px; border-radius: inherit; border: 3px solid var(--honey); animation: ring 1.8s var(--ease-out) infinite; pointer-events: none; }
.btn-ghost { --b: #fff; --b-hi: #fff; --b-dark: #e9d7a6; color: var(--wood); text-shadow: none; font-size: 1rem; padding: 12px 22px 14px; }
.nav .btn, .nav .btn-web { padding: 10px 20px 12px; font-size: 1rem; }
.nav .btn small { display: none; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.18); } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: 10px var(--gutter); transition: background .35s, box-shadow .35s, transform .4s var(--ease-out);
  background: rgba(255, 246, 220, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.nav.is-solid { background: rgba(255, 246, 220, .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 6px 24px -12px rgba(80, 36, 0, .35); }
.nav-brand img { height: 46px; width: auto; filter: drop-shadow(0 4px 6px rgba(60, 28, 6, .3)); }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 900; color: var(--wood); transition: background .2s; }
.nav-links a:hover { background: rgba(255, 194, 26, .35); }
.nav-cta { margin-left: auto; }
@media (min-width: 1000px) { .nav-links { display: flex; } .nav-cta { margin-left: 8px; } }


/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
