/* the site serves its own copies of the Google fonts, so no page waits on another server */
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-ext-bf7828e2.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-4ba7d3d0.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fredoka";
  src: url("../assets/fonts/fredoka-latin-ext-18a1723c.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fredoka";
  src: url("../assets/fonts/fredoka-latin-99d6c78e.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-text-4335f1f3.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20-21, U+26-29, U+2b-3a, U+3f, U+41-5a, U+61-7a;
}
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400 500;
  size-adjust: 100.57%;
  ascent-override: 94.46%;
  descent-override: 24.86%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 800;
  size-adjust: 95.95%;
  ascent-override: 99.01%;
  descent-override: 26.05%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fredoka Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 500 700;
  size-adjust: 94.48%;
  ascent-override: 103.09%;
  descent-override: 24.98%;
  line-gap-override: 0%;
}

:root {
  --ice: #F0FAFF;
  --frost: #E3F2FA;
  --cloud: #FFFFFF;
  --cloud-shade: #D3ECF8;
  --sky-top: #2E9BEA;
  --sky-mid: #5CBDF4;
  --sky-low: #94DCFD;
  --aqua: #10F0FC;
  --aqua-hi: #B3F8FC;
  --aqua-soft: #DDFCFE;
  --blue: #0262B8;
  --blue-dk: #01529F;
  --navy: #001635;
  --navy-2: #0A2449;
  --ink: #001635;
  --ink-soft: #40506A;
  --ink-mute: #56667F;
  --line: rgba(0, 22, 53, 0.13);
  --line-strong: rgba(0, 22, 53, 0.22);

  --font-display: "Fredoka", "Fredoka Fallback", system-ui, sans-serif;
  --font-body: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --pad: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --edge: 0 5px 0 var(--navy);
  --edge-card: 0 8px 0 var(--navy);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  --cw: 1600px;
  --ch: 260px;
  --nav-top: 14px;
  --nav-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 116px;
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
p { text-wrap: pretty; }

::selection { background: var(--aqua); color: var(--navy); }

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

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  font-weight: 600;
  padding: 0.18em 0.45em;
  border-radius: 7px;
  background: var(--frost);
  color: var(--blue);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip:focus-visible { transform: none; outline-color: var(--aqua); }

.wrap {
  width: 100%;
  max-width: calc(1240px + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  text-wrap: balance;
}
h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
h3 {
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 600;
  line-height: 1.15;
}

.lead {
  margin-top: 18px;
  max-width: 58ch;
  font-size: clamp(17px, 1.45vw, 19.5px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border: 2px solid var(--navy);
  border-radius: 15px;
  background: var(--cloud);
  color: var(--navy);
  font: 600 17px/1 var(--font-display);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--edge);
  transition: transform 0.18s var(--ease-soft), box-shadow 0.18s var(--ease-soft), background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--navy); }
.btn:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--navy);
  transition-duration: 0.06s;
}

.btn-primary { background: var(--aqua); }
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, 0.7) 30% 46%, transparent 46% 56%, rgba(255, 255, 255, 0.5) 56% 64%, transparent 64%) left center / 64px 100% no-repeat;
  transform: translateX(-64px);
  pointer-events: none;
}
.btn-primary:hover::before { animation: glint 0.85s var(--ease-out); }
@keyframes glint {
  from { transform: translateX(-64px); }
  to { transform: translateX(100%); }
}
.btn-primary.is-done { background: var(--aqua-hi); }

.btn-ghost:hover { background: var(--aqua-soft); }

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 13px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 16px/1.3 var(--font-display);
  color: var(--blue);
}
.arrow-link::after {
  content: "\2192";
  transition: transform 0.4s var(--ease-soft);
}
.arrow-link:hover { color: var(--navy); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: 14px;
  pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  column-gap: 22px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  height: var(--nav-h);
  margin-inline: auto;
  padding-inline: 34px;
  background: var(--cloud);
  border: 2px solid var(--navy);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--navy);
}
.js .nav-bar { animation: nav-in 0.9s var(--ease-out) backwards; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.nav-list--left,
.nav-list--right { justify-content: space-between; }
.nav-list a {
  display: block;
  padding: 10px 2px;
  font: 600 16.5px/1 var(--font-display);
  letter-spacing: 0.01em;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav-list a:hover { color: var(--blue); }

.nav-logo {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}
.nav-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118px;
  max-width: none;
  transform: translate(-50%, -50%);
}
.js .nav:not(.is-docked) .nav-logo { visibility: hidden; }

.nav-icon {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--navy);
  border-radius: 13px;
  background: var(--cloud);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 3px 0 var(--navy);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), background-color 0.25s ease;
}
.nav-icon:hover { background: var(--aqua-soft); }
.nav-icon:active { transform: translateY(3px); box-shadow: 0 0 0 var(--navy); }
.nav-icon svg { width: 22px; height: 22px; }

.nav-burger { gap: 5px; align-content: center; }
.nav-burger span {
  display: block;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Mobile menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 92px var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--ice);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-close {
  display: grid;
  position: absolute;
  top: 22px;
  right: 22px;
}
.menu-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.menu-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 2px solid var(--line);
  font: 700 clamp(28px, 8vw, 38px)/1.1 var(--font-display);
  color: var(--navy);
}
.menu-list a span {
  font-size: 14px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.menu-list a:hover { color: var(--blue); }
.menu-ip {
  margin-top: auto;
  padding-top: 32px;
}
.menu-ip-label {
  font: 700 12.5px/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.menu-ip-host {
  margin: 10px 0 16px;
  font: 700 26px/1.1 var(--font-display);
  overflow-wrap: anywhere;
}
.menu-ip .btn { width: 100%; }
.js .menu:not([hidden]) .menu-list li { animation: menu-in 0.6s var(--ease-out) backwards; }
.js .menu:not([hidden]) .menu-list li:nth-child(2) { animation-delay: 0.04s; }
.js .menu:not([hidden]) .menu-list li:nth-child(3) { animation-delay: 0.08s; }
.js .menu:not([hidden]) .menu-list li:nth-child(4) { animation-delay: 0.12s; }
.js .menu:not([hidden]) .menu-list li:nth-child(5) { animation-delay: 0.16s; }
.js .menu:not([hidden]) .menu-list li:nth-child(6) { animation-delay: 0.2s; }
.js .menu:not([hidden]) .menu-list li:nth-child(7) { animation-delay: 0.24s; }
.js .menu:not([hidden]) .menu-list li:nth-child(8) { animation-delay: 0.28s; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Clouds ---------- */

.clouds {
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--ch) + 48px);
  overflow: hidden;
  pointer-events: none;
}
.cloud {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--ice);
  -webkit-mask: url("../assets/img/cloud-a.svg") left bottom / var(--cw) var(--ch) repeat-x;
  mask: url("../assets/img/cloud-a.svg") left bottom / var(--cw) var(--ch) repeat-x;
}
.cloud--back {
  bottom: 38px;
  width: calc(100% + var(--cw));
  background: var(--cloud-shade);
  -webkit-mask-image: url("../assets/img/cloud-b.svg");
  mask-image: url("../assets/img/cloud-b.svg");
  -webkit-mask-position: 260px bottom;
  mask-position: 260px bottom;
}
.cloud--back[data-drift] {
  animation: drift 300s linear infinite;
  animation-play-state: paused;
}
.cloud--back.is-running { animation-play-state: running; }
@keyframes drift {
  to { transform: translate3d(calc(-1 * var(--cw)), 0, 0); }
}

/* ---------- Hero ---------- */

.hero {
  --sky-h: clamp(620px, 100svh, 1000px);
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--sky-h);
  padding: calc(var(--nav-top) + var(--nav-h) + 28px) 0 clamp(150px, 19vh, 220px);
  background: var(--ice);
}
.hero-sky {
  --nav-clear: 92px;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 46%, var(--sky-low) 100%);
}
.sky-cloud {
  position: absolute;
  left: 0;
  top: var(--top);
  width: var(--w);
  aspect-ratio: var(--ar);
  background: center / contain no-repeat;
  transform: translate3d(var(--x), 0, 0);
  animation: sky-drift var(--dur) linear var(--delay) infinite;
  will-change: transform;
}
.hero-sky.is-paused .sky-cloud { animation-play-state: paused; }
.sky-a { --w: clamp(96px, 10.5vw, 160px); --top: var(--nav-clear); --dur: 170s; }
.sky-a2 { --w: clamp(80px, 7vw, 120px); --top: calc(var(--nav-clear) + 92px); --dur: 230s; }
.sky-c { --w: clamp(200px, 26vw, 400px); --top: auto; bottom: calc(var(--ch) * 0.45); --dur: 85s; }
.sc-1 { --ar: 1.9565; --delay: -15s; --x: 12vw; background-image: url("../assets/img/sky-cloud-c.svg"); }
.sc-2 { --ar: 2.0313; --delay: -71.7s; --x: 64vw; background-image: url("../assets/img/sky-cloud-b.svg"); }
.sc-3 { --ar: 2.8188; --delay: -128.3s; --x: 40vw; background-image: url("../assets/img/sky-cloud-d.svg"); }
.sc-7 { --ar: 2.2642; --delay: -40s; --x: 30vw; background-image: url("../assets/img/sky-cloud-a.svg"); }
.sc-8 { --ar: 1.9565; --delay: -155s; --x: 80vw; background-image: url("../assets/img/sky-cloud-c.svg"); }
.sc-5 { --ar: 2.2642; --delay: -12s; --x: 4vw; background-image: url("../assets/img/sky-cloud-a.svg"); }
.sc-6 { --ar: 2.8188; --delay: -54.5s; --x: 54vw; background-image: url("../assets/img/sky-cloud-d.svg"); }
@keyframes sky-drift {
  from { transform: translate3d(100vw, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}
.gust {
  position: absolute;
  z-index: 3;
  top: var(--top, auto);
  bottom: var(--bottom, auto);
  left: var(--x);
  width: var(--w);
  height: auto;
  overflow: visible;
  opacity: 0;
  animation: gust-life var(--dur) linear var(--delay) infinite;
}
.gust path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len) 400;
  stroke-dashoffset: var(--from);
  animation: gust-draw var(--dur) cubic-bezier(0.45, 0.05, 0.3, 1) var(--delay) infinite;
}
.gust .tail {
  --len: 48;
  --from: 50;
  --to: -102;
  stroke: #FFFFFF;
  stroke-width: 2;
}
.gust .fade {
  --len: 36;
  --from: 38;
  --to: -114;
  stroke: #FFFFFF;
  stroke-width: 2.6;
}
.gust .body {
  --len: 24;
  --from: 26;
  --to: -126;
  stroke: #FFFFFF;
  stroke-width: 3.3;
}
.gust .neck {
  --len: 14;
  --from: 16;
  --to: -136;
  stroke: #FFFFFF;
  stroke-width: 4.1;
}
.gust .tip {
  --len: 7;
  --from: 9;
  --to: -143;
  stroke: #FFFFFF;
  stroke-width: 5;
}
.hero-sky.is-paused .gust,
.hero-sky.is-paused .gust path { animation-play-state: paused; }
.g1 { --x: 3%; --top: calc(var(--nav-clear) + 4px); --w: clamp(240px, 26vw, 400px); --dur: 9s; --delay: 0.4s; }
.g2 { --x: 61%; --top: calc(var(--nav-clear) - 4px); --w: clamp(240px, 26vw, 400px); --dur: 10.5s; --delay: 1.2s; }
.g3 { --x: 9%; --bottom: calc(var(--ch) + 9px); --w: clamp(220px, 21vw, 320px); --dur: 8.5s; --delay: 2s; }
.g4 { --x: 66%; --bottom: calc(var(--ch) + 9px); --w: clamp(220px, 21vw, 320px); --dur: 10s; --delay: 2.9s; }
.g5 { --x: 88%; --top: 40%; --w: clamp(180px, 15vw, 260px); --dur: 9.5s; --delay: 3.8s; }
.g6 { --x: 0.5%; --top: 46%; --w: clamp(180px, 15vw, 260px); --dur: 11s; --delay: 4.8s; }
@keyframes gust-draw {
  0% { stroke-dashoffset: var(--from); }
  36%,
  100% { stroke-dashoffset: var(--to); }
}
@keyframes gust-life {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  3% { opacity: 1; }
  30% { opacity: 1; }
  37%,
  100% { opacity: 0; transform: translate3d(-40px, 0, 0); }
}
.clouds--hero {
  bottom: -1px;
  z-index: 1;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: 100%;
  max-width: calc(1240px + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3.2vh, 34px);
}
.hero-logo-wrap { line-height: 0; }
.hero-logo {
  position: relative;
  z-index: 60;
  width: min(440px, 31vw);
  transform-origin: 50% 50%;
  will-change: transform;
}
.hero-logo.is-docked { visibility: hidden; }
.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.hero-actions .btn,
.about-actions .btn,
.store-cta .btn,
.vote-cta .btn,
.community-cta .btn {
  min-height: 60px;
  padding: 0 28px 0 22px;
  font-size: 19px;
  font-weight: 700;
}
.btn-ico {
  flex: none;
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.btn-ico--line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-play {
  background: linear-gradient(180deg, #A8FAFD 0%, #5EF5FC 46%, var(--aqua) 47%, var(--aqua) 100%);
  box-shadow: 0 6px 0 var(--blue), 0 6px 0 2px var(--navy);
}
.btn-play:hover { transform: translateY(4px); box-shadow: 0 2px 0 var(--blue), 0 2px 0 2px var(--navy); }
.btn-play:active { transform: translateY(6px); box-shadow: 0 0 0 var(--blue), 0 0 0 2px var(--navy); }
.btn-play.is-done { background: var(--aqua-hi); }

.hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  padding: 34px 36px 72px;
  text-align: center;
}
.hero-card--join { justify-self: end; }
.hero-card--community { justify-self: start; }
.cc-shape {
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: drop-shadow(0 11px 0 #C9E6F7);
}
.hero-card--community .cc-shape { transform: scaleX(-1); }
.cc-shape span {
  position: absolute;
  background: var(--cloud);
}
.cc-body {
  inset: 14% 10%;
  border-radius: 50%;
}
.cc-puff {
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.p1 { width: 122px; height: 122px; left: 50.00%; top: 17.00%; }
.p2 { width: 102px; height: 102px; left: 69.00%; top: 21.42%; }
.p3 { width: 106px; height: 106px; left: 31.00%; top: 21.42%; }
.p4 { width: 86px; height: 86px; left: 82.91%; top: 33.50%; }
.p5 { width: 88px; height: 88px; left: 17.09%; top: 33.50%; }
.p6 { width: 76px; height: 76px; left: 88.00%; top: 50.00%; }
.p7 { width: 78px; height: 78px; left: 12.00%; top: 50.00%; }
.p8 { width: 70px; height: 70px; left: 83.55%; top: 65.49%; }
.p9 { width: 70px; height: 70px; left: 16.45%; top: 65.49%; }
.p10 { width: 72px; height: 72px; left: 67.84%; top: 79.14%; }
.p11 { width: 78px; height: 78px; left: 50.00%; top: 83.00%; }
.p12 { width: 72px; height: 72px; left: 32.16%; top: 79.14%; }
.hc-head {
  margin: 0 0 2px;
  font-family: "Bricolage Grotesque", var(--font-display);
  font-size: clamp(27px, 2.3vw, 32px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.hc-body { position: relative; }
.hc-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 14px;
  background: none;
  text-align: center;
}
.hc-copy {
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.hc-copy:hover { background: var(--aqua-soft); }
.hc-label {
  font: 700 11.5px/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hc-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 16.5px/1.2 var(--font-display);
  color: var(--navy);
  overflow-wrap: anywhere;
}
.hc-value svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.hc-copy.is-done .hc-value { color: var(--blue); }
.hc-row.is-pending { visibility: hidden; }
.no-js [data-live-row] { display: none; }
.hc-num {
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hc-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hc-stack { min-width: 0; }
.hc-discord {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  transition: transform 0.18s var(--ease-soft);
}
.hc-discord:hover { transform: scale(0.93); }
.hc-discord:active { transform: scale(0.88); transition-duration: 0.06s; }
.hc-discord svg {
  display: block;
  width: 60px;
  height: auto;
  overflow: visible;
  fill: var(--aqua);
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linejoin: round;
  paint-order: stroke;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(84px, 10vw, 140px); }
.sec-head {
  max-width: 780px;
  margin: 0 auto clamp(44px, 5vw, 68px);
  text-align: center;
}
.sec-head .lead { margin-inline: auto; }
.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 20px);
}
.title-cloud {
  flex: none;
  width: clamp(84px, 10vw, 148px);
  height: auto;
}
.title-cloud--r { scale: -1 1; }
.sec-title-img {
  margin: 0;
  line-height: 0;
}
.about .sec-head,
.systems .sec-head,
.store .sec-head,
.community .sec-head { max-width: 920px; }
.sec-title-img img {
  width: clamp(280px, 34vw, 500px);
  height: auto;
  margin-inline: auto;
}
.sec-head--left {
  margin-inline: 0;
  text-align: left;
}
.sec-head--left .lead { margin-inline: 0; }
.sec-foot {
  margin-top: clamp(40px, 5vw, 60px);
  text-align: center;
}

/* ---------- Frames (chamfered) ---------- */

.frame {
  --cut: 28px;
  --t: 3px;
  position: relative;
  padding: var(--t);
  background: var(--navy);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.frame img {
  --c: calc(var(--cut) - var(--t) * 0.586);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transform: scale(1.001);
  transition: transform 0.8s var(--ease-out);
}

/* ---------- Systems (Wiki/Commands) ---------- */

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.about { padding-bottom: clamp(56px, 7vw, 96px); }
.about + .systems { padding-top: clamp(56px, 7vw, 96px); }
.about-copy {
  display: grid;
  justify-items: start;
  gap: clamp(18px, 2vw, 28px);
}
.about-mark { width: min(100%, 420px); }
.about-mark img {
  width: 100%;
  height: auto;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.about-text {
  max-width: 34ch;
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.why-item {
  display: flex;
  grid-column: span 2;
}
.why-item:last-child:nth-child(3n + 1) { grid-column: 3 / span 2; }
.why-item:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
.why-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cloud);
  border: 2px solid var(--navy);
  border-radius: 22px;
  box-shadow: var(--edge-card);
  transition: transform 0.18s var(--ease-soft), box-shadow 0.18s var(--ease-soft);
}
a.why-card:hover {
  transform: translateY(4px);
  box-shadow: 0 4px 0 var(--navy);
}
a.why-card:active {
  transform: translateY(8px);
  box-shadow: 0 0 0 var(--navy);
  transition-duration: 0.06s;
}
.why-card:focus-visible {
  outline-offset: 4px;
  border-radius: 22px;
}
.why-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--frost);
  border-bottom: 2px solid var(--navy);
}
.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
a.why-card:hover .why-media img { transform: scale(1.05); }
.why-media--art {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%);
}
.why-media--art picture { width: 46%; }
.why-media--wide picture { width: 84%; }
.why-media--art img {
  height: auto;
  object-fit: contain;
}
.why-num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 36px;
  padding: 0 9px;
  background: var(--aqua);
  border: 2px solid var(--navy);
  border-radius: 11px;
  box-shadow: 0 3px 0 var(--navy);
  font: 700 15px/1 var(--font-display);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.why-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.why-body h3 { font-size: clamp(22px, 2vw, 26px); }
.why-cmd { margin-top: 12px; }
.why-cmd code {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--aqua-soft);
  color: var(--blue);
  font-size: 14px;
  white-space: normal;
}
.why-body p:not(.why-cmd) {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.why-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font: 600 15.5px/1.3 var(--font-display);
  color: var(--blue);
}
.why-link::after {
  content: "\2192";
  transition: transform 0.4s var(--ease-soft);
}
a.why-card:hover .why-link::after { transform: translateX(4px); }

/* ---------- Map band ---------- */

.mapband {
  --cw: 1200px;
  --ch: 195px;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 62vw, 860px);
  overflow: hidden;
  background: #3A6EA5;
}
.mapband > picture {
  position: absolute;
  inset: 0;
}
.mapband-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clouds--top {
  top: -1px;
  z-index: 1;
  transform: scaleY(-1);
}
.clouds--bottom {
  bottom: -1px;
  z-index: 1;
}
.mapband .cloud[data-drift] {
  width: calc(100% + var(--cw));
  animation: drift 115s linear infinite;
  animation-play-state: paused;
}
.mapband .clouds--bottom .cloud[data-drift] { animation-duration: 145s; }
.mapband .cloud.is-running { animation-play-state: running; }
.mapband-inner {
  position: relative;
  z-index: 2;
  padding-block: 210px;
}
.map-card {
  max-width: 470px;
  padding: clamp(26px, 3vw, 38px);
  background: var(--cloud);
  border: 2px solid var(--navy);
  border-radius: 24px;
  box-shadow: var(--edge-card);
}
.map-title {
  margin: 0;
  line-height: 0;
}
.map-title img {
  width: clamp(230px, 24vw, 320px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.map-art {
  margin: 16px 0 0;
  line-height: 0;
}
.map-art img {
  width: 100%;
  height: auto;
}
.map-card > p {
  margin-top: 14px;
  color: var(--ink-soft);
}
.map-facts {
  margin: 22px 0 26px;
  border-top: 2px solid var(--line);
}
.map-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 2px solid var(--line);
}
.map-facts dt {
  font-weight: 600;
  color: var(--ink-soft);
}
.map-facts dd {
  font: 700 17px/1.2 var(--font-display);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Vote ---------- */

.vote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.vote-main .sec-head { margin-bottom: clamp(32px, 4vw, 44px); }
.vote-title { line-height: 0; }
.vote-title img {
  width: clamp(240px, 24vw, 340px);
  height: auto;
}
.vote-note {
  margin-top: 26px;
  max-width: 56ch;
  color: var(--ink-soft);
}
.vote-note strong { color: var(--navy); }

.shop {
  padding: 12px 12px 26px;
  background: var(--cloud);
  border: 2px solid var(--navy);
  border-radius: 24px;
  box-shadow: var(--edge-card);
}
.frame--shop { --cut: 22px; border-radius: 13px 13px 0 0; }
.shop-title {
  padding: 22px 14px 8px;
  font-size: 26px;
  font-weight: 700;
}
.shop-rows { padding-inline: 14px; }
.shop-rows li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  font-weight: 600;
  color: var(--navy);
}
.shop-rows li::after {
  content: "";
  order: 1;
  flex: 1 1 auto;
  min-width: 18px;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-4px);
}
.shop-rows b {
  order: 2;
  font: 700 16px/1 var(--font-display);
  color: var(--blue);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.shop-foot {
  margin-top: 12px;
  padding-inline: 14px;
  font-size: 14.5px;
  color: var(--ink-mute);
}

/* ---------- Store ---------- */

.store { padding-top: clamp(24px, 3vw, 40px); }
.store-title {
  margin: 0;
  line-height: 0;
}
.store-title img {
  width: clamp(300px, 38vw, 540px);
  height: auto;
  margin-inline: auto;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  max-width: 1080px;
  margin-inline: auto;
}
.store-item { display: flex; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: var(--cloud);
  border: 2px solid var(--navy);
  border-radius: 22px;
  box-shadow: var(--edge-card);
  transition: transform 0.18s var(--ease-soft), box-shadow 0.18s var(--ease-soft);
}
a.product-card:hover {
  transform: translateY(4px);
  box-shadow: 0 4px 0 var(--navy);
}
a.product-card:active {
  transform: translateY(8px);
  box-shadow: 0 0 0 var(--navy);
  transition-duration: 0.06s;
}
.product-card:focus-visible {
  outline-offset: 4px;
  border-radius: 22px;
}
.product-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.8;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 52%, var(--sky-low) 100%);
}
.product-stage::after {
  --cw: 320px;
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(100% + var(--cw));
  height: 52px;
  background: var(--cloud);
  -webkit-mask: url("../assets/img/cloud-a.svg") left bottom / 320px 52px repeat-x;
  mask: url("../assets/img/cloud-a.svg") left bottom / 320px 52px repeat-x;
  animation: drift 18s linear infinite;
  animation-play-state: paused;
}
.product-stage.is-running::after { animation-play-state: running; }
.store-item:nth-child(2) .product-stage::after {
  animation-duration: 22s;
  animation-delay: -9s;
}
.store-item:nth-child(3) .product-stage::after {
  animation-duration: 20s;
  animation-delay: -4s;
}
.product-stage picture {
  position: relative;
  z-index: 1;
  width: 54%;
  margin-bottom: 24px;
}
.product-stage img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 4px rgba(0, 22, 53, 0.2));
  transition: transform 0.8s var(--ease-out);
}
a.product-card:hover .product-stage img { transform: translateY(-6px) rotate(-4deg); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 11px 6px;
  background: var(--tag, var(--aqua));
  border: 2px solid var(--navy);
  border-radius: 11px;
  box-shadow: 0 3px 0 var(--navy);
  font: 700 12.5px/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.product-badge--line { background: var(--cloud); }
/* the colours a tag can be given in Tebex: [tag: Text | gold] */
.tag--gold { --tag: #FFD36B; }
.tag--blue { --tag: var(--sky-low); }
.tag--purple { --tag: #CBC1FF; }
.tag--pink { --tag: #FFC4E5; }
.tag--white { --tag: var(--cloud); }
.product-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 22px 22px;
}
.product-body h3 { font-size: clamp(20px, 1.7vw, 23px); }
.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price {
  font: 700 24px/1 var(--font-display);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.price-off {
  padding: 5px 8px 4px;
  border-radius: 8px;
  background: var(--aqua-soft);
  font: 700 13px/1 var(--font-display);
  color: var(--blue);
}
.rank-ladder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
  margin-top: clamp(40px, 5vw, 60px);
}
.rank-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 20px 6px 8px;
  background: var(--cloud);
  border: 2px solid var(--navy);
  border-radius: 16px;
  box-shadow: var(--edge);
  font: 700 17px/1 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  transition: transform 0.18s var(--ease-soft), box-shadow 0.18s var(--ease-soft), background-color 0.25s ease;
}
.rank-step picture {
  flex: none;
  width: 40px;
}
.rank-step img {
  width: 40px;
  height: 40px;
}
.rank-step:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--navy);
  background: var(--aqua-soft);
}
.rank-step:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--navy);
  transition-duration: 0.06s;
}
.rank-step--top { background: var(--aqua); }
.rank-step--top:hover { background: var(--aqua-hi); }
.rank-arrow {
  display: grid;
  color: var(--blue);
}
.rank-arrow svg {
  width: 22px;
  height: 22px;
}
.store-cta {
  margin-top: clamp(32px, 4vw, 44px);
  text-align: center;
}

/* ---------- Community ---------- */

.community { padding-top: clamp(24px, 3vw, 40px); }
.community-title {
  margin: 0;
  line-height: 0;
}
.community-title img {
  width: clamp(280px, 34vw, 500px);
  height: auto;
  margin-inline: auto;
}
.community-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1080px;
  margin-inline: auto;
}
.community-copy {
  display: grid;
  justify-items: start;
  gap: clamp(22px, 2.6vw, 30px);
}
.community-block h3 {
  font-family: "Bricolage Grotesque", var(--font-display);
  font-size: clamp(26px, 2.3vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.community-block p {
  margin-top: 8px;
  max-width: 46ch;
  font-size: clamp(16.5px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.community-block a {
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.community-block a:hover { color: var(--navy); }
.community-cta { margin-top: 6px; }
.community-art img {
  width: min(100%, 440px);
  height: auto;
  margin-inline: auto;
}

/* ---------- Night (final CTA + footer) ---------- */

.night {
  --night-pad: clamp(190px, 19vw, 280px);
  position: relative;
  overflow: hidden;
  padding-top: var(--night-pad);
  background: var(--navy);
  color: #CFE2F6;
}
.night :focus-visible { outline-color: var(--aqua); }
.clouds--night {
  top: -1px;
  z-index: 1;
  transform: scaleY(-1);
}
.night .cloud[data-drift] {
  width: calc(100% + var(--cw));
  animation: drift 140s linear infinite;
  animation-play-state: paused;
}
.night .cloud.is-running { animation-play-state: running; }
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(transparent 120px, #000 260px, #000 60%, transparent);
  mask-image: linear-gradient(transparent 120px, #000 260px, #000 60%, transparent);
  animation: twinkle var(--tw) ease-in-out var(--td) infinite;
  animation-play-state: paused;
}
.stars.is-running { animation-play-state: running; }
.stars--a {
  --tw: 3.4s;
  --td: 0s;
  background-image:
    radial-gradient(1.6px 1.6px at 22px 38px, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 118px 92px, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 196px 24px, var(--aqua-hi) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 264px 150px, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 70px 196px, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 318px 70px, #fff 50%, transparent 52%);
  background-size: 340px 230px;
}
.stars--b {
  --tw: 4.7s;
  --td: -1.6s;
  background-image:
    radial-gradient(1.3px 1.3px at 40px 150px, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 150px 40px, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 232px 118px, var(--aqua-hi) 50%, transparent 52%),
    radial-gradient(1px 1px at 98px 86px, #fff 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 262px 182px, #fff 50%, transparent 52%);
  background-size: 290px 200px;
}
.stars--c {
  --tw: 6.1s;
  --td: -3.2s;
  background-image:
    radial-gradient(1.8px 1.8px at 60px 110px, var(--aqua-hi) 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 205px 210px, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 330px 30px, #fff 50%, transparent 52%),
    radial-gradient(1.1px 1.1px at 390px 160px, #fff 50%, transparent 52%);
  background-size: 430px 270px;
}
@keyframes twinkle {
  0%,
  55%,
  100% { opacity: 0.95; }
  78% { opacity: 0.3; }
}

.night-cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: clamp(80px, 10vw, 130px);
  text-align: center;
}
.night-wind {
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--night-pad));
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  pointer-events: none;
}
.night-wind .gust,
.night-wind .gust path { animation-play-state: paused; }
.night-wind.is-running .gust,
.night-wind.is-running .gust path { animation-play-state: running; }
.n1 { --x: 3%; --top: calc(var(--ch) + 10px); --w: clamp(170px, 19vw, 300px); --dur: 9s; --delay: 0.4s; }
.n2 { --x: 76%; --top: calc(var(--ch) + 90px); --w: clamp(170px, 19vw, 300px); --dur: 10.5s; --delay: 2s; }
.n3 { --x: 7%; --top: calc(var(--ch) + 250px); --w: clamp(180px, 15vw, 240px); --dur: 9.5s; --delay: 3.6s; }
.n4 { --x: 74%; --top: calc(var(--ch) + 330px); --w: clamp(180px, 15vw, 240px); --dur: 10s; --delay: 5.2s; }
.n5 { --x: 2%; --bottom: 16px; --w: clamp(170px, 19vw, 300px); --dur: 11s; --delay: 6.8s; }
.n6 { --x: 72%; --bottom: 24px; --w: clamp(170px, 19vw, 300px); --dur: 9s; --delay: 8.3s; }
@media (max-width: 1199px) {
  .n3,
  .n4 { display: none; }
  .n2 { --x: 72%; --top: calc(var(--ch) + 20px); }
}
@media (max-width: 979px) {
  .n6 { --x: 76%; }
}
.night-logo {
  width: clamp(210px, 24vw, 320px);
  margin-bottom: 18px;
  animation: logo-float 6s ease-in-out infinite;
  animation-play-state: paused;
}
.night-logo.is-running { animation-play-state: running; }
@keyframes logo-float {
  0%,
  100% { translate: 0 0; rotate: 0deg; }
  25% { rotate: -1.5deg; }
  50% { translate: 0 -14px; rotate: 0deg; }
  75% { rotate: 1.5deg; }
}
.night-cta h2 {
  font-family: "Bricolage Grotesque", var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  font-size: clamp(36px, 5vw, 66px);
}
.night-ip {
  margin-top: 20px;
  font: 700 clamp(26px, 3.2vw, 42px)/1.1 var(--font-display);
  color: var(--aqua);
  overflow-wrap: anywhere;
}
.night-sub {
  margin-top: 10px;
  color: rgba(207, 226, 246, 0.78);
}
.night-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.night .btn-primary {
  box-shadow: 0 5px 0 var(--blue);
}
.night .btn-primary:hover { box-shadow: 0 2px 0 var(--blue); }
.night .btn-primary:active { box-shadow: 0 0 0 var(--blue); }
.btn-night {
  background: transparent;
  color: #fff;
  border-color: rgba(207, 226, 246, 0.55);
  box-shadow: 0 5px 0 rgba(207, 226, 246, 0.2);
}
.btn-night:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 0 rgba(207, 226, 246, 0.2);
}
.btn-night:active { box-shadow: 0 0 0 rgba(207, 226, 246, 0.2); }

.foot {
  position: relative;
  z-index: 2;
  background: var(--navy);
  box-shadow: 0 0 0 100vmax var(--navy);
  clip-path: inset(0 -100vmax);
}
.foot-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-block: 48px;
  border-top: 2px solid rgba(207, 226, 246, 0.14);
}
.foot-logo {
  width: 160px;
  height: auto;
}
.foot-brand p {
  margin-top: 14px;
  max-width: 34ch;
  color: rgba(207, 226, 246, 0.75);
}
.foot-banner {
  display: block;
  width: min(100%, 468px);
  height: auto;
  aspect-ratio: 1092 / 140;
  margin-top: 20px;
  border-radius: 12px;
  background: var(--sky-low);
}
.foot-nav,
.foot-contact { text-align: center; }
.foot-title {
  margin-bottom: 12px;
  line-height: 0;
}
.foot-title img {
  width: min(100%, 168px);
  height: auto;
  margin-inline: auto;
}
.foot-nav li + li { margin-top: 6px; }
.foot-connect {
  display: grid;
  justify-content: center;
  justify-items: start;
}
.foot-connect a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.foot-connect svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: var(--aqua);
}
.foot a {
  color: #CFE2F6;
  transition: color 0.25s ease;
}
.foot a:hover { color: var(--aqua); }
.foot-contact a { overflow-wrap: anywhere; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 22px calc(26px + env(safe-area-inset-bottom));
  border-top: 2px solid rgba(207, 226, 246, 0.14);
  font-size: 14px;
  color: rgba(207, 226, 246, 0.7);
}
.foot-design {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.sig {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.82) !important;
  transform: rotate(-7deg);
  transition: color 0.25s ease, transform 0.3s var(--ease-soft);
}
.sig svg {
  width: auto;
  height: 28px;
  fill: currentColor;
}
.sig:hover {
  color: #fff !important;
  transform: rotate(-7deg) scale(1.06);
}

/* ---------- Sticky IP bar + toast ---------- */

.ipbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 9px 9px 16px;
  background: var(--cloud);
  border: 2px solid var(--navy);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--navy);
  transform: translateY(160%);
  transition: transform 0.55s var(--ease-out);
}
.ipbar.is-shown { transform: none; }
.ipbar-host {
  min-width: 0;
  font: 700 16px/1.15 var(--font-display);
  color: var(--navy);
  overflow-wrap: anywhere;
}
.ipbar-host span {
  display: block;
  margin-bottom: 3px;
  font: 700 11px/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 80;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s ease, transform 0.5s var(--ease-out);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: hero-rise 0.9s var(--ease-out) backwards;
}
.js .hero .reveal-d1 { animation-delay: 0.08s; }
.js .hero .reveal-d2 { animation-delay: 0.16s; }
.js .hero .reveal-d3 { animation-delay: 0.24s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(26px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1099px) {
  .nav-list { gap: 20px; }
  .nav-list a { font-size: 15.5px; }
}

@media (min-width: 980px) and (max-height: 820px) {
  .clouds--hero { --cw: 1200px; --ch: 195px; }
  .hero-sky { --ch: 195px; }
  .sky-a2,
  .g3,
  .g4 { display: none; }
  .sky-c { bottom: calc(var(--ch) * 0.28); }
}

@media (max-width: 979px) {
  :root { --nav-h: 60px; --nav-top: 10px; }
  .hero-sky { --nav-clear: 84px; }
  .sky-c,
  .sky-a2,
  .g3,
  .g4 { display: none; }
  html { scroll-padding-top: 92px; }
  .nav { padding-inline: 10px; }
  .nav-bar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    column-gap: 0;
    width: auto;
    padding-inline: 8px;
    border-radius: 18px;
  }
  .nav-list { display: none; }
  .nav-icon { display: grid; }
  .nav-logo img { width: 90px; }

  .hero {
    align-items: flex-start;
    padding-bottom: 170px;
  }
  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 22px;
  }
  .hero-center { order: -1; margin-bottom: 8px; }
  .hero-logo { width: min(300px, 72vw); }
  .hero-card,
  .hero-card--join,
  .hero-card--community {
    max-width: 420px;
    justify-self: center;
  }

  .about-split { grid-template-columns: minmax(0, 1fr); }
  .about-text { max-width: 56ch; }
  .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why-item:last-child:nth-child(3n + 1),
  .why-item:nth-last-child(2):nth-child(3n + 1) { grid-column: span 2; }
  .why-item:last-child:nth-child(2n + 1) { grid-column: 2 / span 2; }

  .vote-grid { grid-template-columns: minmax(0, 1fr); }
  .shop { max-width: 560px; }

  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 759px) {
  :root { --cw: 800px; --ch: 130px; }
  .title-row { gap: 2vw; }
  .title-cloud { width: 11vw; }
  .sec-title-img img,
  .store-title img,
  .community-title img { width: min(62vw, 300px); }
  .about-mark { width: min(86vw, 320px); }
  .about-actions .btn { flex: 1 1 auto; }
  .store-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }
  .rank-ladder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    margin-inline: auto;
  }
  .rank-arrow { display: none; }
  .community-split { grid-template-columns: minmax(0, 1fr); }
  .community-art { order: -1; }
  .community-art img { width: min(72vw, 280px); }
  .community-cta { width: 100%; }
  .community-cta .btn {
    width: 100%;
    max-width: 420px;
  }
  .store-cta .btn,
  .vote-cta .btn {
    width: 100%;
    max-width: 420px;
  }
  .g1 { --x: -8%; --w: 64vw; }
  .g2 { --x: 44%; --top: calc(var(--nav-clear) + 10px); --w: 64vw; }
  .g5,
  .g6 { display: none; }
  .n2,
  .n6 { display: none; }
  .night { --night-pad: 220px; }
  .n1 { --x: 50%; --top: calc(var(--ch) + 10px); --w: min(44vw, 200px); }
  .n5 { --x: 6%; --bottom: 8px; --w: min(50vw, 200px); }
  .ipbar { display: flex; }
  .toast { bottom: 104px; }

  .cloud--back { bottom: 20px; -webkit-mask-position: 130px bottom; mask-position: 130px bottom; }

  .mapband {
    --cw: 640px;
    --ch: 104px;
    min-height: 0;
  }
  .mapband-inner { padding-block: 130px; }


  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-contact { grid-column: 1 / -1; }
  .foot-design { margin-left: 0; }
}

@media (max-width: 639px) {
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    margin-inline: auto;
  }
  .why-item,
  .why-item:last-child:nth-child(3n + 1),
  .why-item:nth-last-child(2):nth-child(3n + 1),
  .why-item:last-child:nth-child(2n + 1) { grid-column: auto; }
}

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .cloud--back[data-drift] { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sky-cloud { animation: none; }
  .night .cloud[data-drift] {
    width: 100%;
    animation: none;
  }
  .stars,
  .night-logo { animation: none; }
  .product-stage::after { animation: none; }
  .gust { display: none; }
  .mapband .cloud[data-drift] {
    width: 100%;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .js .reveal,
  .js .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .hero .reveal,
  .js .nav-bar,
  .js .menu:not([hidden]) .menu-list li { animation: none; }
  .btn-primary::before,
  .frame img,
  .why-media img,
  .product-stage img { transition: none; }
}
