/* ============================================================
   SecurePixie landing — styles.css
   Single-page, no JS, no build step.
   Edit tokens in :root to retheme.
   ============================================================ */

/* --- Tokens (CSS custom properties) ------------------------- */
:root {
    /* Surfaces */
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --bg-deep: #0b2545;       /* dark navy panel */
    --bg-deep-2: #0a1f3d;
    --panel: #ffffff;

    /* Ink */
    --text: #0b1a33;
    --text-muted: #475569;
    --text-faint: #64748b;
    --text-on-dark: #e6edf7;
    --text-on-dark-muted: #94a3b8;

    /* Brand */
    --accent: #0b2545;        /* deep navy — primary brand ink */
    --accent-2: #2a6fdb;      /* steel blue — accents, links on light */
    --accent-soft: #e7eefb;

    /* Status — for SBOM validation visual language */
    --ok: #15803d;
    --ok-soft: #dcfce7;
    --warn: #b45309;
    --warn-soft: #fef3c7;
    --risk: #b91c1c;
    --risk-soft: #fee2e2;

    /* Lines */
    --border: #e3e8ef;
    --border-strong: #cbd5e1;
    --border-on-dark: rgba(255, 255, 255, 0.10);

    /* Shape */
    --max-width: min(76rem, 100% - 4rem);
    --radius-card: 14px;
    --radius-button: 8px;
    --radius-pill: 999px;

    /* Type */
    --font-serif: 'Source Serif 4', Charter, Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(11, 26, 51, 0.04);
    --shadow-md: 0 4px 14px rgba(11, 26, 51, 0.06), 0 1px 2px rgba(11, 26, 51, 0.04);
    --shadow-lg: 0 24px 48px -16px rgba(11, 26, 51, 0.18), 0 8px 20px -12px rgba(11, 26, 51, 0.12);
}

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, picture, svg { max-width: 100%; display: block; }

/* --- Typography base ---------------------------------------- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 1.0625rem; /* 17px */
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.1;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1rem; text-wrap: pretty; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Layout helpers ----------------------------------------- */
.container {
    width: var(--max-width);
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 1.25rem; height: 1px;
    background: currentColor;
    display: inline-block;
}

/* --- Skip link (a11y) --------------------------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-button);
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
}

/* --- Top nav (reverse · on dark) ---------------------------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background:
        radial-gradient(900px 220px at 88% -40%, rgba(42, 111, 219, 0.28), transparent 60%),
        radial-gradient(700px 220px at 0% 140%, rgba(42, 111, 219, 0.10), transparent 60%),
        linear-gradient(180deg, #1e1b4b 0%, #161337 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-block: 1rem;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.375rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.025em;
}
.brand-mark:hover { text-decoration: none; color: #ffffff; }
.brand-mark .logo-glyph {
    width: 32px; height: 32px;
    flex: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}
.nav-links {
    display: flex;
    gap: 1.75rem;
    margin-left: auto;
}
.nav-links a {
    color: rgba(230, 237, 247, 0.82);
    font-size: 0.9375rem;
    font-weight: 500;
}
.nav-links a:hover { color: #ffffff; text-decoration: none; }
.site-nav .nav-cta.btn-primary {
    background: #ffffff;
    color: #1e1b4b;
}
.site-nav .nav-cta.btn-primary:hover {
    background: #eef1fb;
    color: #1e1b4b;
}
.nav-cta {
    margin-left: 0.5rem;
}
@media (max-width: 760px) {
    .nav-links { display: none; }
    .nav-cta { margin-left: auto; }
}

/* --- Buttons ------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.375rem;
    border-radius: var(--radius-button);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1;
    cursor: pointer;
}
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.875rem; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: #08365e;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    background: var(--bg-soft);
    border-color: var(--accent);
    text-decoration: none;
}

.btn-on-dark {
    background: #fff;
    color: var(--accent);
}
.btn-on-dark:hover { background: #f1f5fb; color: var(--accent); text-decoration: none; }

.btn-ghost-on-dark {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.28);
}
.btn-ghost-on-dark:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

.arrow {
    display: inline-block;
    transition: transform 0.15s ease;
}
.btn:hover .arrow { transform: translateX(2px); }

/* --- Hero --------------------------------------------------- */
.hero {
    padding-block: clamp(4rem, 9vh, 7rem);
    background:
        radial-gradient(1200px 480px at 90% -10%, rgba(42, 111, 219, 0.08), transparent 60%),
        radial-gradient(800px 400px at 0% 0%, rgba(11, 37, 69, 0.05), transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-headline {
    margin: 0 0 1.5rem;
    max-width: 16ch;
}
.hero-headline .accent {
    color: var(--accent-2);
}

.hero-subhead {
    margin: 0 0 2rem;
    color: var(--text-muted);
    max-width: 52ch;
    font-size: 1.1875rem;
    line-height: 1.55;
}

.hero-cta-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.hero-meta {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    color: var(--text-faint);
    font-size: 0.875rem;
}
.hero-meta .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--ok);
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Hero visualization panel */
.hero-viz {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
    overflow: hidden;
}
.hero-viz::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 37, 69, 0.025), transparent 30%);
    pointer-events: none;
    border-radius: inherit;
}
.viz-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.25rem 0.875rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.875rem;
}
.viz-titlebar h4 {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.viz-titlebar .filename {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-faint);
}

.sbom-row {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 0.6fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.625rem 0.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.8125rem;
}
.sbom-row:last-child { border-bottom: 0; }
.sbom-row.head {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    font-weight: 600;
    border-bottom: 1px solid var(--border-strong);
    padding-block: 0.5rem 0.625rem;
}
.sbom-row .pkg {
    font-family: var(--font-mono);
    color: var(--text);
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sbom-row .ver {
    font-family: var(--font-mono);
    color: var(--text-faint);
    font-size: 0.78rem;
}
.sbom-row .lic {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}
.sbom-row .lic.unknown { color: var(--text-faint); font-style: italic; }
.sbom-row .lic.conflict { color: var(--risk); }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.tag svg { width: 12px; height: 12px; }
.tag.ok    { background: var(--ok-soft);    color: var(--ok); }
.tag.warn  { background: var(--warn-soft);  color: var(--warn); }
.tag.risk  { background: var(--risk-soft);  color: var(--risk); }
.tag.muted { background: #eef2f6; color: var(--text-muted); }

.viz-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px dashed var(--border-strong);
    font-size: 0.78rem;
    color: var(--text-muted);
}
.viz-foot strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-viz { order: 2; }
}

/* --- Trust strip ------------------------------------------- */
.trust {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding-block: 1.75rem;
}
.trust-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    font-weight: 600;
}
.trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}
.trust-list li {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* --- Section primitive -------------------------------------- */
.section {
    padding-block: clamp(4rem, 9vh, 7rem);
}
.section-soft { background: var(--bg-soft); }
.section-head {
    max-width: 56ch;
    margin-bottom: 3rem;
}
.section-head h2 { margin: 0 0 1rem; }
.section-head p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin: 0;
}

/* --- What we do --------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.875rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 {
    margin: 0 0 0.625rem;
    font-size: 1.1875rem;
}
.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

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

/* --- The license-data gap ----------------------------------- */
.gap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.gap-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.75rem;
    background: var(--panel);
    position: relative;
}
.gap-card.before {
    background: linear-gradient(180deg, #fff 0%, #fff 100%);
}
.gap-card .gap-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.875rem;
}
.gap-card.before .gap-label { color: var(--risk); }
.gap-card.after  .gap-label { color: var(--ok); }
.gap-card h3 {
    margin: 0 0 1rem;
    font-size: 1.375rem;
}
.gap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.gap-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.625rem;
    align-items: start;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}
.gap-list li svg { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.gap-card.before .gap-list svg { color: var(--risk); }
.gap-card.after  .gap-list svg { color: var(--ok); }

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

/* --- SBOMX product feature ---------------------------------- */
.product {
    background: var(--bg-soft);
    border-block: 1px solid var(--border);
}
.product-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.product-copy .pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--warn-soft);
    color: var(--warn);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}
.product-copy .pill-badge::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--warn);
    display: inline-block;
}
.product-copy h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.product-tagline {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    line-height: 1.35;
    margin: 0 0 1.25rem;
    max-width: 36ch;
    color: var(--text);
    font-weight: 500;
}
.product-body {
    max-width: 60ch;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    font-size: 1rem;
}
.product-feature-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.product-feature-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.625rem;
    color: var(--text);
    font-size: 0.9375rem;
}
.product-feature-list li svg {
    width: 20px; height: 20px;
    color: var(--accent-2);
    margin-top: 1px;
    flex: none;
}
.product-feature-list li b {
    color: var(--text);
    font-weight: 600;
}
.product-feature-list li span {
    color: var(--text-muted);
}

/* Product mockup — looks like an evidence report */
.report-mock {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.report-head {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #ffffff, #fafbfd);
}
.report-head .left {
    display: flex; align-items: center; gap: 0.625rem;
}
.report-head .doctype {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.report-head h4 {
    margin: 0;
    font-size: 0.9375rem;
    font-family: var(--font-sans);
    font-weight: 600;
}
.report-head .lights { display: flex; gap: 6px; }
.report-head .lights span {
    width: 10px; height: 10px; border-radius: 999px;
    background: var(--border-strong);
}

.report-body {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.report-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
}
.summary-stat {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 0.875rem;
    background: #fff;
}
.summary-stat .num {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: var(--text);
}
.summary-stat .label {
    font-size: 0.72rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.summary-stat.ok   .num { color: var(--ok); }
.summary-stat.warn .num { color: var(--warn); }
.summary-stat.risk .num { color: var(--risk); }

.report-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.report-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0.875rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}
.report-row:last-child { border-bottom: 0; }
.report-row .what {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.report-row .what .ic {
    width: 22px; height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.report-row .ic.ok    { background: var(--ok-soft);   color: var(--ok); }
.report-row .ic.warn  { background: var(--warn-soft); color: var(--warn); }
.report-row .ic.risk  { background: var(--risk-soft); color: var(--risk); }
.report-row .ic svg { width: 13px; height: 13px; }
.report-row .meta {
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}
.report-row .label {
    color: var(--text);
    font-weight: 500;
}
.report-row .sub {
    color: var(--text-faint);
    font-size: 0.78rem;
    margin-left: 0.4rem;
}

@media (max-width: 900px) {
    .product-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .report-summary { grid-template-columns: repeat(2, 1fr); }
}

/* --- Engagement modes --------------------------------------- */
.modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.mode {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.875rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.mode:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.mode-label {
    display: inline-flex;
    align-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.mode h3 { margin: 0 0 0.625rem; font-size: 1.1875rem; }
.mode p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; }
@media (max-width: 900px) {
    .modes { grid-template-columns: 1fr; }
}

/* --- CTA block (dark navy) ---------------------------------- */
.cta-block {
    background:
        radial-gradient(900px 400px at 80% 0%, rgba(42, 111, 219, 0.22), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(42, 111, 219, 0.10), transparent 60%),
        linear-gradient(180deg, var(--bg-deep), var(--bg-deep-2));
    color: var(--text-on-dark);
}
.cta-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-block: clamp(3rem, 7vh, 5.5rem);
}
.cta-inner h2 {
    color: #fff;
    margin: 0 0 0.875rem;
    font-size: clamp(1.625rem, 2.8vw, 2.25rem);
    max-width: 22ch;
}
.cta-inner p {
    color: var(--text-on-dark-muted);
    margin: 0 0 1.5rem;
    max-width: 56ch;
}
.cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
@media (max-width: 900px) {
    .cta-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .cta-actions { justify-content: flex-start; }
}

/* --- Footer ------------------------------------------------- */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding-block: 3rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-brand .brand-mark { font-size: 1.25rem; }
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 1rem 0 0;
    max-width: 38ch;
}
.footer-col h5 {
    margin: 0 0 0.875rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    font-family: var(--font-sans);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-col a {
    color: var(--text);
    font-size: 0.9375rem;
}
.footer-col a:hover { color: var(--accent-2); text-decoration: none; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-bottom .legal { display: flex; gap: 1.25rem; }
.footer-bottom .legal a { color: var(--text-muted); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* --- Mobile responsive (< 768px) ---------------------------- */
@media (max-width: 768px) {
    :root { --max-width: calc(100% - 2rem); }
    .hero-cta-group { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
}

/* --- Reduced motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .card, .arrow { transition: none; }
}

/* --- Focus states (a11y) ------------------------------------ */
:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}
