/* Rollapse — rollapse.cemkazim.com
   The page is the mountain: night at the peak, snow on the slopes, the valley at the bottom. */

@font-face {
    font-family: "Rollapse Display";
    src: url("assets/fonts/rollapse-display.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --night-0: #0A1124;
    --night-1: #0E1730;
    --night-2: #16223E;
    --night-3: #213152;
    --ink: #16223E;
    --ink-2: #2A3A5E;
    --muted: #4A5A80;
    --snow: #F4F8FE;
    --snow-2: #E8F1FC;
    --ice: #C2E6FF;
    --ice-2: #8FDBFF;
    --sky: #5C9EFA;
    --blue: #2F7CF6;
    --blue-lip: #1B58C9;
    --gold: #FFC531;
    --gold-ink: #8A5A00;
    --green: #22B07D;
    --green-ink: #138A5F;
    --red: #E5343D;
    --red-ink: #C9252E;
    --flame: #FF7A1A;
    --line: rgba(22, 34, 62, 0.1);
    --display: "Rollapse Display", "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
    --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --card-shadow: 0 1px 2px rgba(22, 34, 62, 0.06), 0 18px 40px -22px rgba(22, 34, 62, 0.35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--snow);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

/* English stays hidden for Turkish visitors until the translation lands (1.5 s fallback in <head>). */
html.js[data-lang="tr"]:not(.i18n-ready) [data-i18n] { visibility: hidden; }

.container {
    width: 100%; max-width: 1120px; margin: 0 auto;
    padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
}

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

.skip {
    position: fixed; top: 10px; left: 10px; z-index: 100;
    padding: 10px 16px; border-radius: 12px; background: var(--gold); color: var(--ink);
    font-weight: 800; text-decoration: none; transform: translateY(-150%);
}
.skip:focus { transform: none; }

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

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

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 0; border-radius: 16px; cursor: pointer;
    font-family: var(--body); font-weight: 800; text-decoration: none; white-space: nowrap;
    transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease), background 0.2s;
}

/* The game's own button: a blue slab with a darker lip that sinks when pressed. */
.btn-play {
    background: linear-gradient(180deg, #4D95FF 0%, var(--blue) 100%);
    color: #fff;
    box-shadow: 0 5px 0 var(--blue-lip), 0 16px 30px -12px rgba(47, 124, 246, 0.7);
    padding: 14px 24px;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--blue-lip), 0 20px 34px -12px rgba(47, 124, 246, 0.75); }
.btn-play:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--blue-lip), 0 8px 16px -10px rgba(47, 124, 246, 0.6); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 12px; box-shadow: 0 4px 0 var(--blue-lip); }
.btn-sm:hover { box-shadow: 0 5px 0 var(--blue-lip); }
.btn-lg { padding: 12px 26px 12px 22px; border-radius: 18px; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-stack small { font-size: 12px; font-weight: 700; opacity: 0.85; }
.btn-stack b { font-family: var(--display); font-weight: 400; font-size: 23px; letter-spacing: 0.3px; }

.btn-ghost {
    padding: 15px 22px; color: #fff; background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

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

.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    color: #fff;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.nav.is-light {
    color: var(--ink);
    background: rgba(244, 248, 254, 0.82);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 1px 0 var(--line);
}
.nav.is-dark {
    background: rgba(10, 17, 36, 0.72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; text-decoration: none; opacity: 0.75; transition: opacity 0.2s;
}
.nav-back:hover { opacity: 1; }
.nav-brand {
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
    font-family: var(--display); font-size: 22px; letter-spacing: 0.4px;
}
.nav-brand img { border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang {
    display: inline-flex; padding: 3px; border-radius: 999px;
    background: rgba(127, 150, 190, 0.18);
}
.lang button {
    border: 0; background: transparent; cursor: pointer;
    padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
    opacity: 0.7; transition: background 0.2s, opacity 0.2s, color 0.2s;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); opacity: 1; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; display: none; }
.nav-progress span {
    display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
    background: linear-gradient(90deg, var(--ice-2), var(--green), var(--sky), var(--gold), var(--flame));
}

/* ---------- Altimeter rail (wide screens) ---------- */

.alti {
    position: fixed; z-index: 40; right: 22px; top: 50%; transform: translateY(-50%);
    width: 74px; display: none; flex-direction: column; align-items: center; gap: 10px;
    pointer-events: none;
}
.alti-top { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: 0.04em; opacity: 0; }
.alti-track {
    position: relative; width: 6px; height: 46vh; border-radius: 6px;
    background: rgba(22, 34, 62, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.alti-fill {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 6px;
    transform-origin: 50% 0; transform: scaleY(0);
    background: linear-gradient(180deg, var(--ice-2), var(--green) 25%, var(--sky) 50%, var(--gold) 78%, var(--flame));
}
.alti-tick {
    position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 14px; height: 2px;
    transform: translate(-50%, -50%); border-radius: 2px; background: rgba(22, 34, 62, 0.25);
}
.alti-ball {
    position: absolute; left: 50%; top: 0; width: 34px; height: 34px;
    transform: translate(-50%, -50%) translateY(calc(var(--p, 0) * 46vh)) scale(var(--s, 0.45));
    filter: drop-shadow(0 3px 4px rgba(22, 34, 62, 0.3));
}
.alti-ball img { width: 100%; height: 100%; transform: rotate(var(--r, 0deg)); }
.alti-read {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 6px 8px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px -8px rgba(22, 34, 62, 0.35);
}
.alti-m { font-family: var(--display); font-weight: 400; font-size: 15px; color: var(--ink); white-space: nowrap; }
.alti-region { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.25; }

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

.hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 132px 0 210px;
    background:
        radial-gradient(900px 520px at 78% 38%, rgba(92, 158, 250, 0.22), transparent 70%),
        linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 50%, #16244C 100%);
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.stars { position: absolute; inset: 0; pointer-events: none; background-repeat: repeat; }
.stars-1 {
    background-image:
        radial-gradient(1.2px 1.2px at 24px 38px, #fff 50%, transparent 52%),
        radial-gradient(1px 1px at 132px 92px, #fff 50%, transparent 52%),
        radial-gradient(1.4px 1.4px at 210px 18px, #fff 50%, transparent 52%),
        radial-gradient(1px 1px at 78px 180px, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 176px 222px, #fff 50%, transparent 52%);
    background-size: 260px 260px;
    opacity: 0.55;
    animation: twinkle 5s ease-in-out infinite alternate;
}
.stars-2 {
    background-image:
        radial-gradient(1px 1px at 60px 120px, #cfe2ff 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 300px 60px, #fff 50%, transparent 52%),
        radial-gradient(1px 1px at 380px 260px, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 150px 330px, #cfe2ff 50%, transparent 52%);
    background-size: 420px 380px;
    opacity: 0.45;
    animation: twinkle 7s ease-in-out infinite alternate-reverse;
}
@keyframes twinkle { from { opacity: 0.25; } to { opacity: 0.7; } }

.moon {
    position: absolute; right: max(4vw, calc(50% - 600px)); top: 84px;
    width: 440px; height: 440px; border-radius: 50%;
    background: radial-gradient(circle at 38% 34%, #FFFFFF 0%, #EEF4FF 38%, #C9DAF6 72%, #AFC5EC 100%);
    box-shadow: 0 0 120px 30px rgba(170, 200, 255, 0.22), 0 0 0 26px rgba(200, 220, 255, 0.04), 0 0 0 62px rgba(200, 220, 255, 0.03);
    opacity: 0.16;
}
.snowfall { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 40px;
}

.chip {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 10px; border-radius: 999px; text-decoration: none;
    font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
}
.chip-new {
    background: rgba(255, 197, 49, 0.12); color: var(--gold);
    box-shadow: inset 0 0 0 1px rgba(255, 197, 49, 0.35);
    transition: background 0.2s;
}
.chip-new:hover { background: rgba(255, 197, 49, 0.2); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 197, 49, 0.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 197, 49, 0); } }

.hero-title {
    margin: 26px 0 22px;
    font-family: var(--display); font-weight: 400;
    font-size: clamp(64px, 8.6vw, 124px); line-height: 0.92; letter-spacing: 0.5px;
    text-shadow: 0 6px 0 rgba(4, 8, 20, 0.35);
}
.ht-line { display: block; }
.ht-gold { color: var(--gold); }
.hero-sub { max-width: 30em; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; line-height: 1.55; color: #C9D8F2; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; color: #9FB3D9; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(159, 179, 217, 0.5); margin-right: 10px; }

.hero-stage { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }

/* Phones: the frame scales from one width so screen radius and bezel stay in proportion. */
.phone {
    --pw: 280px;
    position: relative; width: var(--pw); flex: none;
    padding: calc(var(--pw) * 0.034);
    border-radius: calc(var(--pw) * 0.155);
    background: linear-gradient(150deg, #34416A 0%, #141C33 45%, #0B1122 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 0 0 calc(var(--pw) * 0.012) #0B1122,
        0 40px 70px -28px rgba(6, 12, 30, 0.75),
        0 14px 24px -14px rgba(6, 12, 30, 0.5);
}
.phone-screen {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: calc(var(--pw) * 0.122);
    aspect-ratio: 600 / 1303;
    background: #DDEBFB;
}
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone-hero { --pw: clamp(250px, 23vw, 300px); transform: rotate(2deg); animation: bob 7s ease-in-out infinite; }
.phone-hero .phone-screen { aspect-ratio: 9 / 16; border-radius: calc(var(--pw) * 0.11); background: #EAF4FF; }
@keyframes bob { 50% { transform: rotate(2deg) translateY(-10px); } }

.video-controls {
    position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%);
    display: flex; gap: 8px;
}
.video-controls[hidden] { display: none; }
.vc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 40px; height: 40px; padding: 0 14px;
    border: 0; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, 0.96); color: var(--ink);
    font-size: 13px; font-weight: 800; white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s var(--ease), background 0.2s;
}
.vc-btn:hover { transform: translateY(-2px); }
.play-btn { padding: 0; width: 40px; }
.play-btn .i-play, .play-btn.is-paused .i-pause { display: none; }
.play-btn.is-paused .i-play { display: block; }
.sound-btn .i-on, .sound-btn[aria-pressed="true"] .i-off { display: none; }
.sound-btn[aria-pressed="true"] { background: var(--gold); }
.sound-btn[aria-pressed="true"] .i-on { display: block; }

.hero-icon {
    position: absolute; left: max(0px, calc(50% - 250px)); bottom: 40px; z-index: 3;
    transform: rotate(-9deg);
    animation: bobIcon 6s ease-in-out infinite;
}
.hero-icon img {
    width: clamp(84px, 8vw, 112px); height: auto; border-radius: 24%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.95), 0 24px 40px -14px rgba(0, 0, 0, 0.6);
}
@keyframes bobIcon { 50% { transform: rotate(-6deg) translateY(-8px); } }

.float-obj {
    position: absolute; z-index: 1; height: auto;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.35));
    animation: drift 9s ease-in-out infinite;
}
.fo-1 { width: 96px; left: calc(50% - 250px); top: 6%; animation-delay: -2s; }
.fo-2 { width: 48px; left: calc(50% - 205px); top: 46%; animation-delay: -5s; }
.fo-3 { width: 108px; right: calc(50% - 270px); bottom: 14%; animation-delay: -1s; }
.fo-4 { width: 70px; right: calc(50% - 232px); top: 12%; animation-delay: -6s; }
@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(6px, -14px) rotate(8deg); }
}

.ridges { position: absolute; left: 0; bottom: -1px; width: 100%; height: 220px; z-index: 1; pointer-events: none; }
.r-back { fill: #2C4379; }
.r-cap { fill: #DCE8FB; opacity: 0.92; }
.r-mid { fill: #1A2B57; }
.r-cap-mid { fill: #BFD1EE; opacity: 0.55; }
.r-front { fill: var(--snow); }

/* ---------- Stats ---------- */

.stats { position: relative; z-index: 3; margin-top: -86px; }
.stats-card {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: 26px; box-shadow: var(--card-shadow);
    padding: 8px;
}
.stat { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { box-shadow: -1px 0 0 var(--line); }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; color: var(--ink); letter-spacing: 0.3px; }
.stat span { font-size: 14px; font-weight: 700; color: var(--muted); line-height: 1.35; }

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

section { position: relative; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; opacity: 0.7; }
.eyebrow-gold { color: var(--gold); }
.h2 {
    margin: 14px 0 16px;
    font-family: var(--display); font-weight: 400;
    font-size: clamp(40px, 5.2vw, 66px); line-height: 1; letter-spacing: 0.4px; color: var(--ink);
}
.h2-light { color: #fff; }
.lead { max-width: 36em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.lead-light { color: #B8C8E6; }
.section-head { max-width: 760px; }
.t-green { color: var(--green); }
.rule .h2 { font-size: clamp(38px, 4.3vw, 54px); line-height: 1.04; }
.t-red { color: var(--red); }

/* ---------- The rule: size lab ---------- */

.rule { padding: 120px 0 110px; }
.rule-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.lab-controls { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; max-width: 440px; }
.lab-phase { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lab-phase-code {
    display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 8px;
    border-radius: 9px; background: var(--ink); color: #fff;
    font-family: var(--display); font-size: 17px; transform: translateY(-4px);
}
.lab-phase-name { font-family: var(--display); font-size: 34px; line-height: 1; }
.lab-count { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--muted); }
.lab-count .c-eat { color: var(--green-ink); }
.lab-count .c-avoid { color: var(--red-ink); }

.lab-slider { position: relative; display: block; padding-top: 4px; }
.lab-range {
    -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 0;
    background: transparent; cursor: pointer;
}
.lab-range::-webkit-slider-runnable-track {
    height: 12px; border-radius: 12px;
    background: linear-gradient(90deg, var(--sky) var(--fill, 0%), #DCE6F4 var(--fill, 0%));
    box-shadow: inset 0 1px 2px rgba(22, 34, 62, 0.15);
}
.lab-range::-moz-range-track { height: 12px; border-radius: 12px; background: #DCE6F4; }
.lab-range::-moz-range-progress { height: 12px; border-radius: 12px; background: var(--sky); }
.lab-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 34px; height: 34px; margin-top: -11px;
    border-radius: 50%; border: 0;
    background: url("assets/sprites/snow.webp") center / cover, #fff;
    box-shadow: 0 0 0 3px var(--blue), 0 6px 12px rgba(22, 34, 62, 0.3);
    transition: transform 0.2s var(--spring);
}
.lab-range::-moz-range-thumb {
    width: 34px; height: 34px; border-radius: 50%; border: 0;
    background: url("assets/sprites/snow.webp") center / cover, #fff;
    box-shadow: 0 0 0 3px var(--blue), 0 6px 12px rgba(22, 34, 62, 0.3);
}
.lab-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.lab-range:focus-visible { outline: none; }
.lab-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--blue), 0 0 0 7px rgba(92, 158, 250, 0.35); }
.lab-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--blue), 0 0 0 7px rgba(92, 158, 250, 0.35); }
.lab-steps { display: flex; justify-content: space-between; padding: 0 6px; margin-top: 2px; }
.lab-steps i { font-style: normal; font-size: 12px; font-weight: 800; color: #93A2BF; width: 22px; text-align: center; }
.lab-hint { font-size: 14px; color: var(--muted); }

.btn-avalanche {
    position: relative; overflow: hidden; align-self: flex-start; margin-top: 6px;
    padding: 14px 22px; color: #fff;
    background: linear-gradient(180deg, #3FA9F5, #1E7BD8);
    box-shadow: 0 5px 0 #1458A8, 0 16px 28px -12px rgba(30, 123, 216, 0.7);
}
.btn-avalanche:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #1458A8, 0 20px 30px -12px rgba(30, 123, 216, 0.75); }
.btn-avalanche:active { transform: translateY(4px); box-shadow: 0 1px 0 #1458A8; }
.btn-avalanche[aria-disabled="true"] { cursor: default; transform: translateY(3px); box-shadow: 0 2px 0 #1458A8; }
.av-label { position: relative; z-index: 1; }
.av-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(255, 255, 255, 0.25); }
.av-bar span { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }

.lab { position: relative; }
.lab-slope {
    container-type: inline-size;
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 1 / 1.04; border-radius: 32px;
    background:
        radial-gradient(60% 40% at 30% 20%, rgba(255, 255, 255, 0.9), transparent 70%),
        radial-gradient(50% 35% at 75% 70%, rgba(255, 255, 255, 0.7), transparent 70%),
        repeating-linear-gradient(115deg, rgba(160, 190, 230, 0.07) 0 2px, transparent 2px 22px),
        linear-gradient(180deg, #EDF5FF, #E2EEFC);
    box-shadow: inset 0 0 0 1px rgba(22, 34, 62, 0.06), inset 0 0 60px rgba(143, 191, 245, 0.35), var(--card-shadow);
    transition: box-shadow 0.4s;
}
.lab-speed {
    --streak: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9) 50%, transparent);
    position: absolute; left: 0; right: 0; top: -360px; bottom: 0; z-index: 0; opacity: 0; pointer-events: none;
    background-image: var(--streak), var(--streak), var(--streak), var(--streak), var(--streak), var(--streak), var(--streak);
    background-size: 2px 120px, 2px 180px, 3px 90px, 2px 72px, 2px 120px, 3px 180px, 2px 90px;
    background-position: 7% 0, 19% 40px, 31% 10px, 46% 60px, 64% 20px, 81% 70px, 93% 30px;
    background-repeat: repeat-y;
    transition: opacity 0.3s;
}
.lab-slope[data-avalanche="true"] { box-shadow: inset 0 0 0 3px rgba(92, 158, 250, 0.7), inset 0 0 90px rgba(36, 150, 214, 0.6), var(--card-shadow); }
.lab-slope[data-avalanche="true"] .lab-speed { opacity: 1; animation: speed 0.6s linear infinite; }
@keyframes speed { to { transform: translateY(360px); } }

.lab-banner {
    position: absolute; left: 50%; top: 22%; z-index: 6;
    padding: 6px 18px 4px; border-radius: 14px;
    font-family: var(--display); font-size: clamp(22px, 6cqw, 34px); letter-spacing: 0.5px;
    color: #fff; background: var(--ink);
    box-shadow: 0 0 0 3px #fff, 0 10px 24px -8px rgba(22, 34, 62, 0.55);
    transform: translate(-50%, -50%) scale(0.4) rotate(-4deg); opacity: 0;
    transition: transform 0.45s var(--spring), opacity 0.2s;
    pointer-events: none;
}
.lab-slope[data-avalanche="true"] .lab-banner { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }

.obj {
    --paint: var(--red);
    position: absolute; z-index: 2;
    left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
    width: calc(var(--w) * 1cqw);
    padding: 0; border: 0; background: none; line-height: 0; cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.35s var(--spring), opacity 0.3s;
    -webkit-tap-highlight-color: transparent;
}
.obj:hover, .obj.is-picked { transform: translate(-50%, -50%) scale(1.08); }
.obj img { width: 100%; height: auto; filter: drop-shadow(0 8px 6px rgba(22, 34, 62, 0.18)); }
.obj .paint {
    position: absolute; inset: 0; pointer-events: none;
    background: var(--paint);
    -webkit-mask: var(--src) center / 100% 100% no-repeat;
    mask: var(--src) center / 100% 100% no-repeat;
    mix-blend-mode: color; opacity: 0.85;
    transition: background-color 0.35s;
}
.obj .mark {
    position: absolute; right: -6%; top: -6%;
    width: clamp(18px, 4.4cqw, 24px); height: clamp(18px, 4.4cqw, 24px);
    display: grid; place-items: center; border-radius: 50%;
    background: var(--paint); box-shadow: 0 0 0 2.5px #fff, 0 3px 6px rgba(22, 34, 62, 0.25);
    transition: background-color 0.35s, transform 0.35s var(--spring);
}
.obj .mark::before {
    content: ""; width: 52%; height: 52%; background: #fff;
    -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat;
}
.obj[data-state="avoid"] { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2L2 8' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.obj[data-state="eat"] {
    --paint: var(--green);
    --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.8 5.3l2.2 2.2 4.2-4.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.obj.just-eaten .mark { animation: markPop 0.5s var(--spring); }
@keyframes markPop { 0% { transform: scale(0.3); } 100% { transform: scale(1); } }

.lab-ball {
    --b: 9;
    position: absolute; left: 50%; top: 88%; z-index: 3;
    width: calc(var(--b) * 1cqw); aspect-ratio: 1;
    transform: translate(-50%, -50%);
    transition: width 0.55s var(--spring);
}
.lab-ball img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(22, 34, 62, 0.28)); animation: wobble 2.4s ease-in-out infinite; }
.lab-trail {
    position: absolute; left: 18%; right: 18%; top: 40%; height: 260%; border-radius: 50% 50% 0 0;
    background: linear-gradient(180deg, rgba(150, 182, 228, 0.32), rgba(150, 182, 228, 0) 70%);
    filter: blur(3px);
}
.lab-slope[data-avalanche="true"] .lab-ball img { filter: drop-shadow(0 0 14px rgba(92, 158, 250, 0.9)) drop-shadow(0 8px 10px rgba(22, 34, 62, 0.28)); }
@keyframes wobble { 50% { transform: translateY(-3%) rotate(6deg); } }

.lab-pops { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.pop {
    position: absolute; transform: translate(-50%, -50%);
    font-family: var(--display); font-size: clamp(18px, 5cqw, 28px); color: var(--gold);
    text-shadow: 0 2px 0 var(--gold-ink), 1.5px 0 0 var(--gold-ink), -1.5px 0 0 var(--gold-ink), 0 -1.5px 0 var(--gold-ink);
    animation: popUp 1.1s var(--ease) forwards;
}
@keyframes popUp {
    0% { opacity: 0; transform: translate(-50%, -20%) scale(0.6); }
    20% { opacity: 1; transform: translate(-50%, -60%) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -190%) scale(1); }
}
.lab-info { margin-top: 16px; min-height: 1.6em; text-align: center; font-size: 14px; color: var(--muted); }
.lab-info b { color: var(--ink); }

/* ---------- Descent ---------- */

.descent {
    padding: 110px 0 70px;
    background: linear-gradient(180deg, var(--snow) 0%, #EEF3FB 60%, #FBF1EA 100%);
}
.profile { margin: 52px 0 34px; }
.profile-svg { width: 100%; height: auto; overflow: visible; }
.profile-marks circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.profile-marks text { font-family: var(--display); font-size: 15px; fill: var(--ink); }
.profile-marks text.sub { font-family: var(--body); font-size: 11px; font-weight: 800; fill: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.profile-ball image { filter: drop-shadow(0 3px 3px rgba(22, 34, 62, 0.35)); }

.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.region {
    position: relative; padding: 20px 18px 18px; border-radius: 22px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 2px rgba(22, 34, 62, 0.05), inset 0 0 0 1px rgba(22, 34, 62, 0.06);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s;
}
.region::before {
    content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
    background: var(--accent);
}
.region.is-active { background: #fff; transform: translateY(-6px); box-shadow: 0 0 0 2px var(--accent), 0 22px 40px -22px rgba(22, 34, 62, 0.45); }
.region-alt { font-family: var(--display); font-size: 24px; line-height: 1; color: var(--accent); filter: saturate(1.1) brightness(0.85); }
.region h3 { margin: 6px 0 8px; font-size: 18px; font-weight: 800; line-height: 1.2; }
.region p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.meters { margin: 14px 0 0; display: grid; gap: 6px; }
.meters div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.meters dt { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #8190AE; }
.meters dd { margin: 0; font-size: 13px; font-weight: 800; color: var(--ink); }
.bar { display: block; width: 64px; height: 6px; border-radius: 6px; background: #E3EAF4; overflow: hidden; }
.bar::after { content: ""; display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--flame)); }

/* ---------- Features ---------- */

.features { padding: 70px 0 60px; background: linear-gradient(180deg, #FBF1EA, var(--snow) 30%); }
.feature-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; align-items: center; gap: 30px;
    padding: 32px 30px 0; border-radius: 30px; min-height: 600px;
}
.fcard-text { align-self: stretch; }
.fcard h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: 0.3px; }
.fcard p { margin-top: 10px; font-size: 15px; line-height: 1.55; }
.fcard .phone { --pw: 246px; margin-top: auto; margin-bottom: -96px; transition: transform 0.6s var(--ease); }
.fcard:hover .phone { transform: translateY(-10px); }

.fcard-avalanche { color: #fff; background: linear-gradient(165deg, #48A6FF 0%, #2272E6 55%, #1A4FB8 100%); }
.fcard-avalanche::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
    background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.35) 34px 36px, transparent 36px 90px);
    -webkit-mask: linear-gradient(180deg, transparent, #000 40%, #000 80%, transparent);
    mask: linear-gradient(180deg, transparent, #000 40%, #000 80%, transparent);
}
.fcard-avalanche p { color: #DCEBFF; }
.fcard-night { color: #fff; background: radial-gradient(120% 70% at 50% 0%, #2A3D6E 0%, var(--night-2) 55%, var(--night-1) 100%); }
.fcard-night p { color: #B8C8E6; }
.fcard-best { color: var(--ink); background: linear-gradient(170deg, #FFF6DD 0%, #FFE7A6 100%); }
.fcard-best p { color: #6B5A2E; }
.fcard-best .phone { background: linear-gradient(150deg, #3B4C7A, #1A2340); }

.compare .compare-night { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--cut)); }
.compare-handle {
    position: absolute; top: 0; bottom: 0; left: var(--cut); width: 3px; margin-left: -1.5px;
    background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); pointer-events: none;
}
.compare-knob {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: flex; gap: 4px; padding: 7px 9px; border-radius: 999px;
    background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.compare-knob svg:first-child { color: #F2A900; }
.compare-range {
    position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
    opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.compare-range:focus-visible + .compare-handle, .compare:focus-within .compare-knob { box-shadow: 0 0 0 3px var(--sky), 0 6px 16px rgba(0, 0, 0, 0.35); }

.mini-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { padding: 26px 26px 28px; border-radius: 26px; background: #fff; box-shadow: var(--card-shadow); }
.mini h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.mini p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.mini-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; }
.mini-icon svg { width: 26px; height: 26px; }
.mi-jump { background: #FFF1C6; color: #B07A00; }
.mi-thumb { background: #DCEBFF; color: var(--blue); }
.mi-flag { background: #DDF5EA; color: var(--green-ink); }

/* ---------- Daily Mountain ---------- */

.daily { padding: 70px 0 90px; }
.daily-panel {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    padding: 60px; border-radius: 36px; color: #fff;
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(92, 158, 250, 0.28), transparent 60%),
        radial-gradient(60% 80% at 0% 100%, rgba(255, 197, 49, 0.12), transparent 60%),
        linear-gradient(160deg, #1B2A52, var(--night-1));
    box-shadow: 0 40px 80px -40px rgba(14, 23, 48, 0.8);
}
.daily-panel .stars { z-index: -1; }
.boards { margin-top: 30px; }
.boards-label { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8FA6D3; }
.boards ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; padding: 0; list-style: none; }
.boards li {
    padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 800;
    background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.boards li:last-child { background: rgba(255, 197, 49, 0.14); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 197, 49, 0.35); }
.boards small { font-size: 13px; color: #8FA6D3; }

.today { display: flex; flex-direction: column; gap: 14px; }
.today-card {
    padding: 26px 26px 22px; border-radius: 26px; color: var(--ink);
    background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.today-label { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #B07A00; }
.today-twist { display: flex; align-items: center; gap: 16px; margin: 16px 0 20px; }
.twist-icon {
    flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
    background: linear-gradient(160deg, #E6F3FF, #C9E3FF); color: var(--blue);
}
.twist-icon svg { width: 34px; height: 34px; }
.twist-title { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; }
.twist-note { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.today-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 16px; border-top: 1px dashed rgba(22, 34, 62, 0.15);
    font-size: 13px; font-weight: 700; color: var(--muted);
}
.today-countdown { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0.5px; }
.week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.week li {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 9px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
}
.week li.is-today { background: rgba(255, 197, 49, 0.14); box-shadow: inset 0 0 0 1.5px rgba(255, 197, 49, 0.55); }
.week .w-day { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8FA6D3; }
.week .is-today .w-day { color: var(--gold); }
.week svg { width: 20px; height: 20px; color: #DCE8FF; }
.week .w-name { font-size: 11px; font-weight: 700; line-height: 1.2; color: #C9D6EF; }

/* ---------- Download ---------- */

.download {
    color: #fff; overflow: hidden; text-align: center;
    padding: 170px 0 110px;
    background:
        radial-gradient(700px 420px at 50% 62%, rgba(92, 158, 250, 0.22), transparent 70%),
        linear-gradient(180deg, #13214A 0%, var(--night-1) 60%, var(--night-0) 100%);
}
.ridges-top { top: -1px; bottom: auto; height: 160px; }
.r-snow { fill: var(--snow); }
.download-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.download-icon {
    width: 132px; height: 132px; border-radius: 30px;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.95), 0 0 80px rgba(92, 158, 250, 0.55), 0 30px 50px -20px rgba(0, 0, 0, 0.6);
    animation: bobIcon2 6s ease-in-out infinite;
}
@keyframes bobIcon2 { 50% { transform: translateY(-8px) rotate(-3deg); } }
.download-title { margin-top: 36px; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: 0.4px; text-shadow: 0 6px 0 rgba(0, 0, 0, 0.3); }
.download-sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: #C9D8F2; }
.download-actions { margin-top: 38px; display: flex; align-items: center; gap: 22px; }
.qr { display: none; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); text-align: left; }
.qr svg { width: 72px; height: 72px; border-radius: 10px; }
.qr span { max-width: 9em; font-size: 13px; font-weight: 700; line-height: 1.35; color: #C9D8F2; }
.download-note { margin-top: 34px; max-width: 42em; font-size: 13px; line-height: 1.6; color: #7F93BC; }

/* ---------- Footer ---------- */

.footer { background: var(--night-0); color: #8FA2C8; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 10px; }
.footer-brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; color: #fff; line-height: 1.1; }
.footer-brand span { font-size: 13px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { font-size: 14px; font-weight: 700; text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-meta { font-size: 13px; }

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

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in, .reveal-all .reveal { opacity: 1; transform: none; }
.js .region.reveal { transition: opacity 0.9s var(--ease), transform 0.5s var(--ease), box-shadow 0.4s var(--ease), background 0.4s; }
.js .region.reveal.is-in.is-active { transform: translateY(-6px); }
.regions .region.reveal:nth-child(2) { transition-delay: 0.06s; }
.regions .region.reveal:nth-child(3) { transition-delay: 0.12s; }
.regions .region.reveal:nth-child(4) { transition-delay: 0.18s; }
.regions .region.reveal:nth-child(5) { transition-delay: 0.24s; }
.feature-grid .reveal:nth-child(2), .mini-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-grid .reveal:nth-child(3), .mini-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

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

@media (min-width: 1320px) {
    .alti { display: flex; }
}
@media (max-width: 1319px) {
    .nav-progress { display: block; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 820px) {
    .qr { display: flex; }
}

@media (max-width: 1060px) {
    .hero { padding-top: 116px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 56px; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-sub { margin: 0 auto; }
    .hero-cta, .hero-meta { justify-content: center; }
    .moon { top: auto; bottom: 120px; right: 50%; transform: translateX(50%); }
    .rule-grid { grid-template-columns: 1fr; gap: 44px; }
    .rule-copy { max-width: 620px; }
    .lab { max-width: 620px; width: 100%; justify-self: center; }
    .daily-panel { grid-template-columns: 1fr; padding: 44px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .fcard-best { grid-column: span 2; flex-direction: row; align-items: center; min-height: 0; padding-top: 0; padding-left: 40px; gap: 40px; }
    .fcard-best .fcard-text { align-self: center; padding: 40px 0; }
    .fcard-best .phone { margin: 36px 0 -150px; }
}

@media (max-width: 980px) {
    .regions { grid-template-columns: repeat(2, 1fr); }
    .regions .region:last-child { grid-column: span 2; }
    .profile { margin-bottom: 26px; }
    .stats-card { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { box-shadow: 0 -1px 0 var(--line); }
    .stat:nth-child(4) { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
}

@media (max-width: 760px) {
    .container { padding: 0 max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left)); }
    .nav-inner { height: 60px; gap: 10px; }
    .nav-back span { display: none; }
    .nav-brand { font-size: 19px; }
    .rule, .descent { padding: 84px 0; }
    .features { padding-top: 84px; }
    .feature-grid, .mini-grid { grid-template-columns: 1fr; }
    .fcard { min-height: 0; padding: 28px 24px 0; }
    .fcard-best { grid-column: auto; flex-direction: column; padding: 28px 24px 0; gap: 30px; }
    .fcard-best .fcard-text { padding: 0; align-self: stretch; }
    .fcard .phone, .fcard-best .phone { --pw: 230px; margin: 0 0 -110px; }
    .daily { padding: 40px 0 120px; }
    .daily-panel { padding: 34px 22px; border-radius: 28px; gap: 34px; }
    .week { grid-template-columns: repeat(3, 1fr); }
    .download { padding: 140px 0 84px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-nav { justify-content: center; }
}

@media (max-width: 640px) {
    .profile { display: none; }
    .regions { grid-template-columns: 1fr; gap: 12px; }
    .regions .region:last-child { grid-column: auto; }
    .region { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px 18px 18px 22px; }
    .region::before { left: 0; right: auto; top: 18px; bottom: 18px; width: 4px; height: auto; border-radius: 0 4px 4px 0; }
    .region-alt { grid-row: span 3; font-size: 20px; min-width: 76px; padding-top: 2px; }
    .region h3 { margin-top: 0; }
    .region.is-active, .js .region.reveal.is-in.is-active { transform: none; }
    .hero { padding-bottom: 190px; }
    .hero-stage { padding-bottom: 30px; }
    .fo-1 { left: 2%; width: 70px; }
    .fo-2 { left: 4%; }
    .fo-3 { right: 0; width: 84px; }
    .fo-4 { right: 4%; width: 56px; }
    .hero-icon { left: 2%; bottom: 76px; }
    .moon { width: 340px; height: 340px; }
    .stat { padding: 18px 16px; }
    .lab-phase-name { font-size: 28px; }
    .lab-count { margin-left: 0; width: 100%; }
    .btn-avalanche { align-self: stretch; }
    .download-actions { flex-direction: column; }
}

@media (max-width: 400px) {
    .nav-brand span { display: none; }
    .hero-title { font-size: 58px; }
    .hero-meta { gap: 6px 16px; }
    .hero-meta li + li::before { display: none; }
}

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