/* ============================================================
   MENDO - Dock / Supaste inspired
   Scenic wallpapers · glass · bubbles · motion
   ============================================================ */

@font-face {
    font-family: 'Moderna';
    src: url('assets/fonts/Moderna.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('assets/fonts/SF-Pro-Text-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('assets/fonts/SF-Pro-Text-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/fonts/SF-Pro-Display-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #ffffff;
    --bg-section: #ffffff;
    --bg-soft: #f7f7f8;
    --white: #ffffff;
    --panel: #ffffff;
    --panel-edge: #e8e8ed;
    --dark: #1d1d1f;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --subtle: #86868b;
    --accent: #E3452B;
    --accent-hover: #cc3d26;
    --accent-soft: rgba(227, 69, 43, 0.1);
    --nav-h: 64px;
    --font: 'SF Pro Text', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-title: 'SF Pro Display', var(--font);
    --font-brand: 'Moderna', var(--font);
    --font-display: var(--font-title);
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --pad-x: clamp(20px, 5vw, 40px);
    --content-w: 1120px;
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lift: 0 2px 8px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.07);
    --trim-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9) 50%, transparent);
    --frost: saturate(160%) blur(16px);
    --border: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-blur: blur(20px) saturate(180%);
    --section-pad: clamp(80px, 11vw, 120px);
}

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

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

.container {
    width: 100%;
    max-width: var(--content-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.section-grey {
    background: var(--white);
}

.section-intro {
    margin-bottom: clamp(36px, 5vw, 52px);
}

.section-title--center,
.section-lead--center {
    text-align: center;
    margin-inline: auto;
}

.section-lead--center { max-width: 680px; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Scenic sections (Dock wallpaper style) ─────────────────── */
.scene-section,
.hero--dock {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.scene-bg {
    position: absolute;
    inset: -8% 0;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.scene-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.scene-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.scene-overlay--hero {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0.92) 100%),
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(227, 69, 43, 0.08) 0%, transparent 60%);
}

.scene-overlay--light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0.92) 100%);
}

.scene-overlay--frost {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 248, 250, 0.78) 50%, rgba(255, 255, 255, 0.88) 100%);
}

.scene-overlay--stats {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.scene-overlay--download {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.scene-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.scene-content {
    position: relative;
    z-index: 3;
}

.glass-panel--frost {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-color: var(--glass-border);
}

/* ── Clean panels with edge reflection ───────────────────────── */
.glass-panel {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--panel-edge);
    border-radius: 20px;
    color: var(--text);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--trim-shine);
    pointer-events: none;
    z-index: 2;
}

.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
    pointer-events: none;
    z-index: 1;
}

.glass-panel > * { position: relative; z-index: 2; }

.glass-panel--sm {
    border-radius: 16px;
    padding: clamp(22px, 3.5vw, 32px);
}

.services .container.glass-panel,
.stats-section .container.glass-panel {
    padding: clamp(40px, 6vw, 60px) clamp(24px, 5vw, 72px);
}

.banner-content.glass-panel,
.faq-contact.glass-panel {
    padding: clamp(28px, 4vw, 40px);
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.06);
}

/* Shell pages use glass pill nav - see assets/site-shell.css */

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo img { height: 40px; width: auto; }

.nav {
    display: flex;
    gap: clamp(18px, 3vw, 36px);
    align-items: center;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.25s ease;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--accent); }

.cta-button {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-family: var(--font);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ── Hero (Dock / Supaste centered) ─────────────────────────── */
.hero--dock {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 48px) 0 96px;
    text-align: center;
}

.hero-dock {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-title-dock {
    font-family: var(--font-brand);
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 400;
    line-height: 1.02;
    margin-bottom: 22px;
    color: var(--dark);
    letter-spacing: -0.04em;
    max-width: 900px;
}

.dock-line {
    display: block;
}

.dock-line--accent {
    color: var(--accent);
}

.dock-line .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.75em) scale(0.96);
    animation: char-rise 0.75s var(--ease-out) forwards;
}

.dock-line.is-split,
[data-split].is-split {
    opacity: 1;
}

@keyframes char-rise {
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-description--center {
    text-align: center;
    margin-inline: auto;
    max-width: 580px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 28px;
}

.hero-actions--center {
    justify-content: center;
    margin-bottom: 22px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 0;
}

.hero-meta-item {
    font-size: 12px;
    font-weight: 500;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    animation: meta-pop 0.6s var(--ease-out) backwards;
}

.hero-meta-item:nth-child(1) { animation-delay: 0.9s; }
.hero-meta-item:nth-child(2) { animation-delay: 1s; }
.hero-meta-item:nth-child(3) { animation-delay: 1.1s; }
.hero-meta-item:nth-child(4) { animation-delay: 1.2s; }

@keyframes meta-pop {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to { opacity: 1; transform: none; }
}

.hero-button--glow {
    position: relative;
    animation: cta-glow 2.8s ease-in-out infinite;
}

@keyframes cta-glow {
    0%, 100% { box-shadow: 0 2px 12px rgba(227, 69, 43, 0.22), 0 0 0 0 rgba(227, 69, 43, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(227, 69, 43, 0.35), 0 0 0 8px rgba(227, 69, 43, 0); }
}

.hero--white {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: calc(var(--nav-h) + 40px) 0 64px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero-copy { text-align: left; }

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-brand);
    font-size: clamp(38px, 5.5vw, 62px);
    font-weight: 400;
    line-height: 1.06;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.03em;
}

.hero-line {
    display: block;
}

.hero-line--accent {
    color: var(--accent);
}

.highlight-word {
    color: var(--accent);
}

.hero-description {
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-badge {
    font-size: 12px;
    font-weight: 500;
    color: var(--dark);
    background: var(--bg-soft);
    border: 1px solid var(--panel-edge);
    padding: 7px 14px;
    border-radius: 999px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    position: relative;
    max-width: 420px;
    width: 100%;
}

.hero-phone-glow {
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(ellipse at center, rgba(227, 69, 43, 0.12) 0%, transparent 70%);
    filter: blur(24px);
    z-index: 0;
}

.hero-phone img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lift);
}

.hero-bubbles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.glass-bubble-wrap {
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
}

.glass-bubble {
    position: relative;
    border-radius: 50%;
    pointer-events: none;
    contain: layout style paint;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at 70% 75%, rgba(227, 69, 43, 0.07) 0%, transparent 45%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(240, 240, 245, 0.35) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.9),
        inset 0 -6px 16px rgba(200, 200, 210, 0.25),
        0 10px 28px rgba(0, 0, 0, 0.07);
}

.glass-bubble::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 18%;
    width: 36%;
    height: 22%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.95) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 999px;
    font-size: 16px;
    font-family: var(--font);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    box-shadow: 0 2px 12px rgba(227, 69, 43, 0.22);
}

.hero-button:hover {
    background: var(--accent-hover);
}

.hero-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent);
}

.hero-link:hover { text-decoration: underline; }

/* ── Marquee (Dock dual rows) ───────────────────────────────── */
.marquee-section {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    border-block: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.marquee + .marquee { margin-top: 10px; }

.marquee--reverse .marquee-track {
    animation-direction: reverse;
}

.marquee-track span {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--panel-edge);
    padding: 9px 18px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.marquee-track span:hover {
    transform: scale(1.04);
    border-color: rgba(227, 69, 43, 0.35);
}

.marquee {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
}

.marquee-track span {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    background: var(--bg-soft);
    border: 1px solid var(--panel-edge);
    padding: 8px 18px;
    border-radius: 999px;
    white-space: nowrap;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Showcase scroll (Bevel / Oleum) ────────────────────────── */
.showcase-section {
    padding: var(--section-pad) 0;
}

.showcase-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad-x);
    padding: 8px var(--pad-x) 16px;
    margin-inline: calc(var(--pad-x) * -1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.showcase-scroll::-webkit-scrollbar { display: none; }

.showcase-card {
    flex: 0 0 clamp(280px, 38vw, 360px);
    scroll-snap-align: start;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    will-change: transform;
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.showcase-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.showcase-card-body {
    padding: 20px 22px 24px;
}

.showcase-card-body h3 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.showcase-card-body p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

/* ── Story + Personas ───────────────────────────────────────── */
.story-section {
    padding: var(--section-pad) 0;
}

.persona-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}

.persona-tab {
    background: var(--white);
    border: 1px solid var(--panel-edge);
    color: var(--muted);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.persona-tab:hover {
    border-color: var(--dark);
    color: var(--dark);
}

.persona-tab.is-active {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.persona-panels { position: relative; }

.persona-panel {
    display: none;
    animation: persona-in 0.45s var(--ease-out);
}

.persona-panel.is-active { display: block; }

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

.persona-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.persona-copy p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 16px;
}

.persona-copy p:last-child { margin-bottom: 0; }

.persona-card {
    padding: clamp(24px, 4vw, 32px);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-color: var(--glass-border);
}

.persona-card h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.persona-list li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    padding-left: 22px;
    margin-bottom: 10px;
    position: relative;
}

.persona-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.story-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-family: 'SF Pro Display', var(--font);
}

.story-heading {
    font-family: var(--font-title);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.story-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 16px;
}

.story-body p:last-child { margin-bottom: 0; }

.story-panel h3 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.story-panel p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}

.story-panel + .story-panel { margin-top: 20px; }

.story-bridge {
    margin-top: 48px;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.story-bridge p {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.5;
    color: var(--dark);
    font-family: 'SF Pro Display', var(--font);
    font-weight: 600;
}

.story-bridge strong { color: var(--accent); font-weight: 600; }

/* ── Stats (Bevel counters) ─────────────────────────────────── */
.stats-section {
    padding: var(--section-pad) 0;
}

.stats-heading {
    font-family: var(--font-title);
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.stats-sub {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 36px;
    max-width: 640px;
    margin-inline: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    will-change: transform;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.stat-value {
    font-family: var(--font-title);
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 600;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

.stats-source {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--subtle);
}

/* ── Features (Bevel cards) ─────────────────────────────────── */
.features-section,
.categories-section,
.business-section {
    padding: var(--section-pad) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.features-grid--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 32px);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: clamp(24px, 3vw, 32px);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.feature-icon {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 600;
    color: rgba(227, 69, 43, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

/* ── Services panels (legacy + categories) ─────────────────── */
.services {
    padding: var(--section-pad) 0;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 640px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(36px, 5vw, 56px) clamp(40px, 5vw, 72px);
}

.service-number {
    font-family: var(--font-title);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 600;
    color: rgba(227, 69, 43, 0.18);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card p,
.service-card ul li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.service-card ul { margin-top: 8px; }

.service-card ul li {
    padding-left: 18px;
    margin-bottom: 6px;
    position: relative;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.packages-section {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--panel-edge);
}

.packages-title {
    font-family: var(--font-title);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.packages-subtitle {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 28px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.package-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: clamp(24px, 3vw, 32px);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    will-change: transform;
}

.package-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.package-number {
    font-family: var(--font-title);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 600;
    color: rgba(227, 69, 43, 0.16);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.package-card h3 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.package-card ul li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.package-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.package-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--subtle);
    font-style: italic;
}

.packages-cta {
    text-align: center;
    margin-top: 36px;
}

.banner-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.banner-button:hover {
    background: var(--accent-hover);
}

.packages-cta-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--subtle);
}

/* ── Trust (Bevel pills) ─────────────────────────────────────── */
.trust-section {
    padding: var(--section-pad) 0;
    text-align: center;
    background: var(--bg-soft);
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 820px;
    margin: 0 auto 32px;
}

.trust-pills span {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--panel-edge);
    padding: 10px 18px;
    border-radius: 999px;
}

.trust-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.trust-inner {
    max-width: 720px;
    margin-inline: auto;
}

.trust-section .story-heading { margin-bottom: 16px; }

.trust-section p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 24px;
}

.trust-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* ── Quotes marquee (Bevel) ──────────────────────────────────── */
.quotes-section {
    padding: 48px 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.quotes-marquee {
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.quotes-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.quote-card {
    flex-shrink: 0;
    width: clamp(280px, 32vw, 360px);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 24px;
    margin: 0;
    transition: transform 0.3s ease;
}

.quote-card p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--dark);
    margin-bottom: 12px;
    font-style: normal;
}

.quote-card cite {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    font-style: normal;
}

.business-section .container.glass-panel {
    padding: clamp(40px, 6vw, 60px) clamp(24px, 5vw, 56px);
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq {
    padding: var(--section-pad) 0;
}

.faq-title {
    font-family: var(--font-title);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.faq-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 44px;
    font-size: 16px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto 40px;
    background: var(--white);
    border-radius: 16px;
    padding: 4px 20px;
    border: 1px solid var(--panel-edge);
    box-shadow: var(--shadow-soft);
}

.faq-item { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 500;
    font-family: 'SF Pro Display', var(--font);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    transition: color 0.25s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 15px;
}

.faq-contact h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.faq-contact p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}

.faq-contact a {
    color: var(--accent);
    text-decoration: underline;
}

/* ── Download banner ─────────────────────────────────────────── */
.banner {
    padding: var(--section-pad) 0 clamp(56px, 8vw, 80px);
}

.banner-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.banner-text h2 {
    font-family: var(--font-title);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.banner-text p {
    font-size: 15px;
    color: var(--muted);
    max-width: 480px;
}

.dl-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.dl-store img { height: 44px; width: auto; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
    padding: 48px 0 32px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-logo img { height: 36px; width: auto; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.copyright {
    font-size: 13px;
    color: var(--muted);
}

.copyright a { color: var(--accent); }
.copyright a:hover { text-decoration: underline; }

/* ── Homepage responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .persona-grid { grid-template-columns: 1fr; }
    .hero-title-dock { font-size: clamp(38px, 8vw, 56px); }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 0;
        gap: 0;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 420px;
        padding: 16px 0;
        pointer-events: auto;
    }

    .nav a {
        display: block;
        padding: 12px 24px;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .hamburger { display: flex; }
    .cta-button { display: none; }

    .story-grid,
    .services-grid,
    .packages-grid,
    .features-grid,
    .features-grid--compact { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: 1fr; }
    .banner-content { flex-direction: column; align-items: flex-start; }
    .glass-bubble { opacity: 0.85; }
}

@media (max-width: 480px) {
    .logo img { height: 34px; }
    .hero-title { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track,
    .quotes-track { animation: none; }
    .persona-panel { animation: none; }
    .dock-line .char { opacity: 1; transform: none; animation: none; }
    .hero-meta-item { animation: none; }
    .hero-button--glow { animation: none; }
    .scene-bg--parallax { transform: none !important; }
}

/* Subpage offset for fixed header */

.m-main,
.m-page {
    padding-top: var(--nav-h);
}

.unit {
    position: relative;
    text-align: center;
    padding: clamp(64px, 10vw, 112px) var(--pad-x);
}

.unit-tight {
    padding-top: clamp(48px, 7vw, 88px);
    padding-bottom: clamp(36px, 5vw, 56px);
}

.unit-light {
    background: transparent;
    color: var(--text);
}

.unit-white {
    background: transparent;
    color: var(--text);
}

/* Frosted elevated panel unit (replaces old black bands) */
.unit-frost {
    background: transparent;
    color: var(--text);
    padding-block: clamp(48px, 8vw, 88px);
}

.unit-frost .unit-panel {
    max-width: var(--content-w);
    margin-inline: auto;
    padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: var(--frost);
    -webkit-backdrop-filter: var(--frost);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    box-shadow: var(--shadow-lift);
}

.unit-inner {
    max-width: var(--copy-w);
    margin-inline: auto;
}

.unit-kicker {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--accent);
    margin-bottom: 12px;
}

.unit-display {
    font-size: clamp(40px, 7.5vw, 72px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 14px;
}

.unit-display-sm {
    font-size: clamp(32px, 5.5vw, 52px);
}

.unit-sub {
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 400;
    letter-spacing: 0.002em;
    line-height: 1.3;
    color: var(--muted);
    max-width: 22em;
    margin-inline: auto;
}

.unit-sub-sm {
    font-size: clamp(17px, 2vw, 19px);
    line-height: 1.45;
    max-width: 36em;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 28px;
    margin-top: 22px;
}

.link {
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.011em;
    line-height: 1.381;
    color: var(--accent);
    transition: color 0.2s, opacity 0.2s;
}

.link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.link::after {
    content: " ›";
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: 980px;
    transition: background 0.2s var(--ease), color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    font-size: 17px;
    padding: 12px 24px;
    line-height: 1.17648;
    box-shadow: 0 2px 8px rgba(227, 69, 43, 0.28), 0 12px 28px rgba(227, 69, 43, 0.16);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 14px rgba(227, 69, 43, 0.32), 0 16px 36px rgba(227, 69, 43, 0.18);
    transform: translateY(-1px);
}

.btn-lg {
    font-size: 17px;
    padding: 12px 24px;
}

.btn-sm {
    font-size: 14px;
    padding: 8px 16px;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--accent);
    font-size: 17px;
    padding: 11px 20px;
    border: 1px solid rgba(227, 69, 43, 0.18);
    box-shadow: var(--shadow-soft);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.85);
}

.btn-ghost::after {
    content: none;
}

/* Frosted feature columns */
.cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 2vw, 20px);
    max-width: var(--content-w);
    margin: clamp(36px, 5vw, 52px) auto 0;
    padding-inline: var(--pad-x);
    text-align: left;
}

.col {
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.col:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.col h3 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.011em;
    margin-bottom: 8px;
    color: var(--text);
}

.col p {
    font-size: 14px;
    line-height: 1.45;
    letter-spacing: -0.016em;
    color: var(--muted);
}

.lines {
    max-width: 560px;
    margin: clamp(36px, 5vw, 52px) auto 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.line {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.line strong {
    display: block;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.011em;
    margin-bottom: 4px;
    color: var(--text);
}

.line span {
    font-size: 15px;
    line-height: 1.45;
    color: var(--muted);
}

.hero-brand {
    font-size: clamp(52px, 10vw, 96px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin-bottom: 10px;
    color: var(--text);
}

/* Ego hero (poster energy) */
.hero-ego {
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: clamp(80px, 14vw, 140px) !important;
    overflow: hidden;
}

.hero-ego-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0;
    text-align: left;
    padding-inline: var(--pad-x);
    margin-inline: auto;
    width: 100%;
}

.hero-centered .hero-ego-inner {
    text-align: center;
    max-width: 760px;
}

.hero-centered .links {
    justify-content: center;
}

.hero-centered .hero-ego-title {
    margin-inline: auto;
}

.hero-centered .hero-ego-sub {
    margin-inline: auto;
}

.hero-url {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
    margin-bottom: clamp(20px, 4vw, 36px);
}

.hero-ego-title {
    font-family: var(--font-title);
    font-size: clamp(58px, 9.5vw, 76px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: var(--text);
    margin-bottom: clamp(18px, 3vw, 28px);
    max-width: 12em;
}

@media (max-width: 720px) {
    .hero-ego-title {
        max-width: none;
    }

    .hero-ego-sub {
        font-size: clamp(18px, 4.2vw, 22px);
    }
}

.hero-ego-sub {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: var(--muted);
    margin-bottom: clamp(28px, 5vw, 44px);
}

.hero-brand-accent {
    font-size: clamp(48px, 9vw, 88px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent);
    margin-bottom: clamp(28px, 5vw, 48px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    max-width: 720px;
}

.hero-meta .links {
    margin-top: 0;
    justify-content: flex-start;
}

.hero-launch span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 4px;
}

.hero-launch strong {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.hero-horizon {
    position: absolute;
    left: 50%;
    bottom: -18%;
    width: min(140vw, 1400px);
    height: min(55vw, 520px);
    transform: translateX(-50%);
    background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(227, 69, 43, 0.38) 0%, rgba(227, 69, 43, 0.12) 38%, transparent 72%);
    filter: blur(2px);
    pointer-events: none;
    z-index: 1;
    animation: horizon-breathe 8s ease-in-out infinite;
}

@keyframes horizon-breathe {
    0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

.will-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.will-in.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── Category reveal stage (free floating) ──────────────────── */
.cat-stage {
    position: relative;
    isolation: isolate;
    z-index: 2;
    min-height: 160vh;
    margin: 0;
    padding-bottom: clamp(56px, 9vw, 120px);
    background: transparent;
    overflow: hidden;
    overflow: clip;
}

.cat-stage.is-complete {
    /* Keep a full sticky viewport plus a little room before Discover */
    min-height: calc(100svh - var(--nav-h) + clamp(24px, 4vw, 64px));
}

.cat-stage.is-complete .cat-stage-sticky {
    position: relative;
    top: auto;
    min-height: calc(100svh - var(--nav-h));
}

.cat-stage-sticky {
    position: sticky;
    top: var(--nav-h);
    min-height: calc(100svh - var(--nav-h));
    display: block;
    padding: clamp(24px, 4vw, 40px) var(--pad-x) clamp(48px, 7vw, 80px);
    overflow: hidden;
}

.cat-stage-copy {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(8px, 2vw, 20px);
    pointer-events: none;
}

.cat-stage-copy .unit-display,
.cat-stage-copy .unit-sub {
    text-align: center;
    margin-inline: auto;
}

.cat-stage-hint {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    pointer-events: none;
}

.cat-stage-field {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cat-tile {
    position: absolute;
    width: min(30vw, 260px);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-lift);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 40px, 0) scale(0.92);
    transition:
        opacity 0.75s var(--ease-out),
        transform 0.9s var(--ease-out);
    z-index: 2;
}

/* Distinct free slots so tiles never pile */
.cat-tile[data-slot="1"] { top: 18%; left: 4%; }
.cat-tile[data-slot="2"] { top: 14%; right: 5%; left: auto; }
.cat-tile[data-slot="3"] { top: 48%; left: 36%; width: min(34vw, 280px); z-index: 4; }
.cat-tile[data-slot="4"] { bottom: 10%; left: 8%; top: auto; }
.cat-tile[data-slot="5"] { bottom: 12%; right: 6%; top: auto; left: auto; }

.cat-tile[data-from="left"] { transform: translate3d(-140%, 10%, 0) rotate(-8deg) scale(0.88); }
.cat-tile[data-from="right"] { transform: translate3d(140%, -8%, 0) rotate(8deg) scale(0.88); }
.cat-tile[data-from="top"] { transform: translate3d(0, -140%, 0) rotate(4deg) scale(0.88); }
.cat-tile[data-from="bottom"] { transform: translate3d(0, 140%, 0) rotate(-4deg) scale(0.88); }
.cat-tile[data-from="top-left"] { transform: translate3d(-130%, -130%, 0) rotate(-10deg) scale(0.86); }
.cat-tile[data-from="top-right"] { transform: translate3d(130%, -130%, 0) rotate(10deg) scale(0.86); }
.cat-tile[data-from="bottom-left"] { transform: translate3d(-130%, 130%, 0) rotate(10deg) scale(0.86); }
.cat-tile[data-from="bottom-right"] { transform: translate3d(130%, 130%, 0) rotate(-10deg) scale(0.86); }

.cat-tile.is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--rest-rot, 0deg)) scale(1);
    pointer-events: auto;
}

.cat-tile[data-slot="1"].is-in { --rest-rot: -2deg; }
.cat-tile[data-slot="2"].is-in { --rest-rot: 2.5deg; }
.cat-tile[data-slot="3"].is-in { --rest-rot: -1deg; }
.cat-tile[data-slot="4"].is-in { --rest-rot: 1.5deg; }
.cat-tile[data-slot="5"].is-in { --rest-rot: -2.5deg; }

.cat-tile-media {
    height: 132px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
}

.cat-tile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.cat-tile-body {
    padding: 14px 14px 16px;
    text-align: left;
}

.cat-tile-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 4px;
}

.cat-tile-body h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
    color: var(--text);
}

.cat-tile-body p {
    font-size: 12px;
    line-height: 1.4;
    color: var(--muted);
}

.cat-stage.is-complete .cat-stage-hint {
    color: var(--muted);
}

.faq-list {
    margin-top: clamp(28px, 4vw, 40px);
    max-width: 720px;
    margin-inline: auto;
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 4px 18px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.015em;
    padding: 14px 0;
    color: var(--text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}
.seo-stage {
    position: relative;
    isolation: isolate;
    z-index: 1;
    min-height: clamp(720px, 96vh, 1040px);
    margin-top: clamp(48px, 8vw, 128px);
    padding: clamp(72px, 10vw, 128px) var(--pad-x) clamp(88px, 12vw, 160px);
    overflow: hidden;
    clear: both;
}

.seo-stage-core {
    position: relative;
    z-index: 3;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.seo-stage-core .unit-inner {
    max-width: none;
    padding-inline: 0;
}

.seo-search {
    max-width: 640px;
    margin: clamp(24px, 4vw, 36px) auto 0;
    padding-inline: 0;
}

.seo-search-shell {
    pointer-events: none;
    user-select: none;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: var(--frost);
    -webkit-backdrop-filter: var(--frost);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-lift);
}

.seo-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.seo-search-icon {
    color: var(--muted);
    flex-shrink: 0;
}

.seo-search-query {
    flex: 1;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text);
    line-height: 1.35;
    text-align: left;
    min-height: 1.35em;
}

.seo-caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    margin-left: 1px;
    vertical-align: text-bottom;
    background: var(--accent);
    border-radius: 1px;
    animation: seo-blink 1s steps(1) infinite;
}

@keyframes seo-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .seo-caret {
        animation: none;
        opacity: 1;
    }
}

.seo-hl {
    color: var(--accent);
    font-weight: 600;
}

.seo-search-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.seo-geo {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    text-align: center;
    max-width: 40em;
    margin-inline: auto;
}

.seo-index {
    list-style: none;
    z-index: 1;
    margin: 28px auto 0;
    padding: 0;
    pointer-events: none;
    /* No-JS / pre-pack: readable wrap so crawlers and users always see phrases */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    max-width: 920px;
    position: relative;
}

.seo-stage.is-packed .seo-index {
    display: block;
    position: absolute;
    inset: 0;
    margin: 0;
    max-width: none;
}

.seo-index li {
    font-size: 13px;
    line-height: 1.3;
    color: var(--subtle);
    padding: 8px 13px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    opacity: 1;
    position: relative;
}

.seo-stage.is-packed .seo-index li {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.96);
    transition: opacity 0.55s var(--ease-out), transform 0.7s var(--ease-out);
    will-change: transform, opacity;
}

.seo-index li.is-placed {
    opacity: 1;
    transform: translate3d(var(--x), var(--y), 0) rotate(var(--rot, 0deg)) scale(1);
}

@media (prefers-reduced-motion: no-preference) {
    .seo-index li.is-placed {
        animation: seo-fly-in 0.65s var(--ease-out) both;
    }
}

@keyframes seo-fly-in {
    from {
        opacity: 0;
        transform: translate3d(
            calc(var(--x) + var(--from-x, 0px)),
            calc(var(--y) + var(--from-y, 20px)),
            0
        ) rotate(var(--rot, 0deg)) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translate3d(var(--x), var(--y), 0) rotate(var(--rot, 0deg)) scale(1);
    }
}

@media (max-width: 720px) {
    .cat-stage {
        min-height: 145vh;
        padding-bottom: clamp(24px, 5vw, 40px);
    }

    .cat-stage.is-complete {
        min-height: calc(100svh - var(--nav-h) + 28px);
    }

    .seo-stage {
        min-height: clamp(480px, 78vh, 640px);
        margin-top: clamp(16px, 3vw, 28px);
        padding-top: clamp(20px, 4vw, 36px);
        padding-bottom: clamp(64px, 11vw, 96px);
    }

    .seo-index li {
        font-size: 12px;
        padding: 7px 11px;
        white-space: normal;
        max-width: min(46vw, 180px);
        text-align: center;
    }

    .seo-index li.is-mobile-hidden {
        display: none !important;
    }
}

@media (min-width: 1400px) {
    .cat-stage {
        min-height: 170vh;
        padding-bottom: clamp(80px, 8vw, 140px);
    }

    .seo-stage {
        min-height: clamp(820px, 92vh, 1120px);
        margin-top: clamp(72px, 7vw, 140px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-index li,
    .seo-index li.is-placed {
        transition: opacity 0.3s ease;
        animation: none;
    }
}

@media (max-width: 900px) {
    .cat-stage {
        min-height: 150vh;
    }

    .cat-stage-sticky {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-top: clamp(12px, 2.5vw, 20px);
    }

    /* Copy stays in normal flow above the tile field so cards cannot cover it */
    .cat-stage-copy {
        position: relative;
        z-index: 6;
        flex: 0 0 auto;
        margin: 0 auto;
        padding: 4px 6px 20px;
        max-width: 22em;
    }

    .cat-stage-hint {
        margin-top: 12px;
    }

    .cat-stage-field {
        position: relative;
        inset: auto;
        flex: 1 1 auto;
        width: 100%;
        min-height: min(62vh, 480px);
        margin-top: 48px;
    }

    .cat-tile {
        width: min(42vw, 200px);
    }

    .cat-tile[data-slot="1"] { top: 4%; left: 3%; }
    .cat-tile[data-slot="2"] { top: 2%; right: 3%; left: auto; }
    .cat-tile[data-slot="3"] { top: 38%; left: 26%; width: min(52vw, 220px); }
    .cat-tile[data-slot="4"] { bottom: 6%; left: 4%; top: auto; }
    .cat-tile[data-slot="5"] { bottom: 4%; right: 3%; top: auto; left: auto; }

    .cat-tile-media {
        height: 88px;
    }

    .cat-tile-body p {
        display: none;
    }

    .seo-stage {
        margin-top: clamp(20px, 3.5vw, 36px);
    }
}

@media (max-width: 480px) {
    .cat-stage-copy {
        padding-bottom: 24px;
    }

    .cat-stage-copy .unit-display-sm {
        font-size: clamp(30px, 8.2vw, 40px);
    }

    .cat-stage-field {
        min-height: min(68vh, 520px);
        margin-top: 56px;
    }

    .cat-tile[data-slot="1"] { top: 4%; left: 2%; }
    .cat-tile[data-slot="2"] { top: 2%; right: 2%; }
    .cat-tile[data-slot="3"] { top: 40%; left: 22%; }
}

@media (max-width: 900px) {
    .m-nav {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .cat-tile,
    .seo-index li,
    .seo-search-shell {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .m-spirals {
        opacity: 0.35;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cat-tile {
        transition: opacity 0.3s ease;
        transform: none !important;
    }
    .cat-tile.is-in {
        transform: none !important;
    }
    .seo-search-query.is-flipping {
        transform: none;
    }
    .m-spirals,
    .m-field {
        animation: none !important;
    }
}

.hero-headline {
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.1;
    color: var(--muted);
    margin-bottom: 18px;
}

@media (prefers-reduced-motion: no-preference) {
    .rise {
        animation: rise 0.8s var(--ease-out) both;
    }
    .rise-d1 { animation-delay: 0.06s; }
    .rise-d2 { animation-delay: 0.12s; }
    .rise-d3 { animation-delay: 0.18s; }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Waitlist ───────────────────────────────────────────────── */
.section-waitlist {
    background: transparent;
    padding: clamp(72px, 10vw, 120px) 0;
}

.wl-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 72px);
    align-items: start;
    max-width: var(--content-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-big-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.07;
    margin-bottom: 14px;
}

.title-muted {
    color: var(--muted);
}

.wl-desc {
    font-size: 17px;
    line-height: 1.47;
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 28em;
}

.wl-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wl-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.wl-perk-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wl-card {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: var(--frost);
    -webkit-backdrop-filter: var(--frost);
    border-radius: 22px;
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-lift);
    position: relative;
}

.wl-card-header {
    margin-bottom: 20px;
}

.wl-card-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.wl-card-sub {
    font-size: 14px;
    color: var(--muted);
}

.wl-f {
    margin-bottom: 14px;
}

.wl-f label,
.wl-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--subtle);
    margin-bottom: 6px;
}

.wl-req {
    color: var(--accent);
}

.wl-f input,
.wl-f select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--text);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.wl-f input:focus,
.wl-f select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(227, 69, 43, 0.18);
}

.wl-frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wl-err {
    display: block;
    font-size: 12px;
    color: var(--accent);
    min-height: 0;
    margin-top: 4px;
}

.wl-err-input {
    border-color: var(--accent) !important;
}

.wl-role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wl-rc {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.wl-rc input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wl-rc.selected,
.wl-rc:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(227, 69, 43, 0.1);
}

.wl-rc-icon {
    color: var(--muted);
    margin-bottom: 4px;
}

.wl-rc.selected .wl-rc-icon,
.wl-rc:has(input:checked) .wl-rc-icon {
    color: var(--accent);
}

.wl-rc-title {
    font-size: 14px;
    font-weight: 600;
}

.wl-rc-sub {
    font-size: 12px;
    color: var(--muted);
}

.wl-rc-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
}

.wl-rc.selected .wl-rc-check,
.wl-rc:has(input:checked) .wl-rc-check {
    display: flex;
}

.wl-vendor-banner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 13px;
}

.wl-vendor-banner strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.wl-vendor-banner span {
    color: var(--muted);
}

.wl-vendor-banner-icon {
    color: var(--accent);
}

.wl-divider {
    height: 1px;
    background: var(--border);
    margin: 18px 0;
}

.wl-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.4;
    color: var(--subtle);
    margin-bottom: 8px;
    cursor: pointer;
}

.wl-consent input {
    margin-top: 2px;
    accent-color: var(--accent);
}

.wl-consent a {
    color: var(--accent);
}

.wl-consent a:hover {
    text-decoration: underline;
}

.wl-submit {
    width: 100%;
    margin-top: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 980px;
    height: 44px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(227, 69, 43, 0.28);
}

.wl-submit:hover {
    background: var(--accent-hover);
}

.wl-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.wl-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.wl-success {
    text-align: center;
    padding: 24px 8px;
}

.wl-success-icon {
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.wl-success h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wl-success p {
    color: var(--muted);
    margin-bottom: 20px;
}

.wl-summary {
    text-align: left;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.wl-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.wl-summary-row span {
    color: var(--muted);
}

.wl-form-err {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
}

.wl-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Popup */
.wl-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(250, 250, 250, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.wl-popup-overlay.open {
    display: flex;
}

.wl-popup-sheet {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: var(--frost);
    -webkit-backdrop-filter: var(--frost);
    width: min(100%, 520px);
    max-height: min(78vh, 720px);
    overflow: auto;
    border-radius: 22px;
    position: relative;
    padding: 28px 22px 32px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lift);
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 639px) {
    .wl-popup-overlay {
        padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
    }

    .wl-popup-sheet {
        width: min(100%, 400px);
        max-height: min(72vh, 640px);
        padding: 24px 18px 28px;
        border-radius: 20px;
    }

    .wl-popup-title {
        font-size: 24px;
    }

    .wl-popup-sub {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

@media (min-width: 640px) {
    .wl-popup-overlay {
        padding: 24px;
    }
}

.wl-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(245, 245, 247, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.wl-popup-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
}

.wl-popup-sub {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 20px;
}

/* ── Content pages ──────────────────────────────────────────── */
.m-page {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 80px) var(--pad-x) clamp(72px, 10vw, 120px);
}

.m-page-header {
    margin-bottom: clamp(36px, 5vw, 56px);
    text-align: center;
    padding: clamp(28px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.m-page-header .m-kicker,
.m-kicker {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.m-page-header h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.05;
    margin-bottom: 12px;
}

.m-page-header p {
    font-size: 21px;
    color: var(--muted);
    line-height: 1.381;
}

.m-prose h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 40px 0 12px;
}

.m-prose h3 {
    font-size: 21px;
    font-weight: 600;
    margin: 24px 0 8px;
}

.m-prose p,
.m-prose li {
    font-size: 17px;
    line-height: 1.47;
    color: var(--subtle);
    margin-bottom: 14px;
}

.m-prose a {
    color: var(--accent);
}

.m-prose a:hover {
    text-decoration: underline;
}

.m-prose ul {
    list-style: disc;
    padding-left: 1.2em;
    margin-bottom: 14px;
}

.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 64px) var(--pad-x) clamp(72px, 10vw, 120px);
}

.legal-header {
    margin-bottom: 36px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.legal-back {
    display: inline-block;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 18px;
}

.legal-back:hover {
    text-decoration: underline;
}

.legal-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 14px;
}

.legal-intro {
    font-size: 17px;
    color: var(--subtle);
    line-height: 1.47;
}

.legal-section {
    margin-top: 32px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
    font-size: 15px;
    line-height: 1.47;
    color: var(--subtle);
    margin-bottom: 10px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.2em;
}

.legal-section a {
    color: var(--accent);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 834px) {
    .m-nav-links {
        display: none;
    }

    .m-menu-btn {
        display: flex;
    }

    .m-mobile:not([hidden]) {
        display: flex;
    }

    .m-nav-end .m-btn {
        display: none;
    }

    .m-nav-inner {
        grid-template-columns: 1fr auto;
    }

    .m-download-bar {
        display: block;
    }

    .wl-inner {
        grid-template-columns: 1fr;
    }

    .cols {
        grid-template-columns: 1fr 1fr;
    }

    .link {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .cols {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .wl-frow,
    .wl-role-grid {
        grid-template-columns: 1fr;
    }

    .lines {
        text-align: center;
    }

    .hero-brand {
        font-size: clamp(44px, 13vw, 56px);
    }

    .unit-display {
        font-size: clamp(36px, 10vw, 48px);
    }
}


/* ── Launch countdown + live download swap ─────────────────── */
html.mendo-live .js-prelaunch {
    display: none !important;
}

html:not(.mendo-live) .js-live {
    display: none !important;
}

.section-countdown {
    padding-top: clamp(12px, 3vw, 28px);
    padding-bottom: clamp(28px, 5vw, 48px);
}

.flip-clock {
    --flip-w: 52px;
    --flip-h: 74px;
    --flip-r: 10px;
    --flip-face: #1c1c1e;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(12px, 2.8vw, 28px);
    margin-top: 36px;
    flex-wrap: wrap;
}

.flip-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.flip-pair {
    display: flex;
    gap: 6px;
}

.flip-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}

.flip-digit {
    position: relative;
    width: var(--flip-w);
    height: var(--flip-h);
    border-radius: var(--flip-r);
    background: var(--flip-face);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16), 0 2px 4px rgba(0, 0, 0, 0.08);
    perspective: 400px;
    -webkit-perspective: 400px;
    transform-style: preserve-3d;
    user-select: none;
}

.flip-static,
.flip-anim {
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    overflow: hidden;
    background: var(--flip-face);
}

.flip-static span,
.flip-anim span {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(var(--flip-h));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.flip-static-top,
.flip-anim-top {
    top: 0;
    border-radius: var(--flip-r) var(--flip-r) 0 0;
    background: #262628;
}

.flip-static-bottom,
.flip-anim-bottom {
    bottom: 0;
    border-radius: 0 0 var(--flip-r) var(--flip-r);
    background: #1c1c1e;
}

.flip-static-top span,
.flip-anim-top span {
    top: 0;
}

.flip-static-bottom span,
.flip-anim-bottom span {
    bottom: 0;
}

.flip-anim-top {
    transform-origin: bottom;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    z-index: 3;
}

.flip-anim-bottom {
    transform-origin: top;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateX(90deg);
    z-index: 2;
}

.flip-digit.is-flipping .flip-anim-top {
    animation: mendoFlipTop 0.2s ease-in forwards;
}

.flip-digit.is-flipping .flip-anim-bottom {
    animation: mendoFlipBottom 0.2s ease-out 0.2s forwards;
}

@keyframes mendoFlipTop {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(-90deg); }
}

@keyframes mendoFlipBottom {
    0% { transform: rotateX(90deg); }
    100% { transform: rotateX(0deg); }
}

.flip-split {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: rgba(0, 0, 0, 0.55);
    z-index: 5;
    pointer-events: none;
}

.flip-pin {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: linear-gradient(180deg, #d8d8d8 0%, #9a9a9a 100%);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    z-index: 6;
    pointer-events: none;
}

.flip-pin-l { left: -4px; }
.flip-pin-r { right: -4px; }

.countdown-note {
    margin-top: 28px;
}

@media (max-width: 640px) {
    .flip-clock {
        --flip-w: 40px;
        --flip-h: 56px;
        --flip-r: 8px;
        gap: 12px;
        margin-top: 28px;
    }

    .flip-static span,
    .flip-anim span {
        font-size: 34px;
    }

    .flip-label {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .flip-pin {
        width: 6px;
        height: 6px;
        margin-top: -3px;
    }

    .flip-pin-l { left: -3px; }
    .flip-pin-r { right: -3px; }
}

@media (prefers-reduced-motion: reduce) {
    .flip-digit.is-flipping .flip-anim-top,
    .flip-digit.is-flipping .flip-anim-bottom {
        animation: none;
    }
}

.dl-stores {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.dl-store {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.dl-store img {
    height: 48px;
    width: auto;
    display: block;
}

.dl-store[hidden] {
    display: none !important;
}

.dl-card .wl-submit {
    width: 100%;
}

@media (max-width: 480px) {
    .flip-clock {
        --flip-w: 40px;
        --flip-h: 56px;
        gap: 12px;
    }

    .flip-static span,
    .flip-anim span {
        font-size: 30px;
    }
}

/* ── Site-wide motion (all pages) ─────────────────────────────── */
.m-reveal,
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
}

.m-reveal.is-in,
.m-reveal.is-visible,
.reveal.is-in,
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.m-reveal--left { transform: translateX(-40px); }
.m-reveal--right { transform: translateX(40px); }
.m-reveal--scale { transform: scale(0.92); }
.m-reveal--left.is-in,
.m-reveal--right.is-in,
.m-reveal--scale.is-in { transform: none; }

.m-reveal--head.is-in {
    animation: m-head-in 0.85s var(--ease-out) forwards;
}

@keyframes m-head-in {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

.m-reveal--stagger,
.supa-reveal--stagger {
    opacity: 1;
    transform: none;
    transition: none;
}

[data-reveal-child] {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
}

.m-reveal--stagger.is-in [data-reveal-child].is-in,
.supa-reveal--stagger.is-in [data-reveal-child].is-in {
    animation: m-pop-in 0.6s var(--ease-out) forwards;
    animation-delay: calc(var(--reveal-i, 0) * 0.055s);
}

@keyframes m-pop-in {
    to { opacity: 1; transform: none; }
}

.will-in.is-in {
    transition-delay: calc(var(--reveal-i, 0) * 0.07s);
}

.m-prose .m-reveal.is-in {
    transition-delay: calc(var(--reveal-i, 0) * 0.04s);
}

.legal-section.m-reveal.is-in {
    transition-delay: calc(var(--reveal-i, 0) * 0.05s);
}

.col {
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
}

.col:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lift);
    border-color: rgba(227, 69, 43, 0.15);
}

.line {
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out),
        border-color 0.3s ease, background 0.3s ease;
}

.line:hover {
    border-color: rgba(227, 69, 43, 0.2);
}

.m-page,
.legal-page,
.m-main > .unit {
    content-visibility: auto;
    contain-intrinsic-size: auto 480px;
}

body.motion-ready .hero-ego-inner .rise {
    animation: rise 0.85s var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
    .m-reveal,
    [data-reveal-child],
    .will-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        filter: none !important;
    }
}
