/* ============================================================
   tanso.tech - dark mode neon crypto
   Palette:
     Dark      #0a0a0f
     Panel     #141420
     Text      #e2e8f0
     Neon Grn  #10b981
     Neon Blue #3b82f6
     Code BG   #1a1a2e
     Border    #1e293b
     Muted     #64748b
     Violet    #a78bfa
   ============================================================ */

:root {
    --bg: #0a0a0f;
    --panel: #141420;
    --panel-2: #1e293b;
    --code-bg: #1a1a2e;
    --border: #1e293b;
    --text: #e2e8f0;
    --muted: #64748b;
    --neon-green: #10b981;
    --neon-blue: #3b82f6;
    --violet: #a78bfa;
    --grad: linear-gradient(135deg, #10b981, #3b82f6);
    --grad-soft: linear-gradient(135deg, rgba(16,185,129,0.16), rgba(59,130,246,0.16));

    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-code: "Fira Code", "SF Mono", Menlo, monospace;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 18px;

    --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Subtle grid background */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(30, 41, 59, 0.35) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 41, 59, 0.35) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
    opacity: 0.7;
}

main, header, footer { position: relative; z-index: 1; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   Typography
   ============================================================ */

.display {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-kicker {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--neon-green);
    letter-spacing: 0.04em;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-sub {
    color: var(--muted);
    max-width: 56ch;
    margin-top: 0.85rem;
    font-size: 1.02rem;
}

.lede {
    color: #cbd5e1;
    font-size: 1.075rem;
    max-width: 56ch;
    margin-top: 1rem;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--text);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
}

.endpoint-tag {
    display: inline-block;
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--neon-green);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.01em;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1.15rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad);
    color: #07120c;
    font-weight: 600;
    box-shadow: 0 8px 28px -10px rgba(16, 185, 129, 0.55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px -10px rgba(59, 130, 246, 0.65);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(16, 185, 129, 0.06);
}

.btn .arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}

.btn:hover .arrow { transform: translateX(3px); }

.link-muted {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.18s ease;
}

.link-muted:hover { color: var(--text); }

/* ============================================================
   Header
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 10, 15, 0.65);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--grad);
    box-shadow: 0 0 18px -3px rgba(16, 185, 129, 0.7);
    position: relative;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 3px;
    background: var(--bg);
}

.brand-name { color: var(--text); }
.brand-dot { color: var(--neon-green); }

.primary-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.92rem;
    color: #cbd5e1;
}

.primary-nav a {
    position: relative;
    transition: color 0.18s ease;
}

.primary-nav a:hover { color: var(--neon-green); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.hero-gradient-line {
    position: absolute;
    top: 8%;
    left: -10%;
    width: 130%;
    height: 2px;
    background: var(--grad);
    transform: rotate(-9deg);
    box-shadow: 0 0 40px 4px rgba(16, 185, 129, 0.45);
    opacity: 0.85;
    animation: lineShimmer 6s ease-in-out infinite;
}

.hero-gradient-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad);
    filter: blur(20px);
    opacity: 0.55;
}

@keyframes lineShimmer {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 { margin-bottom: 0.5rem; }

.hero-cta {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.hero-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.hero-stats li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Hero code window */
.hero-code {
    position: relative;
}

.code-window {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(16, 185, 129, 0.07);
    position: relative;
}

.code-window::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(16,185,129,0.45), rgba(59,130,246,0.35), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.code-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: rgba(10, 10, 15, 0.65);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-code);
    font-size: 0.78rem;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--panel-2);
}

.code-dot:nth-child(1) { background: #ef476f55; }
.code-dot:nth-child(2) { background: #ffd16633; }
.code-dot:nth-child(3) { background: #10b98155; }

.code-file {
    margin-left: 0.5rem;
    color: var(--muted);
}

.code-bar .endpoint-tag {
    margin-left: auto;
}

.code-body {
    padding: 1.25rem;
    font-family: var(--font-code);
    font-size: 0.875rem;
    line-height: 1.65;
    color: #cbd5e1;
    overflow-x: auto;
    white-space: pre;
}

.code-body.small {
    font-size: 0.78rem;
    padding: 1rem;
    line-height: 1.55;
}

.c-com { color: #64748b; font-style: italic; }
.c-kw  { color: #a78bfa; }
.c-str { color: #10b981; }
.c-num { color: #3b82f6; }
.c-fn  { color: #38bdf8; }
.c-var { color: #e2e8f0; }

.code-floater {
    position: absolute;
    left: -14px;
    bottom: -14px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--text);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
}

.float-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
    70%  { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.float-text { color: #cbd5e1; }

/* ============================================================
   Logos strip
   ============================================================ */

.logos {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(20, 20, 32, 0.4);
}

.logos-title {
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.25rem;
}

.logos-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

.logos-row li {
    transition: color 0.25s ease;
}

.logos-row li:hover { color: var(--text); }

/* ============================================================
   Section head
   ============================================================ */

.section-head {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   Platform / features
   ============================================================ */

.platform {
    padding: 6rem 0 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.45);
    background: linear-gradient(180deg, var(--panel) 60%, rgba(16,185,129,0.04));
}

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--code-bg);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--neon-green);
    margin-bottom: 0.35rem;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.feature h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.55;
    flex: 1;
}

.feature .endpoint-tag {
    align-self: flex-start;
}

/* ============================================================
   Integrations
   ============================================================ */

.integrations {
    padding: 4rem 0;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.integration-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.integration-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.45);
}

.integration-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.integration-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-family: var(--font-code);
    font-size: 0.82rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.04em;
    filter: grayscale(0.4);
}

.integration-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.integration-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
}

.integration-card .code-body.small {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex: 1;
}

/* ============================================================
   Realtime
   ============================================================ */

.realtime {
    padding: 4rem 0;
}

.realtime-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: center;
}

.realtime-meta {
    list-style: none;
    margin-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.realtime-meta li {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-code);
    font-size: 0.85rem;
}

.realtime-meta li > span:first-child { color: var(--muted); }
.realtime-meta li > span:last-child { color: var(--text); }

.realtime-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.realtime-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(16,185,129,0.4), rgba(59,130,246,0.3), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.realtime-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-code);
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 0 0 rgba(16,185,129,0.8);
    animation: pulse 1.8s ease-out infinite;
}

.live-dot.small { width: 6px; height: 6px; }

.live-label {
    color: var(--neon-green);
    letter-spacing: 0.06em;
    font-weight: 500;
}

.realtime-head .endpoint-tag { margin-left: auto; }

.realtime-readout {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.5rem 0 0.75rem;
}

.readout-prefix {
    font-family: var(--font-code);
    color: var(--muted);
    font-size: 0.95rem;
}

.readout-prefix sub { font-size: 0.75em; }

.readout-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--neon-green);
    letter-spacing: -0.02em;
    text-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.readout-unit {
    font-family: var(--font-code);
    color: var(--muted);
    font-size: 0.95rem;
}

.realtime-spark {
    height: 110px;
    margin: 0.25rem 0 1rem;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(16,185,129,0.04), transparent);
    overflow: hidden;
    border: 1px solid var(--border);
}

.realtime-spark svg { width: 100%; height: 100%; display: block; }

.realtime-feed {
    list-style: none;
    border-top: 1px solid var(--border);
    max-height: 168px;
    overflow: hidden;
    position: relative;
}

.feed-item {
    display: grid;
    grid-template-columns: 70px minmax(0,1fr) 80px 86px;
    gap: 0.75rem;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-code);
    font-size: 0.78rem;
    animation: feedIn 0.45s ease-out;
}

@keyframes feedIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.feed-time { color: var(--muted); }
.feed-id   { color: var(--violet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-asset { color: #cbd5e1; }
.feed-amount {
    color: var(--neon-green);
    text-align: right;
    font-weight: 500;
}

/* ============================================================
   Docs strip
   ============================================================ */

.docs {
    padding: 4rem 0;
}

.docs-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.docs-cta {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.docs-list {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.docs-row {
    display: grid;
    grid-template-columns: 175px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease, padding 0.2s ease;
}

.docs-row:last-child { border-bottom: none; }

.docs-row:hover {
    background: rgba(16, 185, 129, 0.05);
    padding-left: 1.5rem;
}

.docs-name {
    color: var(--text);
    font-size: 0.95rem;
}

.docs-arrow {
    color: var(--muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.docs-row:hover .docs-arrow {
    color: var(--neon-green);
    transform: translateX(3px);
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
    padding: 5rem 0 6rem;
}

.cta-inner {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 20% 30%, rgba(16,185,129,0.25), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59,130,246,0.22), transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.cta-inner > * {
    position: relative;
    z-index: 1;
}

.cta-inner .display { margin-bottom: 0.75rem; }

.cta-inner .lede { margin: 0 auto; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(10, 10, 15, 0.85);
    padding: 3rem 0 1.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--muted);
    margin-top: 0.85rem;
    font-size: 0.92rem;
    max-width: 32ch;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.footer-cols h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
}

.footer-cols a {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    transition: color 0.18s ease;
}

.footer-cols a:hover { color: var(--neon-green); }

.footer-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    color: var(--muted);
    font-family: var(--font-code);
    font-size: 0.78rem;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
    .hero-inner,
    .realtime-grid,
    .docs-inner { grid-template-columns: 1fr; gap: 2.25rem; }
    .feature-grid,
    .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
    .primary-nav { display: none; }
    .header-actions .link-muted { display: none; }
    .feature-grid,
    .integration-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .hero { padding-top: 3rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .docs-row { grid-template-columns: 1fr auto; }
    .docs-row .endpoint-tag { grid-column: 1 / -1; }
    .cta-inner { padding: 3rem 1.25rem; }
    .footer-base { flex-direction: column; gap: 0.5rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .hero-gradient-line { animation: none; }
    .live-dot, .float-pulse { animation: none; }
}
