/* Telle marketing site. Same tokens as the app (resources/css/app.css). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-700.woff2') format('woff2'); }

:root {
    color-scheme: light dark;

    --background: #ffffff;
    --canvas: #f6f8fa;
    --foreground: #1a1f36;
    --ink-2: #414552;
    --muted-foreground: #687385;
    --card: #ffffff;
    --border: #e3e8ee;
    --primary: #5b52f5;
    --primary-hover: #4a3fe0;
    --primary-foreground: #ffffff;
    --primary-ink: #4b42e0;

    --chart-1: #5b52f5;
    --chart-2: #eb6834;
    --chart-3: #1baf7a;
    --chart-grid: #ebeef1;
    --chart-axis: #c1c9d2;

    --positive: #0e7d4f;

    --status-success-bg: #d7f7e6;
    --status-success-fg: #05603a;
    --status-warning-bg: #fcedb9;
    --status-warning-fg: #8a4b00;
    --status-info-bg: #ebeaff;
    --status-info-fg: #3d33d6;
    --status-neutral-bg: #ebeef1;
    --status-neutral-fg: #545969;

    --chip-in-bg: rgb(14 125 79 / 0.1);    --chip-in-fg: #0e7d4f;
    --chip-out-bg: rgb(91 82 245 / 0.1);   --chip-out-fg: #4b42e0;
    --chip-move-bg: rgb(14 116 194 / 0.1); --chip-move-fg: #0b6bb5;
    --chip-card-bg: rgb(170 59 255 / 0.1); --chip-card-fg: #8a2be2;

    --elevation-card: 0 1px 1px rgb(26 31 54 / 0.03), 0 2px 5px -1px rgb(26 31 54 / 0.06), 0 0 0 1px rgb(26 31 54 / 0.04);
    --elevation-raised: 0 2px 5px rgb(26 31 54 / 0.06), 0 8px 24px -6px rgb(26 31 54 / 0.12), 0 0 0 1px rgb(26 31 54 / 0.05);
    --elevation-window: 0 50px 100px -20px rgb(50 50 93 / 0.25), 0 30px 60px -30px rgb(0 0 0 / 0.3), 0 0 0 1px rgb(26 31 54 / 0.06);

    --hero-gradient: linear-gradient(115deg, #a59bff 0%, #6d64ff 35%, #4a3fe0 60%, #7ad3ff 100%);
    --brand-gradient: linear-gradient(135deg, #6d64ff, #4a3fe0);

    --radius: 8px;
    --wrap: 1160px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #141a29;
        --canvas: #0e1320;
        --foreground: #e6ebf1;
        --ink-2: #c3cad6;
        --muted-foreground: #8d97a8;
        --card: #182033;
        --border: #273148;
        --primary: #8d88ff;
        --primary-hover: #a5a1ff;
        --primary-foreground: #0d0b26;
        --primary-ink: #aaa5ff;

        --chart-1: #7a73ff;
        --chart-2: #d95926;
        --chart-3: #199e70;
        --chart-grid: #222b40;
        --chart-axis: #3a4560;

        --positive: #4fd69c;

        --status-success-bg: rgb(30 166 114 / 0.16);
        --status-success-fg: #5ee0a8;
        --status-warning-bg: rgb(250 178 25 / 0.16);
        --status-warning-fg: #f5c45e;
        --status-info-bg: rgb(122 115 255 / 0.18);
        --status-info-fg: #aaa5ff;
        --status-neutral-bg: rgb(141 151 168 / 0.16);
        --status-neutral-fg: #b6becb;

        --chip-in-bg: rgb(79 214 156 / 0.14);   --chip-in-fg: #6fe3b0;
        --chip-out-bg: rgb(122 115 255 / 0.18); --chip-out-fg: #b3aeff;
        --chip-move-bg: rgb(94 177 255 / 0.15); --chip-move-fg: #8cc8ff;
        --chip-card-bg: rgb(196 126 255 / 0.16); --chip-card-fg: #d6a8ff;

        --elevation-card: 0 0 0 1px rgb(255 255 255 / 0.04), 0 2px 6px rgb(0 0 0 / 0.3);
        --elevation-raised: 0 0 0 1px rgb(255 255 255 / 0.06), 0 12px 32px -8px rgb(0 0 0 / 0.55);
        --elevation-window: 0 0 0 1px rgb(255 255 255 / 0.07), 0 50px 100px -20px rgb(0 0 0 / 0.6);
    }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--background); }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-feature-settings: 'cv11', 'ss01';
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i {
    width: 18px; height: 18px; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.i-sm { width: 15px; height: 15px; }
.i-xs { width: 13px; height: 13px; }
.i-xxs { width: 11px; height: 11px; vertical-align: -1px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Buttons */

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 20px;
    border-radius: 999px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    transition: background-color .15s, box-shadow .15s, transform .15s, color .15s;
}
.btn .i { width: 16px; height: 16px; transition: transform .15s; }
.btn:hover .i { transform: translateX(2px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 4px 14px -4px rgb(91 82 245 / 0.6); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { color: var(--foreground); }
.btn-ghost:hover { background: var(--status-neutral-bg); }

/* Nav */

.nav {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--background) 82%, transparent);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a {
    padding: 6px 12px; border-radius: 999px;
    font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.nav-links a:hover { color: var(--foreground); background: var(--status-neutral-bg); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--brand-gradient); color: #fff;
    box-shadow: 0 2px 6px -1px rgb(74 63 224 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.2);
}
.brand-mark .i { width: 18px; height: 18px; stroke-width: 2.25; }
.brand-mark-sm { width: 24px; height: 24px; border-radius: 6px; }
.brand-mark-sm .i { width: 15px; height: 15px; }
.brand-mark-lg { width: 52px; height: 52px; border-radius: 14px; }
.brand-mark-lg .i { width: 30px; height: 30px; }

/* Hero */

.hero { position: relative; overflow: hidden; padding-top: 72px; }

.hero-copy { position: relative; z-index: 1; text-align: center; max-width: 820px; }

.eyebrow-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px 5px 10px; margin-bottom: 24px;
    border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); box-shadow: var(--elevation-card);
    font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hero-gradient); }

.hero h1 {
    font-size: clamp(40px, 6.4vw, 72px);
    font-weight: 700; letter-spacing: -0.035em; line-height: 1.04;
    text-wrap: balance;
}

.lede {
    max-width: 640px; margin: 24px auto 0;
    font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: var(--muted-foreground);
    text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }

.fine { margin-top: 18px; font-size: 13px; color: var(--muted-foreground); }

.hero-stage { position: relative; margin-top: 64px; padding-bottom: 96px; }

/* The angled gradient band the window sits on. */
.stripe-band {
    position: absolute; left: 0; right: 0; top: 22%; bottom: 0;
    background: var(--hero-gradient);
    transform: skewY(-6deg); transform-origin: 0 100%;
    opacity: 0.95;
}
.stripe-band::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(60% 80% at 15% 30%, rgb(255 255 255 / 0.25), transparent 60%),
        radial-gradient(50% 70% at 85% 70%, rgb(122 211 255 / 0.45), transparent 60%);
}

/* App window mockup */

.app-window {
    position: relative; margin: 0;
    border-radius: 14px; overflow: hidden;
    background: var(--card);
    box-shadow: var(--elevation-window);
}

.window-bar {
    display: flex; align-items: center; gap: 7px;
    height: 38px; padding: 0 14px;
    background: var(--canvas); border-bottom: 1px solid var(--border);
}
.window-bar > span { width: 11px; height: 11px; border-radius: 50%; background: var(--chart-axis); opacity: .7; }
.window-url {
    margin: 0 auto; transform: translateX(-24px);
    padding: 2px 14px; border-radius: 6px;
    background: var(--background); border: 1px solid var(--border);
    font-size: 12px; color: var(--muted-foreground);
}

.app { display: grid; grid-template-columns: 220px 1fr; font-size: 13px; }

.app-side { padding: 14px 10px; background: var(--canvas); border-right: 1px solid var(--border); }
.company { display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-weight: 600; }
.company-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.company .i { color: var(--muted-foreground); }
.company-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 6px;
    background: var(--brand-gradient); color: #fff; font-size: 11px; font-weight: 700;
}
.company-logo.alt { background: linear-gradient(135deg, #1baf7a, #0e7d4f); }
.company-logo.alt2 { background: linear-gradient(135deg, #eb6834, #c4452b); }

.side-search {
    display: flex; align-items: center; gap: 8px;
    margin: 10px 4px 12px; padding: 6px 10px;
    border: 1px solid var(--border); border-radius: 7px; background: var(--card);
    color: var(--muted-foreground);
}
.side-search kbd { margin-left: auto; font: inherit; font-size: 11px; }

.side-nav li {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px; border-radius: 7px;
    color: var(--ink-2); font-weight: 500;
}
.side-nav .i { width: 16px; height: 16px; color: var(--muted-foreground); }
.side-nav li.active { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary-ink); }
.side-nav li.active .i { color: var(--primary-ink); }
.side-nav em {
    margin-left: auto; padding: 0 7px; border-radius: 999px;
    background: var(--primary); color: var(--primary-foreground);
    font-style: normal; font-size: 11px; font-weight: 600; line-height: 18px;
}

.app-main { padding: 22px 24px 24px; min-width: 0; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.app-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.app-sub { color: var(--muted-foreground); font-size: 12.5px; }

.pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 9px; border-radius: 999px;
    font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 20px;
}
.pill-success { background: var(--status-success-bg); color: var(--status-success-fg); }
.pill-warning { background: var(--status-warning-bg); color: var(--status-warning-fg); }
.pill-info { background: var(--status-info-bg); color: var(--status-info-fg); }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.metric {
    display: flex; flex-direction: column; gap: 8px;
    padding: 14px 16px; border-radius: var(--radius);
    background: var(--card); box-shadow: var(--elevation-card);
}
.metric-label { color: var(--muted-foreground); font-weight: 500; }
.metric-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.metric-value { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.delta { font-size: 12px; font-weight: 600; color: var(--muted-foreground); }
.delta.up { color: var(--positive); }

.spark { width: 84px; height: 28px; overflow: visible; }
.spark polyline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark-in { stroke: var(--chart-1); }
.spark-out { stroke: var(--chart-2); }
.spark-net { stroke: var(--chart-3); }

.app-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }

.panel { border-radius: var(--radius); background: var(--card); box-shadow: var(--elevation-card); padding: 14px 16px; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.panel-title { font-weight: 600; }

.legend { display: flex; gap: 12px; color: var(--muted-foreground); font-size: 12px; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.key { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.key-in { background: var(--chart-1); }
.key-out { background: var(--chart-2); }
.key-net { width: 12px; height: 2px; border-radius: 1px; background: var(--chart-3); }

.bars { display: block; width: 100%; height: auto; }
.bars .grid { stroke: var(--chart-grid); stroke-width: 1; }
.bars .axis { stroke: var(--chart-axis); stroke-width: 1; }
.bars .hit { fill: transparent; }
.bars .bar-in { fill: var(--chart-1); }
.bars .bar-out { fill: var(--chart-2); }
.bars .month:hover .hit { fill: color-mix(in srgb, var(--chart-grid) 70%, transparent); }
.bars .net { fill: none; stroke: var(--chart-3); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.bars .net-dot { fill: var(--chart-3); stroke: var(--card); stroke-width: 2; pointer-events: none; }

.chart-panel { display: flex; flex-direction: column; }
.readout {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
}
.readout div { display: flex; flex-direction: column; }
.readout span { font-size: 12px; color: var(--muted-foreground); }
.readout strong { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.months { margin-bottom: 14px; }

.months { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 4px; text-align: center; font-size: 11px; color: var(--muted-foreground); }

.txns li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.txns li:first-child { border-top: 0; padding-top: 2px; }

.chip { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.chip-in { background: var(--chip-in-bg); color: var(--chip-in-fg); }
.chip-out { background: var(--chip-out-bg); color: var(--chip-out-fg); }
.chip-move { background: var(--chip-move-bg); color: var(--chip-move-fg); }
.chip-card { background: var(--chip-card-bg); color: var(--chip-card-fg); }

.txn-name { display: flex; flex-direction: column; flex: 1; min-width: 0; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txn-name small { font-size: 12px; font-weight: 400; color: var(--muted-foreground); }
.txn-amt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.txn-amt.pos { color: var(--positive); }

/* Strip */

.strip { border-bottom: 1px solid var(--border); }
.strip-inner {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
    padding-top: 28px; padding-bottom: 28px;
    font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner .i { color: var(--primary-ink); }

/* Sections */

.section { padding: 112px 0; }
.section-muted { background: var(--canvas); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-ink); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.section-lede { margin-top: 18px; font-size: 18px; color: var(--muted-foreground); text-wrap: pretty; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    padding: 28px; border-radius: 12px;
    background: var(--card); box-shadow: var(--elevation-card);
    transition: box-shadow .2s, transform .2s;
}
.feature:hover { box-shadow: var(--elevation-raised); transform: translateY(-2px); }
.feature h3 { margin: 20px 0 8px; font-size: 18px; font-weight: 600; }
.feature p { color: var(--muted-foreground); font-size: 15px; }

.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--chip-out-bg); color: var(--primary-ink);
}
.feature-icon .i { width: 20px; height: 20px; }

/* Steps */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px;
    background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 15%, transparent));
}
.step { position: relative; }
.step-num {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--card); box-shadow: var(--elevation-raised), 0 0 0 4px var(--canvas);
    color: var(--primary-ink); font-weight: 700;
}
.step h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 600; }
.step p { color: var(--muted-foreground); font-size: 15px; padding-right: 12px; }

/* Receipts */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-copy .section-lede { margin-bottom: 28px; }
.ticks li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 500; }
.ticks .i { color: var(--primary-ink); }

.receipt-visual {
    position: relative; display: flex; flex-direction: column; align-items: center;
    padding: 40px 32px; border-radius: 20px;
    background:
        radial-gradient(80% 60% at 20% 0%, color-mix(in srgb, #a59bff 30%, transparent), transparent 70%),
        radial-gradient(70% 60% at 100% 100%, color-mix(in srgb, #7ad3ff 30%, transparent), transparent 70%),
        var(--canvas);
    font-size: 14px;
}

.email {
    display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
    width: 86%; padding: 10px 14px; margin-bottom: -10px; position: relative; z-index: 0;
    border-radius: 10px; background: var(--card); box-shadow: var(--elevation-card);
    transform: rotate(-2deg); opacity: .9;
}
.email .i { color: var(--muted-foreground); grid-row: span 2; }
.email span { font-weight: 600; }
.email small { color: var(--muted-foreground); font-size: 12px; }

.receipt {
    position: relative; z-index: 1; width: 100%;
    padding: 20px; border-radius: 12px;
    background: var(--card); box-shadow: var(--elevation-raised);
}
.receipt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.receipt-vendor { font-size: 16px; font-weight: 700; }
.receipt-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.receipt-fields dt { font-size: 12px; color: var(--muted-foreground); }
.receipt-fields dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt-lines { display: grid; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.receipt-lines span { height: 7px; border-radius: 4px; background: var(--status-neutral-bg); }
.receipt-lines .short { width: 55%; }

.connector { height: 36px; display: flex; justify-content: center; }
.connector span { width: 2px; height: 100%; background: repeating-linear-gradient(to bottom, var(--primary) 0 5px, transparent 5px 9px); }

.matched {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 14px 16px; border-radius: 12px;
    background: var(--card); box-shadow: var(--elevation-raised);
    outline: 2px solid color-mix(in srgb, var(--primary) 35%, transparent);
}

/* Companies and QuickBooks */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; border-radius: 16px; background: var(--card); box-shadow: var(--elevation-card); }
.duo-card h2 { margin: 22px 0 12px; font-size: clamp(24px, 2.6vw, 30px); }
.duo-card > p { color: var(--muted-foreground); margin-bottom: 28px; }

.companies, .tieout {
    align-self: stretch; margin-top: auto; padding: 8px; border-radius: 12px;
    border: 1px solid var(--border); background: var(--canvas);
    font-size: 14px;
}
.companies li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-weight: 500; }
.companies li.on { background: var(--card); box-shadow: var(--elevation-card); }
.companies li .i { margin-left: auto; color: var(--primary-ink); }

.tieout div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; font-weight: 500; }
.tieout div + div { border-top: 1px solid var(--border); }

/* Security, always dark */

.security {
    padding: 112px 0;
    background:
        radial-gradient(60% 80% at 100% 0%, rgb(109 100 255 / 0.28), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgb(122 211 255 / 0.12), transparent 60%),
        #0e1320;
    color: #e6ebf1;
}
.security .eyebrow { color: #aaa5ff; }
.security .section-head { max-width: 760px; }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sec { padding: 24px; border-radius: 12px; background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.08); }
.sec .i { width: 22px; height: 22px; color: #aaa5ff; }
.sec h3 { margin: 18px 0 8px; font-size: 17px; font-weight: 600; }
.sec p { font-size: 15px; color: #8d97a8; }

/* Closing call to action */

.cta { padding: 120px 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { margin-top: 28px; font-size: clamp(34px, 5vw, 56px); }
.cta p { max-width: 520px; margin: 16px 0 32px; font-size: 18px; color: var(--muted-foreground); }

.footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; gap: 24px; height: 80px; font-size: 14px; color: var(--muted-foreground); }
.footer-inner .brand { margin-right: auto; color: var(--foreground); }
.footer-inner .brand-name { font-size: 15px; }
.footer-inner > a:last-child { text-decoration: none; font-weight: 500; }
.footer-inner > a:last-child:hover { color: var(--foreground); }

/* Smaller screens */

@media (max-width: 1020px) {
    .app { grid-template-columns: 1fr; }
    .app-side { display: none; }
    .features, .sec-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .split { grid-template-columns: 1fr; gap: 48px; }
    .duo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nav-links { display: none; }
    .nav-inner { justify-content: space-between; }
    .hero { padding-top: 48px; }
    .hero-stage { margin-top: 48px; padding-bottom: 56px; }
    .app-main { padding: 16px; }
    .app-grid { grid-template-columns: 1fr; }
    .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metric-value { font-size: 18px; }
    .spark { display: none; }
    .readout div:last-child { display: none; }
    .metrics .metric:last-child { display: none; }
    .txn-panel { display: none; }
    .months span:nth-child(even) { visibility: hidden; }
    .section, .security { padding: 80px 0; }
    .features, .sec-grid, .steps { grid-template-columns: 1fr; }
    .duo-card { padding: 28px; }
    .receipt-visual { padding: 28px 18px; }
    .receipt-fields { grid-template-columns: 1fr 1fr; }
    .matched .pill { display: none; }
    .cta { padding: 88px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
