/* Yeeti Go! website. Palette and outlines come straight from the game
   (lib/art/common.dart): ink #2A1B3D, yellow #FFC928, red scarf #FF4D6D. */

@font-face {
  font-family: 'Fredoka';
  src: url('/assets/fonts/Fredoka.woff2') format('woff2');
  font-weight: 300 700;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --ink: #2A1B3D;
  --ink-2: #1E1530;
  --night: #0E1240;
  --night-2: #1D2160;
  --dusk: #5B4DA8;
  --sky: #4FB8F7;
  --sky-2: #D4F1FF;
  --yellow: #FFC928;
  --yellow-d: #E59A00;
  --red: #FF4D6D;
  --red-d: #D62F55;
  --ice: #9FE3FF;
  --ice-d: #5CC2F2;
  --snow: #FFFFFF;
  --snow-2: #EAF5FF;
  --snow-3: #D5E7F7;
  --green: #3DDC84;
  --purple: #C77DFF;
  --paper: #FFF9EC;

  --font: 'Fredoka', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 28px;
  --line: 4px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 11px, 19px);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 12px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ type */

.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }

.display {
  font-weight: 700;
  font-size: clamp(2.6rem, 7.4vw, 6.6rem);
  line-height: .95;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.display--m { font-size: clamp(2.1rem, 5vw, 4.4rem); }
.display--xl { font-size: clamp(3.4rem, 12vw, 10rem); }
.lead { font-size: clamp(1.05rem, .7vw + .8rem, 1.35rem); max-width: 40ch; opacity: .86; margin-top: 1.25rem; text-wrap: pretty; }
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .lead { margin-inline: auto; }

/* Split words (main.js) */
.w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .06em; }
.w > i { display: inline-block; font-style: normal; will-change: transform; }

/* ------------------------------------------------------------ buttons */

.btn {
  --b: var(--yellow); --bd: var(--yellow-d);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px;
  background: var(--b); color: var(--ink);
  border: var(--line) solid var(--ink);
  box-shadow: 0 6px 0 var(--ink), inset 0 -5px 0 var(--bd);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink), inset 0 -5px 0 var(--bd); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink), inset 0 -2px 0 var(--bd); }
.btn--small { font-size: .85rem; padding: .55em 1.1em; border-width: 3px; box-shadow: 0 4px 0 var(--ink), inset 0 -3px 0 var(--bd); }
.btn--small:hover { box-shadow: 0 5px 0 var(--ink), inset 0 -3px 0 var(--bd); }
.btn--ghost { --b: var(--snow); --bd: var(--snow-3); }

/* ------------------------------------------------------------ loader */

.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--ink-2);
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__pingoo { width: 120px; height: auto; animation: hop .7s var(--ease-out) infinite alternate; }
.loader__bar { width: 180px; height: 12px; border-radius: 12px; background: #ffffff1f; overflow: hidden; border: 2px solid #ffffff2e; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: 12px; transition: width .3s; }
.loader__text { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
html:not(.js) .loader { display: none; }
@keyframes hop { from { transform: translateY(6px) scaleY(.94); } to { transform: translateY(-16px) rotate(-6deg); } }

/* ------------------------------------------------------------ nav */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  transition: transform .45s var(--ease-out), background .3s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: #1e1530d9; -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.nav__brand img { width: 40px; height: 40px; border-radius: 11px; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav__links > a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; position: relative; }
.nav__links > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav__links > a:hover::after { transform: scaleX(1); }
.nav__cta { flex: none; }
.lang { display: inline-flex; background: #ffffff1a; border-radius: 999px; padding: 3px; gap: 2px; }
.lang a { text-decoration: none; font-size: .78rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; opacity: .75; }
.lang a.is-active { background: var(--snow); color: var(--ink); opacity: 1; }
.nav__burger { display: none; }

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { gap: 12px; }
  .nav__brand span { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 14px; border: 3px solid var(--ink);
    background: var(--snow); box-shadow: 0 4px 0 var(--ink); cursor: pointer; padding: 0;
  }
  .nav__burger i { display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .3s var(--ease-out); }
  .nav__burger[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--ink-2);
    clip-path: circle(0 at calc(100% - 44px) 32px);
    transition: clip-path .6s var(--ease-out), visibility .6s;
    visibility: hidden;
  }
  .nav__links > a { font-size: 2rem; font-weight: 700; }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 44px) 32px); visibility: visible; }
  .nav.is-open, .page-doc .nav.is-open { transform: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ------------------------------------------------------------ world (pinned scene) */

.world { position: relative; height: 820vh; background: var(--night); }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; contain: strict; isolation: isolate; }
.scene { position: absolute; inset: 0; transform-origin: 40% 70%; will-change: transform; }
.sky { position: absolute; inset: 0; background: linear-gradient(var(--sky-top, #4FB8F7), var(--sky-bot, #D4F1FF)); }
.stars { position: absolute; inset: 0 0 40%; opacity: 0; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: twinkle 2.4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .3; } to { opacity: 1; } }

.aurora { position: absolute; inset: 0 -10% 45%; opacity: 0; pointer-events: none; }
.aurora i {
  position: absolute; left: -10%; right: -10%; height: 34%;
  border-radius: 50%;
  filter: blur(28px);
  mix-blend-mode: screen;
  animation: aurora 9s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { top: 10%; background: linear-gradient(90deg, transparent, #5CFFB8aa 30%, #5CFFB866 70%, transparent); }
.aurora i:nth-child(2) { top: 26%; background: linear-gradient(90deg, transparent, #6CC8FF88 40%, #6CC8FF55 80%, transparent); animation-duration: 12s; animation-delay: -3s; }
.aurora i:nth-child(3) { top: 40%; background: linear-gradient(90deg, transparent 10%, #C77DFF77 50%, transparent); animation-duration: 15s; animation-delay: -6s; }
.aurora--on { opacity: 1; }
@keyframes aurora {
  0% { transform: translateX(-6%) skewY(-4deg) scaleY(.8); }
  50% { transform: translateX(3%) skewY(3deg) scaleY(1.15); }
  100% { transform: translateX(7%) skewY(-2deg) scaleY(.9); }
}

.sun, .moon { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.sun { width: var(--sun, 180px); height: var(--sun, 180px); margin: calc(var(--sun, 180px) / -2) 0 0 calc(var(--sun, 180px) / -2); background: var(--sun-c, #FFF4B0); }
.sun::before, .sun::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.sun::before { inset: -26%; opacity: .32; }
.sun::after { inset: -60%; opacity: .16; }
.moon { width: var(--moon, 120px); height: var(--moon, 120px); margin: calc(var(--moon, 120px) / -2) 0 0 calc(var(--moon, 120px) / -2); background: #F8F6E6; box-shadow: 0 0 0 30px #dce6ff22, 0 0 0 70px #dce6ff10; opacity: 0; overflow: hidden; }
.moon::after { content: ''; position: absolute; width: 84%; height: 84%; left: 37%; top: -20%; border-radius: 50%; background: var(--sky-top); }

.layer { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
.layer > .strip { position: absolute; left: 0; bottom: 0; display: flex; will-change: transform; }
.layer > .strip > svg { flex: none; overflow: visible; }
.layer--world > * { position: absolute; left: 0; top: 0; will-change: transform; }
.layer--world img { max-width: none; }
.ground {
  position: absolute; left: 0; right: 0; top: 0; height: 120vh; will-change: transform;
  background: linear-gradient(var(--snow-a, #fff), var(--snow-b, #D5E7F7) 30%);
  border-top: 3px solid var(--ink);
}
.ground__marks { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(ellipse 22px 4px at 50% 50%, var(--snow-m, #c9ddf2) 60%, transparent 62%); background-size: 160px 60px; background-position: 0 20px; will-change: background-position; }
.cliff { overflow: visible; }
.stage svg, .stage img { max-width: none; }
.layer--world img { display: block; position: absolute; left: 0; top: 0; pointer-events: none; user-select: none; -webkit-user-select: none; }
.layer--world .seal img, .layer--world .yeeti img { display: none; }
.layer--world .seal img.on, .layer--world .yeeti img.on { display: block; }
.pine__night { opacity: var(--night, 0); }
.r-far { fill: var(--far); }
.r-far-cap { fill: var(--far-cap); }
.r-mid { fill: var(--mid); }
.r-mid-cap { fill: var(--mid-cap); }
.p-trunk { fill: #7A4A2A; }
.p-green { fill: var(--pine); }
.p-dark { fill: var(--pine-d); }
.p-snow { fill: var(--pine-s); }
.cloud { fill: var(--cloud); }
.layer > .fore-strip { position: absolute; left: 0; top: 0; will-change: transform; }
.fore-pine { position: absolute; max-width: none; filter: blur(3px) brightness(.92); }
@media (pointer: coarse), (max-width: 760px) { .fore-pine { filter: none; } }

.pingoo { position: absolute; left: 0; top: 0; will-change: transform; z-index: 2; }
.pingoo img { position: absolute; left: 0; top: 0; max-width: none; display: none; }
.pingoo img.on { display: block; }
.yeeti img { position: absolute; left: 0; top: 0; max-width: none; display: none; }
.yeeti img.on { display: block; }
.yeeti .yeeti__breath { animation: breathe 2.8s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes breathe { 50% { transform: scale(1.015, .985); } }

.sign-label {
  position: absolute; left: 50%; top: 13%; transform: translateX(-50%);
  font-weight: 700; color: var(--ink); white-space: nowrap; line-height: 1;
}
.flag { width: 0; height: 0; }
.flag i { position: absolute; left: -3px; bottom: 0; width: 6px; background: var(--ink); border-radius: 3px; }
.flag b {
  position: absolute; left: 3px; white-space: nowrap; line-height: 1;
  background: var(--red); color: #fff; font-weight: 700; letter-spacing: .04em;
  border: 3px solid var(--ink); border-left: 0; border-radius: 0 10px 10px 0; padding: .35em .6em;
}
.igloo { overflow: visible; }

.fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fx__flash { position: absolute; inset: 0; background: #fff; opacity: 0; }
.pop {
  position: absolute; left: 0; top: 0;
  font-weight: 700; font-size: clamp(2rem, 5.5vw, 4.4rem); line-height: 1; white-space: nowrap;
  color: var(--yellow);
  -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill;
  text-shadow: 0 .09em 0 var(--ink);
  opacity: 0; will-change: transform, opacity;
}
.pop--boing { color: #FFB4C8; }
.pop--whoosh { color: var(--ice); }
.pop--slide { color: #7FF3E0; }

.layer--fore { z-index: 4; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.vignette { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 55%, #0e124055 100%); }

.hud {
  position: absolute; left: 50%; top: calc(var(--nav-h) + 8px); z-index: 7;
  transform: translateX(-50%); text-align: center; opacity: 0; line-height: .9;
  font-weight: 700; color: #fff;
  -webkit-text-stroke: .14em var(--ink); paint-order: stroke fill;
  text-shadow: 0 .08em 0 var(--ink);
}
.hud b { font-size: clamp(3rem, 8vw, 6rem); font-variant-numeric: tabular-nums; font-weight: 700; }
.hud span { font-size: clamp(1.4rem, 3vw, 2.4rem); margin-left: .1em; }
.hud small { display: block; font-size: clamp(.8rem, 1.4vw, 1.05rem); -webkit-text-stroke-width: .3em; margin-top: .4em; letter-spacing: .04em; }

.captions { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.cap {
  position: absolute; left: var(--gutter); bottom: max(9vh, 64px);
  display: flex; flex-direction: column; align-items: flex-start; gap: .45em;
  max-width: min(560px, calc(100vw - 2 * var(--gutter)));
  opacity: 0; will-change: transform, opacity;
}
.cap b {
  font-size: clamp(3rem, 9vw, 7rem); line-height: .85; text-transform: uppercase;
  color: var(--yellow);
  -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill;
  text-shadow: 0 .07em 0 var(--ink);
}
.cap span {
  display: inline-block; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.35rem);
  background: #2a1b3dcc; color: #fff; padding: .45em .9em; border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cap--intro { left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%); align-items: center; text-align: center; max-width: 92vw; }
.cap--intro span {
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0;
  font-size: clamp(2.2rem, 6.4vw, 5.6rem); font-weight: 700; line-height: 1;
  -webkit-text-stroke: .14em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink);
}
.cap--intro span + span { color: var(--yellow); }
.cap--later { left: 50%; right: auto; bottom: auto; top: 30%; transform: translateX(-50%); align-items: center; text-align: center; }
.cap--later span { font-size: clamp(1.5rem, 3.6vw, 3rem); font-weight: 700; padding: .4em 1em; line-height: 1.1; }

.result {
  position: absolute; z-index: 9; left: 50%; top: 52%;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  transform: translate(-50%, -50%);
  background: var(--paper); color: var(--ink);
  border: 5px solid var(--ink); border-radius: 30px; box-shadow: 0 10px 0 var(--ink);
  padding: 34px 24px 26px; text-align: center;
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.result.is-on { visibility: visible; }
.result p { font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.result b {
  display: block; font-size: clamp(3.6rem, 10vw, 5.4rem); line-height: 1; margin: .1em 0;
  color: var(--yellow); -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; text-shadow: 0 .06em 0 var(--ink);
}
.result em { display: block; font-style: normal; font-weight: 700; color: var(--yellow-d); margin-bottom: 18px; letter-spacing: .05em; }
.result__ribbon {
  position: absolute; right: -18px; top: -24px; transform: rotate(7deg);
  background: var(--red); color: #fff; font-weight: 700; letter-spacing: .04em;
  padding: .4em 1em; border-radius: 999px; border: 4px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
}

.logo {
  position: absolute; z-index: 10; left: 0; right: 0; top: 31%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 var(--gutter); pointer-events: none;
  opacity: 0; will-change: transform, opacity;
}
.logo__title { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__main {
  font-size: clamp(4.2rem, min(17vw, 21vh), 13rem); font-weight: 700; letter-spacing: -.01em;
  color: var(--yellow);
  -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill;
  text-shadow: 0 .07em 0 var(--ink);
  transform: rotate(-3deg);
}
.logo__sub {
  margin-top: -.25em;
  font-size: clamp(1.6rem, min(5vw, 6.2vh), 3.6rem); font-weight: 700; color: #fff; letter-spacing: .02em;
  background: #7CC8FF; border: .12em solid var(--ink); border-radius: .5em; padding: .08em .6em .12em;
  box-shadow: 0 .14em 0 var(--ink), inset 0 -.12em 0 #4FA8EC;
  -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill;
  transform: rotate(-2deg);
}
.logo__tag {
  margin-top: 1.4rem; font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.4rem);
  background: #2a1b3dcc; padding: .5em 1.1em; border-radius: 999px;
}

.mask { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 11; pointer-events: none; }
.mask text { font-family: var(--font); font-weight: 700; letter-spacing: -.01em; }
.mask__ink { fill: var(--ink-2); }
.mask [data-mask-text] { transform-box: view-box; transform-origin: 50% 50%; will-change: transform; }

.cue {
  position: absolute; z-index: 12; left: 50%; bottom: max(28px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
}
.cue i { width: 26px; height: 42px; border: 3px solid #fff; border-radius: 14px; position: relative; }
.cue i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.6s var(--ease-out) infinite; }
@keyframes cue { from { transform: translateY(0); opacity: 1; } to { transform: translateY(14px); opacity: 0; } }

/* Without JS or with reduced motion, the scene is a static poster. */
html:not(.js) .world, .is-static .world { height: 100vh; }
html:not(.js) .logo, .is-static .logo { opacity: 1; }
html:not(.js) .mask, .is-static .mask, html:not(.js) .cue, .is-static .cue { display: none; }
html:not(.js) .sky { background: linear-gradient(#4FB8F7, #D4F1FF); }

/* ------------------------------------------------------------ manifesto */

.manifesto {
  position: relative;
  padding: clamp(110px, 20vh, 220px) var(--gutter) clamp(90px, 16vh, 180px);
  background: linear-gradient(var(--night), var(--night-2));
  text-align: center;
}
.manifesto::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 120px;
  background: linear-gradient(#0e124000, var(--night));
  transform: translateY(-100%); pointer-events: none;
}
.manifesto__text {
  max-width: 22ch; margin: 0 auto;
  font-size: clamp(1.9rem, 4.6vw, 4.2rem); font-weight: 600; line-height: 1.12;
  text-wrap: balance;
}
.manifesto__text .mw { opacity: .16; transition: opacity .2s; }
html:not(.js) .manifesto__text .mw, .is-static .manifesto__text .mw { opacity: 1; }

/* ------------------------------------------------------------ how */

.how {
  position: relative; padding: clamp(80px, 12vh, 140px) 0 clamp(90px, 14vh, 160px);
  background: linear-gradient(var(--night-2), #3A3F96 55%, #6D86DA);
  overflow: clip;
}
.how__track {
  display: flex; gap: clamp(24px, 4vw, 64px);
  padding: clamp(50px, 8vh, 90px) var(--gutter) 0;
  width: max-content;
}
.step {
  position: relative; flex: none;
  width: min(1000px, 78vw);
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 4vw, 70px); align-items: center;
  background: #ffffff12; border: 2px solid #ffffff22; border-radius: 40px;
  padding: clamp(24px, 3vw, 44px);
}
.step__n { display: block; font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 2px #ffffff88; }
.step h3 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.05; margin: .3em 0 .5em; color: var(--yellow); }
.step p { opacity: .9; max-width: 42ch; }
.step__sprite { position: absolute; right: -2%; top: -14%; width: clamp(110px, 14vw, 200px); height: auto; filter: drop-shadow(0 12px 18px #0e124066); }
.step__sprite--yeeti { width: clamp(100px, 12vw, 180px); top: -22%; }
.phone {
  position: relative; margin: 0;
  border-radius: 34px; border: 6px solid var(--ink);
  background: var(--ink); overflow: hidden;
  box-shadow: 0 0 0 3px #ffffff22, 0 26px 50px -18px #0e1240cc;
  aspect-ratio: 540 / 1169;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone::before { content: ''; position: absolute; z-index: 1; left: 50%; top: 9px; width: 32%; height: 18px; transform: translateX(-50%); border-radius: 12px; background: var(--ink); }

@media (max-width: 900px) {
  .how__track { flex-direction: column; width: auto; }
  .step { width: auto; grid-template-columns: 1fr; text-align: left; }
  .step .phone { width: min(260px, 64vw); margin: 0 auto; }
  .step__sprite { top: -36px; right: 8px; width: 110px; }
}

/* Feel the swing */
.trial {
  max-width: var(--max); margin: clamp(80px, 12vh, 140px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: center;
}
.trial__copy p:not(.kicker) { opacity: .9; margin-top: 1rem; max-width: 36ch; }
.trial__best { font-weight: 600; }
.trial__best b { color: var(--yellow); font-size: 1.4em; }
.trial__stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: 36px; overflow: hidden;
  border: 5px solid var(--ink); box-shadow: 0 10px 0 var(--ink);
  background: linear-gradient(#4FB8F7, #D4F1FF 70%);
  touch-action: manipulation; user-select: none; -webkit-user-select: none; cursor: pointer;
}
.trial__sky::after { content: ''; position: absolute; left: -5%; right: -5%; bottom: 0; height: 26%; background: linear-gradient(#fff, #D5E7F7); border-top: 3px solid var(--ink); border-radius: 50% 50% 0 0 / 18% 18% 0 0; }
.trial__yeeti, .trial__pingoo { position: absolute; max-width: none; height: auto; }
.trial__yeeti { left: 13%; bottom: 17%; height: 56%; width: auto; }
.trial__pingoo { width: 15%; left: 0; top: 0; will-change: transform; }
.trial__ring { position: absolute; left: 50%; top: 60%; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.trial__ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 4px solid var(--yellow); box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px var(--ink); }
.trial__ring i { position: absolute; inset: 0; border-radius: 50%; border: 4px solid #fff; transform: scale(var(--r, 2.6)); opacity: .9; }
.trial__grade {
  position: absolute; left: 50%; top: 18%; transform: translateX(-50%) scale(.6);
  font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; white-space: nowrap;
  color: var(--yellow); -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; text-shadow: 0 .08em 0 var(--ink);
  opacity: 0; transition: transform .45s var(--ease-back), opacity .2s;
}
.trial__grade.is-on { opacity: 1; transform: translateX(-50%) scale(1) rotate(-4deg); }
.trial__grade.is-bad { color: #fff; }
.trial__dist { position: absolute; left: 50%; top: 34%; transform: translateX(-50%); font-weight: 700; font-size: 1.5rem; color: var(--ink); background: #fffd; padding: .1em .7em; border-radius: 999px; opacity: 0; transition: opacity .3s .2s; white-space: nowrap; }
.trial__dist.is-on { opacity: 1; }
.trial__hint { position: absolute; left: 16px; bottom: 20px; font-size: .8rem; font-weight: 600; color: var(--ink); background: #ffffffcc; padding: .3em .8em; border-radius: 999px; }
.trial__btn { position: absolute; right: 18px; bottom: 18px; }
@media (max-width: 900px) {
  .trial { grid-template-columns: 1fr; }
  .trial__stage { aspect-ratio: 1 / 1; }
  .trial__yeeti { left: 2%; height: 48%; bottom: 20%; }
  .trial__ring { left: 60%; top: 56%; width: 19%; }
  .trial__pingoo { width: 19%; }
  .trial__btn { left: 50%; right: auto; transform: translateX(-50%); }
  .trial__btn:hover { transform: translateX(-50%) translateY(-2px); }
  .trial__btn:active { transform: translateX(-50%) translateY(5px); }
}

/* ------------------------------------------------------------ stats */

.stats { padding: clamp(80px, 12vh, 140px) var(--gutter); background: linear-gradient(#6D86DA, #7FB5F0); }
.stats__grid {
  max-width: var(--max); margin: clamp(40px, 6vh, 70px) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stats__grid > div {
  background: var(--paper); color: var(--ink); border: 4px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--ink); padding: 26px 22px; text-align: center;
}
.stats dt { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 700; line-height: 1; color: var(--yellow); -webkit-text-stroke: .08em var(--ink); paint-order: stroke fill; text-shadow: 0 .06em 0 var(--ink); font-variant-numeric: tabular-nums; }
.stats dd { margin: .6em 0 0; font-weight: 500; line-height: 1.3; }
@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .stats__grid > div { padding: 20px 12px; } .stats dd { font-size: .9rem; } }

/* ------------------------------------------------------------ crew */

.crew { position: relative; padding: clamp(90px, 14vh, 160px) 0; background: linear-gradient(#7FB5F0, #4FB8F7 30%, #BDE7FF); overflow: clip; }
.crew__marquee { position: absolute; inset: 8% 0 auto; display: flex; flex-direction: column; gap: 0; pointer-events: none; opacity: .5; }
.crew__marquee span {
  white-space: nowrap; font-weight: 700; font-size: clamp(5rem, 16vw, 15rem); line-height: .95;
  color: transparent; -webkit-text-stroke: 3px #ffffff; will-change: transform;
}
.crew__marquee span:nth-child(2) { margin-left: -30vw; }
.crew .section-head { position: relative; }
.crew .kicker { color: var(--ink); }
.crew .display { color: #fff; -webkit-text-stroke: .08em var(--ink); paint-order: stroke fill; text-shadow: 0 .06em 0 var(--ink); }
.crew__cards {
  position: relative; max-width: var(--max); margin: clamp(50px, 8vh, 90px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px);
}
.hero-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border: 5px solid var(--ink); border-radius: 40px; box-shadow: 0 12px 0 var(--ink);
  overflow: hidden; transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
}
.hero-card__art { position: relative; height: clamp(300px, 40vw, 460px); display: grid; place-items: end center; padding-top: 24px; overflow: hidden; }
.hero-card--yeeti .hero-card__art { background: radial-gradient(circle at 50% 80%, #fff 0 30%, transparent 31%), linear-gradient(#9FE3FF, #D4F1FF); }
.hero-card--pingoo .hero-card__art { background: radial-gradient(circle at 50% 80%, #fff 0 30%, transparent 31%), linear-gradient(#FFB4C8, #FFE3EA); }
.hero-card__art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: #fff; border-top: 4px solid var(--ink); }
.hero-card__img { position: absolute; z-index: 1; left: 50%; bottom: 13%; height: 80%; width: auto; max-width: none; transform: translateX(-42%); filter: drop-shadow(0 10px 0 #2a1b3d22); }
.hero-card--pingoo .hero-card__img { height: 52%; bottom: 14%; transform: translateX(-56%); }
.hero-card__text { padding: 28px clamp(22px, 3vw, 40px) 36px; }
.hero-card__role { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red-d); }
.hero-card h3 { font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; margin: .1em 0 .3em; }
@media (max-width: 760px) { .crew__cards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ world map */

.worldmap { position: relative; padding: clamp(90px, 14vh, 160px) 0; background: linear-gradient(#BDE7FF, var(--snow-2) 20%, #fff); color: var(--ink); }
.worldmap .kicker, .landing .kicker { color: var(--red-d); }
.props {
  list-style: none; max-width: var(--max); margin: clamp(50px, 8vh, 80px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px);
}
.prop {
  position: relative; background: #fff; border: 4px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--ink); padding: 24px 24px 28px;
  transition: transform .5s var(--ease-out);
}
.prop > img, .prop > svg { height: 130px; width: auto; max-width: 70%; object-fit: contain; margin: 0 0 18px; }
.prop--ice > svg, .prop--powder > svg { width: 160px; height: 130px; }
.prop h3 { font-size: 1.5rem; line-height: 1.1; margin-bottom: .35em; }
.prop p { font-size: .98rem; opacity: .85; }
.prop::before {
  content: ''; position: absolute; right: 18px; top: 18px; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--green);
}
.prop--bad::before { background: var(--red); }
.sticker {
  position: absolute; right: 14px; top: 42px; transform: rotate(8deg);
  font-weight: 700; font-size: 1.5rem; color: #FFB4C8; -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; text-shadow: 0 .08em 0 var(--ink);
}
.sticker--b { color: var(--ice); }
@media (max-width: 900px) { .props { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .props { grid-template-columns: 1fr; } .prop { display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; align-items: start; } .prop > img, .prop > svg { grid-row: span 2; height: 90px; max-width: 96px; margin: 0; } .prop--ice > svg, .prop--powder > svg { width: 96px; height: 90px; } .sticker { top: auto; bottom: 10px; font-size: 1.2rem; } }

.landing { margin-top: clamp(90px, 14vh, 160px); }
.landing__grid {
  max-width: var(--max); margin: clamp(40px, 6vh, 70px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px);
}
.land { border-radius: var(--radius); border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); padding: 26px; background: #fff; text-align: center; }
.land img { height: 120px; width: auto; max-width: 80%; margin: 0 auto 14px; object-fit: contain; }
.land h3 { font-size: 2.2rem; line-height: 1; margin-bottom: .3em; -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; text-shadow: 0 .06em 0 var(--ink); }
.land--plop h3 { color: var(--red); }
.land--bounce h3 { color: var(--ice); }
.land--slide { background: var(--paper); }
.land--slide h3 { color: #7FF3E0; }
.land p { opacity: .85; }
.fire {
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: clamp(24px, 3vw, 36px) auto 0;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 36px);
  background: linear-gradient(100deg, #FF4D6D, #FF9F1C 60%, #FFC928); color: var(--ink);
  border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); border-radius: var(--radius);
  padding: 22px clamp(20px, 3vw, 40px);
}
@media (max-width: 1320px) { .fire { margin-inline: var(--gutter); } }
.fire img { width: clamp(90px, 12vw, 140px); height: auto; flex: none; animation: spin 2.6s linear infinite; }
.fire h3 { font-size: 1.8rem; line-height: 1; margin-bottom: .2em; color: #fff; -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .landing__grid { grid-template-columns: 1fr; } .land { display: grid; grid-template-columns: 110px 1fr; text-align: left; gap: 0 16px; align-items: center; } .land img { grid-row: span 2; margin: 0; height: 80px; max-width: 110px; } .land h3 { font-size: 1.7rem; } }

/* ------------------------------------------------------------ scarves */

.scarves { position: relative; padding: clamp(90px, 14vh, 160px) 0; background: linear-gradient(#fff, #FFE6B5 18%, #FFD39A 50%, #FF9EA6); color: var(--ink); overflow: clip; }
.scarves .kicker { color: var(--red-d); }
.scarves__row {
  list-style: none; margin: clamp(50px, 8vh, 90px) auto 0; padding: 0 var(--gutter);
  max-width: 1400px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 24px);
}
.scarves__row li {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 0 8px 0 var(--ink);
  padding: 22px 12px 20px; transition: transform .4s var(--ease-back);
}
.scarves__row li::before { content: ''; position: absolute; inset: 10px 10px auto; height: 52%; border-radius: 20px; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, #fff), #fff 70%); }
.scarves__row li.is-rainbow::before { background: conic-gradient(from 90deg, #FF4D6D55, #FFC92855, #3DDC8455, #3DA5FF55, #C77DFF55, #FF4D6D55); filter: blur(10px); }
.scarves__row li:hover { transform: translateY(-10px) rotate(-2deg); }
.scarves__row img { position: relative; width: 100%; height: auto; max-width: 220px; margin-bottom: 14px; }
.scarves__row b { font-size: 1.15rem; line-height: 1.1; }
.scarves__row span { margin-top: 8px; font-weight: 700; font-size: .85rem; background: var(--c); color: #fff; padding: .25em .8em; border-radius: 999px; border: 3px solid var(--ink); -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; }
.scarves__row li.is-rainbow span { background: linear-gradient(90deg, #FF4D6D, #FFC928, #3DDC84, #3DA5FF, #C77DFF); }
@media (max-width: 900px) {
  .scarves__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
  .scarves__row::-webkit-scrollbar { display: none; }
  .scarves__row li { scroll-snap-align: center; }
}

/* ------------------------------------------------------------ gallery */

.gallery { padding: clamp(90px, 14vh, 160px) 0; background: linear-gradient(#FF9EA6, #8E6CC9 45%, var(--dusk)); overflow: clip; }
.gallery .kicker { color: #fff; }
.gallery__rows { margin-top: clamp(50px, 8vh, 80px); }
.gallery__row { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding: 20px var(--gutter); will-change: transform; }
.gallery__row figure { flex: none; width: clamp(180px, 19vw, 280px); margin: 0; }
.gallery__row figure:nth-child(even) { transform: translateY(40px); }
.gallery__row .card { width: clamp(260px, 26vw, 380px); align-self: center; border-radius: 24px; overflow: hidden; border: 5px solid var(--ink); box-shadow: 0 10px 0 var(--ink); transform: rotate(-2deg); }
.gallery__row .card img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .gallery__row { overflow-x: auto; scroll-snap-type: x mandatory; width: auto; scrollbar-width: none; }
  .gallery__row::-webkit-scrollbar { display: none; }
  .gallery__row figure { scroll-snap-align: center; width: 62vw; }
  .gallery__row figure:nth-child(even) { transform: none; }
  .gallery__row .card { width: 76vw; }
}

/* ------------------------------------------------------------ features */

.features { padding: clamp(90px, 14vh, 160px) 0; background: linear-gradient(var(--dusk), #2E3A8C 60%, var(--night-2)); }
.features__grid {
  list-style: none; width: min(calc(var(--max) - 2 * var(--gutter)), calc(100% - 2 * var(--gutter))); margin: clamp(40px, 6vh, 70px) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: #ffffff1f; border-radius: var(--radius); overflow: hidden;
}
.features__grid li { background: #2a2f7a; padding: clamp(24px, 3vw, 40px); transition: background .3s; }
.features__grid li:hover { background: #343a8e; }
.features__grid .ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 1.4rem; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); margin-bottom: 18px; }
.features__grid h3 { font-size: 1.35rem; margin-bottom: .35em; }
.features__grid p { opacity: .8; font-size: .98rem; }
@media (max-width: 900px) { .features__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ download */

.download {
  position: relative; min-height: 100vh; overflow: hidden;
  display: grid; align-items: center;
  padding: calc(var(--nav-h) + 60px) var(--gutter) 0;
  background: linear-gradient(var(--night-2), var(--night) 40%, #2E3A8C);
}
.download__sky { position: absolute; inset: 0; pointer-events: none; }
.download__sky .aurora { inset: 0 -10% 40%; }
.download__stars { position: absolute; inset: 0 0 40%; background-image: radial-gradient(1.6px 1.6px at 12% 18%, #fff, transparent), radial-gradient(1.4px 1.4px at 28% 8%, #fff, transparent), radial-gradient(2px 2px at 44% 24%, #fff, transparent), radial-gradient(1.4px 1.4px at 62% 12%, #fff, transparent), radial-gradient(1.8px 1.8px at 78% 30%, #fff, transparent), radial-gradient(1.4px 1.4px at 90% 10%, #fff, transparent), radial-gradient(1.6px 1.6px at 6% 40%, #fff, transparent), radial-gradient(1.4px 1.4px at 54% 42%, #fff, transparent), radial-gradient(1.4px 1.4px at 84% 50%, #fff, transparent), radial-gradient(1.6px 1.6px at 36% 52%, #fff, transparent); }
.download__range { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'%3E%3Cpath d='M0 170 L90 110 L170 150 L260 60 L350 140 L430 90 L520 160 L610 70 L700 130 L790 50 L880 140 L960 100 L1050 150 L1130 80 L1200 120 V400 H0Z' fill='%232E3A8C'/%3E%3Cpath d='M0 260 C150 210 260 230 380 250 C520 270 620 200 760 220 C900 240 1020 210 1200 240 V400 H0Z' fill='%2339437E'/%3E%3Cpath d='M0 330 C200 300 380 320 600 310 C820 300 1000 320 1200 300 V400 H0Z' fill='%23B8C4F0'/%3E%3Cpath d='M0 330 C200 300 380 320 600 310 C820 300 1000 320 1200 300' fill='none' stroke='%232A1B3D' stroke-width='4'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.download__inner { position: relative; z-index: 2; max-width: 680px; padding-bottom: 34vh; }
.download .display { color: var(--yellow); -webkit-text-stroke: .08em var(--ink); paint-order: stroke fill; text-shadow: 0 .06em 0 var(--ink); }
.download__challenge { margin-top: 1.2rem; font-weight: 600; font-size: 1.15rem; }
.download__challenge b { color: var(--yellow); }
.download__chars { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.download__yeeti { position: absolute; right: 12%; bottom: 10%; height: min(58vh, 560px); width: auto; max-width: none; }
.download__pingoo { position: absolute; right: 34%; top: 18%; width: min(22vw, 260px); height: auto; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -18px; rotate: -6deg; } }
@media (max-width: 900px) {
  .download { align-items: start; }
  .download__inner { padding-bottom: 50vh; }
  .download__yeeti { right: 4%; bottom: 7%; height: 36vh; }
  .download__pingoo { right: auto; left: 8%; top: auto; bottom: 26vh; width: 30vw; }
}

.badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 16px; min-width: 200px;
  background: #000; color: #fff; text-decoration: none;
  border: 3px solid #fff; border-radius: 16px; box-shadow: 0 5px 0 #ffffff55;
  transition: transform .2s var(--ease-out);
}
.badge:hover { transform: translateY(-3px); }
.badge svg { width: 28px; height: 28px; flex: none; }
.badge span { display: flex; flex-direction: column; font-size: 1.35rem; font-weight: 600; line-height: 1.05; }
.badge small { font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.badge.is-soon { cursor: default; opacity: .8; }
.badge.is-soon:hover { transform: none; }
.badge.is-primary { border-color: var(--yellow); box-shadow: 0 5px 0 var(--yellow-d); }

/* ------------------------------------------------------------ footer */

.footer { position: relative; background: #B8C4F0; color: var(--ink); }
.footer__ground { height: 0; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; font-size: 1.4rem; line-height: 1; }
.footer__brand small { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; opacity: .7; }
.footer__brand img { width: 56px; height: 56px; border-radius: 15px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 26px; font-weight: 500; }
.footer__links .lang { background: #2a1b3d1a; }
.footer__links .lang a.is-active { background: var(--ink); color: #fff; }
.footer__legal { grid-column: 1 / -1; font-size: .85rem; opacity: .75; border-top: 2px solid #2a1b3d22; padding-top: 20px; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } .footer__links { justify-content: flex-start; } }

/* ------------------------------------------------------------ privacy */

.page-doc { background: var(--sky); }
.doc-sky { position: fixed; inset: 0; z-index: -1; background: linear-gradient(#4FB8F7, #BDE7FF 70%); }
.doc-sky__range { position: absolute; left: 0; right: 0; bottom: 0; height: 40vh; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'%3E%3Cpath d='M0 170 L90 110 L170 150 L260 60 L350 140 L430 90 L520 160 L610 70 L700 130 L790 50 L880 140 L960 100 L1050 150 L1130 80 L1200 120 V400 H0Z' fill='%23A9C9F0'/%3E%3Cpath d='M0 260 C150 210 260 230 380 250 C520 270 620 200 760 220 C900 240 1020 210 1200 240 V400 H0Z' fill='%23EAF5FF'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.page-doc .nav { background: #1e1530d9; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.doc { max-width: 860px; margin: 0 auto; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; }
.doc__back { display: inline-block; font-weight: 600; text-decoration: none; margin-bottom: 18px; background: #2a1b3dcc; padding: .4em 1em; border-radius: 999px; }
.doc__paper { background: var(--paper); color: var(--ink); border: 5px solid var(--ink); border-radius: 36px; box-shadow: 0 12px 0 var(--ink); padding: clamp(26px, 5vw, 64px); }
.doc__head { text-align: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 3px dashed #2a1b3d33; }
.doc__head img { width: 150px; height: auto; margin: -100px auto 8px; }
.doc__head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; }
.doc__app { font-weight: 600; color: var(--red-d); margin-top: .4em; }
.doc__date { opacity: .7; font-size: .95rem; margin-top: .3em; }
.doc__lead { font-size: 1.12rem; font-weight: 500; }
.doc__paper h2 { font-size: 1.45rem; margin: 2em 0 .6em; line-height: 1.2; }
.doc__paper p, .doc__paper li { line-height: 1.65; }
.doc__paper p + p { margin-top: .9em; }
.doc__paper ul { padding-left: 1.3em; margin: .6em 0 0; }
.doc__paper li + li { margin-top: .45em; }
.doc__paper li::marker { color: var(--red); }
.doc__paper a { color: #2A78D0; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ 404 */

.page-404 { background: linear-gradient(#4FB8F7, #D4F1FF); color: var(--ink); min-height: 100vh; }
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: var(--gutter); }
.nf img { width: 260px; height: auto; }
.nf h1 { color: var(--yellow); -webkit-text-stroke: .08em var(--ink); paint-order: stroke fill; text-shadow: 0 .06em 0 var(--ink); }
.nf p:last-child { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }

/* ------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
