/* ════════════════════════════════════════════════════════════
   Syzygia — Marketing site
   Palette: pitch-deck dark variant + brand gradient (purple→blue)
   ════════════════════════════════════════════════════════════ */

:root {
    /* Pitch-deck aligned palette */
    --bg: #0B0D10;
    --bg-raised: #0E1116;
    --surface: #131720;
    --surface-hover: #181D27;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.13);
    --text: #ECEBE4;
    --text-2: #A8AAB2;
    --text-3: #6E7480;

    /* Brand gradient (from pitch deck) */
    --brand-purple: #c8a2ff;
    --brand-blue: #2F6BFF;
    --brand-grad: linear-gradient(135deg, #c8a2ff 0%, #2F6BFF 100%);
    --glow: rgba(47, 107, 255, 0.18);
    --glow-purple: rgba(200, 162, 255, 0.22);

    /* State */
    --ok: #7ee3a3;
    --warn: #f2c14e;
    --bad: #ff7a85;

    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "ss01" 1, "cv11" 1;
    overflow-x: hidden;
    max-width: 100vw;
}

::selection { background: var(--brand-blue); color: white; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Loader ─── */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
    font-family: 'Geist', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s forwards;
}
.loader-logo .grad {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.loader-logo .io { color: var(--text-2); font-weight: 500; }
.loader-bar {
    width: 120px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: fadeUp 0.4s 0.4s forwards;
}
.loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--brand-grad);
    border-radius: 2px;
    animation: loadSlide 1s 0.5s ease-in-out forwards;
}
@keyframes loadSlide {
    0% { transform: translateX(-100%); width: 40%; }
    50% { width: 60%; }
    100% { transform: translateX(300%); width: 30%; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Background effects ─── */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 30%, transparent 90%);
}
.bg-glow {
    position: fixed;
    top: -280px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, var(--glow) 0%, var(--glow-purple) 35%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.bg-beam {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(15deg);
    width: 2px;
    height: 200vh;
    background: linear-gradient(180deg, transparent, rgba(200,162,255,0.10) 30%, rgba(47,107,255,0.05) 60%, transparent);
    pointer-events: none;
    z-index: 0;
    animation: beamDrift 12s ease-in-out infinite alternate;
}
.bg-beam:nth-child(2) {
    transform: translateX(-30%) rotate(-12deg);
    animation-delay: -4s;
    opacity: 0.6;
}
@keyframes beamDrift {
    0% { transform: translateX(-50%) rotate(15deg); }
    100% { transform: translateX(-40%) rotate(18deg); }
}

/* ─── Header ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11,13,16,0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-family: 'Geist', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.03em;
}
.logo .brand-name {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo .io { color: var(--text); font-weight: 500; }

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
nav a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 7px;
    transition: color 0.15s, background 0.15s;
}
nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 9px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    letter-spacing: -0.005em;
}
.btn-glow {
    background: var(--brand-grad);
    color: white;
    box-shadow: 0 0 0 1px rgba(47,107,255,0.3), 0 0 24px rgba(47,107,255,0.18);
}
.btn-glow:hover {
    box-shadow: 0 0 0 1px rgba(200,162,255,0.45), 0 0 32px rgba(47,107,255,0.30);
    transform: translateY(-1px);
    filter: brightness(1.05);
}
.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.03);
}
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }

/* ─── Hero ─── */
#hero {
    padding: 170px 0 90px;
    position: relative;
    z-index: 1;
}
.hero-inner { max-width: 720px; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--brand-purple);
    padding: 6px 16px 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(200,162,255,0.22);
    background: rgba(200,162,255,0.06);
    margin-bottom: 28px;
}
.hero-tag .pulse {
    width: 8px;
    height: 8px;
    background: var(--brand-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(47,107,255,0.22), 0 0 10px var(--brand-blue);
    animation: gPulse 2s ease-in-out infinite;
}
@keyframes gPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.98;
    margin-bottom: 28px;
    font-family: 'Geist', sans-serif;
}
.grad-text {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 16px;
}
.hero-desc strong { color: var(--text); font-weight: 600; }
.hero-sub {
    font-size: 0.98rem;
    color: var(--text-3);
    margin-bottom: 36px;
    font-family: var(--mono);
}
.hero-sub em { font-style: normal; color: var(--brand-purple); font-weight: 500; }

.hero-btns {
    display: flex;
    gap: 12px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}
.hero-metrics {
    display: flex;
    gap: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.hm-val {
    font-family: var(--mono);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}
.hm-lbl {
    font-size: 0.76rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
}

/* ─── Section base ─── */
section { padding: 90px 0; position: relative; z-index: 1; }
.eyebrow {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow .bar {
    width: 18px;
    height: 1px;
    background: var(--text-3);
}
.stitle {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 14px;
    font-family: 'Geist', sans-serif;
}
.sdesc {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ─── Pitch video ─── */
#pitch-video {
    padding: 70px 0 90px;
    border-top: 1px solid var(--border);
}
.vid-head {
    margin-bottom: 40px;
    max-width: 720px;
}
.vid-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-raised);
    box-shadow:
        0 0 0 1px rgba(200,162,255,0.06),
        0 30px 80px -20px rgba(47,107,255,0.18),
        0 10px 30px -10px rgba(0,0,0,0.5);
    aspect-ratio: 16 / 9;
    max-width: 1100px;
    margin: 0 auto;
}
.vid-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-purple), var(--brand-blue), transparent);
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}
.vid-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

/* ─── Agent animation section ─── */
#agent-anim {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(11,13,16,0.5);
}
.anim-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}
.anim-copy h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    font-family: 'Geist', sans-serif;
}
.anim-copy p {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 24px;
}
.anim-list {
    list-style: none;
    padding: 0;
}
.anim-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--text-2);
    padding: 8px 0;
}
.anim-list .ph {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--brand-purple);
    background: rgba(200,162,255,0.08);
    border: 1px solid rgba(200,162,255,0.18);
    padding: 4px 9px;
    border-radius: 6px;
    font-weight: 600;
}
.anim-viz {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.anim-viz::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-purple), var(--brand-blue), transparent);
    opacity: 0.5;
}
.anim-viz svg {
    width: 100%;
    height: 100%;
    max-height: 360px;
    display: block;
}

/* ─── Card base ─── */
.gcard {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.gcard:hover {
    border-color: rgba(200,162,255,0.18);
    box-shadow: 0 0 32px rgba(47,107,255,0.05);
}

/* ─── Services ─── */
#what-we-do { border-top: 1px solid var(--border); }
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.svc-card { padding: 26px 22px; }
.svc-ico {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(200,162,255,0.12), rgba(47,107,255,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.svc-ico svg {
    width: 18px;
    height: 18px;
    stroke: var(--brand-purple);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.svc-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.svc-card p {
    font-size: 0.92rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ─── Principles (Why Syzygia) ─── */
#why { border-top: 1px solid var(--border); }
.pri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.pri-card { padding: 26px 22px; }
.pri-idx {
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--brand-purple);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pri-idx::before {
    content: '';
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-purple), transparent);
}
.pri-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.pri-card p {
    font-size: 0.92rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ─── Process ─── */
#process { border-top: 1px solid var(--border); }
.proc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.proc-card { padding: 28px 24px; }
.proc-num {
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--brand-purple);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.proc-num::before {
    content: '';
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-blue), transparent);
}
.proc-card h3 {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.proc-card p {
    font-size: 0.92rem;
    color: var(--text-2);
    margin-bottom: 14px;
    line-height: 1.6;
}
.plist { list-style: none; padding: 0; }
.plist li {
    font-size: 0.88rem;
    color: var(--text-3);
    padding: 4px 0 4px 14px;
    position: relative;
}
.plist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-blue);
    box-shadow: 0 0 6px var(--brand-blue);
}

/* ─── Outcomes ─── */
#expect { border-top: 1px solid var(--border); }
.out-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.out-card { padding: 26px 22px; }
.out-hd {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-3);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.out-ot {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}
.out-card p {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.55;
}

/* ─── FAQ ─── */
#faq { border-top: 1px solid var(--border); }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.faq-card { padding: 24px; }
.faq-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.faq-card p {
    font-size: 0.92rem;
    color: var(--text-2);
    line-height: 1.65;
}

/* ─── CTA ─── */
#cta {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    position: relative;
}
#cta::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(47,107,255,0.07) 0%, rgba(200,162,255,0.03) 40%, transparent 70%);
    pointer-events: none;
}
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    position: relative;
}
.cta-left .sdesc { margin-bottom: 24px; }
.cta-checks {
    list-style: none;
    padding: 0;
}
.cta-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-2);
    padding: 8px 0;
}
.ck {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(47,107,255,0.12);
    border: 1px solid rgba(47,107,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ck svg {
    width: 11px;
    height: 11px;
    stroke: var(--brand-purple);
    fill: none;
    stroke-width: 3;
}

.form-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    background: var(--bg-raised);
    position: relative;
    overflow: hidden;
}
.form-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-purple), var(--brand-blue), transparent);
    opacity: 0.5;
}
.form-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.fg { margin-bottom: 14px; }
.fg label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-3);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    font-family: var(--mono);
    text-transform: uppercase;
}
.fg input,
.fg select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fg input::placeholder { color: var(--text-3); }
.fg select { color: var(--text-2); }
.fg select option { background: var(--bg); }
.fg input:focus,
.fg select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(47,107,255,0.15);
}
.form-card .btn-glow {
    width: 100%;
    justify-content: center;
    padding: 13px;
    margin-top: 8px;
}

/* ─── Footer ─── */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    position: relative;
    z-index: 1;
}
.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.foot-c {
    font-size: 0.82rem;
    color: var(--text-3);
}
.foot-c .mono {
    font-family: var(--mono);
    letter-spacing: 0.06em;
}
.foot-l { display: flex; gap: 20px; }
.foot-l a {
    font-size: 0.82rem;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.2s;
}
.foot-l a:hover { color: var(--text-2); }

/* ─── Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.show { opacity: 1; transform: translateY(0); }

.stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.stagger.show > *:nth-child(1) { transition-delay: 0ms; }
.stagger.show > *:nth-child(2) { transition-delay: 60ms; }
.stagger.show > *:nth-child(3) { transition-delay: 120ms; }
.stagger.show > *:nth-child(4) { transition-delay: 180ms; }
.stagger.show > *:nth-child(5) { transition-delay: 240ms; }
.stagger.show > *:nth-child(6) { transition-delay: 300ms; }
.stagger.show > * { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 960px) {
    .anim-grid { grid-template-columns: 1fr; gap: 32px; }
    .svc-grid, .proc-grid, .pri-grid { grid-template-columns: repeat(2, 1fr); }
    .out-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .faq-grid { grid-template-columns: 1fr; }
    .hero-metrics { gap: 32px; }
    nav a { padding: 7px 10px; font-size: 0.85rem; }
    #cta { padding: 80px 0; }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }

    /* Header — compact single row: logo + CTA only */
    header .container { padding: 0 16px; height: 54px; flex-direction: row; gap: 0; }
    nav ul { gap: 0; flex-wrap: nowrap; }
    nav ul li:not(:last-child) { display: none; }
    nav a { padding: 0; }
    nav .btn-glow { padding: 8px 14px; font-size: 0.82rem; }

    /* Sections */
    section { padding: 60px 0; }
    .stitle { font-size: clamp(1.7rem, 6.5vw, 2.2rem); line-height: 1.12; }
    .sdesc { font-size: 0.98rem; margin-bottom: 32px; }
    .eyebrow { font-size: 0.74rem; margin-bottom: 14px; }

    /* Hero */
    #hero { padding: 100px 0 60px; }
    #hero h1 { font-size: clamp(2rem, 8.5vw, 2.7rem); line-height: 1.06; margin-bottom: 22px; }
    .hero-tag { font-size: 0.72rem; letter-spacing: 0.08em; padding: 5px 12px 5px 9px; margin-bottom: 22px; }
    .hero-desc { font-size: 1rem; margin-bottom: 14px; }
    .hero-sub { font-size: 0.88rem; margin-bottom: 30px; }
    .hero-btns { gap: 10px; margin-bottom: 44px; }
    .hero-btns .btn { flex: 1 1 100%; }
    .hero-metrics { gap: 18px 24px; padding-top: 22px; }
    .hero-metrics > div { flex: 0 0 calc(50% - 12px); }
    .hm-val { font-size: 0.98rem; }

    /* Pitch video */
    #pitch-video { padding: 52px 0 56px; }
    .vid-head { margin-bottom: 24px; }
    .vid-frame { border-radius: 12px; }

    /* Agent animation */
    #agent-anim { padding: 48px 0; }
    .anim-grid { gap: 26px; }
    .anim-copy h2 { font-size: 1.45rem; }
    .anim-list li { font-size: 0.9rem; padding: 6px 0; gap: 12px; }
    .anim-viz { min-height: 260px; padding: 14px; border-radius: 12px; }

    /* Card grids */
    .svc-grid, .proc-grid, .pri-grid, .out-grid { grid-template-columns: 1fr; gap: 12px; }
    .svc-card, .pri-card, .out-card { padding: 22px 20px; }
    .proc-card { padding: 24px 20px; }
    .out-ot { font-size: 1.2rem; }

    /* FAQ */
    .faq-grid { gap: 12px; }
    .faq-card { padding: 20px; }

    /* CTA + form */
    #cta { padding: 60px 0 72px; }
    .cta-grid { gap: 32px; }
    .form-card { padding: 24px 20px; border-radius: 12px; }
    .form-card h3 { font-size: 1.08rem; margin-bottom: 18px; }
    .frow { grid-template-columns: 1fr; gap: 0; }

    /* Footer */
    .foot { flex-direction: column; gap: 14px; text-align: center; }
    .foot-l { flex-wrap: wrap; justify-content: center; gap: 14px; }

    /* Background decoration — calm the glows on small screens */
    .bg-glow { width: 600px; height: 400px; top: -180px; }
    .bg-beam { display: none; }
}

@media (max-width: 420px) {
    .container { padding: 0 14px; }
    #hero { padding: 92px 0 50px; }
    #hero h1 { font-size: 1.9rem; }
    .hero-tag { font-size: 0.68rem; letter-spacing: 0.06em; }
    .hero-desc { font-size: 0.96rem; }
    .hero-metrics > div { flex: 1 1 100%; }
    .anim-viz { min-height: 220px; }
    .stitle { font-size: 1.6rem; }
    .out-ot { font-size: 1.1rem; }
    .form-card { padding: 20px 16px; }
}
