/* Hexrise website. Colors follow the game: a violet dusk with a pink horizon that darkens into night and space
   as the page climbs; cyan is the player and the action button, gold is the open portal, red is the bots,
   the coral edge means "you fall from here". Walk, Jump and Stone keep their in-game colors.
   Type is the game's: the system font (SF Pro on Apple devices, Roboto on Android), SemiBold body text,
   Black capitals with wide tracking for the HEXRISE title and Bold spaced capitals for screen titles. */

:root {
  --paper: #f3ecdc;
  --text: #efeaf8;
  --text-dim: rgba(239, 234, 248, .72);
  --cyan: #46d4ff;
  --cyan-light: #8ce6ff;
  --cyan-deep: #1aa6e0;
  --ink: #06202e;
  --night: #080816;
  --panel: rgba(14, 16, 36, .74);
  --gold-light: #ffe7a0;
  --gold: #ffc94d;
  --gold-deep: #f29c1f;
  --gold-ink: #4a2a05;
  --walk: #74f0a8;
  --jump: #ffc94d;
  --stone: #b39bff;
  --bot: #ff5a64;
  --coral: #ff8a6e;
  --line: rgba(255, 255, 255, .13);
  --glass: rgba(14, 16, 40, .62);
  --max: 1200px;
  --radius: 26px;

  /* The sky behind the page follows the scroll from the dusk at the base of the tower up into space (site.js). */
  --sky-a: #3b2f7a;
  --sky-b: #c46f9a;
  --glow: .8;
  --stars: .25;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, system-ui, sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan-light); text-underline-offset: 3px; }
a:hover { color: #fff; }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; font-weight: 800; }
p { text-wrap: pretty; }
strong, b { font-weight: 900; }
.ic { width: 22px; height: 22px; fill: currentColor; flex: none; }
.muted { color: var(--text-dim); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 50;
  padding: 10px 14px; background: var(--paper); color: var(--ink); border-radius: 12px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- Living sky behind every page ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-a) 10%, var(--sky-b));
}
/* The warm horizon glow at the base of the tower; it fades as the page climbs (--glow). */
.sky::before {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -30%; height: 70%; opacity: var(--glow);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 170, 150, .55), rgba(255, 120, 170, .18) 45%, transparent 70%);
}
.sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(4, 4, 14, .45)); }

/* Stars, clouds and drifting hex tiles are drawn into one viewport-sized canvas (site.js). */
.sky-layer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.gauge {
  position: fixed; right: 18px; top: 86px; z-index: 20;
  display: flex; gap: 8px; pointer-events: none; opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .4s;
}
.gauge.is-on { opacity: 1; transform: none; }
.gauge .chip { padding: 7px 14px 7px 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gauge .chip b { font-size: 17px; }
.gauge .tower { width: 14px; display: grid; gap: 2px; }
.gauge .tower i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); transition: background .3s; }
.gauge .tower i.is-on { background: var(--cyan); }

/* ---------- Navigation ---------- */
.nav {
  max-width: var(--max); margin: auto; padding: 16px 28px;
  display: flex; align-items: center; gap: 28px; position: relative; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-size: 20px; font-weight: 900; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.brand:hover { color: #fff; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; flex-wrap: wrap; }
.nav a:not(.brand) {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text-dim); text-decoration: none; font-weight: 800; font-size: 15px;
  transition: color .2s, background .2s;
}
.nav a:not(.brand):hover, .nav a[aria-current=page] { color: #fff; background: rgba(255, 255, 255, .12); }
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background .35s, box-shadow .35s; }
.site-nav.is-scrolled, header:not(.site-nav) {
  background: rgba(12, 12, 32, .72);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .2);
}

/* ---------- Buttons (the in-game cyan capsule; gold for the portal) ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
  border-radius: 999px; border: 0;
  background: linear-gradient(180deg, #b4f0ff, var(--cyan) 55%, var(--cyan-deep));
  color: var(--ink); font: 900 16px/1 inherit; font-family: inherit; letter-spacing: .04em; text-decoration: none;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(4, 60, 110, .3), 0 12px 32px rgba(70, 212, 255, .3);
  transition: transform .2s, filter .2s;
}
a.button, button.button { cursor: pointer; }
a.button:hover, button.button:hover { color: var(--ink); filter: brightness(1.07); transform: translateY(-2px); }
.button.ghost {
  background: var(--glass); color: #fff; border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.button.ghost:hover { color: #fff; background: rgba(40, 36, 90, .85); }
.button.small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.actions.center { justify-content: center; }

/* Store badges: links to the App Store and Google Play listings. */
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 24px 0 18px;
  border-radius: 18px; background: rgba(8, 8, 22, .82); border: 1px solid rgba(255, 255, 255, .24); color: #fff;
  line-height: 1.1; box-shadow: 0 14px 34px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.store .ic { width: 28px; height: 28px; }
.store small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--text-dim); }
.store span { font-size: 19px; font-weight: 900; }
a.store { text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
a.store:hover { color: #fff; background: rgba(24, 22, 60, .9); border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); }

/* ---------- Glass and chips ---------- */
.glass, .card {
  background: linear-gradient(160deg, rgba(120, 100, 220, .2), rgba(10, 10, 30, .66));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border-radius: 999px;
  background: rgba(12, 12, 32, .8); border: 1px solid var(--line); color: #fff;
  font-weight: 900; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); line-height: 1.15;
}
.chip b { font-size: 20px; font-variant-numeric: tabular-nums; }
.chip b em { font-style: normal; color: var(--cyan); }
.chip small { display: block; color: var(--text-dim); font-size: 12px; font-weight: 800; }
.chip .dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(700px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-inner {
  max-width: var(--max); width: 100%; margin: auto; padding: 150px 28px 110px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.kicker, .eyebrow { color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.wordmark, .tagline { display: block; }
.wordmark {
  font-size: clamp(56px, 8.6vw, 118px); line-height: .9; letter-spacing: .06em; margin: 16px 0 10px; padding-bottom: .06em;
  background: linear-gradient(180deg, #fff 0 46%, #d9f6ff 47%, var(--cyan-light) 70%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* An outline from drop-shadows: a text stroke draws seams where the system font's glyph contours overlap. */
  filter: drop-shadow(2px 0 0 #1a1440) drop-shadow(-2px 0 0 #1a1440) drop-shadow(0 -2px 0 #1a1440) drop-shadow(0 .06em 0 #1a1440) drop-shadow(0 14px 30px rgba(10, 6, 40, .5));
}
.tagline { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 0 0 20px; letter-spacing: -.02em; color: var(--gold-light); text-shadow: 0 4px 20px rgba(20, 10, 50, .45); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: rgba(250, 246, 255, .92); max-width: 560px; margin: 0 0 30px; text-shadow: 0 1px 12px rgba(20, 10, 50, .4); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--text-dim); font-size: 15px; font-weight: 800; }
.hero-facts li { display: flex; align-items: center; gap: 6px; }
.hero-facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 16px; }
.hero-facts b { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }

.hero-art { position: relative; justify-self: center; }
.hero-art .phone { width: min(330px, 76vw); animation: bob 8s ease-in-out infinite; }
.hero-art .chip { position: absolute; animation: float 7s ease-in-out infinite; z-index: 2; }
.hero-art .c1 { left: -74px; top: 12%; }
.hero-art .c2 { right: -66px; top: 42%; animation-delay: -2.5s; }
.hero-art .c3 { left: -48px; bottom: 14%; animation-delay: -4.5s; }
.c2 b { color: var(--gold-light); }
.c3 .dot { background: var(--bot); }

/* Floating islands (decorative): little hex tiles that hang in the sky around the hero. */
.isle { position: absolute; z-index: -1; pointer-events: none; width: var(--s, 60px); aspect-ratio: 1 / 1.05; animation: float 9s ease-in-out infinite; animation-delay: var(--d, 0s); opacity: .9; }
.isle::before, .isle::after { content: ""; position: absolute; left: 0; right: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.isle::after { top: 0; height: 80%; background: linear-gradient(180deg, var(--t, #f4eee2), color-mix(in srgb, var(--t, #f4eee2) 70%, #6b5a8a)); }
.isle::before { top: 20%; height: 80%; background: color-mix(in srgb, var(--t, #f4eee2) 45%, #2a1c48); }
.isle.i1 { left: 5%; top: 18%; --s: 70px; --t: #e3d09c; }
.isle.i2 { left: 44%; top: 82%; --s: 46px; --t: #c9b8f0; --d: -3s; }
.isle.i3 { right: 4%; top: 14%; --s: 54px; --t: #e2eff5; --d: -5s; }
.isle.i4 { left: 12%; bottom: 9%; --s: 38px; --t: #e8b992; --d: -1.5s; opacity: .6; }

/* ---------- Phone ---------- */
.phone {
  position: relative; width: min(340px, 78vw); aspect-ratio: 886 / 1920; padding: 11px; border-radius: 54px;
  background: linear-gradient(150deg, #5a4a9a, #1a1640 40%, #3e3478);
  box-shadow: 0 0 0 1px rgba(200, 190, 255, .3), 0 50px 100px rgba(6, 4, 26, .55), 0 0 120px rgba(70, 212, 255, .16);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #1a1640; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform .9s ease; }
.phone figure.is-active { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
main { overflow: clip; }
.section { max-width: var(--max); margin: auto; padding: 110px 28px; position: relative; }
.section.narrow-top { padding-bottom: 40px; }
.section h2, .page h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.02em; margin: 12px 0 18px; }
.section-lead { color: var(--text-dim); font-size: 19px; max-width: 660px; margin: 0 0 40px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.key-art { border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.key-art img { width: 100%; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(140, 230, 255, .4); }
.card .number { display: block; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-top: 18px; }
.card h3 { font-size: 23px; margin: 6px 0 8px; line-height: 1.2; }
.card p { color: var(--text-dim); margin: 0; }
.badge-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(180deg, #c9f3ff, var(--cyan)); color: var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5); }
.badge-ic svg { width: 28px; height: 28px; fill: currentColor; }
.badge-ic.walk { background: linear-gradient(180deg, #d0fbe2, var(--walk)); color: #0b3a22; }
.badge-ic.jump { background: linear-gradient(180deg, var(--gold-light), var(--jump)); color: var(--gold-ink); }
.badge-ic.stone { background: linear-gradient(180deg, #e6ddff, var(--stone)); color: #2b1550; }
.badge-ic.bot { background: linear-gradient(180deg, #ffc8cc, var(--bot)); color: #4a0b10; }
.badge-ic.gold { background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); color: var(--gold-ink); }
.badge-ic img { width: 40px; height: 40px; object-fit: contain; }
.card.walk .number { color: var(--walk); }
.card.jump .number { color: var(--jump); }
.card.stone .number { color: var(--stone); }

/* "One shove is rarely enough": the two-hit combo as a little diagram. */
.combo { padding: 30px; }
.combo q { display: block; font-size: 24px; line-height: 1.25; color: #fff; font-weight: 900; quotes: "“" "”"; margin-bottom: 18px; }
.combo ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.combo li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; color: var(--text-dim); }
.combo li b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); color: #fff; }
.combo li:nth-child(1) b { color: var(--walk); }
.combo li:nth-child(2) b { color: var(--cyan); }
.combo li:nth-child(3) b { color: var(--jump); }
.combo li:nth-child(4) b { color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery { max-width: var(--max); margin: auto; padding: 0 28px 110px; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.gallery-tabs { display: grid; gap: 8px; }
.gallery-tabs button {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; text-align: left; position: relative; overflow: hidden;
  padding: 14px 18px; border-radius: 20px; border: 1px solid transparent; background: transparent; color: #fff; font: inherit; cursor: pointer;
  transition: background .25s, border-color .25s;
}
.gallery-tabs button:hover { background: rgba(255, 255, 255, .07); }
.gallery-tabs button[aria-selected=true] { background: var(--glass); border-color: var(--line); }
.t-n { grid-row: span 2; align-self: center; color: var(--gold); font-weight: 900; font-size: 15px; letter-spacing: .08em; }
.gallery-tabs b { font-size: 19px; line-height: 1.25; }
.gallery-tabs small { color: var(--text-dim); font-size: 15px; }
.t-progress { position: absolute; left: 18px; right: 18px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--cyan); transform-origin: left; transform: scaleX(0); opacity: 0; }
.gallery-tabs button[aria-selected=true] .t-progress { opacity: 1; animation: tabprogress var(--slide, 6s) linear forwards; }
.gallery.is-paused .t-progress { animation-play-state: paused; }

/* ---------- The board (interactive shockwave demo) ---------- */
.board-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.board {
  position: relative; aspect-ratio: 5 / 4; border-radius: 34px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 50% 120%, #c46f9a, #4a3486 55%, #221a4e);
  border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.board canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; }
.board canvas:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; border-radius: 34px; }
.board-hud { position: absolute; z-index: 2; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.board-hud .chip { padding: 7px 14px 7px 12px; }
.board-hud .chip b { font-size: 17px; }
.board-legend { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: grid; gap: 6px; pointer-events: none; }
.board-legend span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 8px; border-radius: 999px; background: rgba(12, 12, 32, .8); border: 1px solid var(--line); font-size: 13px; font-weight: 900; }
.board-legend span.is-off { opacity: .45; }
.board-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.board-legend .dot.walk { background: var(--walk); }
.board-legend .dot.jump { background: var(--jump); }
.board-legend .dot.stone { background: var(--stone); }
.board-status {
  position: absolute; z-index: 2; right: 18px; bottom: 16px; margin: 0; max-width: 60%; text-align: right;
  padding: 8px 16px; border-radius: 999px; background: rgba(12, 12, 32, .84); border: 1px solid var(--line);
  font-weight: 900; font-size: 15px; pointer-events: none;
}
.board-status.is-gold { color: var(--gold-light); border-color: rgba(255, 201, 77, .5); }
.board .restart { position: absolute; z-index: 3; right: 18px; top: 64px; }
.try-hint { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; margin: 0; padding: 12px 18px; border-radius: 999px; background: rgba(70, 212, 255, .1); border: 1px solid rgba(70, 212, 255, .32); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); animation: pulse 1.8s infinite; flex: none; }
.board-keys { color: var(--text-dim); font-size: 14px; margin: 16px 0 0; }
kbd { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); font: inherit; font-size: 13px; text-align: center; color: #fff; }

/* ---------- Floors ---------- */
.floors { list-style: none; margin: 0; padding: 0; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); display: flex; flex-direction: column-reverse; }
.floor {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 20px 28px; position: relative; min-height: 92px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--z) 34%, #15122e), color-mix(in srgb, var(--z) 10%, #0b0a1e));
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.floor .f-n { font-weight: 900; font-variant-numeric: tabular-nums; color: var(--gold-light); font-size: 15px; }
.floor h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.floor p { margin: 2px 0 0; color: var(--text-dim); font-size: 15px; }
/* The floor's tile as a small hex in its material color. */
.floor .tile { width: 54px; aspect-ratio: 1 / 1.1; position: relative; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); }
.floor .tile::before, .floor .tile::after { content: ""; position: absolute; left: 0; right: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.floor .tile::after { top: 0; height: 82%; background: linear-gradient(180deg, var(--z), color-mix(in srgb, var(--z) 78%, #000)); }
.floor .tile::before { top: 18%; height: 82%; background: color-mix(in srgb, var(--z) 40%, #1b1030); }
.fl1 { --z: #e3d09c; }
.fl2 { --z: #e8b992; }
.fl3 { --z: #cbcfa6; }
.fl4 { --z: #cfd5e2; }
.fl5 { --z: #e2eff5; }
.fl6 { --z: #c9b8f0; }
.fl7 { --z: #9c93a6; }
.fl8 { --z: #f4eee2; }
.fl8 .f-n { color: var(--gold); }
.fl8 .tile { filter: drop-shadow(0 0 14px rgba(255, 201, 77, .5)); }

.above { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.above .card { padding: 24px; }
.above .card h3 { font-size: 20px; margin-top: 14px; }

/* ---------- Online ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode { padding: 28px; }
.mode h3 { font-size: 23px; margin: 14px 0 6px; }
.mode p { color: var(--text-dim); margin: 0; }
.rings { display: flex; gap: 6px; }
.rings i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, transparent 40%), var(--c, var(--cyan)); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.rings .b { --c: var(--bot); }
.rings .g { --c: var(--walk); }
.rings .o { --c: var(--coral); }
.rings .v { --c: var(--stone); }
.rings .y { --c: var(--jump); }
.online-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 18px 0 0; }
.online-facts li { padding: 22px 22px 20px; }
.online-facts b { display: block; font-size: 20px; }
.online-facts span { color: var(--text-dim); font-size: 15px; }

/* ---------- Daily and looks ---------- */
.grow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grow .card { padding: 26px; }
.grow .card h3 { margin-top: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 56px 0 0; }
.stats li { text-align: center; padding: 26px 12px; }
.stats b { display: block; font-size: clamp(40px, 5vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--text-dim); font-weight: 800; }

/* ---------- Respect ---------- */
.fair { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 52px; align-items: center; }
.fair ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fair li { display: flex; gap: 12px; align-items: center; font-weight: 800; font-size: 17px; }
.fair li::before { content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--cyan-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.price { display: inline-flex; align-items: baseline; gap: 10px; margin: 6px 0 0; padding: 10px 18px; border-radius: 16px; background: rgba(255, 201, 77, .1); border: 1px solid rgba(255, 201, 77, .35); }
.price b { font-size: 26px; color: var(--gold-light); }
.price span { color: var(--text-dim); font-size: 15px; }

/* ---------- Finale ---------- */
.finale { text-align: center; padding: 120px 28px 140px; position: relative; }
.finale::before { content: ""; position: absolute; left: 50%; top: 40%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 77, .16), transparent 62%); pointer-events: none; }
.finale-inner { position: relative; max-width: 760px; margin: auto; }
.finale-icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 60px rgba(255, 201, 77, .3); }
.finale h2 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 16px; }
.finale .section-lead { margin: 0 auto 32px; }

/* ---------- Footer ---------- */
footer {
  max-width: var(--max); margin: auto; padding: 32px 28px 48px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 15px; border-top: 1px solid var(--line);
}
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--text-dim); text-decoration: none; font-weight: 800; }
footer a:hover { color: #fff; }

/* ---------- Text pages (support, contact, privacy, terms, 404) ---------- */
.page { max-width: 820px; margin: auto; padding: 130px 28px 96px; }
.page h1 { margin-top: 10px; }
.page h2 { font-size: 26px; line-height: 1.2; margin: 44px 0 10px; }
.page p, .page li { color: rgba(250, 246, 255, .86); }
.page ul { padding-left: 22px; }
.effective { color: var(--text-dim); font-weight: 800; font-size: 15px; }
.summary { padding: 24px 28px; margin: 28px 0; }
.summary strong { color: var(--gold); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.summary ul { margin: 10px 0 0; }
.contact-box { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 26px; margin: 28px 0; }
.faq details { padding: 0; margin: 10px 0; border-radius: 20px; }
.faq summary { cursor: pointer; padding: 18px 24px; font-weight: 900; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 26px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 20px; }
.legal-note { color: var(--text-dim); font-size: 14px; margin-top: 40px; }
.page-404 { text-align: center; padding-top: 6vh; }
.page-404 img { width: 180px; margin: 0 auto 10px; animation: fall 3.2s ease-in-out infinite; }
header:not(.site-nav) { position: fixed; top: 0; left: 0; right: 0; z-index: 30; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(70, 212, 255, .7); } 70% { box-shadow: 0 0 0 12px rgba(70, 212, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 212, 255, 0); } }
@keyframes tabprogress { to { transform: scaleX(1); } }
@keyframes bump { 50% { transform: scale(1.25); color: var(--gold-light); } }
@keyframes fall { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(18px) rotate(5deg); } }
.chip b.is-bump { display: inline-block; animation: bump .35s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .split, .fair, .gallery, .board-wrap { grid-template-columns: 1fr; }
  .hero-art { margin: 10px auto 0; }
  .gallery .phone { margin: auto; grid-row: 1; }
  .features, .grow, .modes { grid-template-columns: 1fr 1fr; }
  .stats, .above, .online-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { padding: 12px 18px; gap: 12px; }
  .nav ul a[href^="#"] { display: none; }
  .nav a:not(.brand) { padding: 7px 10px; font-size: 14px; }
  .section { padding: 80px 20px; }
  .hero-inner { padding: 130px 20px 90px; }
  .hero-art .c1 { left: -18px; }
  .hero-art .c2 { right: -18px; }
  .hero-art .c3 { left: -12px; }
  .features, .grow, .modes, .above, .online-facts { grid-template-columns: 1fr; }
  .gallery { padding: 0 20px 80px; }
  .gallery-tabs small { display: none; }
  .board { aspect-ratio: 4 / 5; }
  .board-status { left: 18px; right: 18px; bottom: 60px; max-width: none; text-align: center; border-radius: 18px; }
  .board-legend { grid-auto-flow: column; }
  .floor { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 22px; }
  .floor .f-n { grid-column: 1 / -1; }
  .floor .tile { width: 42px; }
  .fair { padding: 30px 24px; }
  .page { padding: 100px 20px 72px; }
  .gauge { top: auto; bottom: 14px; right: 14px; }
  .isle.i2, .isle.i4 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Text pages sit in the calm night sky instead of following the climb. */
body:not(.home) { --sky-a: #1b1744; --sky-b: #3a2a6a; --glow: .3; --stars: .6; }
