/* =========================================================================
   Quanta - Marketing Site
   Light theme aligned to portal.quantainnovation.ai
   ========================================================================= */

:root {
    /* Surface - light theme, portal-aligned */
    --bg-0: #ffffff;            /* body background */
    --bg-1: #f8fafc;            /* subtle off-white */
    --bg-2: #f1f5f9;            /* card / panel */
    --bg-3: #e2e8f0;            /* divider / inset */
    --surface-elevated: #ffffff;
    --surface-card: #ffffff;
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);

    /* Text - dark on light */
    --text-1: #0f172a;          /* headings (portal navy) */
    --text-2: #334155;          /* body */
    --text-3: #64748b;          /* muted */
    --text-4: #94a3b8;          /* faint */

    /* Brand - Quanta portal sky-blue palette */
    --accent: #0ea5e9;          /* primary (sky-500) */
    --accent-2: #38bdf8;        /* primary-light (sky-400) */
    --accent-3: #0284c7;        /* primary-dark (sky-600) */
    --accent-glow: rgba(14, 165, 233, 0.30);
    --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
    --gradient-text: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
    --gradient-border: linear-gradient(135deg, rgba(56,189,248,0.5), rgba(2,132,199,0.5));

    /* Navy zone (header / footer) - dark surfaces on a light page */
    --navy-bg: #0f172a;
    --navy-bg-2: #1e293b;
    --navy-text: #f1f5f9;
    --navy-text-muted: #94a3b8;
    --navy-border: rgba(255, 255, 255, 0.08);

    /* Type */
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Spacing & radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.18), 0 4px 12px -6px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 10px 36px -20px var(--accent-glow);

    --container: 1180px;
    --header-h: 70px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg-0);
    color: var(--text-2);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

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

/* ---------- Typography scale ---------- */
h1, h2, h3, h4 {
    color: var(--text-1);
    line-height: 1.12;
    margin: 0 0 0.5em;
    text-wrap: balance;
}
h1 {
    font-size: clamp(2.5rem, 5.4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}
h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 650;
    letter-spacing: -0.028em;
}

::selection {
    background: rgba(14, 165, 233, 0.22);
    color: var(--text-1);
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
h3 {
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}
h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-3); }
.page-glow {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0;
    /* Soft brand-blue bleed from the left and right edges, feathering into the
       white page well before it reaches the centred content. The corner glows
       sit on top for a touch of depth. */
    background:
        radial-gradient(ellipse 60% 40% at 15% 0%, rgba(2,132,199,0.06), transparent 60%),
        radial-gradient(ellipse 50% 35% at 85% 10%, rgba(2,132,199,0.05), transparent 60%),
        linear-gradient(90deg, rgba(12,74,110,0.28) 0%, rgba(2,132,199,0.10) 9%, transparent 24%),
        linear-gradient(270deg, rgba(12,74,110,0.28) 0%, rgba(2,132,199,0.10) 9%, transparent 24%);
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container.narrow { max-width: 880px; }
.container.wide { max-width: 1320px; }

/* ---------- Header (navy on light page, matches portal nav) ---------- */
.site-header {
    position: sticky;
    top: 0; z-index: 50;
    background: var(--navy-bg);
    border-bottom: 1px solid var(--navy-border);
    transition: box-shadow .2s ease;
}
.site-header.scrolled {
    box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.25);
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h);
}
.brand {
    display: flex; align-items: center; gap: 10px;
    color: var(--navy-text); font-weight: 600;
}
.brand:hover { color: var(--navy-text); }
.brand-logo { width: 32px; height: 32px; }
.brand-wordmark { font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-wordmark-light { color: var(--navy-text-muted); font-weight: 400; }

.primary-nav .nav-links {
    display: flex; align-items: center; gap: 6px;
    list-style: none; margin: 0; padding: 0;
}
.nav-links li a:not(.btn) {
    color: rgba(241, 245, 249, 0.85);
    font-size: 0.92rem; font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color .15s ease, background .15s ease;
}
.nav-links li a:not(.btn):hover { color: var(--navy-text); background: rgba(255,255,255,0.06); }
.nav-links li a.active { color: var(--navy-text); background: rgba(255,255,255,0.06); }
.nav-cta-group { display: flex; align-items: center; gap: 8px; margin-left: 12px; padding-left: 14px; border-left: 1px solid var(--navy-border); }

.nav-toggle {
    display: none;
    background: none; border: 1px solid var(--navy-border);
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer; padding: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span {
    display: block; width: 18px; height: 2px;
    background: var(--navy-text); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px;
    font-family: var(--font-sans);
    font-size: 0.95rem; font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer; user-select: none;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-primary {
    background: var(--accent);
    color: #fff; font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
}
.btn-primary:hover {
    color: #fff;
    background: var(--accent-3);
    box-shadow: 0 4px 12px -4px var(--accent-glow);
}

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: var(--navy-text);
    border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: var(--navy-text); }

.btn-outline {
    background: transparent; color: var(--text-1);
    border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; position: relative; }
.section.tight { padding: 48px 0; }
/* Translucent equivalent of --bg-1 over white, so the fixed .page-glow edge fade
   shows through instead of being wiped by an opaque band. */
.section.muted { background: linear-gradient(180deg, transparent, rgba(226,232,240,0.22) 50%, transparent); }

/* Dark band - navy section for rhythm (light → dark → light) */
.section.dark { background: var(--navy-bg); padding: 80px 0; }
.section.dark h2, .section.dark h3 { color: var(--navy-text); }
.section.dark .section-header p { color: var(--navy-text-muted); }
.section.dark .eyebrow { color: var(--accent-2); }
.section.dark .card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
.section.dark .card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 12px 36px -16px rgba(14, 165, 233, 0.35);
}
.section.dark .card p { color: var(--navy-text-muted); }
.section.dark .card .icon-badge {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.22);
    color: var(--accent-2);
}
.section-header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-3); font-size: 1.075rem; }
.eyebrow {
    display: inline-block;
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--text-1);
    margin-bottom: 12px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0 64px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(15, 23, 42, 0.13) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 25%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 25%, #000 0%, transparent 75%);
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead {
    font-size: 1.18rem; color: var(--text-2);
    max-width: 560px; margin-bottom: 32px;
}
.hero-bullets {
    list-style: none; padding: 0; margin: 36px 0 0;
    display: flex; flex-direction: column; gap: 10px;
}
.hero-bullets li {
    color: var(--text-3); font-size: 0.95rem;
    padding-left: 26px; position: relative;
}
.hero-bullets li::before {
    content: ""; position: absolute; left: 0; top: 8px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* Hero visual: layered "product window" mock */
.hero-visual { position: relative; }
.product-window {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    overflow: hidden;
}
.product-window::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none; opacity: .6;
}
.window-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-1);
}
.window-bar span {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--bg-3);
}
.window-body { padding: 22px; }
.chat-msg {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 0.92rem;
    color: var(--text-2);
    margin-bottom: 14px;
}
.chat-msg.user {
    background: rgba(14,165,233,0.10);
    border-color: rgba(14,165,233,0.25);
    color: var(--text-1);
    margin-left: 24%;
}
.mini-chart {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    height: 80px;
    align-items: end;
    margin-top: 14px;
}
.mini-chart .bar {
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
}
.mini-chart .bar:nth-child(1) { height: 35%; }
.mini-chart .bar:nth-child(2) { height: 55%; }
.mini-chart .bar:nth-child(3) { height: 45%; }
.mini-chart .bar:nth-child(4) { height: 75%; }
.mini-chart .bar:nth-child(5) { height: 60%; }
.mini-chart .bar:nth-child(6) { height: 90%; }
.mini-chart .bar:nth-child(7) { height: 70%; }

/* ---------- Cards & grids ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.cards-grid.trio { grid-template-columns: repeat(3, 1fr); }
.cards-grid.duo { grid-template-columns: repeat(2, 1fr); }

/* Five cards: 3 on the top row, last 2 centred underneath (6-col span trick) */
.cards-grid.five { grid-template-columns: repeat(6, 1fr); }
.cards-grid.five > * { grid-column: span 2; }
.cards-grid.five > *:nth-child(4) { grid-column: 2 / span 2; }
.cards-grid.five > *:nth-child(5) { grid-column: 4 / span 2; }

.card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}
.card h3 { color: var(--text-1); margin-bottom: 10px; }
.card p { color: var(--text-3); margin: 0; font-size: 0.95rem; }
.card .icon-badge,
.pillar-card .icon-badge {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 1.1rem;
}
.icon-badge { transition: transform .2s ease; }
.icon-badge i { font-size: 1rem; line-height: 1; }
.card:hover .icon-badge,
.pillar-card:hover .icon-badge { transform: scale(1.1); }

/* Feature row (alternating) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
    margin-bottom: 64px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > :first-child { order: 2; }
.feature-row .feature-copy h2 { margin-bottom: 14px; }
.feature-row .feature-copy p { color: var(--text-3); font-size: 1.025rem; }
.feature-row .feature-copy ul {
    list-style: none; padding: 0; margin: 20px 0 0;
}
.feature-row .feature-copy li {
    padding: 6px 0 6px 26px;
    position: relative;
    color: var(--text-2);
    font-size: 0.95rem;
}
.feature-row .feature-copy li::before {
    content: "→";
    position: absolute; left: 0; top: 6px;
    color: var(--accent);
}
.badge-soon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--text-4);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
}
.feature-visual {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    min-height: 280px;
    box-shadow: var(--shadow-sm);
}

/* Tiles (small fact cards) */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.tile {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    color: var(--text-2);
    font-size: 0.95rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    text-align: center;
}
.step-number {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 0.95rem;
}
.step h3 { color: var(--text-1); margin-bottom: 8px; font-size: 1.1rem; text-align: center; }
.step p { color: var(--text-3); font-size: 0.93rem; margin: 0; }

/* Stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat-num {
    font-size: 2.5rem; font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-1);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--text-3); font-size: 0.92rem; margin-top: 8px; }

/* FAQ accordion */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
    cursor: pointer;
    padding: 20px 0;
    font-weight: 600;
    color: var(--text-1);
    font-size: 1.02rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-weight: 500;
    transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after {
    content: "−";
    background: rgba(14, 165, 233, 0.10);
    transform: rotate(180deg);
}
.faq-item summary:hover { color: var(--accent-3); }
.faq-item p {
    margin: 0;
    padding: 0 40px 20px 0;
    color: var(--text-3);
    font-size: 0.97rem;
}

/* CTA strip */
.cta-strip {
    margin: 0;
    padding: 48px 0 64px;
    position: relative;
}
.cta-strip-inner {
    background: var(--navy-bg);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-xl);
    padding: 56px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px;
}
.cta-strip-inner h2 { margin-bottom: 8px; color: var(--navy-text); }
.cta-strip-inner p { color: var(--navy-text-muted); margin: 0; max-width: 560px; }
.cta-strip-inner a:not(.btn) { color: var(--accent-2); }

/* ---------- Form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-form {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    color: var(--text-2);
    font-size: 0.875rem; font-weight: 500;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    color: var(--text-1);
    font-family: inherit; font-size: 0.95rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
    background: rgba(14,165,233,0.10);
    border: 1px solid rgba(14,165,233,0.30);
    color: var(--text-1);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-aside h3 { margin-bottom: 8px; }
.contact-aside .info-block {
    border-top: 1px solid var(--border);
    padding-top: 18px; margin-top: 18px;
}
.contact-aside .info-block:first-of-type { border-top: 0; padding-top: 0; }

/* Contact: the whole page in the hero. Intro and details on the left over the dimmed photo, the form on the right
   as a white card; on a phone the form follows the intro and the details come last. */
.contact-hero {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 32px 64px;
    grid-template-areas: "intro card" "aside card";
    align-items: start; text-align: left;
}
.contact-intro { grid-area: intro; align-self: end; }
.contact-hero .contact-card { grid-area: card; }
.contact-hero .contact-aside { grid-area: aside; }
.contact-intro .lead { max-width: 52ch; }
.contact-hero .contact-form { border: 0; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.contact-hero .form-success, .contact-hero .form-error { box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.contact-hero .form-success { background: #e0f2fe; border-color: #7dd3fc; }
.contact-hero .form-error { background: #fff1f2; }
.contact-hero .contact-aside {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px;
    padding-top: 26px; border-top: 1px solid rgba(148,163,184,.25);
}
.contact-hero .contact-aside .info-block { border-top: 0; padding-top: 0; margin-top: 0; }
.contact-hero .contact-aside h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.contact-hero .contact-aside p { color: var(--navy-text-muted); font-size: .92rem; margin: 0; }
.contact-hero .contact-aside a { color: var(--accent-2); }
@media (max-width: 960px) {
    .contact-hero { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "aside"; gap: 32px; }
    .contact-intro { text-align: center; }
    .contact-intro .lead { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
    .contact-hero .contact-aside { grid-template-columns: 1fr; }
    .contact-hero .contact-form { padding: 22px; }
}

/* ---------- Footer (navy, matches header) ---------- */
.site-footer {
    margin-top: 0;
    border-top: 1px solid var(--navy-border);
    padding: 64px 0 32px;
    background: var(--navy-bg);
    color: var(--navy-text-muted);
    position: relative;
    overflow: hidden;
}
.site-footer .container { position: relative; }
.site-footer .brand { color: var(--navy-text); }
.site-footer .footer-brand-col .muted-text { color: var(--navy-text-muted); }
.site-footer .footer-heading { color: var(--navy-text); }
.site-footer .footer-links a { color: var(--navy-text-muted); }
.site-footer .footer-links a:hover { color: var(--navy-text); }
.site-footer .footer-bottom { border-top-color: var(--navy-border); color: rgba(148, 163, 184, 0.7); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand-col .brand { margin-bottom: 16px; }
.footer-brand-col .muted-text {
    color: var(--text-3);
    font-size: 0.9rem;
    max-width: 280px;
}
.footer-heading {
    color: var(--text-1);
    font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--text-3);
    font-size: 0.92rem;
}
.footer-links a:hover { color: var(--text-1); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    color: var(--text-4); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .feature-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
    .feature-row.reverse > :first-child { order: 0; }
    .cards-grid.trio, .cards-grid.duo { grid-template-columns: 1fr; }
    .cards-grid.five { grid-template-columns: 1fr; }
    .cards-grid.five > *,
    .cards-grid.five > *:nth-child(4),
    .cards-grid.five > *:nth-child(5) { grid-column: auto; }
    .steps { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .cta-strip-inner { flex-direction: column; align-items: flex-start; padding: 32px; text-align: left; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed; inset: var(--header-h) 0 0 0;
        background: var(--navy-bg);
        padding: 32px 24px;
        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 49;
    }
    body.nav-open .primary-nav { transform: translateX(0); }
    .primary-nav .nav-links {
        flex-direction: column; align-items: stretch;
        gap: 6px;
    }
    /* Inline-block so the active/hover background hugs the label instead of
       stretching tall and crowding the item below. */
    .primary-nav .nav-links li a:not(.btn) {
        display: inline-block;
        font-size: 1.1rem; padding: 8px 12px;
    }

    /* Centre the hero call-to-action buttons on mobile. */
    .hero .button-row { justify-content: center; }
    .nav-cta-group {
        flex-direction: column; align-items: stretch;
        margin: 16px 0 0; padding: 16px 0 0;
        border-left: 0; border-top: 1px solid var(--navy-border);
    }
    .nav-cta-group .btn { justify-content: center; }

    .section { padding: 48px 0; }
    .hero { padding: 40px 0 48px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   v2 additions - multi-service IA
   ========================================================================= */

/* Breadcrumb */
.breadcrumb {
    font-size: 0.82rem;
    color: var(--text-3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--accent); }

/* Door cards - the entry choices on the homepage */
.doors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.doors-grid.two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
    margin: 0 auto;
}
.door-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    color: var(--text-2);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    position: relative;
}
.door-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    color: var(--text-2);
}
.door-card.featured {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: var(--shadow-md);
}
.door-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.door-card h3 {
    color: var(--text-1);
    margin: 0 0 10px;
    font-size: 1.25rem;
}
.door-card p {
    color: var(--text-3);
    font-size: 0.95rem;
    margin: 0 0 20px;
    flex: 1;
}
.door-cta {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-block;
    transition: transform .2s ease;
}
.door-card:hover .door-cta,
.card:hover .door-cta { transform: translateX(4px); }

/* Pillar cards - homepage 5-pillar grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pillars-grid > :nth-child(4),
.pillars-grid > :nth-child(5) {
    /* On 3-col layout, last two pillars fill remaining width nicely */
}
.pillar-card {
    display: block;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    color: var(--text-2);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pillar-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    color: var(--text-2);
}
.pillar-card h3 { color: var(--text-1); margin: 0 0 8px; font-size: 1.1rem; }
.pillar-card p { color: var(--text-3); margin: 0; font-size: 0.92rem; }
.pillar-card .icon-badge { margin-bottom: 14px; }

/* Form: select element styling to match inputs */
.form-group select {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    color: var(--text-1);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color .15s ease, box-shadow .15s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%2364748b' d='M6 8L0 0h12z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Responsive: collapse multi-col grids */
@media (max-width: 960px) {
    .doors-grid, .doors-grid.two { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .door-card.featured::before { right: 16px; }
}

/* =========================================================================
   Hero illustration - layered cards + orbit (homepage)
   ========================================================================= */

/* Single product window - straight, grounded, screenshot-like */
.hero-app {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 16px 48px -20px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}
.hero-app-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-1);
    font-size: 0.72rem;
}
.hero-app-bar span {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--bg-3);
}
.hero-app-bar em {
    font-style: normal;
    margin: 0 auto;
    padding: 3px 24px;
    border-radius: 6px;
    background: var(--bg-2);
    color: var(--text-3);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}
.hero-app-body {
    padding: 24px;
    background:
        radial-gradient(ellipse 70% 60% at 50% 45%, rgba(14,165,233,0.06), transparent 70%),
        var(--bg-1);
}

/* ---- Portal home: radial feature launcher ---- */
.portal-home {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.94;
}
.portal-centre {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 60%;
}
.portal-logo {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
}
.portal-welcome {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.portal-sub {
    font-size: 0.8rem;
    color: var(--text-3);
    margin-top: 4px;
}

.portal-tile {
    position: absolute;
    width: 27%;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.14);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.portal-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(14, 165, 233, 0.10);
    color: var(--accent);
    font-size: 18px;
}
.portal-icon svg { width: 1em; height: 1em; }
.portal-icon i { font-size: 18px; line-height: 1; }
.portal-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-1);
    letter-spacing: -0.01em;
}

/* Radial positions */
.portal-tile.pos-top    { top: 0;    left: 50%; transform: translateX(-50%); }
.portal-tile.pos-bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.portal-tile.pos-tl     { top: 22%;    left: 0; }
.portal-tile.pos-tr     { top: 22%;    right: 0; }
.portal-tile.pos-bl     { bottom: 22%; left: 0; }
.portal-tile.pos-br     { bottom: 22%; right: 0; }

/* Entrance: tiles spring out clockwise from the centre, like the real portal.
   Uses the standalone `scale` property so the positional transforms survive. */
.portal-tile {
    opacity: 0;
    scale: 0.4;
    transition: opacity .5s cubic-bezier(.34, 1.56, .64, 1), scale .5s cubic-bezier(.34, 1.56, .64, 1);
}
.portal-centre {
    opacity: 0;
    scale: 0.85;
    transition: opacity .6s ease .1s, scale .6s ease .1s;
}
.hero-visual.is-visible .portal-tile,
.hero-visual.is-visible .portal-centre { opacity: 1; scale: 1; }
.hero-visual.is-visible .portal-tile.pos-top    { transition-delay: .15s; }
.hero-visual.is-visible .portal-tile.pos-tr     { transition-delay: .25s; }
.hero-visual.is-visible .portal-tile.pos-br     { transition-delay: .35s; }
.hero-visual.is-visible .portal-tile.pos-bottom { transition-delay: .45s; }
.hero-visual.is-visible .portal-tile.pos-bl     { transition-delay: .55s; }
.hero-visual.is-visible .portal-tile.pos-tl     { transition-delay: .65s; }

/* Chart life: bars grow and lines draw when their block scrolls into view */
[data-reveal] .mini-chart .bar {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}
[data-reveal].is-visible .mini-chart .bar { transform: scaleY(1); }
[data-reveal].is-visible .mini-chart .bar:nth-child(2) { transition-delay: .06s; }
[data-reveal].is-visible .mini-chart .bar:nth-child(3) { transition-delay: .12s; }
[data-reveal].is-visible .mini-chart .bar:nth-child(4) { transition-delay: .18s; }
[data-reveal].is-visible .mini-chart .bar:nth-child(5) { transition-delay: .24s; }
[data-reveal].is-visible .mini-chart .bar:nth-child(6) { transition-delay: .30s; }
[data-reveal].is-visible .mini-chart .bar:nth-child(7) { transition-delay: .36s; }

path.draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.4s ease .3s;
}
[data-reveal].is-visible path.draw { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
    .portal-tile, .portal-centre { opacity: 1; scale: 1; transition: none; }
    [data-reveal] .mini-chart .bar { transform: none; transition: none; }
    path.draw { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}
/* Responsive: centre the app window */
@media (max-width: 960px) {
    .hero-app {
        margin: 0 auto;
        max-width: 520px;
    }
}

/* On narrow screens the absolute radial overlaps itself - lay the mock out as a
   clean app-launcher grid: "Welcome" header on top, six tiles in a 3-col grid. */
@media (max-width: 600px) {
    .portal-home {
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 4px 2px;
    }
    .portal-centre {
        position: static;
        transform: none;
        width: auto;
        grid-column: 1 / -1;
        margin-bottom: 6px;
    }
    .portal-tile,
    .portal-tile.pos-top,
    .portal-tile.pos-bottom,
    .portal-tile.pos-tl,
    .portal-tile.pos-tr,
    .portal-tile.pos-bl,
    .portal-tile.pos-br {
        position: static;
        inset: auto;
        width: auto;
        transform: none;
        scale: 1;
        opacity: 1;
        padding: 14px 8px;
        gap: 8px;
    }
    .portal-icon { width: 34px; height: 34px; font-size: 16px; }
    .portal-icon i { font-size: 16px; }
    .portal-label { font-size: 0.78rem; }
}

/* =========================================================================
   Contact form - honeypot + error banner
   ========================================================================= */

/* Honeypot: invisible to humans, present in the DOM for bots */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-error {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #9f1239;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ============================================================
   Watch-demo link + video lightbox (feature demo videos)
   ============================================================ */
.watch-demo{display:inline-flex;align-items:center;gap:9px;margin-top:16px;font-weight:600;
  font-size:.95rem;color:var(--accent-3);text-decoration:none;cursor:pointer;transition:color .2s;}
.watch-demo:hover{color:var(--accent);}
.watch-demo .wd-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;
  border-radius:50%;background:var(--gradient-primary);color:#fff;font-size:.62rem;padding-left:2px;
  box-shadow:var(--shadow-glow);transition:transform .2s;}
.watch-demo:hover .wd-icon{transform:scale(1.08);}
.watch-demo .wd-meta{color:var(--text-4);font-weight:500;}
.section.dark .watch-demo{color:var(--accent-2);}
.section.dark .watch-demo:hover{color:#fff;}

.vlightbox{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:24px;}
.vlightbox.is-open{display:flex;}
.vlightbox-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.82);backdrop-filter:blur(4px);}
.vlightbox-dialog{position:relative;width:100%;max-width:960px;animation:vlb-in .25s ease;}
@keyframes vlb-in{from{opacity:0;transform:translateY(12px) scale(.98);}to{opacity:1;transform:none;}}
.vlightbox-frame{position:relative;border-radius:var(--radius-lg);overflow:hidden;background:#000;
  box-shadow:0 30px 80px rgba(0,0,0,.55);}
.vlightbox-frame video{display:block;width:100%;height:auto;}
.vlightbox-close{position:absolute;top:-46px;right:0;width:38px;height:38px;border:0;border-radius:50%;
  background:rgba(255,255,255,.14);color:#fff;font-size:23px;line-height:1;cursor:pointer;transition:background .2s;}
.vlightbox-close:hover{background:rgba(255,255,255,.30);}
body.vlightbox-open{overflow:hidden;}
@media(max-width:600px){.vlightbox-close{top:-42px;}}

/* Clickable video poster used as a feature-section visual */
.feature-video-poster{position:relative;display:block;border-radius:var(--radius-lg);overflow:hidden;
  border:1px solid var(--border);box-shadow:var(--shadow-md);cursor:pointer;line-height:0;background:#fff;}
.feature-video-poster img{display:block;width:100%;height:auto;transition:transform .35s ease;}
.feature-video-poster:hover img{transform:scale(1.025);}
.feature-video-poster::after{content:"";position:absolute;inset:0;background:rgba(15,23,42,.12);transition:background .25s;}
.feature-video-poster:hover::after{background:rgba(15,23,42,.20);}
.feature-video-poster .fvp-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;
  width:88px;height:88px;border-radius:50%;background:var(--gradient-primary);display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 34px rgba(0,0,0,.40), 0 0 0 10px rgba(255,255,255,.30);transition:transform .2s;}
.feature-video-poster:hover .fvp-play{transform:translate(-50%,-50%) scale(1.08);}
.feature-video-poster .fvp-tri{width:0;height:0;margin-left:6px;border-style:solid;border-width:15px 0 15px 25px;
  border-color:transparent transparent transparent #fff;}
.feature-video-poster .fvp-tag{position:absolute;left:16px;bottom:14px;z-index:1;line-height:1.2;
  padding:7px 14px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;font-size:.88rem;font-weight:600;letter-spacing:.01em;}

/* Platform-page hero: the 2-minute tour poster */
/* .fvp-low: a smaller play button low in the frame, for stills whose
   middle holds a logo lockup (the home page website film) */
.feature-video-poster.fvp-low .fvp-play{top:auto;bottom:7%;transform:translateX(-50%);width:60px;height:60px;
  box-shadow:0 10px 28px rgba(0,0,0,.40), 0 0 0 7px rgba(255,255,255,.28);}
.feature-video-poster.fvp-low:hover .fvp-play{transform:translateX(-50%) scale(1.08);}
.feature-video-poster.fvp-low .fvp-tri{margin-left:4px;border-width:10px 0 10px 17px;}
@media (max-width:600px){
  .feature-video-poster.fvp-low .fvp-play{bottom:4%;width:42px;height:42px;box-shadow:0 6px 18px rgba(0,0,0,.40), 0 0 0 5px rgba(255,255,255,.28);}
  .feature-video-poster.fvp-low .fvp-tri{margin-left:3px;border-width:7px 0 7px 12px;}
  .feature-video-poster.fvp-low .fvp-tag{top:10px;bottom:auto;left:10px;padding:5px 11px;font-size:.78rem;}
}
.hero-video{max-width:840px;margin:36px auto 0;}
/* Platform: the hero film sits on the navy ground without the poster's light rim (9 Oct) */
.hero-universe .hero-video .feature-video-poster { border: 0; }
/* Platform feature rows: the video poster is the visual, with no card or photo frame around it (9 Oct) */
.feature-visual.feature-visual-video { background: none; border: 0; padding: 0; min-height: 0; box-shadow: none; }

/* ---------- Universe hero (home) ---------- */
/* Dark full-bleed variant of .hero: aurora behind, the Q at the centre and
   the kinds of system Quanta reports on orbiting on a tilted ellipse, each
   with a spoke into the Q. */
.hero-universe {
    /* the orbit band's height; the plain heroes are sized from it so every page hero matches Home */
    --hu-band: clamp(360px, 46vh, 540px);
    padding: 56px 0 64px;
    background: linear-gradient(160deg, #060a14 0%, #0b1120 45%, #111c33 100%);
    display: flex; flex-direction: column;
}
.hero-universe::before { content: none; } /* drop the light-theme dot grid */
/* A venue photo behind every page hero (key visual family, static/img/venue/hero-*), dimmed to navy so the white
   headline keeps its contrast: darkest at the top and bottom edges, where it meets the nav and the next section,
   and a shade lighter through the middle so the room still reads. The aurora and vignette sit on top. */
.hu-photo {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 55%;
    pointer-events: none;
}
.hu-dim {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 50% 45%, rgba(6,10,20,.10), transparent 70%),
        linear-gradient(180deg, rgba(6,10,20,.86) 0%, rgba(8,13,26,.70) 38%, rgba(8,13,26,.74) 70%, rgba(11,17,32,.94) 100%);
}
/* Home: the orbit's glyphs and labels sit over the room, so the photo dims a little further */
.hero-universe:not(.hero-universe-plain) .hu-dim {
    background: linear-gradient(180deg, rgba(6,10,20,.88) 0%, rgba(8,13,26,.78) 40%, rgba(8,13,26,.80) 72%, rgba(11,17,32,.95) 100%);
}
/* A daylight photo (About's sunset terrace) is far brighter than the night rooms, so it dims further */
.hu-dim.is-day {
    background: linear-gradient(180deg, rgba(6,10,20,.90) 0%, rgba(8,13,26,.80) 38%, rgba(8,13,26,.82) 70%, rgba(11,17,32,.95) 100%);
}
.hero-universe .hu-aurora { opacity: .4; }
.hu-aurora {
    position: absolute; inset: -10%;
    filter: blur(90px); opacity: .55; pointer-events: none;
    background:
        radial-gradient(38% 38% at 26% 30%, rgba(14,165,233,.45), transparent 70%),
        radial-gradient(42% 42% at 76% 68%, rgba(56,189,248,.30), transparent 70%),
        radial-gradient(34% 34% at 55% 85%, rgba(139,92,246,.22), transparent 70%);
    animation: huAurora 26s ease-in-out infinite alternate;
}
@keyframes huAurora {
    from { transform: translate3d(-2%,-1%,0) scale(1); }
    to   { transform: translate3d(2%,2%,0) scale(1.06); }
}
.hu-vignette {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 80% at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%);
}

.hu-head { position: relative; z-index: 2; text-align: center; padding-top: 34px; }
.hero-universe .eyebrow { color: var(--accent-2); }
.hero-universe h1 { color: #fff; max-width: 900px; margin-left: auto; margin-right: auto; }
.hero-universe .gradient-text {
    background: linear-gradient(100deg, #38bdf8, #0ea5e9 60%, #8b5cf6);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hu-universe {
    position: relative; z-index: 2; width: 100%; height: var(--hu-band);
    touch-action: pan-y;           /* horizontal drag spins the orbit, vertical still scrolls */
    cursor: grab;
    -webkit-user-select: none; user-select: none;
}
.hu-universe:active { cursor: grabbing; }
.hu-ring {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    border: 1px solid rgba(56,189,248,.13); border-radius: 50%;
    pointer-events: none;
}
.hu-ring.r2 { border-color: rgba(56,189,248,.07); }
.hu-ring.r3 { border-color: rgba(139,92,246,.10); }

.hu-core {
    position: absolute; left: 50%; top: 50%; z-index: 20;
    width: clamp(120px, 13vw, 180px); aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center;
    animation: huFloat 7s ease-in-out infinite alternate;
}
@keyframes huFloat {
    from { transform: translate(-50%,-52%); }
    to   { transform: translate(-50%,-48%); }
}
.hu-glow {
    position: absolute; inset: -45%; border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,.5) 0%, rgba(14,165,233,.18) 40%, transparent 68%);
    filter: blur(14px);
    animation: huPulse 4.5s ease-in-out infinite alternate;
}
@keyframes huPulse {
    from { opacity: .55; transform: scale(.94); }
    to   { opacity: 1;   transform: scale(1.05); }
}
.hu-core img {
    position: relative; width: 100%; height: 100%; object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
}
/* Spokes: one line from each orbiting system into the Q, with a pulse travelling
   inward. Drawn under the glyphs and the Q; the script sets the viewBox to the band. */
.hu-spokes {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5;
    overflow: visible; pointer-events: none;
}

/* Orbiting bodies: portal-style glyphs — coloured icon, no chip, label under */
.hu-planet {
    position: absolute; left: 0; top: 0; will-change: transform;
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    text-decoration: none;
}
.hu-glyph {
    width: clamp(40px, 3.6vw, 52px); height: clamp(40px, 3.6vw, 52px);
    display: flex; align-items: center; justify-content: center;
    filter: drop-shadow(0 0 14px rgba(47,169,242,.45));
    transition: filter .2s ease;
}
.hu-glyph svg { width: 100%; height: 100%; }
.hu-planet:hover .hu-glyph { filter: drop-shadow(0 0 22px rgba(47,169,242,.85)); }
.hu-label {
    font-size: 13.5px; font-weight: 600; color: var(--navy-text);
    letter-spacing: .01em; white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
}

.hu-foot {
    position: relative; z-index: 2; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 26px;
    padding-top: 8px;
}
.hero-universe .lead { color: var(--slate-300, #cbd5e1); max-width: 72ch; margin-bottom: 0; }
.hero-universe .btn-outline { border-color: rgba(148,163,184,.45); color: var(--navy-text); }
.hero-universe .btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }
.hero-universe .button-row { justify-content: center; }
.hero-universe .hero-bullets { flex-direction: row; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 0; }
.hero-universe .hero-bullets li { color: var(--navy-text-muted); font-size: .875rem; }
/* The same dark ground on a hero without the orbit (platform): the aurora and vignette only */
.hero-universe-plain { padding: 88px 0 72px; justify-content: center; }
/* Every page hero is as tall as Home's: Home is the orbit band plus 521px of headline, lead, buttons and padding at
   desktop widths (measured 26 Oct 2026: 1018px at 1920x1080, 935px at 1440x900, 881px at 1280x720), and about 565px
   below ~1030px wide, where Home's lead wraps onto an extra line. Shorter content is centred. Platform's film is
   sized from the band too, so its hero lands on the same height: the rest of that hero is 591px plus the film at
   16:9. Retune 521px / 565px if Home's copy changes, and 591px if Platform's. */
@media (min-width: 821px) {
    .hero-universe-plain {
        --hu-copy: 521px;
        min-height: calc(var(--hu-band) + var(--hu-copy));
    }
    .hero-universe-plain .hero-video { max-width: min(840px, calc((var(--hu-band) + var(--hu-copy) - 591px) * 16 / 9)); }
}
@media (min-width: 821px) and (max-width: 1031px) {
    .hero-universe-plain { --hu-copy: 565px; }
}
.hero-universe-plain > .container { z-index: 2; }
.hero-universe .hero-note { margin-top: 24px; font-size: .92rem; color: var(--navy-text-muted); }
.hero-universe .hero-note a { color: var(--accent-2); }

@media (max-width: 820px) {
    /* proportional miniature of the desktop band: wide flat ellipse, smaller core/glyphs */
    .hero-universe { --hu-band: clamp(270px, 50vw, 400px); }
    /* On a phone Home's stacked hero runs well past the first screen; the other heroes fill the first screen
       instead of copying that, so the page's content is a short scroll away */
    .hero-universe-plain { min-height: calc(100svh - var(--header-h)); }
    .hu-core { width: clamp(64px, 19vw, 110px); }
    .hu-glyph { width: clamp(30px, 8vw, 44px); height: clamp(30px, 8vw, 44px); }
    .hu-label { font-size: 11px; white-space: normal; max-width: 88px; text-align: center; line-height: 1.3; }
    .hero-universe .hero-bullets { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .hu-aurora, .hu-core, .hu-glow { animation: none; }
}

/* ---------- Who we work with: client logo conveyor (home) ---------- */
/* Full-bleed belt between two rails. Logos ride in from the right and off the
   left; the track holds the list twice and moves by half its width, so the
   loop has no seam. Each mark is a one-colour grey copy of the logo
   (.belt-ink, masked by the logo file); the img underneath only sizes the
   mark and carries the alt. No hover state: the belt never stops. */
.clients-section .section-header { margin-bottom: 16px; }
.belt {
    position: relative; overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(241,245,249,0) 0%, rgba(241,245,249,.7) 50%, rgba(241,245,249,0) 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.belt-track {
    list-style: none; margin: 0; padding: 0;
    display: flex; width: max-content;
    animation: beltRun 60s linear infinite;
}
.belt-item {
    flex: none; height: 104px; padding: 0 40px;
    display: flex; align-items: center; justify-content: center;
}
.belt-mark { position: relative; display: block; height: var(--h); }
.belt-mark img { display: block; height: 100%; width: auto; opacity: 0; }
.belt-ink {
    position: absolute; inset: 0;
    background: #000; opacity: .5;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
}
@keyframes beltRun {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 720px) {
    .belt-track { animation-duration: 45s; }
    .belt-item { height: 80px; padding: 0 26px; }
    .belt-mark { height: calc(var(--h) * .72); }
    .belt {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
    }
}
@media (prefers-reduced-motion: reduce) {
    /* no belt: the brands sit still, wrapped and centred */
    .belt { -webkit-mask-image: none; mask-image: none; }
    .belt-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding: 12px 16px; }
    .belt-item { height: 76px; padding: 0 24px; }
    .belt-item[aria-hidden="true"] { display: none; }
}

/* ---------- Hospitality photography ----------
   Venue photos in the key visual family, in static/img/venue/. */

/* Home: full-bleed venue band, the app in hand over a busy dining room */
.venue-band {
    position: relative; overflow: hidden;
    background: var(--navy-bg);
    color: var(--navy-text);
}
.venue-band-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.venue-band::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(6,10,20,.94) 0%, rgba(6,10,20,.82) 42%, rgba(6,10,20,.35) 100%);
}
.venue-band-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end;
    padding-top: 88px;
}
.venue-band-copy { padding-bottom: 88px; max-width: 540px; }
.venue-band .eyebrow { color: var(--accent-2); }
.venue-band h2 { color: #fff; margin-bottom: 14px; }
.venue-band-copy p { color: var(--navy-text-muted); font-size: 1.05rem; margin: 0 0 28px; }
.venue-band .btn-outline { border-color: rgba(148,163,184,.45); color: var(--navy-text); }
.venue-band .btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }
.venue-band-phone { display: flex; justify-content: center; }
.phone-frame {
    width: 280px; margin-bottom: -40px;
    padding: 10px 10px 0; border-radius: 44px 44px 0 0;
    background: #0b0f19; border: 1px solid rgba(148,163,184,.28); border-bottom: 0;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.phone-frame img {
    display: block; width: 100%; height: auto;
    border-radius: 34px 34px 0 0;
}

/* Home: a photo across the top of each Getting started card */
.step.step-has-photo { padding-top: 0; overflow: hidden; }
.step-photo {
    display: block; width: calc(100% + 56px); max-width: none;
    height: 170px; object-fit: cover;
    margin: 0 -28px 22px;
}
.step-has-photo .step-number { margin-top: -40px; position: relative; box-shadow: 0 0 0 4px var(--surface-card); }

/* CTA strips: a darkened venue behind the navy panel */
.cta-strip-inner.cta-venue {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--navy-bg) var(--venue) center / cover no-repeat;
}
.cta-strip-inner.cta-venue::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(15,23,42,.93) 0%, rgba(15,23,42,.74) 50%, rgba(15,23,42,.30) 100%);
}

/* Platform: product stills framed by a venue, so the product sits in place */
.feature-visual.venue {
    display: flex; flex-direction: column; justify-content: center;
    padding: 36px;
    border: 0;
    background: var(--navy-bg) var(--venue) center / cover no-repeat;
    position: relative; isolation: isolate;
}
.feature-visual.venue::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: rgba(6,10,20,.38);
}


@media (max-width: 860px) {
    .venue-band-inner { grid-template-columns: 1fr; gap: 0; padding-top: 64px; }
    .venue-band-copy { padding-bottom: 40px; }
    .venue-band::before { background: linear-gradient(180deg, rgba(6,10,20,.92) 0%, rgba(6,10,20,.8) 55%, rgba(6,10,20,.5) 100%); }
    .phone-frame { width: 240px; }
}
@media (max-width: 600px) {
    .feature-visual.venue { padding: 18px; }
    .step-photo { height: 150px; }
}

/* ---------- Pricing ---------- */
.plan-price {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -0.02em;
    margin: 2px 0 6px;
}
.plan-price span { font-size: 0.95rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan-list {
    list-style: none;
    padding: 14px 0 0;
    margin: 14px 0 0;
    border-top: 1px solid var(--border);
}
.plan-list li { padding: 5px 0; color: var(--text-2); font-size: 0.92rem; }
.plan-list li i { color: var(--accent); margin-right: 8px; font-size: 0.8rem; }
.plan-list li.locked, .plan-list li.locked i { color: var(--text-3); }
.plan-featured { border-color: var(--accent); box-shadow: var(--shadow-md), var(--shadow-glow); }
.plan-badge {
    position: absolute;
    top: -12px; left: 24px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 999px;
}
.plan-price-sub { color: var(--text-3); font-size: 0.85rem; margin: -2px 0 8px; }
/* .card p (0.95rem) out-ranked .plan-price, so prices showed at body size (fixed 9 Oct) */
.card p.plan-price { font-size: 2.3rem; color: var(--text-1); margin: 2px 0 6px; }
.card p.plan-price-sub { font-size: 0.85rem; margin: -2px 0 8px; }
.plans-note { text-align: center; margin-top: 32px; color: var(--text-2); font-size: 0.98rem; }
.plans-cta { text-align: center; margin-top: 28px; }
.plans-smallprint { text-align: center; margin-top: 20px; color: var(--text-4); font-size: 0.85rem; }
/* Plans on the navy ground (platform, 9 Oct) */
.section.dark .card p.plan-price { color: var(--navy-text); }
.section.dark .card p.plan-price span, .section.dark .card p.plan-price-sub { color: var(--navy-text-muted); }
.section.dark .plan-list li { color: #cbd5e1; }
.section.dark .plan-list li i { color: var(--accent-2); }
.section.dark .plan-featured { border-color: rgba(56, 189, 248, 0.55); box-shadow: 0 18px 48px -18px rgba(14, 165, 233, 0.45); }
.section.dark .plans-note { color: #cbd5e1; }
.section.dark .plans-smallprint { color: var(--navy-text-muted); }
.price-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.price-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}
/* Bespoke page (/services): four service rows, each with a hospitality mock-up */
.bespoke-row { scroll-margin-top: 90px; margin-bottom: 96px; }
.bespoke-link { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--accent-3); }
.bespoke-link:hover { color: var(--accent); }
.mock {
    background: var(--surface-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    padding: 22px; font-size: 0.86rem; color: var(--text-2);
    font-variant-numeric: tabular-nums;
}
.mock .up { color: #059669; font-style: normal; }
.mock .down { color: #dc2626; font-style: normal; }
.mock-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 700; color: var(--text-1); font-size: 0.98rem; }
.mock-chip { font-size: 0.74rem; font-weight: 600; color: var(--accent-3); background: rgba(14,165,233,.1); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* Dashboards: a portal report page (slicers, KPI cards with trends, a TY vs LY
   chart, a venue table) with its phone layout alongside */
.mock-dv { position: relative; padding: 18px 18px 16px; }
.dv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dv-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-1); font-size: 0.95rem; }
.dv-title img { width: 20px; height: 20px; }
.dv-slicers { display: flex; gap: 6px; flex-wrap: wrap; }
.dv-slicers b { font-size: 0.7rem; font-weight: 600; color: var(--text-2); background: var(--bg-1); border: 1px solid var(--border-strong); border-radius: 6px; padding: 3px 8px; }
.dv-slicers b::after { content: "\25BE"; margin-left: 5px; color: var(--text-4); }
.dv-tabs { display: flex; gap: 16px; margin: 12px 0 14px; border-bottom: 1px solid var(--border); font-size: 0.76rem; font-weight: 600; color: var(--text-4); }
.dv-tabs span { padding-bottom: 7px; }
.dv-tabs .on { color: var(--accent-3); box-shadow: inset 0 -2px 0 var(--accent); }
.dv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.dv-kpis > div { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 10px 7px; display: grid; gap: 1px; min-width: 0; }
.dv-kpis > div > span:first-child { font-size: 0.64rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-kpis strong { font-size: 1.02rem; color: var(--text-1); letter-spacing: -.01em; }
.dv-k-foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.dv-k-foot em { font-size: 0.7rem; font-weight: 600; }
.dv-spark { width: 44px; height: 16px; flex: none; }
.dv-spark polyline { fill: none; stroke: #10b981; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dv-spark.warn polyline { stroke: #ef4444; }
.dv-panel { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px 6px; margin-bottom: 12px; }
.dv-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.dv-legend { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; color: var(--text-3); font-size: 0.68rem; }
.dv-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 6px; }
.dv-legend i.ty { background: var(--accent); }
.dv-legend i.ly { height: 2px; border-radius: 1px; background: #f59e0b; }
.dv-chart { display: block; width: 100%; height: auto; }
.dv-grid line { stroke: var(--border); stroke-width: 1; }
.dv-ly { fill: none; stroke: #f59e0b; stroke-width: 2; stroke-linejoin: round; }
.dv-ly-dots circle { fill: #fff; stroke: #f59e0b; stroke-width: 1.6; }
.dv-days text { font-size: 9px; fill: var(--text-4); font-family: var(--font-sans); }
.dv-table { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
.dv-table th { text-align: right; font-size: 0.64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-4); padding: 0 6px 6px; border-bottom: 1px solid var(--border); }
.dv-table td { text-align: right; padding: 6px; border-bottom: 1px solid var(--border); color: var(--text-1); white-space: nowrap; }
.dv-table th:first-child, .dv-table td:first-child { text-align: left; padding-left: 0; }
.dv-table td:first-child { color: var(--text-2); font-weight: 600; }
.dv-table tr:last-child td { border-bottom: 0; }
.dv-l4l { font-weight: 600; }
.dv-l4l.up { color: #059669; }
.dv-l4l.down { color: #dc2626; }
.dv-lab { display: inline-block; padding: 1px 6px; border-radius: 4px; }
.dv-lab.warm { background: rgba(245,158,11,.14); color: #b45309; }
.dv-lab.hot { background: rgba(239,68,68,.12); color: #b91c1c; font-weight: 600; }
.dv-foot { margin: 10px 0 0; font-size: 0.7rem; color: var(--text-4); }
/* the same page's phone layout, tucked against the card */
.dv-phone {
    position: absolute; right: -26px; bottom: -78px; width: 118px;
    background: var(--surface-card); border: 6px solid #0b0f19; border-radius: 20px;
    padding: 12px 10px 10px; box-shadow: 0 24px 50px -16px rgba(15,23,42,.45);
}
.dv-phone p { margin: 0; }
.dv-ph-k { font-size: 0.56rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-4); }
.dv-ph-v { font-size: 0.98rem; font-weight: 700; color: var(--text-1); line-height: 1.2; }
.dv-ph-d { font-size: 0.6rem; font-weight: 600; color: #059669; margin-bottom: 8px !important; }
.dv-ph-bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.dv-ph-bars i { flex: 1; height: var(--h); border-radius: 2px; background: var(--gradient-primary); }

/* Reports: the branded PDF pack on top of the other scheduled reports, and the
   phone where they land at 06:00 */
.mock-rp { position: relative; min-height: 470px; max-width: 520px; width: 100%; margin: 0 auto; font-variant-numeric: tabular-nums; }
.rp-sheet { position: absolute; left: 0; top: 0; width: 304px; height: 430px; background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow-md); }
/* the other scheduled reports, fanned out behind the pack */
.rp-back1, .rp-back2 { overflow: hidden; }
.rp-back1::before, .rp-back2::before { content: ""; display: block; height: 52px; background: var(--navy-bg-2); border-bottom: 3px solid var(--accent-2); }
.rp-back2 { transform: translate(64px, 30px) rotate(7deg); opacity: .8; }
.rp-back1 { transform: translate(32px, 14px) rotate(3.5deg); }
.rp-front { overflow: hidden; }
.rp-band { background: var(--navy-bg); padding: 14px 16px 12px; display: grid; gap: 2px; border-bottom: 3px solid var(--accent); }
.rp-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 0.9rem; }
.rp-brand img { width: 18px; height: 18px; }
.rp-date { color: var(--navy-text-muted); font-size: 0.68rem; }
.rp-body { padding: 12px 16px; }
.rp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.rp-kpis div { background: var(--bg-1); border-radius: 4px; padding: 7px 8px; display: grid; gap: 1px; }
.rp-kpis span { font-size: 0.56rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); }
.rp-kpis b { font-size: 0.86rem; color: var(--text-1); }
.rp-kpis em, .rp-table .up { font-style: normal; font-size: 0.6rem; font-weight: 600; color: #059669; }
.rp-h { margin: 0 0 4px; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-3); }
.rp-table { width: 100%; border-collapse: collapse; font-size: 0.66rem; margin-bottom: 12px; }
.rp-table th { text-align: right; font-weight: 600; color: var(--text-4); font-size: 0.56rem; text-transform: uppercase; letter-spacing: .04em; padding: 0 4px 4px; border-bottom: 1px solid var(--border-strong); }
.rp-table td { text-align: right; padding: 5px 4px; border-bottom: 1px solid var(--border); color: var(--text-1); white-space: nowrap; }
.rp-table th:first-child, .rp-table td:first-child { text-align: left; padding-left: 0; }
.rp-table .up { font-size: 0.66rem; }
.rp-chart { display: block; width: 100%; height: 58px; }
.rp-chart rect { fill: var(--accent); opacity: .85; }
.rp-pg { margin: 8px 0 0; text-align: right; font-size: 0.56rem; color: var(--text-4); }
.rp-phone {
    position: absolute; right: 0; bottom: -12px; width: 214px;
    border: 7px solid #0b0f19; border-radius: 30px; padding: 22px 10px 14px;
    background: linear-gradient(160deg, #1e3a5f 0%, #0f172a 55%, #0b1120 100%);
    box-shadow: 0 30px 60px -20px rgba(15,23,42,.6);
}
.rp-phone p { margin: 0; text-align: center; color: #fff; }
.rp-clock { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.rp-day { font-size: 0.66rem; color: rgba(255,255,255,.7) !important; margin-bottom: 14px !important; }
.rp-note { display: grid; gap: 1px; background: rgba(255,255,255,.88); border-radius: 12px; padding: 8px 10px; margin-top: 6px; font-size: 0.66rem; color: var(--text-2); line-height: 1.35; }
.rp-note b { color: var(--text-1); font-size: 0.7rem; }
.rp-app { display: inline-flex; align-items: center; gap: 5px; font-size: 0.58rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); margin-bottom: 1px; }
.rp-app img { width: 12px; height: 12px; }
.rp-app i { color: #25d366; font-size: 0.72rem; }

/* Integrations: the connected-systems panel as the portal would show it */
.mock-systems { padding: 22px 22px 16px; }
.ms-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 600; color: #047857; background: rgba(16,185,129,.1); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ms-live i, .ms-status::before { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.ms-live i { display: inline-block; animation: ms-pulse 2.4s ease-in-out infinite; }
@keyframes ms-pulse { 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); } }
.ms-head, .ms-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 118px 74px; gap: 12px; align-items: center; }
.ms-head { padding: 0 6px 8px; border-bottom: 1px solid var(--border); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-4); }
.ms-head span:first-child { grid-column: 1 / 3; }
.ms-list { list-style: none; margin: 0; padding: 0; }
.ms-list li { padding: 8px 6px; border-bottom: 1px solid var(--border); }
.ms-icon { width: 34px; height: 34px; border-radius: 9px; background: rgba(14,165,233,.09); border: 1px solid rgba(14,165,233,.16); display: flex; align-items: center; justify-content: center; }
.ms-name, .ms-vol { display: grid; min-width: 0; line-height: 1.3; }
.ms-name b { color: var(--text-1); font-weight: 600; font-size: 0.88rem; }
.ms-name small, .ms-vol small { color: var(--text-4); font-size: 0.72rem; }
.ms-vol { color: var(--text-2); font-size: 0.8rem; }
.ms-status { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 0.74rem; font-weight: 600; color: #047857; }
.ms-status::before { content: ""; }
.ms-status.build { color: #b45309; }
.ms-status.build::before { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.ms-custom { background: rgba(14,165,233,.04); }
.ms-custom .ms-icon { background: transparent; border: 1.5px dashed var(--accent); }
.ms-custom .ms-vol { color: var(--text-3); font-size: 0.76rem; }
.ms-foot { margin: 12px 0 0; font-size: 0.78rem; color: var(--text-3); }
.ms-foot i { color: #10b981; }
@media (prefers-reduced-motion: reduce) { .ms-live i { animation: none; } }

/* Integrations: every system connected today, by kind (matches the Founding Pilot doc) */
.sys-today { margin: 22px 0 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: rgba(14,165,233,.03); }
.feature-row .feature-copy .sys-today-head { margin: 0 0 10px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-4); }
.sys-today-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; margin: 0; }
.sys-today-list > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 0.86rem; line-height: 1.35; }
.sys-today-list dt { color: var(--text-4); font-weight: 600; font-size: 0.78rem; }
.sys-today-list dd { margin: 0; color: var(--text-1); }
@media (max-width: 600px) { .sys-today-list { grid-template-columns: 1fr; } }

/* Know-how band: copy over the kitchen */
.bespoke-band .venue-band-inner { grid-template-columns: 1fr; }
.bespoke-band .venue-band-copy { max-width: 620px; }

@media (max-width: 960px) {
    .bespoke-row { margin-bottom: 64px; }
    .mock-dv { max-width: 560px; width: 100%; margin: 0 auto; }
    .dv-phone { right: -8px; }
}
@media (max-width: 600px) {
    .dv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dv-phone { display: none; }
    .mock-rp { min-height: 0; }
    .rp-sheet { position: relative; width: 100%; height: auto; }
    .rp-back1, .rp-back2 { display: none; }
    .rp-phone { position: relative; right: auto; bottom: auto; width: 250px; margin: -18px auto 0; }
    .dv-table th:nth-child(4), .dv-table td:nth-child(4) { display: none; }
    .ms-head, .ms-list li { grid-template-columns: 34px minmax(0, 1fr) 64px; }
    .ms-head span:nth-child(2), .ms-vol { display: none; }
}

.price-card .price-label { color: var(--text-3); font-size: 0.9rem; margin: 0; }
.price-card .price-value { color: var(--text-1); font-size: 1.9rem; font-weight: 700; margin: 4px 0 6px; }
.price-card .price-value span { font-size: 0.9rem; font-weight: 500; color: var(--text-3); }
.price-card .price-sub { color: var(--text-3); font-size: 0.88rem; margin: 0; }

/* ---------- About ---------- */
.ab-facts { list-style: none; padding: 0; margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ab-facts li { display: grid; gap: 2px; padding: 12px 22px; border-radius: var(--radius-md); background: rgba(15,23,42,.55); border: 1px solid rgba(148,163,184,.22); min-width: 150px; }
.ab-facts b { color: #fff; font-size: 1.05rem; }
.ab-facts span { color: var(--navy-text-muted); font-size: 0.78rem; }
.ab-pillar-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 860px; }
.ab-pillar-links li { padding: 0; min-width: 0; transition: border-color .2s, background .2s; }
.ab-pillar-links li:hover { border-color: rgba(56,189,248,.6); background: rgba(15,23,42,.75); }
.ab-pillar-links a { display: grid; gap: 2px; padding: 12px 16px; color: inherit; text-decoration: none; }
#time-back, #ai-for-everyone, #built-on-data, #shape-whats-next { scroll-margin-top: 72px; }

/* Where we fit: eight branches feeding one trunk, then what comes out */
.ab-tree { max-width: 1080px; margin: 0 auto; }
.ab-branches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.ab-branch { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 16px 8px 14px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.ab-branch::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 26px; background: linear-gradient(180deg, rgba(14,165,233,.15), rgba(14,165,233,.7)); }
.ab-glyph { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(14,165,233,.08); margin-bottom: 4px; }
.ab-branch b { color: var(--text-1); font-size: 0.9rem; }
.ab-branch small { color: var(--text-4); font-size: 0.72rem; line-height: 1.35; }
.ab-trunk { margin-top: 26px; display: flex; align-items: center; gap: 16px; padding: 20px 26px; border-radius: var(--radius-lg); background: var(--navy-bg); box-shadow: 0 0 0 6px rgba(14,165,233,.1), 0 24px 50px -24px rgba(14,165,233,.6); }
.ab-trunk img { width: 44px; height: 44px; flex: none; }
.ab-trunk div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ab-trunk b { color: #fff; font-size: 1.25rem; }
.ab-trunk span { color: var(--navy-text-muted); font-size: 0.98rem; }
.ab-outputs { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ab-outputs li { padding: 7px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: var(--text-1); background: var(--bg-2); border: 1px solid var(--border); }
.ab-outputs li.spec { background: transparent; border: 1.5px dashed var(--accent); color: var(--accent-3); }

/* Why we started: a venue photo with the 06:00 promise on it */
.ab-photo { position: relative; margin: 0; }
.ab-photo img { display: block; width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.ab-photo figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 300px; display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--radius-md); background: rgba(15,23,42,.88); backdrop-filter: blur(6px); }
.ab-photo figcaption b { color: var(--accent-2); font-size: 1.5rem; line-height: 1.1; }
.ab-photo figcaption span { color: var(--navy-text); font-size: 0.88rem; }
.ab-photo.is-ask figcaption { max-width: 340px; gap: 6px; }
.ab-photo.is-ask figcaption b { color: #fff; font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.ab-photo.is-ask figcaption span { color: var(--accent-2); font-size: 0.8rem; }
.feature-row .feature-copy p + p { margin-top: 14px; }

/* How we work: the two parts of the offer */
.ab-offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.ab-tier { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-card); box-shadow: var(--shadow-sm); }
.ab-tier.is-base { background: linear-gradient(160deg, rgba(56,189,248,.10), rgba(14,165,233,.03)); border-color: rgba(14,165,233,.3); }
.ab-when { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 10px; }
.ab-tier h3 { color: var(--text-1); font-size: 1.3rem; margin: 0 0 10px; }
.ab-tier p { color: var(--text-3); margin: 0; }
.ab-tier .bespoke-link { margin-top: 18px; }

/* Proof cards: navy by default, .is-light under the Built on Data pillar */
.ab-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-values > div { padding: 26px 22px; border-radius: var(--radius-lg); background: rgba(255,255,255,.03); border: 1px solid var(--navy-border); }
.ab-values i { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(56,189,248,.12); color: var(--accent-2); font-size: 1rem; margin-bottom: 16px; }
.ab-values h3 { color: #fff; font-size: 1.05rem; margin: 0 0 8px; }
.ab-values p { color: var(--navy-text-muted); font-size: 0.92rem; margin: 0; }
.ab-values.is-light { margin-top: 40px; }
.ab-values.is-light > div { background: var(--surface-card); border-color: var(--border); box-shadow: var(--shadow-sm); }
.ab-values.is-light i { background: rgba(14,165,233,.1); color: var(--accent-3); }
.ab-values.is-light h3 { color: var(--text-1); }
.ab-values.is-light p { color: var(--text-3); }

@media (max-width: 960px) {
    .ab-branches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ab-branch::after { display: none; }
    .ab-trunk { margin-top: 16px; }
    .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-photo img { height: 320px; }
}
@media (max-width: 600px) {
    .ab-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-offer, .ab-values { grid-template-columns: 1fr; }
    .ab-trunk { padding: 16px 18px; }
    .ab-facts li { min-width: 0; flex: 1 1 140px; }
}
@media (max-width: 900px) {
    .ab-pillar-links { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
}
.hero-bullets a { color: inherit; text-decoration: none; }
.hero-bullets a:hover { color: var(--accent-2); }
