:root {
    --bg: #0A0908;
    --bg-raised: #14110e;
    --bg-card: #181410;
    --bg-highlight: #2a2018;
    --spine: #c45e1c;
    --amber: #E7812E;
    --amber-hot: #f09a4e;
    --amber-glow: rgba(231, 129, 46, 0.38);
    --amber-soft: rgba(231, 129, 46, 0.16);
    --cream: #f3ece3;
    --text: #f3ece3;
    --text-muted: #b6a898;
    --text-dim: #7a6d60;
    --green: #8faf7a;
    --green-soft: rgba(143, 175, 122, 0.18);
    --wait-long: #E88941;
    --wait-mid: #d4a06a;
    --border: rgba(231, 129, 46, 0.18);
    --font-serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Palatino, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.25, 1, 0.5, 1);
    --hatch:
        repeating-linear-gradient(
            -32deg,
            transparent 0,
            transparent 5px,
            rgba(255, 220, 180, 0.028) 5px,
            rgba(255, 220, 180, 0.028) 6px
        );
    --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.oq-page {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
}

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ================================
   SCROLL PROGRESS
================================ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--spine), var(--amber-hot));
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px var(--amber-glow);
}

/* ================================
   NAV
================================ */
nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 1.25rem max(3rem, env(safe-area-inset-right)) 1.25rem max(3rem, env(safe-area-inset-left));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 9, 8, 0.48);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    border-bottom: 1px solid rgba(231, 129, 46, 0.08);
    transition: padding 0.3s var(--ease-out), background 0.3s;
}

nav.scrolled {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: rgba(10, 9, 8, 0.88);
    border-bottom-color: rgba(231, 129, 46, 0.16);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--amber);
    letter-spacing: 0.02em;
    text-decoration: none;
    text-shadow: 0 0 18px var(--amber-glow);
}

.nav-links { display: flex; gap: 2.5rem; }

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.2s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--amber);
    transition: width 0.3s var(--ease-spring);
}

nav a:hover { color: var(--cream); }
nav a:hover::after { width: 100%; }

.nav-num {
    color: var(--amber);
    margin-right: 0.3em;
    font-variant-numeric: tabular-nums;
}

/* ================================
   NOTEBOOK SPINE
================================ */
.oq-spine {
    width: 16px;
    flex-shrink: 0;
    background:
        radial-gradient(circle at 50% 10px, var(--bg) 3.1px, transparent 3.25px),
        linear-gradient(90deg, #d36a22 0%, var(--spine) 40%, #a84d14 100%);
    background-size: 16px 18px, 100% 100%;
    background-repeat: repeat-y, no-repeat;
    box-shadow:
        inset -2px 0 0 rgba(0, 0, 0, 0.28),
        inset 2px 0 0 rgba(255, 220, 180, 0.18);
}

.oq-spine--nav {
    width: 12px;
    background-size: 12px 16px, 100% 100%;
    border-radius: 14px 0 0 14px;
}

.oq-spine--tiny {
    width: 8px;
    height: 100%;
    background-size: 8px 12px, 100% 100%;
    border-radius: 8px 0 0 8px;
}

/* ================================
   HERO
================================ */
.oq-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 7rem max(3rem, env(safe-area-inset-right)) 8vh max(3rem, env(safe-area-inset-left));
    overflow: hidden;
}

.oq-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 45% at 72% 38%, rgba(231, 129, 46, 0.1) 0%, transparent 58%),
        radial-gradient(ellipse 40% 35% at 18% 70%, rgba(90, 48, 20, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, #120f0c 0%, var(--bg) 100%);
    will-change: transform;
}

.oq-page-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 28px;
    background:
        radial-gradient(circle at 50% 14px, var(--bg) 4.2px, transparent 4.4px),
        linear-gradient(90deg, #d36a22 0%, var(--spine) 45%, #9a4612 100%);
    background-size: 28px 26px, 100% 100%;
    background-repeat: repeat-y, no-repeat;
    opacity: 0.55;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
    pointer-events: none;
}

.oq-warm-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 30%, rgba(231, 129, 46, 0.07) 0%, transparent 62%);
    pointer-events: none;
}

.oq-hatch-wash {
    position: absolute;
    inset: 0;
    background: var(--hatch);
    opacity: 0.55;
    pointer-events: none;
}

.oq-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 65% at 55% 40%, transparent 28%, rgba(10, 9, 8, 0.55) 100%),
        linear-gradient(180deg, transparent 60%, var(--bg) 100%);
    pointer-events: none;
}

.oq-hero-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 3.5rem 4rem;
    align-items: center;
}

.oq-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.oq-mark {
    width: 38px;
    height: 48px;
    color: var(--amber);
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px var(--amber-glow));
}

.oq-mark--sm {
    width: 18px;
    height: 24px;
    color: var(--amber);
}

.oq-wordmark {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(3.2rem, 9vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--cream);
    font-optical-sizing: auto;
}

.oq-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.6vw, 1.55rem);
    font-weight: 500;
    color: var(--text-muted);
    max-width: 22ch;
    line-height: 1.35;
    font-style: italic;
}

.oq-kicker {
    margin-top: 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
}

.oq-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.1rem;
    align-items: center;
}

.btn-store,
.btn-support {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.7rem 1.45rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

.btn-store {
    background: var(--amber);
    color: #1a120c;
    border: 1px solid transparent;
    box-shadow: 0 0 24px var(--amber-soft);
}

.btn-store:hover {
    background: var(--amber-hot);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--amber-glow);
}

.btn-support {
    color: var(--cream);
    border: 1px solid rgba(243, 236, 227, 0.22);
    background: rgba(24, 20, 16, 0.65);
    backdrop-filter: blur(10px);
}

.btn-support:hover {
    border-color: var(--amber);
    background: var(--amber-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(231, 129, 46, 0.16);
}

.btn-support .arrow {
    display: inline-block;
    transition: transform 0.3s var(--ease-spring);
}

.btn-support:hover .arrow { transform: translateY(3px); }

/* ================================
   PHONE MOCKUP
================================ */
.oq-hero-device {
    justify-self: end;
    perspective: 900px;
    will-change: transform;
}

.oq-phone {
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 9 / 19.2;
    border-radius: 42px;
    padding: 10px;
    background: linear-gradient(160deg, #2a2420, #14110e 40%, #0c0b0a);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 220, 180, 0.08),
        0 0 60px rgba(231, 129, 46, 0.12);
    transform: rotateX(4deg) rotateY(-8deg);
    animation: phone-float 7s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% { transform: rotateX(4deg) rotateY(-8deg) translateY(0); }
    50% { transform: rotateX(5deg) rotateY(-6deg) translateY(-10px); }
}

.oq-island {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 86px;
    height: 22px;
    transform: translateX(-50%);
    background: #050403;
    border-radius: 12px;
    z-index: 4;
}

.oq-app {
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    background: var(--bg-raised);
    background-image: var(--hatch);
}

.oq-app-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 0.85rem 0.7rem;
    position: relative;
}

.oq-app-head {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.oq-app-titles { flex: 1; min-width: 0; }

.oq-app-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--cream);
}

.oq-app-meta {
    margin-top: 0.15rem;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.oq-sun {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.oq-plan {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 0;
}

.oq-slot--next { position: relative; }

.oq-slot-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.3rem;
}

.oq-ride,
.oq-choice {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
}

.oq-ride-name {
    flex: 1;
    min-width: 0;
    font-size: 0.72rem;
    font-weight: 650;
    color: var(--cream);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.oq-hint {
    font-size: 0.58rem;
    line-height: 1.4;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
}

.oq-choices {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
}

.oq-choice {
    position: relative;
    padding: 0.28rem 0.4rem 0.28rem 0.35rem;
    border-radius: 10px;
    transition: background 0.45s var(--ease-out), box-shadow 0.45s;
}

.oq-choice.is-pinned {
    background: linear-gradient(90deg, rgba(231, 129, 46, 0.16), rgba(90, 50, 22, 0.35));
    box-shadow: inset 0 0 0 1px rgba(231, 129, 46, 0.22);
}

.oq-choice.is-tapping {
    background: rgba(231, 129, 46, 0.1);
}

.oq-pct {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    min-width: 2.1em;
    text-align: right;
}

.oq-unpin {
    font-size: 0.85rem;
    line-height: 1;
    color: var(--amber);
    margin-left: 0.1rem;
}

.oq-choice:not(.is-pinned) .oq-unpin { display: none; }

.oq-rule {
    height: 1px;
    background-image: radial-gradient(circle, rgba(182, 168, 152, 0.45) 0.9px, transparent 1.1px);
    background-size: 7px 1px;
    background-repeat: repeat-x;
    transform-origin: left;
    animation: rule-draw 1.6s var(--ease-out) both;
}

@keyframes rule-draw {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

.wait-pill {
    flex-shrink: 0;
    padding: 0.12rem 0.48rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    background: rgba(231, 129, 46, 0.14);
    color: var(--wait-long);
    border: 1px solid rgba(231, 129, 46, 0.22);
}

.wait--short {
    background: var(--green-soft);
    color: var(--green);
    border-color: rgba(143, 175, 122, 0.28);
}

.wait--mid {
    background: rgba(212, 160, 106, 0.14);
    color: var(--wait-mid);
    border-color: rgba(212, 160, 106, 0.28);
}

.wait--long {
    animation: pill-pulse 3.4s ease-in-out infinite;
}

@keyframes pill-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 129, 46, 0); }
    50% { box-shadow: 0 0 10px rgba(231, 129, 46, 0.35); }
}

.oq-tap {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--amber);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.4);
    z-index: 3;
}

.oq-tap.go {
    animation: tap-ripple 0.7s var(--ease-out);
}

@keyframes tap-ripple {
    0% { opacity: 0.9; transform: scale(0.35); }
    100% { opacity: 0; transform: scale(2.2); }
}

.oq-tabbar {
    display: flex;
    margin-top: auto;
    background: rgba(12, 10, 8, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(231, 129, 46, 0.16);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.oq-tabs {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0.2rem;
    gap: 0.15rem;
}

.oq-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    padding: 0.35rem 0.2rem;
    font-size: 0.52rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    border-radius: 12px;
}

.oq-tab svg {
    width: 15px;
    height: 15px;
}

.oq-tab.is-active {
    color: var(--amber);
    background: rgba(231, 129, 46, 0.12);
    box-shadow:
        inset 0 0 0 1px rgba(231, 129, 46, 0.45),
        0 0 16px rgba(231, 129, 46, 0.22);
    animation: tab-glow 3.2s ease-in-out infinite;
}

@keyframes tab-glow {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(231, 129, 46, 0.4), 0 0 12px rgba(231, 129, 46, 0.18); }
    50% { box-shadow: inset 0 0 0 1px rgba(231, 129, 46, 0.7), 0 0 22px rgba(231, 129, 46, 0.4); }
}

/* ================================
   SECTIONS
================================ */
.oq-main {
    position: relative;
    z-index: 2;
    background: var(--bg);
    padding-bottom: 2rem;
}

.oq-section {
    padding: 1.5rem max(3rem, env(safe-area-inset-right)) 1.5rem max(3rem, env(safe-area-inset-left));
}

.oq-section--sparse { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.oq-section--support { padding-top: 1.5rem; padding-bottom: 2rem; }

.oq-card {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    background-image: var(--hatch);
    border: 1px solid rgba(231, 129, 46, 0.12);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 220, 180, 0.04);
}

.oq-card-body {
    flex: 1;
    min-width: 0;
    padding: 2.6rem 2.4rem;
}

.oq-section-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
    gap: 2.5rem 3.5rem;
    align-items: center;
}

.oq-section-inner { max-width: 560px; }

.mono-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.85rem;
    display: block;
}

.oq-section h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--cream);
    font-optical-sizing: auto;
}

.oq-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 52ch;
}

.oq-section p + p { margin-top: 0.9rem; }

.oq-req-list {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    max-width: 440px;
}

.oq-req-list li {
    display: grid;
    grid-template-columns: 6.8rem 1fr;
    gap: 1rem;
    align-items: baseline;
    padding: 0.9rem 0;
    border-top: 1px dotted rgba(231, 129, 46, 0.28);
}

.oq-req-list li:last-child {
    border-bottom: 1px dotted rgba(231, 129, 46, 0.28);
}

.oq-req-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
}

.oq-req-value {
    font-size: 1.02rem;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.oq-email {
    display: inline-block;
    margin-top: 1.75rem;
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    color: var(--amber-hot);
    text-decoration: none;
    letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(231, 129, 46, 0.4);
    padding-bottom: 0.12rem;
    transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}

.oq-email:hover {
    color: #ffb56a;
    border-bottom-color: var(--amber-hot);
    text-shadow: 0 0 22px var(--amber-glow);
}

.oq-email-hint {
    margin-top: 1.15rem !important;
    font-size: 0.9rem !important;
    color: var(--text-dim) !important;
    max-width: 42ch;
}

/* ================================
   SECTION VISUALS
================================ */
.oq-viz {
    justify-self: end;
    width: 100%;
}

.viz-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 280px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 18px;
    background:
        var(--hatch),
        linear-gradient(180deg, #1a1612 0%, #100e0c 100%);
    border: 1px solid rgba(231, 129, 46, 0.12);
}

/* —— Plan rewrite —— */
.viz-plan {
    padding: 1.15rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.viz-plan-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
}

.viz-plan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--cream);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.6s var(--ease-spring), background 0.45s, box-shadow 0.45s;
}

.viz-plan-row span {
    font-size: 0.62rem;
    color: var(--wait-long);
}

.viz-plan-row span.wait--short { color: var(--green); }

.viz-plan-row.is-pinned {
    background: linear-gradient(90deg, rgba(231, 129, 46, 0.22), rgba(90, 50, 22, 0.3));
    box-shadow: inset 0 0 0 1px rgba(231, 129, 46, 0.28);
}

.viz-plan-stack {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
}

.viz-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 12px var(--amber-glow);
    opacity: 0;
    pointer-events: none;
}

.viz-pin.go {
    animation: viz-pin-drop 0.85s var(--ease-spring);
}

@keyframes viz-pin-drop {
    0% { opacity: 0; transform: translate(-6px, -10px) scale(0.4); }
    35% { opacity: 1; transform: translate(0, 0) scale(1.15); }
    100% { opacity: 0; transform: translate(0, 4px) scale(0.6); }
}

.viz-plan-stack.is-swap .viz-plan-row:first-child {
    transform: translateY(42px);
}

.viz-plan-stack.is-swap .viz-plan-row:last-child {
    transform: translateY(-42px);
}

/* —— Devices —— */
.viz-devices {
    background:
        radial-gradient(ellipse 50% 40% at 50% 55%, rgba(231, 129, 46, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, #1a1612 0%, #100e0c 100%);
}

.viz-device {
    position: absolute;
    border: 1.5px solid rgba(231, 129, 46, 0.35);
    background: rgba(12, 10, 8, 0.75);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
}

.viz-device--pad {
    width: 46%;
    height: 38%;
    left: 28%;
    top: 18%;
    border-radius: 10px;
    animation: device-float 6s ease-in-out infinite;
}

.viz-device--phone {
    width: 22%;
    height: 42%;
    left: 16%;
    bottom: 16%;
    border-radius: 8px;
    z-index: 2;
    animation: device-float 5.2s ease-in-out 0.4s infinite;
}

.viz-device--vision {
    width: 48%;
    height: 30%;
    right: 10%;
    bottom: 18%;
    border-radius: 16px;
    background: rgba(24, 18, 14, 0.45);
    backdrop-filter: blur(8px);
    border-color: rgba(231, 129, 46, 0.5);
    animation: device-float 7s ease-in-out 0.8s infinite;
}

.viz-vision-glow {
    position: absolute;
    inset: 18%;
    border-radius: 10px;
    background: radial-gradient(circle, rgba(231, 129, 46, 0.28), transparent 70%);
    animation: vision-pulse 3.6s ease-in-out infinite;
}

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

@keyframes vision-pulse {
    0%, 100% { opacity: 0.55; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* —— Support —— */
.viz-support-msg {
    position: absolute;
    width: 54%;
    border-radius: 14px;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    background-image: var(--hatch);
}

.viz-support-msg span {
    display: block;
    height: 5px;
    border-radius: 3px;
}

.viz-support-msg--in {
    left: 12%;
    top: 18%;
    background-color: rgba(42, 32, 24, 0.9);
    border: 1px solid rgba(231, 129, 46, 0.28);
    animation: viz-support-in 4.2s ease-in-out infinite;
}

.viz-support-msg--in span { background: rgba(231, 129, 46, 0.55); }
.viz-support-msg--in span:nth-child(1) { width: 78%; }
.viz-support-msg--in span:nth-child(2) { width: 92%; }
.viz-support-msg--in span:nth-child(3) { width: 54%; }

.viz-support-msg--out {
    right: 12%;
    bottom: 22%;
    background-color: rgba(231, 129, 46, 0.12);
    border: 1px solid rgba(231, 129, 46, 0.45);
    animation: viz-support-out 4.2s ease-in-out infinite;
}

.viz-support-msg--out span {
    background: rgba(243, 236, 227, 0.55);
    margin-left: auto;
}
.viz-support-msg--out span:nth-child(1) { width: 70%; }
.viz-support-msg--out span:nth-child(2) { width: 48%; }

.viz-support-check {
    position: absolute;
    right: 18%;
    bottom: 12%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--amber);
    background: rgba(231, 129, 46, 0.15);
    box-shadow: 0 0 14px var(--amber-glow);
    opacity: 0;
    animation: viz-support-check 4.2s ease-in-out infinite;
}

.viz-support-check::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 3px;
    width: 6px;
    height: 10px;
    border-right: 2px solid var(--amber);
    border-bottom: 2px solid var(--amber);
    transform: rotate(40deg);
}

@keyframes viz-support-in {
    0%, 8% { opacity: 0; transform: translateY(12px); }
    18%, 72% { opacity: 1; transform: translateY(0); }
    88%, 100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes viz-support-out {
    0%, 28% { opacity: 0; transform: translateY(14px); }
    40%, 78% { opacity: 1; transform: translateY(0); }
    92%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes viz-support-check {
    0%, 48% { opacity: 0; transform: scale(0.6); }
    58%, 82% { opacity: 1; transform: scale(1); }
    95%, 100% { opacity: 0; transform: scale(0.85); }
}

/* —— Privacy: data stays on device —— */
.viz-privacy-device {
    position: absolute;
    left: 18%;
    top: 22%;
    width: 44%;
    height: 56%;
    border-radius: 14px;
    border: 1.5px solid rgba(231, 129, 46, 0.4);
    background: rgba(12, 10, 8, 0.92);
    display: flex;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(231, 129, 46, 0.1);
}

.viz-privacy-lock {
    position: absolute;
    left: 58%;
    top: 52%;
    width: 16px;
    height: 13px;
    transform: translate(-50%, -50%);
    border-radius: 3px;
    border: 2px solid var(--amber);
    background: rgba(231, 129, 46, 0.12);
}

.viz-privacy-lock::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 9px;
    height: 8px;
    transform: translateX(-50%);
    border: 2px solid var(--amber);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.viz-privacy-chip {
    position: absolute;
    left: 28%;
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(231, 129, 46, 0.18);
    border: 1px solid rgba(231, 129, 46, 0.3);
}

.viz-privacy-chip--a {
    top: 22%;
    animation: chip-stay 3.8s ease-in-out infinite;
}

.viz-privacy-chip--b {
    top: 68%;
    animation: chip-stay 3.8s ease-in-out 0.6s infinite;
}

@keyframes chip-stay {
    0%, 100% { transform: translateX(0); }
    40% { transform: translateX(6px); }
    55% { transform: translateX(6px); }
    70% { transform: translateX(0); }
}

.viz-privacy-cloud {
    position: absolute;
    right: 12%;
    top: 28%;
    width: 52px;
    height: 32px;
    border-radius: 20px;
    border: 1.5px dashed rgba(182, 168, 152, 0.35);
    opacity: 0.7;
    animation: cloud-block 3.8s ease-in-out infinite;
}

.viz-privacy-cloud::after {
    content: '×';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--text-dim);
    font-size: 1.1rem;
}

@keyframes cloud-block {
    0%, 100% { opacity: 0.35; transform: translateX(0); }
    45% { opacity: 0.8; transform: translateX(-8px); }
    60% { opacity: 0.15; transform: translateX(-8px) scale(0.9); }
}

/* ================================
   FOOTER
================================ */
.oq-footer {
    border-top: 1px solid rgba(231, 129, 46, 0.1);
    padding: 1.75rem max(3rem, env(safe-area-inset-right)) 1.75rem max(3rem, env(safe-area-inset-left));
    background: #070605;
}

.oq-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.oq-footer-brand,
.oq-footer-link,
.oq-footer-email {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--text-dim);
    transition: color 0.2s;
}

.oq-footer-brand:hover,
.oq-footer-link:hover { color: var(--text-muted); }

.oq-footer-email { color: var(--text-muted); }
.oq-footer-email:hover { color: var(--amber); }

/* ================================
   REVEAL
================================ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.9s var(--ease-out),
        transform 0.9s var(--ease-out);
    transition-delay: calc(var(--delay, 0) * 1ms);
}

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

.oq-wordmark.reveal,
.oq-brand.reveal {
    transform: translateY(24px) translateX(-6px);
}

.oq-wordmark.reveal.visible,
.oq-brand.reveal.visible {
    transform: translateY(0) translateX(0);
}

/* ================================
   RESPONSIVE — iPhone / iPad / spatial
================================ */
@media (max-width: 900px) {
    .oq-hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        justify-items: center;
        text-align: left;
    }

    .oq-hero-copy { width: 100%; max-width: 640px; }
    .oq-hero-device { justify-self: center; }

    .oq-phone {
        transform: none;
        animation: phone-float-flat 7s ease-in-out infinite;
    }

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

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    nav.scrolled { padding: 0.85rem 1.25rem; }
    .nav-logo { font-size: 1.4rem; }
    .nav-links { gap: 1.1rem; flex-wrap: wrap; }
    nav a { font-size: 0.7rem; }

    .oq-hero {
        padding: 6.5rem 1.25rem 8vh;
        min-height: 100svh;
        align-items: flex-start;
    }

    .oq-page-spine { width: 14px; opacity: 0.4; }

    .oq-section,
    .oq-section--sparse,
    .oq-section--support {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .oq-card-body { padding: 1.6rem 1.25rem; }

    .oq-section-row {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .oq-viz { justify-self: start; }

    .viz-stage {
        margin-left: 0;
        max-width: 240px;
    }

    .oq-footer { padding: 1.5rem 1.25rem; }

    .oq-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
}

@media (min-width: 1024px) {
    .oq-phone { width: 340px; }
}

/* Coarse pointers (iPad, Vision Pro pinch): keep hit targets generous */
@media (pointer: coarse) {
    .btn-store,
    .btn-support {
        min-height: 48px;
        padding: 0.85rem 1.6rem;
    }

    nav a { padding: 0.35rem 0; }
}

@media (prefers-reduced-motion: reduce) {
    .oq-phone,
    .wait--long,
    .oq-tab.is-active,
    .oq-rule,
    .viz-plan-row,
    .viz-pin,
    .viz-device,
    .viz-vision-glow,
    .viz-support-msg,
    .viz-support-check,
    .viz-privacy-chip,
    .viz-privacy-cloud {
        animation: none;
    }

    .oq-phone { transform: none; }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
