:root {
    --bg-base: #06070b;
    --bg-surface: #0b0d13;
    --bg-card: rgba(15, 18, 26, 0.64);
    --bg-card-hover: rgba(20, 24, 34, 0.8);
    --bg-card-open: rgba(20, 24, 34, 0.82);
    --bg-subcard: rgba(255, 255, 255, 0.03);
    --bg-pill: rgba(255, 255, 255, 0.05);
    --bg-pill-hover: rgba(255, 255, 255, 0.11);
    --bg-header: rgba(11, 13, 19, 0.65);
    --bg-header-scrolled: rgba(10, 12, 18, 0.86);
    --bg-tabs: rgba(15, 18, 26, 0.74);
    --bg-tab-indicator: rgba(255, 255, 255, 0.14);
    --bg-caption: rgba(6, 7, 11, 0.6);
    --bg-stage: #090b10;
    --bg-footer: #040508;
    --bg-dialog: rgba(11, 13, 19, 0.96);
    --bg-backdrop: rgba(4, 5, 8, 0.82);
    --bg-code: rgba(8, 10, 16, 0.88);

    --bg-ambient-1: rgba(48, 116, 249, 0.14);
    --bg-ambient-2: rgba(214, 183, 122, 0.08);
    --bg-download-glow: rgba(48, 116, 249, 0.1);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.11);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-hover: rgba(113, 137, 255, 0.4);

    --text-primary: #f5f7fb;
    --text-secondary: #9aa5b8;
    --text-muted: #68758a;
    --text-list: #e2e8f0;

    --accent-blue: #3074f9;
    --accent-indigo: #7189ff;
    --accent-cyan: #38bdf8;
    --accent-mint: #6ee7b7;
    --accent-gold: #d6b77a;
    --accent-pill-bg: rgba(113, 137, 255, 0.12);
    --accent-pill-border: rgba(113, 137, 255, 0.26);

    --btn-primary-bg: #f5f7fb;
    --btn-primary-fg: #08090d;
    --btn-primary-border: rgba(255, 255, 255, 0.9);
    --btn-primary-hover: #ffffff;
    --btn-primary-shadow: 0 8px 26px -6px rgba(255, 255, 255, 0.24), 0 0 24px -8px rgba(113, 137, 255, 0.35);
    --btn-primary-shadow-hover: 0 12px 32px -6px rgba(255, 255, 255, 0.34), 0 0 32px -6px rgba(113, 137, 255, 0.5);

    --btn-secondary-bg: rgba(255, 255, 255, 0.055);
    --btn-secondary-border: rgba(255, 255, 255, 0.14);
    --btn-secondary-hover: rgba(255, 255, 255, 0.11);
    --btn-secondary-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);

    --shadow-header: 0 12px 32px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.09);
    --shadow-header-scrolled: 0 16px 40px -12px rgba(0, 0, 0, 0.8), 0 0 24px -8px rgba(48, 116, 249, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --shadow-card: 0 18px 40px -12px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --shadow-card-hover: 0 24px 54px -14px rgba(0, 0, 0, 0.65), 0 0 36px -10px rgba(48, 116, 249, 0.16);
    --shadow-stage: 0 24px 52px rgba(0, 0, 0, 0.62);
    --shadow-tab-indicator: 0 2px 10px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);

    --spotlight-fill: rgba(113, 137, 255, 0.13);
    --spotlight-fill-2: rgba(56, 189, 248, 0.04);
    --spotlight-edge: rgba(113, 137, 255, 0.55);
    --spotlight-edge-2: rgba(56, 189, 248, 0.2);

    --aura-0: radial-gradient(circle, rgba(48, 116, 249, 0.24) 0%, rgba(56, 189, 248, 0.12) 42%, transparent 72%);
    --aura-1: radial-gradient(circle, rgba(214, 183, 122, 0.24) 0%, rgba(113, 137, 255, 0.12) 44%, transparent 74%);
    --aura-2: radial-gradient(circle, rgba(52, 211, 153, 0.22) 0%, rgba(56, 189, 248, 0.11) 45%, transparent 74%);
    --orbit-border: rgba(113, 137, 255, 0.11);
    --orbit-shadow: rgba(48, 116, 249, 0.1);

    --phone-bezel: #151822;
    --phone-border: rgba(255, 255, 255, 0.16);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", sans-serif;
    --font-serif: "New York", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

    color-scheme: dark;
    font-synthesis: none;
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

/* Google Antigravity Clean White / Light Mode */
html[data-theme="light"] {
    --bg-base: #ffffff;
    --bg-surface: #f5f7fb;
    --bg-card: rgba(246, 248, 252, 0.88);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-card-open: #ffffff;
    --bg-subcard: rgba(255, 255, 255, 0.88);
    --bg-pill: rgba(33, 34, 38, 0.055);
    --bg-pill-hover: rgba(33, 34, 38, 0.1);
    --bg-header: rgba(255, 255, 255, 0.82);
    --bg-header-scrolled: rgba(255, 255, 255, 0.95);
    --bg-tabs: rgba(240, 243, 248, 0.92);
    --bg-tab-indicator: #ffffff;
    --bg-caption: rgba(255, 255, 255, 0.86);
    --bg-stage: #f4f1ea;
    --bg-footer: #f7f8fb;
    --bg-dialog: rgba(14, 16, 23, 0.96);
    --bg-backdrop: rgba(18, 19, 23, 0.56);
    --bg-code: #f1f4f9;

    --bg-ambient-1: rgba(44, 100, 237, 0.055);
    --bg-ambient-2: rgba(245, 158, 11, 0.035);
    --bg-download-glow: rgba(44, 100, 237, 0.055);

    --border-subtle: rgba(18, 19, 23, 0.08);
    --border-card: rgba(18, 19, 23, 0.11);
    --border-strong: rgba(18, 19, 23, 0.15);
    --border-hover: rgba(44, 100, 237, 0.3);

    --text-primary: #121317;
    --text-secondary: #454954;
    --text-muted: #5c6372;
    --text-list: #232732;

    --accent-blue: #2c64ed;
    --accent-indigo: #2c64ed;
    --accent-cyan: #1a56db;
    --accent-mint: #059669;
    --accent-gold: #8c6a2b;
    --accent-pill-bg: rgba(44, 100, 237, 0.08);
    --accent-pill-border: rgba(44, 100, 237, 0.2);

    --btn-primary-bg: #121317;
    --btn-primary-fg: #ffffff;
    --btn-primary-border: #121317;
    --btn-primary-hover: #242730;
    --btn-primary-shadow: 0 8px 24px -8px rgba(18, 19, 23, 0.32);
    --btn-primary-shadow-hover: 0 12px 28px -8px rgba(18, 19, 23, 0.42), 0 0 24px -8px rgba(44, 100, 237, 0.25);

    --btn-secondary-bg: rgba(33, 34, 38, 0.055);
    --btn-secondary-border: rgba(18, 19, 23, 0.12);
    --btn-secondary-hover: rgba(33, 34, 38, 0.1);
    --btn-secondary-shadow: 0 2px 10px rgba(18, 19, 23, 0.04);

    --shadow-header: 0 10px 30px -12px rgba(18, 19, 23, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --shadow-header-scrolled: 0 16px 36px -14px rgba(18, 19, 23, 0.16), 0 0 0 1px rgba(18, 19, 23, 0.06);
    --shadow-card: 0 12px 32px -14px rgba(18, 19, 23, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --shadow-card-hover: 0 20px 44px -16px rgba(18, 19, 23, 0.14), 0 0 28px -12px rgba(44, 100, 237, 0.14);
    --shadow-stage: 0 22px 48px -14px rgba(18, 19, 23, 0.22);
    --shadow-tab-indicator: 0 2px 8px rgba(18, 19, 23, 0.1), 0 1px 2px rgba(18, 19, 23, 0.06);

    --spotlight-fill: rgba(44, 100, 237, 0.06);
    --spotlight-fill-2: rgba(248, 66, 66, 0.02);
    --spotlight-edge: rgba(44, 100, 237, 0.36);
    --spotlight-edge-2: rgba(255, 207, 3, 0.2);

    --aura-0: radial-gradient(circle, rgba(44, 100, 237, 0.16) 0%, rgba(56, 189, 248, 0.08) 44%, transparent 72%);
    --aura-1: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(44, 100, 237, 0.07) 46%, transparent 74%);
    --aura-2: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(56, 189, 248, 0.08) 46%, transparent 74%);
    --orbit-border: rgba(44, 100, 237, 0.14);
    --orbit-shadow: rgba(44, 100, 237, 0.08);

    --phone-bezel: #1c1e26;
    --phone-border: rgba(18, 19, 23, 0.18);

    color-scheme: light;
}

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

html {
    overflow-x: clip;
}

body {
    margin: 0;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    position: relative;
    background-image:
        radial-gradient(ellipse 70% 42% at 50% -6%, var(--bg-ambient-1) 0%, transparent 72%),
        radial-gradient(ellipse 46% 32% at 78% 18%, var(--bg-ambient-2) 0%, transparent 70%);
    transition: background-color 0.35s var(--ease-out-expo), color 0.3s var(--ease-out-expo);
}

::selection {
    background: var(--accent-blue);
    color: #ffffff;
}

:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 4px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s var(--ease-out-expo), opacity 0.2s var(--ease-out-expo);
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 20px;
    background: var(--accent-blue);
    color: #fff;
    padding: 10px 16px;
    border-radius: 9999px;
    z-index: 9999;
    font-size: 14px;
    font-weight: 600;
    transition: top 0.2s var(--ease-out-expo);
}

.skip-link:focus {
    top: 20px;
}

.section-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding-inline: 32px;
    position: relative;
    z-index: 1;
}

/* Floating Capsule Navigation Header */
.site-header {
    position: sticky;
    top: 16px;
    z-index: 1000;
    padding-inline: 20px;
    margin-bottom: 12px;
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    min-height: 58px;
    padding: 6px 10px 6px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--bg-header);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    box-shadow: var(--shadow-header);
    transition: background 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), max-width 0.45s var(--ease-out-expo);
}

.site-header.is-scrolled .nav-inner {
    max-width: 1060px;
    background: var(--bg-header-scrolled);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-header-scrolled);
}

.nav-progress {
    max-width: 980px;
    height: 1.5px;
    margin: 6px auto 0;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-indigo), var(--accent-cyan));
    transform-origin: left center;
    transform: scaleX(var(--scroll-progress, 0));
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.site-header.is-scrolled .nav-progress {
    opacity: 0.72;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    flex-shrink: 0;
}

.brand img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(48, 116, 249, 0.25);
    transition: transform 0.4s var(--ease-out-expo);
}

.brand:hover img {
    transform: rotate(-6deg) scale(1.08);
}

.nav-inner nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-inner nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 9999px;
    transition: color 0.22s var(--ease-out-expo), background-color 0.22s var(--ease-out-expo);
}

.nav-inner nav a:hover,
.nav-inner nav a.is-active {
    color: var(--text-primary);
    background: var(--bg-pill);
}

.nav-inner nav a.is-active {
    box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* 3-State Theme Switcher */
.theme-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 3px;
    height: 38px;
    border-radius: 9999px;
    background: var(--bg-pill);
    border: 1px solid var(--border-subtle);
}

.theme-indicator {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 30px;
    border-radius: 9999px;
    background: var(--bg-tab-indicator);
    box-shadow: var(--shadow-tab-indicator);
    transition: transform 0.34s var(--ease-out-expo), width 0.34s var(--ease-out-expo), background-color 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.theme-switcher button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    color: var(--text-muted);
    transition: color 0.2s var(--ease-out-expo);
}

.theme-switcher button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-switcher button[aria-checked="true"],
.theme-switcher button:hover {
    color: var(--text-primary);
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 9999px;
    background: var(--bg-pill);
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.22s var(--ease-out-expo);
}

.language-toggle:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: var(--bg-pill-hover);
}

.github-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-pill);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all 0.22s var(--ease-out-expo);
}

.github-link:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: var(--bg-pill-hover);
    transform: translateY(-1px);
}

.github-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Primary & Secondary Pill Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 24px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--btn-primary-fg);
    background: var(--btn-primary-bg);
    border: 1px solid var(--btn-primary-border);
    box-shadow: var(--btn-primary-shadow);
    transition: transform 0.24s var(--ease-out-expo), box-shadow 0.24s var(--ease-out-expo), background 0.24s ease, color 0.24s ease;
    white-space: nowrap;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--btn-primary-hover);
    box-shadow: var(--btn-primary-shadow-hover);
    color: var(--btn-primary-fg);
}

.button:active {
    transform: translateY(0) scale(0.98);
}

.button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.24s var(--ease-out-expo);
}

.button:hover svg:not(.platform-icon) {
    transform: translateX(3px);
}

.button-small {
    height: 38px;
    padding: 0 18px;
    font-size: 13px;
}

.button-secondary {
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    color: var(--text-primary);
    box-shadow: var(--btn-secondary-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.button-secondary:hover {
    background: var(--btn-secondary-hover);
    border-color: var(--border-strong);
    box-shadow: var(--btn-secondary-shadow);
    color: var(--text-primary);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-indigo);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s var(--ease-out-expo), gap 0.2s var(--ease-out-expo);
}

.text-link:hover {
    color: var(--accent-cyan);
    gap: 9px;
}

/* Hero Section with Antigravity Orbital Field */
.hero-shell {
    position: relative;
    padding-top: 24px;
    padding-bottom: 88px;
    overflow: hidden;
}

.gravity-canvas {
    position: absolute;
    inset: -88px 0 0 0;
    width: 100%;
    height: calc(100% + 88px);
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 92% 86% at 52% 46%, black 55%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 92% 86% at 52% 46%, black 55%, transparent 100%);
}

.hero {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 44px;
    align-items: center;
    min-height: clamp(560px, 76dvh, 720px);
    position: relative;
    z-index: 1;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@keyframes hero-enter {
    from {
        transform: translateY(10px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes hero-stage-enter {
    from {
        transform: scale(0.97) translateY(12px);
    }
    to {
        transform: scale(1) translateY(0);
    }
}

.hero-copy .announcement-pill,
.hero-copy h1,
.hero-copy .hero-description,
.hero-copy .hero-actions,
.hero-copy .hero-platforms {
    animation: hero-enter 0.55s var(--ease-out-expo) both;
}

.hero-copy .announcement-pill { animation-delay: 20ms; }
.hero-copy h1 { animation-delay: 60ms; }
.hero-copy .hero-description { animation-delay: 100ms; }
.hero-copy .hero-actions { animation-delay: 140ms; }
.hero-copy .hero-platforms { animation-delay: 180ms; }
.hero-art { animation: hero-stage-enter 0.65s var(--ease-out-expo) 60ms both; }

.announcement-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: var(--bg-pill);
    border: 1px solid var(--border-card);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color 0.25s var(--ease-out-expo), background 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}

.announcement-pill:hover {
    border-color: var(--border-hover);
    background: var(--accent-pill-bg);
    transform: translateY(-1px);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse-dot 2.4s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 4.7vw, 66px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 22px 0;
    color: var(--text-primary);
    text-wrap: balance;
    white-space: pre-line;
}

.hero-description {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    max-width: 480px;
    white-space: pre-line;
}

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

.hero-actions .button {
    min-width: 192px;
}

.platform-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.hero-platforms {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.hero-platforms::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.45);
}

/* Weightless Interactive Phone Stage */
.hero-art {
    position: relative;
    transform: perspective(1400px) rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
    will-change: transform;
}

.material-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 0;
}

.stage-aura {
    position: absolute;
    top: 44%;
    left: 50%;
    width: 440px;
    height: 440px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--aura-0);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
    transition: background 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.hero-art[data-active-stage="1"] .stage-aura {
    background: var(--aura-1);
    transform: translate(-50%, -50%) scale(1.06);
}

.hero-art[data-active-stage="2"] .stage-aura {
    background: var(--aura-2);
    transform: translate(-50%, -50%) scale(0.96);
}

.stage-orbit-ring {
    position: absolute;
    top: 44%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(-14deg);
    border-radius: 50%;
    border: 1px solid var(--orbit-border);
    box-shadow: 0 0 36px var(--orbit-shadow);
    pointer-events: none;
    z-index: 0;
    animation: orbit-breath 9s ease-in-out infinite;
}

@keyframes orbit-breath {
    0%, 100% {
        opacity: 0.45;
        transform: translate(-50%, -50%) rotateX(72deg) rotateZ(-14deg) scale(1);
    }
    50% {
        opacity: 0.85;
        transform: translate(-50%, -50%) rotateX(72deg) rotateZ(-8deg) scale(1.04);
    }
}

@keyframes phone-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.effects-paused .stage-orbit-ring,
.effects-paused .phone-frame {
    animation-play-state: paused;
}

#stage-preview {
    min-height: 470px;
    width: 100%;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
}

.phone-frame {
    position: relative;
    width: min(266px, 72vw);
    padding: 9px;
    border-radius: 42px;
    background: var(--phone-bezel);
    border: 1px solid var(--phone-border);
    box-shadow: var(--shadow-stage);
    animation: phone-float 8.5s ease-in-out infinite;
    transition: opacity 0.25s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.phone-island {
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 18px;
    border-radius: 9999px;
    background: #090a0d;
    z-index: 2;
    pointer-events: none;
    opacity: 0.25;
}

.hero-screen {
    width: 100%;
    border-radius: 34px;
    display: block;
    transition: opacity 0.24s ease, transform 0.3s var(--ease-out-expo);
}

#stage-preview[aria-busy="true"] .hero-screen {
    opacity: 0.55;
    transform: scale(0.985);
}

.stage-controls {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.material-tabs {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: var(--bg-tabs);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-header);
}

.tab-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 0;
    border-radius: 9999px;
    background: var(--bg-tab-indicator);
    box-shadow: var(--shadow-tab-indicator);
    transition: transform 0.38s var(--ease-out-expo), width 0.38s var(--ease-out-expo), background-color 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.material-tabs button {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 500;
    min-height: 36px;
    padding: 6px 16px;
    border-radius: 9999px;
    color: var(--text-secondary);
    transition: color 0.22s var(--ease-out-expo);
}

.material-tabs button[aria-selected="true"],
.material-tabs button:hover {
    color: var(--text-primary);
}

#stage-caption {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    min-height: 20px;
    padding: 4px 14px;
    border-radius: 9999px;
    background: var(--bg-caption);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
}

/* Section Headings */
.section-heading-wrap {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading-wrap h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.8vw, 50px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 16px 0;
    color: var(--text-primary);
    text-wrap: balance;
    white-space: pre-line;
}

.section-heading-wrap p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Bento Grid & Dual-Layer Mouse Spotlight Cards */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 104px;
}

.bento-card,
.gesture-card,
.download-platform {
    --mouse-x: 50%;
    --mouse-y: 50%;
    --spotlight-opacity: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), background 0.35s var(--ease-out-expo);
}

.bento-card::before,
.gesture-card::before,
.download-platform::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(520px circle at var(--mouse-x) var(--mouse-y), var(--spotlight-fill), var(--spotlight-fill-2) 38%, transparent 65%);
    opacity: var(--spotlight-opacity);
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.bento-card::after,
.gesture-card::after,
.download-platform::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(360px circle at var(--mouse-x) var(--mouse-y), var(--spotlight-edge), var(--spotlight-edge-2) 35%, transparent 65%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: var(--spotlight-opacity);
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.bento-card > *,
.gesture-card > *,
.download-platform > * {
    position: relative;
    z-index: 1;
}

.bento-card {
    border-radius: 24px;
    padding: 36px;
}

.bento-card:hover,
.gesture-card:hover,
.download-platform:hover {
    --spotlight-opacity: 1;
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.hero > *,
.bento-grid > *,
.gestures-grid > *,
.download-grid > *,
.privacy-grid > * {
    min-width: 0;
}
.bento-col-12 { grid-column: span 12; }
.bento-col-6 { grid-column: span 6; }

.bento-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

/* Bento 1: Voice & Dialogue */
.launcher-bento {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
}

.launcher-copy h3,
.feature-split-card h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 14px 0;
    color: var(--text-primary);
    white-space: pre-line;
}

.launcher-copy p,
.feature-split-card p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.68;
    margin: 0 0 22px 0;
}

.simple-list {
    padding: 0;
    margin: 0 0 26px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.simple-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-list);
}

.simple-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-pill-bg);
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Tide ConversationHalo Interactive Widget */
.halo-widget {
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--bg-subcard);
    border: 1px solid var(--border-subtle);
}

.halo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.halo-status {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.halo-toggle {
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--accent-pill-bg);
    border: 1px solid var(--accent-pill-border);
    color: var(--accent-cyan);
    transition: background 0.2s ease, transform 0.2s ease;
}

.halo-toggle:hover {
    transform: translateY(-1px);
    background: var(--bg-pill-hover);
}

.halo-bars {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.halo-bar {
    width: 3.5px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-cyan);
    opacity: 0.72;
    transition: height 0.14s ease, opacity 0.2s ease, background-color 0.25s ease;
}

.halo-widget[data-halo-mode="listening"] .halo-bar {
    background: var(--accent-mint);
    opacity: 0.85;
}

.halo-widget[data-halo-mode="idle"] .halo-bar {
    background: var(--text-muted);
    opacity: 0.4;
}

/* Media Frames */
.media-frame {
    background: var(--bg-stage);
    border: 1px solid var(--border-card);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-stage);
}

.phone-showcase {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 28px;
}

.compact-phone-frame {
    max-width: 250px;
    margin: 18px auto 0;
    border-radius: 26px;
}

.media-frame img {
    display: block;
    width: 100%;
    transition: transform 0.5s var(--ease-out-expo), filter 0.35s ease;
}

.image-button {
    width: 100%;
    text-align: left;
    position: relative;
    cursor: zoom-in;
    display: block;
    overflow: hidden;
}

.image-button:hover img {
    transform: scale(1.025);
    filter: brightness(1.04);
}

.zoom-mark {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(6, 7, 11, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0.75;
    backdrop-filter: blur(8px);
    transition: opacity 0.22s ease, transform 0.22s var(--ease-out-expo);
}

.image-button:hover .zoom-mark {
    opacity: 1;
    transform: scale(1.08);
}

.feature-split-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-chips span {
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-pill);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

/* Tide Native Palette Previewer (Paper / Midnight / Grove) */
.tide-palette-box {
    margin-bottom: 6px;
}

.palette-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.palette-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    background: var(--bg-pill);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.palette-tabs button[aria-selected="true"] {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: var(--accent-pill-bg);
}

.swatch-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid rgba(128, 128, 128, 0.35);
}

.swatch-paper { background: #F5F1E8; }
.swatch-midnight { background: #20221F; }
.swatch-grove { background: #EDF2E9; }

.palette-preview-card {
    padding: 16px 18px;
    border-radius: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.tide-palette-box[data-tide-palette="paper"] .palette-preview-card {
    background: #F5F1E8;
    color: #262820;
    border-color: rgba(68, 85, 72, 0.2);
}

.tide-palette-box[data-tide-palette="midnight"] .palette-preview-card {
    background: #20221F;
    color: #EEEADF;
    border-color: rgba(214, 183, 122, 0.26);
}

.tide-palette-box[data-tide-palette="grove"] .palette-preview-card {
    background: #EDF2E9;
    color: #263D31;
    border-color: rgba(79, 113, 90, 0.22);
}

.palette-preview-line {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.palette-preview-sub {
    font-size: 12.5px;
    opacity: 0.78;
}

/* Privacy & Local-First Bento */
.privacy-bento {
    display: grid;
    grid-template-columns: 0.9fr 2.1fr;
    gap: 40px;
    align-items: center;
}

.privacy-copy h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 14px 0;
    white-space: pre-line;
}

.privacy-copy p {
    font-size: 15.5px;
    color: var(--text-secondary);
    margin: 0;
}

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.privacy-card {
    padding: 22px;
    background: var(--bg-subcard);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
}

.privacy-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.privacy-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Architecture & Capabilities Matrix */
.gestures-section {
    margin-bottom: 96px;
}

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

.gesture-card {
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gesture-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gesture-icon-pill {
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--accent-pill-bg);
    border: 1px solid var(--accent-pill-border);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.gesture-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.gesture-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.58;
}

/* Technical Accordion */
.details-section {
    margin-bottom: 96px;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-detail {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.feature-detail:hover {
    border-color: var(--border-strong);
}

.feature-detail[open] {
    border-color: var(--border-hover);
    background: var(--bg-card-open);
}

.feature-detail summary {
    padding: 20px 26px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-primary);
    user-select: none;
}

.feature-detail summary::-webkit-details-marker {
    display: none;
}

.detail-plus {
    width: 22px;
    height: 22px;
    position: relative;
    flex-shrink: 0;
}

.detail-plus::before,
.detail-plus::after {
    content: "";
    position: absolute;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease;
}

.detail-plus::before {
    top: 10px;
    left: 2px;
    right: 2px;
    height: 2px;
}

.detail-plus::after {
    top: 2px;
    bottom: 2px;
    left: 10px;
    width: 2px;
}

.feature-detail[open] .detail-plus::after {
    transform: rotate(90deg);
    opacity: 0;
}

.feature-detail ul {
    padding: 0 26px 22px;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-detail li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    padding-left: 20px;
    position: relative;
}

.feature-detail li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-indigo);
    font-size: 18px;
}

/* Install & Quickstart Section */
.download-section {
    padding: 92px 0;
    margin-bottom: 64px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 65% 60% at 50% 50%, var(--bg-download-glow) 0%, transparent 72%);
}

.download-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.72;
    mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, black 40%, transparent 100%);
}

.download-heading {
    text-align: center;
    margin-bottom: 42px;
}

.download-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    white-space: pre-line;
    text-wrap: balance;
}

.release-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.version-pill {
    padding: 4px 14px;
    border-radius: 9999px;
    background: var(--accent-pill-bg);
    border: 1px solid var(--accent-pill-border);
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 700;
}

.release-check {
    font-size: 13px;
    color: var(--text-muted);
}

.agent-install-card {
    max-width: 980px;
    margin: 0 auto 28px;
}

.agent-install-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.agent-install-head h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.agent-install-head p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 640px;
}

.prompt-box,
.cmd-box {
    margin: 0 0 16px 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-code);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-list);
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
}

.prompt-box {
    margin-bottom: 0;
    max-height: 210px;
    overflow-y: auto;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 980px;
    margin: 0 auto 36px;
}

.download-platform {
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

.os-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-pill);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.os-logo svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.download-platform h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

.download-platform > p:first-of-type {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin: 0 0 18px 0;
}

.download-link {
    width: 100%;
    margin-bottom: 14px;
}

.download-requirements {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}

.download-support {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.download-support a:hover {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 96px;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.faq:hover {
    border-color: var(--border-strong);
}

.faq[open] {
    border-color: var(--border-hover);
    background: var(--bg-card-open);
}

.faq summary {
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-primary);
}

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

.faq p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 44px 0 34px;
    background: var(--bg-footer);
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding-inline: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Lightbox Dialog */
.media-dialog {
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    background: var(--bg-dialog);
    color: #f5f7fb;
    max-width: min(92vw, 460px);
    max-height: 90vh;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.72);
    overflow: hidden;
    position: fixed;
    inset: 0;
    margin: auto;
}

.media-dialog::backdrop {
    background: var(--bg-backdrop);
    backdrop-filter: blur(8px);
}

.dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 18, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.dialog-body img {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    display: block;
}

.dialog-caption {
    margin: 0;
    padding: 14px 20px;
    font-size: 13.5px;
    color: #cbd5e1;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll Reveal */
.js-motion .reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.js-motion .reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 12px;
        text-align: center;
        min-height: auto;
    }

    .hero-copy {
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-inner nav {
        display: none;
    }

    .launcher-bento,
    .privacy-bento {
        grid-template-columns: 1fr;
    }

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

    .agent-install-head {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .section-wrap {
        padding-inline: 18px;
    }

    .site-header {
        padding-inline: 12px;
        top: 10px;
    }

    .nav-inner {
        padding: 5px 8px 5px 14px;
        min-height: 50px;
        gap: 8px;
    }

    .brand {
        font-size: 15px;
        gap: 7px;
    }

    .brand img {
        width: 24px;
        height: 24px;
    }

    .nav-actions {
        gap: 6px;
    }

    .theme-switcher {
        height: 34px;
    }

    .theme-indicator {
        width: 26px;
    }

    .theme-switcher button {
        width: 26px;
        height: 26px;
    }

    .language-toggle {
        height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .button-small {
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .github-link {
        display: none;
    }

    .announcement-pill {
        font-size: 11.5px;
        gap: 7px;
        padding: 5px 12px;
        max-width: 100%;
        text-align: center;
        white-space: normal;
        line-height: 1.4;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 15.5px;
        white-space: normal;
        max-width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .button {
        min-width: 0;
        width: 100%;
        max-width: 300px;
    }

    .hero-platforms {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }

    .stage-aura,
    .stage-orbit-ring {
        width: 290px;
        height: 290px;
    }

    #stage-preview {
        min-height: 380px;
    }

    .bento-col-6,
    .bento-col-12 {
        grid-column: span 12;
    }

    .bento-card {
        padding: 22px;
    }

    .privacy-grid,
    .gestures-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

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