/* ===========================================================================
   SONANT — Design Tokens
   =========================================================================== */

:root {
    --bg:             #0a0a0a;
    --bg-raised:      #111111;
    --bg-surface:     #1a1a1a;
    --bg-glass:       rgba(0,0,0,0.32);
    --brand:          #22c55e;
    --brand-dim:      #16a34a;
    --brand-glow:     rgba(34,197,94,0.15);
    --text:           #ffffff;
    --text-secondary: rgba(255,255,255,0.7);
    --text-tertiary:  rgba(255,255,255,0.4);
    --border:         rgba(255,255,255,0.08);
    --border-hover:   rgba(255,255,255,0.15);
    --highlight:      rgba(255,255,255,0.16);
    --shadow:         rgba(0,0,0,0.5);
    --max-width:      1120px;
    --gutter:         clamp(20px, 5vw, 64px);
    --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
    --radius-card:    16px;
    --radius-btn:     12px;
}

/* ===========================================================================
   RESET & BASE
   =========================================================================== */

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: Inter, 'SF Pro Display', -apple-system, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===========================================================================
   GRADIENT ORBS
   =========================================================================== */

.gradient-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(34,197,94,0.25), transparent 70%);
    top: -10%; left: -5%;
    animation: drift1 22s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(34,197,94,0.15), transparent 70%);
    top: 40%; right: -10%;
    animation: drift2 26s ease-in-out infinite alternate;
}

.orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(16,163,74,0.12), transparent 70%);
    bottom: -5%; left: 30%;
    animation: drift3 20s ease-in-out infinite alternate;
}

@keyframes drift1 { to { transform: translate(60px, 40px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-50px, -30px) scale(0.9); } }
@keyframes drift3 { to { transform: translate(40px, -50px) scale(1.05); } }

/* ===========================================================================
   NAV
   =========================================================================== */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 var(--gutter);
    background: rgba(10,10,10,0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ===========================================================================
   BADGES
   =========================================================================== */

.badge {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.badge-soon {
    background: rgba(34,197,94,0.12);
    color: var(--brand);
    border: 1px solid rgba(34,197,94,0.2);
}

.badge-hero {
    background: rgba(34,197,94,0.1);
    color: var(--brand);
    border: 1px solid rgba(34,197,94,0.2);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
}

.badge-live {
    background: rgba(34,197,94,0.12);
    color: var(--brand);
    border: 1px solid rgba(34,197,94,0.25);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px rgba(34,197,94,0.8);
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(0.85); }
}

/* ===========================================================================
   BUTTONS
   =========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--brand);
    color: #000;
}

.btn-primary:hover {
    background: var(--brand-dim);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(34,197,94,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

/* ===========================================================================
   SHARED SECTION
   =========================================================================== */

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px var(--gutter);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    border: 1px solid rgba(34,197,94,0.25);
    padding: 5px 16px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.muted { color: var(--text-tertiary); }

.section-sub {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    max-width: 560px;
    margin: 14px auto 0;
}

/* ===========================================================================
   REVEAL ANIMATION
   =========================================================================== */

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

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================================================
   HERO
   =========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px var(--gutter) 80px;
}

.hero-content {
    text-align: center;
    max-width: 720px;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 18px;
}

.hero-accent {
    background: linear-gradient(135deg, var(--brand), #4ade80);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    color: var(--text-secondary);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 32px;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* ===========================================================================
   HERO MOCKUP — Menu Bar + Pill
   =========================================================================== */

.hero-mockup {
    max-width: 560px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.mockup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 28px;
    background: rgba(30,30,30,0.95);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.bar-right {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.sonant-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px auto;
    width: 380px;
    max-width: calc(100% - 32px);
    height: 56px;
    padding: 0 16px;
    border-radius: 18px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 8px 32px rgba(0,0,0,0.4);
    margin-bottom: 24px;
}

.sonant-pill::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.14), rgba(255,255,255,0.03) 50%, transparent);
    border-radius: 18px 18px 0 0;
    pointer-events: none;
}

.pill-art {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.art-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460, #e94560);
    background-size: 200% 200%;
    animation: art-shift 6s ease-in-out infinite;
}

@keyframes art-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.pill-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 24px;
    flex-shrink: 0;
}

.viz-bar {
    width: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.6);
    animation: visualize 0.8s ease-in-out infinite alternate;
}

.viz-bar:nth-child(1) { height: 7px;  animation-delay: 0s; }
.viz-bar:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.viz-bar:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.viz-bar:nth-child(4) { height: 9px;  animation-delay: 0.45s; }

@keyframes visualize {
    from { transform: scaleY(1); }
    to   { transform: scaleY(0.3); }
}

.pill-controls {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.ctrl-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    border-radius: 7px;
    transition: all 0.2s;
}

.ctrl-play {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
}

.pill-title {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    min-width: 0;
}

.pill-artist {
    color: rgba(255,255,255,0.45);
    font-weight: 400;
}

.pill-progress {
    position: absolute;
    bottom: 3px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 1px;
}

.pill-progress-fill {
    height: 100%;
    width: 65%;
    background: linear-gradient(to right, rgba(255,255,255,0.35), rgba(255,255,255,0.65));
    border-radius: 1px;
    animation: progress-move 12s linear infinite;
}

@keyframes progress-move {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===========================================================================
   HOW IT WORKS
   =========================================================================== */

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

.step {
    padding: 32px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.step:hover {
    border-color: rgba(34,197,94,0.25);
    transform: translateY(-2px);
}

.step-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand);
    opacity: 0.4;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ===========================================================================
   FEATURES GRID
   =========================================================================== */

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

.feature-card {
    padding: 32px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.feature-card:hover {
    border-color: rgba(34,197,94,0.25);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 14px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: 12px;
    color: var(--brand);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ===========================================================================
   PILL SHOWCASE
   =========================================================================== */

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

.showcase-card {
    padding: 0;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.showcase-card:hover {
    border-color: rgba(34,197,94,0.2);
    transform: translateY(-2px);
}

.showcase-card h3 {
    font-size: 17px;
    font-weight: 700;
    padding: 0 28px;
    margin-bottom: 6px;
}

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

.showcase-demo {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(34,197,94,0.04) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

/* Marquee demo */
.demo-pill-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--bg-glass);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 220px;
    overflow: hidden;
}

.demo-art-mini {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: linear-gradient(135deg, #1a1a2e, #e94560);
    flex-shrink: 0;
}

.demo-title-scroll {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.demo-title-inner {
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    animation: marquee 6s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Controls demo */
.demo-btn-group {
    display: flex;
    gap: 8px;
}

.demo-ctrl {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s var(--ease-out);
}

.demo-ctrl-play {
    background: rgba(34,197,94,0.15);
    border-color: rgba(34,197,94,0.3);
    color: var(--brand);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.2); }
    50% { box-shadow: 0 0 16px 4px rgba(34,197,94,0.15); }
}

.demo-ctrl-hover {
    animation: btn-spring 3s var(--ease-out) infinite;
}

.demo-ctrl-hover:nth-child(1) { animation-delay: 0.5s; }
.demo-ctrl-hover:nth-child(3) { animation-delay: 1.5s; }

@keyframes btn-spring {
    0%, 100% { transform: scale(1); background: rgba(255,255,255,0.05); }
    10% { transform: scale(1.12); background: rgba(255,255,255,0.12); }
    20% { transform: scale(1); }
}

/* Progress demo */
.demo-progress-track {
    width: 200px;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    position: relative;
}

.demo-progress-fill {
    height: 100%;
    width: 55%;
    background: linear-gradient(to right, var(--brand-dim), var(--brand));
    border-radius: 3px;
    animation: demo-seek 4s ease-in-out infinite;
}

.demo-progress-thumb {
    position: absolute;
    top: 50%;
    left: 55%;
    width: 14px;
    height: 14px;
    background: var(--brand);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(34,197,94,0.4);
    animation: demo-seek-thumb 4s ease-in-out infinite;
}

@keyframes demo-seek {
    0%, 100% { width: 35%; }
    50% { width: 75%; }
}

@keyframes demo-seek-thumb {
    0%, 100% { left: 35%; }
    50% { left: 75%; }
}

/* Visualizer demo */
.demo-viz-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}

.demo-viz-bar {
    width: 8px;
    border-radius: 4px;
    background: var(--brand);
    animation: demo-viz 0.7s ease-in-out infinite alternate;
}

.demo-viz-bar:nth-child(1) { height: 16px; animation-delay: 0s; }
.demo-viz-bar:nth-child(2) { height: 40px; animation-delay: 0.12s; }
.demo-viz-bar:nth-child(3) { height: 28px; animation-delay: 0.24s; }
.demo-viz-bar:nth-child(4) { height: 20px; animation-delay: 0.36s; }

@keyframes demo-viz {
    from { transform: scaleY(1); opacity: 0.9; }
    to   { transform: scaleY(0.25); opacity: 0.5; }
}

/* ===========================================================================
   UTILITIES
   =========================================================================== */

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

.util-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.util-card:hover {
    border-color: rgba(34,197,94,0.2);
    transform: translateY(-2px);
}

.util-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.12);
    border-radius: 14px;
}

.util-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.shortcut-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.shortcut-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shortcut-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

kbd {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ===========================================================================
   REQUIREMENTS PILLS
   =========================================================================== */

.req-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
}

.req-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 14px;
    flex: 1 1 180px;
    max-width: 220px;
    transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.req-pill:hover {
    border-color: rgba(34,197,94,0.3);
    background: var(--bg-surface);
}

.req-pill-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.req-pill-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.req-pill-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.req-pill-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* ===========================================================================
   NEWSLETTER / WAITLIST
   =========================================================================== */

.waitlist-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 56px 48px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(34,197,94,0.06), transparent 50%),
        var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 24px;
    text-align: center;
}

.waitlist-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 14px 0;
}

.waitlist-sub {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    max-width: 460px;
    margin: 0 auto 28px;
}

.waitlist-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.honey { position: absolute; left: -9999px; opacity: 0; }

.waitlist-input {
    flex: 1 1 220px;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 15px;
    font-family: inherit;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

.waitlist-input::placeholder { color: var(--text-tertiary); }

.btn-submit {
    flex-shrink: 0;
}

.waitlist-form .cf-turnstile {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    min-height: 65px;
    margin-top: 4px;
}

.waitlist-msg {
    margin-top: 14px;
    font-size: 14px;
    min-height: 20px;
}

.waitlist-msg.success { color: var(--brand); }
.waitlist-msg.error   { color: #ef4444; }

.waitlist-consent {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-tertiary);
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-consent a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.18);
    text-underline-offset: 2px;
    transition: color 0.2s var(--ease-out), text-decoration-color 0.2s var(--ease-out);
}

.waitlist-consent a:hover {
    color: var(--text);
    text-decoration-color: var(--brand);
}

/* ===========================================================================
   FAQ
   =========================================================================== */

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

.faq-item {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: rgba(34,197,94,0.2);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: color 0.2s;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--text-tertiary);
    transition: transform 0.3s var(--ease-out), color 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--brand);
}

.faq-item summary:hover { color: var(--brand); }

.faq-item p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================================================================
   FOOTER
   =========================================================================== */

.footer {
    padding: 60px var(--gutter) 48px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
}

.footer-sub {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.tb-brand {
    background: linear-gradient(120deg, var(--brand), #4ade80);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s var(--ease-out);
}

a.tb-brand:hover { opacity: 0.85; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer-swift {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.swift-logo {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.footer-studio {
    max-width: var(--max-width);
    margin: 44px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none;
    opacity: 0.55;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.footer-studio:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.footer-studio-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-studio-logo {
    height: 28px;
    width: auto;
    opacity: 0.85;
}

/* ===========================================================================
   LEGAL / PRIVACY
   =========================================================================== */

.legal {
    max-width: 760px;
}

.legal .section-header {
    margin-bottom: 50px;
}

.legal-prose {
    font-size: 15px;
    line-height: 1.72;
    color: var(--text-secondary);
}

.legal-lede {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.legal-lede em {
    font-style: italic;
    color: var(--text);
}

.legal-meta {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
    margin-bottom: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.legal-prose h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.005em;
    margin-top: 40px;
    margin-bottom: 14px;
}

.legal-prose p {
    margin-bottom: 16px;
}

.legal-prose p strong,
.legal-prose li strong {
    color: var(--text);
    font-weight: 600;
}

.legal-prose em {
    font-style: italic;
    color: var(--text);
}

.legal-prose a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.25);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s var(--ease-out);
}

.legal-prose a:hover {
    text-decoration-color: var(--brand);
}

.legal-prose ul {
    list-style: none;
    margin: 6px 0 18px;
    padding: 0;
}

.legal-prose ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.legal-prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.7;
}

.legal-prose code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--text);
}

/* ===========================================================================
   SCROLL-DRIVEN CINEMATIC ANIMATIONS
   =========================================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dim));
    z-index: 200;
    transform-origin: left;
    transform: scaleX(0);
    pointer-events: none;
    will-change: transform;
}

.section-header.reveal {
    transform: translateY(48px) scale(0.88);
    filter: blur(8px);
    opacity: 0;
    transition: opacity 1.1s var(--ease-out),
                transform 1.1s var(--ease-out),
                filter 1.1s var(--ease-out);
}
.section-header.reveal.visible {
    transform: translateY(0) scale(1);
    filter: blur(0);
    opacity: 1;
}

.section-header.reveal .eyebrow {
    transform: translateX(-20px);
    opacity: 0;
    transition: opacity 0.6s var(--ease-out) 0.15s, transform 0.6s var(--ease-out) 0.15s;
}
.section-header.reveal.visible .eyebrow {
    transform: translateX(0);
    opacity: 1;
}

.section-header.reveal .section-title {
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.8s var(--ease-out) 0.25s, transform 0.8s var(--ease-out) 0.25s;
}
.section-header.reveal.visible .section-title {
    transform: translateY(0);
    opacity: 1;
}

.section-header.reveal .section-sub {
    transform: translateY(16px);
    opacity: 0;
    transition: opacity 0.8s var(--ease-out) 0.4s, transform 0.8s var(--ease-out) 0.4s;
}
.section-header.reveal.visible .section-sub {
    transform: translateY(0);
    opacity: 1;
}

.hero-content { will-change: translate; }
.hero-mockup { will-change: translate; }

#how .step.reveal {
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
#how .step.reveal:nth-child(1) { transform: translateX(-70px) rotate(-2deg); }
#how .step.reveal:nth-child(2) { transform: translateY(50px) scale(0.92); }
#how .step.reveal:nth-child(3) { transform: translateX(70px) rotate(2deg); }
#how .step.reveal.visible { transform: translateX(0) translateY(0) rotate(0deg) scale(1); }

#features .feature-card.reveal {
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
#features .feature-card.reveal:nth-child(odd) { transform: translateY(50px) scale(0.88) rotate(-2deg); }
#features .feature-card.reveal:nth-child(even) { transform: translateY(60px) scale(0.88) rotate(1.5deg); }
#features .feature-card.reveal.visible { transform: translateY(0) scale(1) rotate(0deg); }

#showcase .showcase-card.reveal {
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
#showcase .showcase-card.reveal:nth-child(odd) { transform: translateX(-50px) translateY(20px) rotate(-1.5deg); }
#showcase .showcase-card.reveal:nth-child(even) { transform: translateX(50px) translateY(20px) rotate(1.5deg); }
#showcase .showcase-card.reveal.visible { transform: translateX(0) translateY(0) rotate(0deg); }

#utilities .util-card.reveal {
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
#utilities .util-card.reveal:nth-child(odd) { transform: translateX(-50px) translateY(20px); }
#utilities .util-card.reveal:nth-child(even) { transform: translateX(50px) translateY(20px); }
#utilities .util-card.reveal.visible { transform: translateX(0) translateY(0); }

.req-pill.reveal {
    transform: translateY(30px) scale(0.7);
    transition: opacity 0.7s var(--ease-out),
                transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.req-pill.reveal.visible { transform: translateY(0) scale(1); }

.waitlist-card.reveal {
    transform: scale(0.88) translateY(30px);
    opacity: 0;
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.waitlist-card.reveal.visible { transform: scale(1) translateY(0); opacity: 1; }

.faq-item.reveal {
    transform: translateX(40px);
    opacity: 0;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.faq-item.reveal.visible { transform: translateX(0); opacity: 1; }

.nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress { display: none; }
    .section-header.reveal,
    #how .step.reveal, #how .step.reveal:nth-child(1),
    #how .step.reveal:nth-child(2), #how .step.reveal:nth-child(3),
    #features .feature-card.reveal,
    #features .feature-card.reveal:nth-child(odd),
    #features .feature-card.reveal:nth-child(even),
    #showcase .showcase-card.reveal,
    #showcase .showcase-card.reveal:nth-child(odd),
    #showcase .showcase-card.reveal:nth-child(even),
    #utilities .util-card.reveal,
    #utilities .util-card.reveal:nth-child(odd),
    #utilities .util-card.reveal:nth-child(even),
    .req-pill.reveal, .waitlist-card.reveal,
    .faq-item.reveal {
        opacity: 1 !important; transform: none !important;
        filter: none !important; transition: none !important;
    }
    .section-header.reveal .eyebrow,
    .section-header.reveal .section-title,
    .section-header.reveal .section-sub {
        opacity: 1 !important; transform: none !important; transition: none !important;
    }
}

/* ===========================================================================
   RESPONSIVE — TABLET
   =========================================================================== */

@media (max-width: 980px) {
    .steps,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-meta {
        align-items: center;
    }
}

/* ===========================================================================
   RESPONSIVE — MOBILE
   =========================================================================== */

@media (max-width: 720px) {
    .nav-links { display: none; }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .steps,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

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

    .util-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .waitlist-card {
        padding: 40px 24px;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-input {
        max-width: none;
    }

    .waitlist-form .cf-turnstile {
        align-self: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .req-pills {
        gap: 12px;
    }

    .req-pill {
        max-width: none;
        flex: 1 1 calc(50% - 12px);
    }

    .sonant-pill {
        width: 100%;
        gap: 8px;
    }
}
