/* =====================================================================
   RevAIved — landing styles
   Hand-rolled CSS with design tokens, glass morphism, scroll-driven scenes.
   No Tailwind, no build step.
   ===================================================================== */

/* --------------------------- Design tokens --------------------------- */
:root {
    --bg: #0A0E14;
    --bg-2: #0D1520;
    --bg-3: #0A1628;
    --surface: #111820;
    --surface-2: #141F2B;
    --surface-3: #1A2A3A;

    --accent: #00D4FF;
    --accent-2: #00A8E8;
    --accent-soft: rgba(0, 212, 255, 0.15);
    --accent-glow: rgba(0, 212, 255, 0.35);
    --accent-faint: rgba(0, 212, 255, 0.06);

    --text: #FFFFFF;
    --text-soft: rgba(255, 255, 255, 0.75);
    --text-mute: rgba(255, 255, 255, 0.5);
    --text-faint: rgba(255, 255, 255, 0.35);

    --glass-bg-1: rgba(255, 255, 255, 0.06);
    --glass-bg-2: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-strong: rgba(255, 255, 255, 0.15);

    --danger: #FF6B7A;
    --success: #34D399;

    --font-display: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

    --container-max: 1180px;
    --gutter: clamp(20px, 4vw, 40px);
}

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

html, body { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    /* Use a solid colour on the scrollable body and let the fixed
       .bg-atmosphere layer paint the gradient. Native body gradient with
       `background-attachment: fixed` forces a full-viewport repaint on
       every scroll frame on macOS Chrome, which kills FPS. */
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

::selection { background: var(--accent-soft); color: var(--text); }

/* --------------------------- Atmosphere (global background) --------------------------- */
.bg-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
}

/* Painted via radial-gradient with no `filter: blur` — the filter on a
   600px element forces an offscreen render every paint. radial-gradient
   is composited cheaply. Static rather than animated for the same reason. */
.atmosphere-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.65;
    /* Hint the compositor so the orb stays on its own layer. */
    will-change: transform;
    transform: translateZ(0);
}

.atmosphere-orb-1 {
    width: 700px;
    height: 700px;
    top: -250px;
    right: -200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18), transparent 65%);
}

.atmosphere-orb-2 {
    width: 800px;
    height: 800px;
    bottom: -300px;
    left: -250px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.14), transparent 65%);
}

.atmosphere-orb-3 {
    width: 600px;
    height: 600px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 65%);
}

.atmosphere-noise {
    /* Removed — full-viewport SVG noise with mix-blend-mode forces a
       continuous repaint on every scroll. The glass + radial gradients
       already give plenty of texture. */
    display: none;
}

/* --------------------------- Layout primitives --------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: clamp(80px, 12vw, 160px) 0;
    position: relative;
}

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(48px, 7vw, 80px);
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-faint);
    border: 1px solid var(--accent-soft);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Subtle sweeping shimmer inside the eyebrow chip */
.eyebrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(0, 212, 255, 0.25) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    animation: eyebrow-sweep 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes eyebrow-sweep {
    0% { transform: translateX(-100%); }
    40%, 100% { transform: translateX(140%); }
}

.h-display {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.h-section {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
}

.lede {
    color: var(--text-soft);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.55;
    margin-top: 18px;
}

.text-gradient {
    background: linear-gradient(120deg, #FFFFFF 0%, var(--accent) 40%, var(--accent-2) 60%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 8s linear infinite;
    display: inline-block;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* --------------------------- Buttons --------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms;
    will-change: transform;
    cursor: pointer;
    position: relative;
    isolation: isolate;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.45);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
    background: var(--glass-bg-2);
    border-color: var(--glass-border-strong);
    transform: translateY(-2px);
}

.btn-arrow { transition: transform 200ms var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* --------------------------- Nav --------------------------- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 16px 0;
    transition: padding 300ms var(--ease-out), background 300ms;
}

.site-nav.is-scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 20, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.site-nav__inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-nav__brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.site-nav__links {
    display: flex;
    gap: 32px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
}

.site-nav__links a {
    transition: color 200ms;
    position: relative;
    padding: 4px 2px;
}

.site-nav__links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: right 320ms var(--ease-out);
    border-radius: 999px;
}

.site-nav__links a:hover,
.site-nav__links a.is-active { color: var(--text); }

.site-nav__links a:hover::after,
.site-nav__links a.is-active::after { right: 0; }

.site-nav__links a.is-active {
    color: var(--accent);
}

/* Nav reveals/hides based on scroll direction */
.site-nav {
    transition: padding 300ms var(--ease-out), background 300ms, transform 400ms var(--ease-out);
}

.site-nav.is-hidden { transform: translateY(-110%); }

.site-nav__cta {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 12px;
}

@media (max-width: 760px) {
    .site-nav__links { display: none; }
}

/* --------------------------- Hero --------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    --hero-mx: 50%;
    --hero-my: 30%;
}

/* A cursor-following radial gradient over the hero — subtle live light. */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--hero-mx) var(--hero-my),
        rgba(0, 212, 255, 0.08),
        transparent 60%
    );
    pointer-events: none;
    transition: background 400ms var(--ease-out);
}

.hero__inner {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__eyebrow { margin-bottom: 28px; }
.js .hero__eyebrow { opacity: 0; transform: translateY(20px); }

.hero__title {
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
}
.js .hero__title {
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
}

.hero__title-line {
    display: inline;
}

.hero__lede {
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.55;
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto 36px;
}
.js .hero__lede { opacity: 0; transform: translateY(20px); }

.hero__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.js .hero__ctas { opacity: 0; transform: translateY(20px); }

.hero__trust {
    margin-top: 28px;
    font-size: 13px;
    color: var(--text-faint);
    letter-spacing: 0.04em;
}
.js .hero__trust { opacity: 0; }

.hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 8px;
}

.hero__chip::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* --------------------------- Glass card system --------------------------- */
.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    isolation: isolate;
    --spot-x: 50%;
    --spot-y: 50%;
    --spot-opacity: 0;
}

/* Make sure content sits above the spotlight pseudo-elements. */
.glass > * { position: relative; z-index: 1; }

/* Mouse-following spotlight glow inside each glass card (Vercel-style). */
.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        320px circle at var(--spot-x) var(--spot-y),
        rgba(0, 212, 255, 0.14),
        transparent 60%
    );
    opacity: var(--spot-opacity);
    transition: opacity 300ms var(--ease-out);
    pointer-events: none;
    z-index: 0;
}

/* A 1px glowing border drawn from inside, that lights up around the cursor. */
.glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        260px circle at var(--spot-x) var(--spot-y),
        rgba(0, 212, 255, 0.6),
        transparent 65%
    );
    opacity: var(--spot-opacity);
    transition: opacity 300ms var(--ease-out);
    pointer-events: none;
    z-index: 0;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.glass--lift {
    transition: transform 400ms var(--ease-out), border-color 300ms, box-shadow 300ms;
}

.glass--lift:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-soft);
}

/* --------------------------- How it works --------------------------- */
.how__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 36px);
    position: relative;
}

.how__step { padding: 32px 28px; text-align: left; }

.how__step-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 38px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}

.how__step h3 { font-size: 22px; margin-bottom: 8px; }

.how__step p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.55;
}

.how__line {
    position: absolute;
    top: 48%;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
    opacity: 0.6;
    z-index: -1;
}

@media (max-width: 760px) {
    .how__grid { grid-template-columns: 1fr; }
    .how__line { display: none; }
}

/* --------------------------- Personas (constellation) --------------------------- */
.personas { overflow: hidden; }

.constellation {
    position: relative;
    width: min(560px, 90vw);
    height: min(560px, 90vw);
    margin: 0 auto;
}

.constellation__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), var(--accent-soft) 50%, transparent 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.95; }
    50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

.constellation__orbit {
    position: absolute;
    inset: 0;
    animation: rotate-slow 80s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.constellation__node {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border-strong);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translate(-50%, -50%);
    animation: rotate-slow 80s linear infinite reverse;
    transition: transform 300ms var(--ease-out), border-color 200ms;
}

.constellation__node:hover {
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.constellation__node-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-soft);
    margin-top: 4px;
}

.constellation__node-icon { width: 24px; height: 24px; color: var(--accent); }

.constellation__node-1 { top: 8%; left: 50%; }
.constellation__node-2 { top: 50%; left: 92%; }
.constellation__node-3 { top: 92%; left: 50%; }
.constellation__node-4 { top: 50%; left: 8%; }

.constellation__line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
}

/* --------------------------- Features (bento grid) --------------------------- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 18px;
}

.bento__tile {
    grid-column: span 2;
    padding: 28px;
    overflow: hidden;
    position: relative;
    transition: transform 400ms var(--ease-out), border-color 200ms;
    will-change: transform;
}

.bento__tile--wide { grid-column: span 3; }
.bento__tile--tall { grid-row: span 2; }

.bento__tile h3 {
    font-size: 19px;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.bento__tile p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.5;
}

.bento__tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-faint);
    color: var(--accent);
    margin-bottom: 16px;
}

@media (max-width: 980px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__tile, .bento__tile--wide { grid-column: span 1; }
    .bento__tile--tall { grid-row: auto; }
}

/* --------------------------- Demo (chat mockup) --------------------------- */
.demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

@media (max-width: 980px) {
    .demo { grid-template-columns: 1fr; gap: 36px; }
}

.demo__text h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 16px;
}

.demo__text p {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 24px;
}

.phone-frame {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 9 / 19;
    border-radius: 38px;
    background: linear-gradient(180deg, #0E1620 0%, #0A1018 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 24px 16px 32px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    animation: phone-float 8s ease-in-out infinite;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
}

@keyframes phone-float {
    0%, 100% { transform: translateY(0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
    50% { transform: translateY(-12px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
}

/* Halo glow behind the phone */
.phone-frame::after {
    content: '';
    position: absolute;
    inset: -40px;
    z-index: -1;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25), transparent 60%);
    filter: blur(40px);
    border-radius: inherit;
    animation: tier-pulse 5s ease-in-out infinite;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 18px;
    border-radius: 999px;
    background: #000;
}

.chat-mock {
    padding-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    max-width: 80%;
    line-height: 1.4;
}

.bubble--persona {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 4px;
    color: var(--text);
}

.bubble--user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    border-bottom-right-radius: 4px;
}

/* --------------------------- Testimonials / pillars --------------------------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pillar { padding: 28px; text-align: left; }

.pillar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-faint);
    color: var(--accent);
    margin-bottom: 18px;
}

.pillar h3 { font-size: 18px; margin-bottom: 8px; }

.pillar p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-soft);
}

@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* --------------------------- Pricing --------------------------- */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.tier { padding: 32px; display: flex; flex-direction: column; }

.tier--featured {
    border-color: var(--accent-soft);
    box-shadow: 0 0 0 1px var(--accent-soft), 0 20px 60px rgba(0, 212, 255, 0.18);
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(255, 255, 255, 0.04));
}

/* Animated conic-gradient border around the featured pricing tier */
@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.tier--featured::before {
    /* Override the spotlight on featured — we want the rotating beam here. */
    background: conic-gradient(
        from var(--beam-angle),
        transparent 0deg,
        rgba(0, 212, 255, 0.55) 60deg,
        transparent 120deg,
        transparent 360deg
    );
    opacity: 0.9;
    animation: beam-rotate 6s linear infinite;
    inset: -1px;
    border-radius: 21px;
    z-index: -1;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

@keyframes beam-rotate {
    to { --beam-angle: 360deg; }
}

/* Soft pulsing glow behind the featured tier */
.tier--featured::after {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0, 212, 255, 0.4),
        transparent 70%
    );
    opacity: 0.5;
    filter: blur(20px);
    inset: -30px;
    border-radius: 30px;
    z-index: -2;
    animation: tier-pulse 4s ease-in-out infinite;
    -webkit-mask: none;
    mask: none;
    padding: 0;
}

@keyframes tier-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.04); }
}

.tier__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    margin-bottom: 14px;
    align-self: flex-start;
}

.tier__name {
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 4px;
}

.tier__tagline {
    font-size: 14px;
    color: var(--text-mute);
    margin-bottom: 24px;
}

.tier__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.tier__price strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 44px;
    letter-spacing: -0.03em;
}

.tier__price span { color: var(--text-mute); font-size: 14px; }

.tier__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.tier__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-soft);
    font-size: 14.5px;
}

.tier__features svg {
    flex-shrink: 0;
    margin-top: 4px;
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.tier .btn { width: 100%; }

@media (max-width: 980px) {
    .pricing { grid-template-columns: 1fr; }
    .tier--featured { transform: none; }
}

/* --------------------------- FAQ --------------------------- */
.faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item { padding: 0; overflow: hidden; }

.faq__item-summary {
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 16px;
    transition: background 200ms;
}

.faq__item-summary::-webkit-details-marker { display: none; }
.faq__item-summary:hover { background: rgba(255, 255, 255, 0.03); }

.faq__item-icon {
    width: 22px;
    height: 22px;
    position: relative;
    flex-shrink: 0;
}

.faq__item-icon::before,
.faq__item-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform 320ms var(--ease-out), background 200ms;
}

.faq__item-icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    margin-top: -1px;
}

.faq__item-icon::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: -1px;
}

.faq__item-icon { color: var(--text-mute); }

.faq__item-icon > svg { display: none; }

.faq__item[open] .faq__item-icon { color: var(--accent); }
.faq__item[open] .faq__item-icon::after { transform: rotate(90deg) scaleY(0); }
.faq__item[open] .faq__item-icon::before { transform: rotate(180deg); }

.faq__item-body {
    padding: 0 26px 24px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* --------------------------- Final CTA --------------------------- */
.final-cta {
    text-align: center;
    padding: clamp(60px, 8vw, 110px) clamp(24px, 5vw, 60px);
    margin: 0 auto;
    max-width: 900px;
}

.final-cta__title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

.final-cta__sub {
    color: var(--text-soft);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.55;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* --------------------------- Footer --------------------------- */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 64px 0 32px;
    margin-top: 80px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.site-footer__brand-mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
}

.site-footer__tagline {
    color: var(--text-mute);
    font-size: 13px;
    margin-top: 8px;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.site-footer__cols h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 14px;
}

.site-footer__cols a {
    display: block;
    width: fit-content;
    color: var(--text-soft);
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 200ms;
    position: relative;
}

.site-footer__cols a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 1px;
    background: var(--accent);
    transition: right 320ms var(--ease-out);
}

.site-footer__cols a:hover { color: var(--text); }
.site-footer__cols a:hover::after { right: 0; }

.site-footer__cols p {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 10px;
}

.site-footer__bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-faint);
    font-size: 12.5px;
}

@media (max-width: 760px) {
    .site-footer__inner { grid-template-columns: 1fr; gap: 40px; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* --------------------------- Legal pages --------------------------- */
.legal {
    padding: 140px 0 80px;
    max-width: 780px;
    margin: 0 auto;
}

.legal h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.legal__updated {
    color: var(--text-mute);
    font-size: 13px;
    margin-bottom: 36px;
}

.legal h2 {
    font-size: 22px;
    margin-top: 38px;
    margin-bottom: 12px;
    color: var(--text);
}

.legal p, .legal li {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal ul {
    margin: 0 0 20px;
    padding-left: 22px;
}

.legal a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 212, 255, 0.4);
    transition: text-decoration-color 200ms;
}

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

/* --------------------------- Cookie consent banner --------------------------- */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 16px;
    animation: cookie-rise 360ms var(--ease-out);
}

@keyframes cookie-rise {
    from { transform: translateY(120%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.cookie-consent__panel {
    max-width: 880px;
    margin: 0 auto;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(20, 27, 38, 0.96), rgba(13, 21, 32, 0.96));
    border: 1px solid var(--glass-border-strong);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--accent-soft);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 26px;
}

.cookie-consent__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px;
}

.cookie-consent__body {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.cookie-consent__body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 12px 22px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 180ms var(--ease-out), background 180ms, border-color 180ms, box-shadow 180ms;
    border: 1px solid transparent;
    /* Equal-prominence sizing: both buttons share the same dimensions. */
    min-width: 132px;
}

.cookie-consent__btn--reject {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: var(--glass-border-strong);
}

.cookie-consent__btn--reject:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cookie-consent__btn--accept {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.28);
}

.cookie-consent__btn--accept:hover {
    box-shadow: 0 12px 28px rgba(0, 212, 255, 0.45);
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .cookie-consent__panel {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .cookie-consent__btn {
        min-width: 0;
        width: 100%;
    }
}

.legal table {
    width: 100%;
    margin: 20px 0 24px;
    border-collapse: collapse;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.legal th, .legal td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px;
    line-height: 1.55;
    vertical-align: top;
}

.legal thead th {
    background: rgba(0, 212, 255, 0.06);
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.legal tbody tr:last-child td { border-bottom: 0; }

.legal td:first-child { font-weight: 500; color: var(--text); width: 34%; }
.legal td { color: var(--text-soft); }

/* --------------------------- Utilities --------------------------- */
.reveal { /* visible by default; gated below */ }
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
}

/* --------------------------- Reduced motion --------------------------- */
@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;
    }

    .js .hero__eyebrow,
    .js .hero__title,
    .js .hero__lede,
    .js .hero__ctas,
    .js .hero__trust { opacity: 1; transform: none; }
    .js .reveal { opacity: 1; transform: none; }
}
