/* ============================================================
   DeepMap AI v2 — design system
   Palantir-ish: dark, authoritative, technical, high-contrast.
   ============================================================ */

:root {
    /* Surfaces */
    --bg-0: #05070a;            /* page background, near-black */
    --bg-1: #0a0e14;            /* card / panel */
    --bg-2: #10161f;            /* elevated card / header */
    --bg-3: #1a2230;            /* hover / active */

    /* Borders / dividers */
    --rule-dim: #1a2230;
    --rule:     #2a3648;
    --rule-hot: #3f4e68;

    /* Text */
    --fg-0: #e8edf5;            /* primary */
    --fg-1: #b8c2d1;            /* secondary */
    --fg-2: #7b8799;            /* tertiary / labels */
    --fg-3: #4a5568;            /* de-emphasised */

    /* Accent — used for data, emphasis, CTAs */
    --accent:       #62d4ff;    /* cool cyan — numbers, hovers */
    --accent-hot:   #5ae8c4;    /* mint — success, confirmed matches */
    --accent-warn:  #f0a958;    /* amber — caution */
    --accent-err:   #ff6b6b;    /* red — failures */
    --accent-bg:    rgba(98, 212, 255, 0.08);

    /* Font stacks */
    --font-prose: "Source Sans 3", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-display: "Fraunces", "Source Serif 4", Charter, Georgia,
                    "Times New Roman", serif;
    --font-mono:  "JetBrains Mono", "SF Mono", Menlo, Consolas,
                  "Courier New", monospace;

    /* Scale */
    --step--1: clamp(0.78rem, 0.77rem + 0.05vw, 0.82rem);
    --step-0:  clamp(0.94rem, 0.90rem + 0.2vw, 1.05rem);
    --step-1:  clamp(1.12rem, 1.05rem + 0.35vw, 1.32rem);
    --step-2:  clamp(1.40rem, 1.25rem + 0.75vw, 1.80rem);
    --step-3:  clamp(1.75rem, 1.45rem + 1.5vw, 2.60rem);
    --step-4:  clamp(2.30rem, 1.80rem + 2.50vw, 3.80rem);

    /* Layout */
    --max-w: 1200px;
    --gutter: clamp(16px, 3vw, 40px);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-0);
    color: var(--fg-0);
    font-family: var(--font-prose);
    font-size: var(--step-0);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 140ms ease;
}
a:hover { border-color: var(--accent); }

h1, h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: normal;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
    color: var(--fg-0);
    font-feature-settings: "ss01", "ss02";  /* Fraunces optical tuning */
}
h1 { font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.025em; font-weight: 500; }
h2 { font-size: var(--step-3); line-height: 1.15; font-weight: 500; }
h3, h4 {
    font-family: var(--font-prose);
    font-weight: 600;
    letter-spacing: -0.005em;
    margin: 0 0 0.5em;
    color: var(--fg-0);
}
h3 { font-size: var(--step-2); line-height: 1.25; }
h4 {
    font-size: 0.92rem;
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.005em;
    text-transform: none;
    color: var(--accent);
    margin-bottom: 10px;
}

p  { margin: 0 0 1em; color: var(--fg-1); max-width: 68ch; }
small { font-size: var(--step--1); color: var(--fg-2); }

code, pre, .mono {
    font-family: var(--font-mono);
    font-size: 0.95em;
}

/* Container */
.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------------- NAV ---------------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 14, 20, 0.82);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--rule-dim);
}
.site-nav .inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px var(--gutter);
    max-width: var(--max-w);
    margin: 0 auto;
}
.brand {
    font-family: var(--font-prose);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.1rem;
    color: var(--fg-0);
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--accent);
    display: inline-block;
    box-shadow: 0 0 14px var(--accent);
}
.brand:hover { border-color: transparent; }

.site-nav nav {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-left: auto;
    font-size: 0.93rem;
}
.site-nav nav a {
    color: var(--fg-1);
    border: none;
}
.site-nav nav a:hover { color: var(--fg-0); }
/* Nav links that are actually buttons must inherit button colors, not nav-link colors */
.site-nav nav a.btn         { color: var(--fg-0); border: 1px solid var(--rule); }
.site-nav nav a.btn:hover   { color: var(--accent); border-color: var(--accent); }
.site-nav nav a.btn-primary,
.site-nav nav a.btn-primary:hover {
    color: #05070a;
    border-color: var(--accent);
    font-weight: 600;
}
.site-nav nav a.btn-primary       { background: var(--accent); }
.site-nav nav a.btn-primary:hover { background: #7ce0ff; border-color: #7ce0ff; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-family: var(--font-prose);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--fg-0);
    background: transparent;
    border: 1px solid var(--rule);
    cursor: pointer;
    transition: all 140ms ease;
    text-decoration: none;
}
.btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-primary,
.btn-primary:visited {
    background: var(--accent);
    color: #05070a;
    border-color: var(--accent);
    font-weight: 600;
}
.btn-primary:hover {
    background: #7ce0ff;
    border-color: #7ce0ff;
    color: #05070a;
}
.btn-sm { padding: 6px 12px; font-size: 0.83rem; }

/* ---------------- HERO ---------------- */
.hero {
    position: relative;
    padding: clamp(64px, 12vw, 160px) 0 clamp(64px, 10vw, 120px);
    border-bottom: 1px solid var(--rule-dim);
    overflow: hidden;
}
.hero .eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}
.hero h1 {
    max-width: 22ch;
    margin-bottom: 24px;
}
.hero .lede {
    font-size: var(--step-1);
    color: var(--fg-1);
    max-width: 56ch;
    margin-bottom: 38px;
}
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- STAT BAND (hero or section) ---------------- */
.stat-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg-1);
}
.stat-band .stat {
    padding: 22px var(--gutter);
    border-right: 1px solid var(--rule-dim);
}
.stat-band .stat:last-child { border-right: none; }
.stat .num {
    font-family: var(--font-mono);
    font-size: var(--step-2);
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.stat .label {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fg-2);
}

/* ---------------- SECTION ---------------- */
.section {
    padding: clamp(48px, 8vw, 96px) 0;
    border-bottom: 1px solid var(--rule-dim);
}
.section .head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.section h4.kicker {
    margin: 0 0 4px;
}
.section h2 {
    margin: 0;
    max-width: 24ch;
}

/* ---------------- CARD GRID ---------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--rule-dim);
    border: 1px solid var(--rule-dim);
}
.card {
    background: var(--bg-1);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 140ms ease;
}
.card:hover { background: var(--bg-2); }

/* Clickable card variant: anchor version of .card */
a.card,
a.card-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}
a.card-link:hover { background: var(--bg-2); }
a.card-link .card-cta {
    margin-top: auto;
    padding-top: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.55;
    transition: opacity 140ms ease;
}
a.card-link:hover .card-cta { opacity: 1; }

/* ---------------- LOADING SKELETONS ---------------- */
/* Replace spinners with subtle pulsing blocks.  Usage:
     <div class="skel skel-line"></div>
     <div class="skel skel-title"></div>
     <div class="skel skel-metric"></div>
   Each element animates a gradient sweep across its surface.
*/
.skel {
  display: block;
  background: linear-gradient(90deg, var(--bg-1) 0%, var(--bg-2) 40%, var(--bg-1) 80%);
  background-size: 200% 100%;
  animation: skel-sweep 1.6s ease-in-out infinite;
  border-radius: 2px;
}
.skel-line    { height: 12px; width: 100%; margin: 6px 0; }
.skel-line-sm { height: 10px; width: 60%; margin: 4px 0; }
.skel-title   { height: 22px; width: 70%; margin: 10px 0; }
.skel-metric  { height: 38px; width: 100px; margin: 8px 0 14px; }
.skel-card    { height: 180px; width: 100%; margin: 4px 0; }
.skel-row     { height: 48px; width: 100%; margin: 2px 0; }

@keyframes skel-sweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.card .metric {
    font-family: var(--font-mono);
    font-size: var(--step-3);
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.card .metric.hot { color: var(--accent-hot); }
.card .metric.warn { color: var(--accent-warn); }
.card .metric.err { color: var(--accent-err); }
.card .metric-sub {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--fg-2);
}
.card .title {
    font-size: var(--step-0);
    font-weight: 600;
    color: var(--fg-0);
}
.card .desc {
    font-size: 0.92rem;
    color: var(--fg-1);
    line-height: 1.5;
}

/* ---------------- TABLE ---------------- */
.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.tbl th, .tbl td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--rule-dim);
    vertical-align: middle;
}
.tbl th {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fg-2);
    font-weight: 500;
    background: var(--bg-1);
    border-bottom-color: var(--rule);
}
.tbl td.mono { font-family: var(--font-mono); color: var(--accent); }
.tbl tbody tr:hover td { background: var(--bg-1); }

/* ---------------- HERO CENTERED (globe orb) ---------------- */
.hero-centered {
    padding: clamp(40px, 8vw, 100px) 0 clamp(50px, 8vw, 100px);
}
.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}
.hero-center .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-center h1 {
    max-width: 18ch;
    margin: 12px auto 18px;
}
.hero-center .lede {
    max-width: 64ch;
    margin: 0 auto 36px;
}
.hero-center .pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-hot);
    box-shadow: 0 0 8px var(--accent-hot);
    animation: pulse-dot 1.8s ease-in-out infinite;
    display: inline-block;
}

/* Circular globe orb with halo + overlay CTA */
.globe-orb {
    position: relative;
    display: block;
    width: min(560px, 90vw);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 8px auto 32px;
    overflow: visible;
    box-shadow:
        0 0 60px rgba(98, 212, 255, 0.18),
        0 0 140px rgba(98, 212, 255, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
}
.globe-orb:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 80px rgba(98, 212, 255, 0.3),
        0 0 180px rgba(98, 212, 255, 0.14);
}
.globe-orb-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0d1824 0%, #040811 80%);
}
.globe-orb-inner iframe,
.globe-orb-inner img {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}
.globe-orb-cta {
    position: absolute;
    left: 50%;
    bottom: 14%;
    transform: translateX(-50%);
    padding: 10px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, var(--accent));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    letter-spacing: 0.01em;
}
.globe-orb:hover .globe-orb-cta {
    box-shadow: 0 6px 28px rgba(59, 130, 246, 0.55);
}

/* Proof strip: numbers that kill skepticism above the fold */
.hero-proof {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    margin: 0 auto 28px;
    padding: 14px 22px;
    border-top: 1px solid var(--rule-dim);
    border-bottom: 1px solid var(--rule-dim);
    font-family: var(--font-prose);
    font-size: 0.94rem;
    color: var(--fg-1);
    max-width: 840px;
}
.hero-proof .pf-item { font-weight: 400; }
.hero-proof .pf-item strong {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--accent);
    margin-right: 6px;
    letter-spacing: -0.01em;
}
.hero-proof .pf-sep { color: var(--fg-3); }

/* Hero CTAs: one loud primary + quiet secondaries */
.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.btn-lg {
    padding: 16px 38px;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    min-width: 220px;
}
.hero-ctas-secondary {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-link {
    color: var(--fg-2);
    font-size: 0.9rem;
    text-decoration: none;
    padding: 4px 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ---------------- HEARTBEAT WIDGET ---------------- */
.heartbeat {
    margin-top: 14px;
    padding: 12px 16px;
    border: 1px solid var(--rule);
    background: var(--bg-1);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.hb-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-hot);
    box-shadow: 0 0 10px var(--accent-hot);
    animation: pulse-dot 1.8s ease-in-out infinite;
    flex: 0 0 12px;
}
.hb-dot.warn { background: var(--accent-warn); box-shadow: 0 0 10px var(--accent-warn); }
.hb-dot.err  { background: var(--accent-err);  box-shadow: 0 0 10px var(--accent-err);  }
.hb-metrics {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--fg-1);
}
.hb-num {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent);
    font-size: 1rem;
}
.hb-label {
    color: var(--fg-2);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 4px;
}
.hb-sep { color: var(--fg-3); font-size: 0.9rem; }
.hb-state {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--fg-2);
}

@media (max-width: 900px) {
    .globe-orb { width: min(420px, 88vw); }
    .globe-orb-cta { font-size: 0.85rem; padding: 8px 22px; }
}
@media (max-width: 640px) {
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn { width: 100%; }
}

/* ---------------- PHYSICS FIRSTS BAR ---------------- */
.firsts-bar {
    background: var(--bg-1);
    border-top: 1px solid var(--rule-dim);
    border-bottom: 1px solid var(--rule-dim);
    padding: 28px 0;
    overflow: hidden;
}
.firsts-head {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}
.firsts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 36px;
}
.first-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 6px 0;
    color: var(--fg-0);
    font-size: 0.95rem;
    border: none;
}
.first-item::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-hot);
    margin-top: 8px;
    box-shadow: 0 0 10px var(--accent-hot);
    animation: pulse-dot 2.8s ease-in-out infinite;
}
.first-item:nth-child(2)::before { animation-delay: 0.3s; }
.first-item:nth-child(3)::before { animation-delay: 0.6s; }
.first-item:nth-child(4)::before { animation-delay: 0.9s; }
.first-item:nth-child(5)::before { animation-delay: 1.2s; }
.first-item:nth-child(6)::before { animation-delay: 1.5s; }
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 6px var(--accent-hot); opacity: 0.85; }
    50%      { box-shadow: 0 0 18px var(--accent-hot); opacity: 1; }
}
.first-item .ft-label {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--fg-2);
    margin-bottom: 2px;
    letter-spacing: 0.01em;
}
.first-item .ft-claim { line-height: 1.3; }
@media (max-width: 900px) {
    .firsts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .firsts-grid { grid-template-columns: 1fr; }
}

/* ---------------- USE CASE GRID ---------------- */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--rule-dim);
    border: 1px solid var(--rule-dim);
}
.usecase {
    display: block;
    background: var(--bg-1);
    padding: 28px 24px;
    text-decoration: none;
    border: none;
    transition: all 180ms ease;
    color: var(--fg-0);
}
.usecase:hover {
    background: var(--bg-2);
    color: var(--accent);
    border-color: transparent;
}
.usecase .uc-kicker {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 10px;
}
.usecase:hover .uc-kicker { color: var(--accent); }
.usecase .uc-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--fg-0);
}
.usecase:hover .uc-title { color: var(--accent); }
.usecase .uc-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--fg-1);
}
.usecase .uc-arrow {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--fg-2);
    transition: transform 180ms ease;
}
.usecase:hover .uc-arrow { transform: translateX(3px); color: var(--accent); }

/* ---------------- FOOTER ---------------- */
.site-foot {
    padding: 48px var(--gutter) 32px;
    background: var(--bg-1);
    color: var(--fg-2);
    font-size: 0.88rem;
    border-top: 1px solid var(--rule-dim);
}
.site-foot .foot-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px 24px;
}
.site-foot h5 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--fg-1);
    margin: 0 0 14px;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot ul li { margin-bottom: 8px; }
.site-foot a { color: var(--fg-2); border: none; }
.site-foot a:hover { color: var(--accent); }

/* ---------------- PREVIEW banner ---------------- */
.preview-banner {
    background: var(--accent-warn);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    padding: 8px var(--gutter);
    text-align: center;
}

/* ---------------- MOBILE NAV (hamburger + slide-in drawer) ---------------- */
.nav-burger {
    display: none;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--rule);
    cursor: pointer;
    padding: 0;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-burger span {
    display: block;
    width: 18px; height: 2px;
    background: var(--fg-0);
    transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    background: var(--bg-0);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 240ms ease;
    visibility: hidden;
    overflow-y: auto;
    padding: 18px var(--gutter) 40px;
}
.mobile-drawer.open {
    transform: translateX(0);
    visibility: visible;
}
.mobile-drawer .md-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule-dim);
    margin-bottom: 22px;
}
.mobile-drawer .md-close {
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--rule);
    color: var(--fg-0);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.mobile-drawer .md-close:hover { border-color: var(--accent); color: var(--accent); }
.mobile-drawer .md-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-drawer .md-nav a {
    display: block;
    padding: 14px 4px;
    color: var(--fg-0);
    text-decoration: none;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--rule-dim);
}
.mobile-drawer .md-nav a:hover { color: var(--accent); }
.mobile-drawer .md-nav a.btn-primary {
    background: var(--accent);
    color: #05070a;
    text-align: center;
    border: 1px solid var(--accent);
    font-weight: 600;
    margin-top: 18px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 720px) {
    .site-nav nav { gap: 10px; font-size: 0.85rem; }
    .site-nav nav a.hide-sm,
    .site-nav nav .btn.hide-sm { display: none; }
    .nav-burger { display: inline-flex; }
    .site-foot .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .site-foot .foot-grid { grid-template-columns: 1fr; }
}
