/* Gemma marketing site — dark SaaS landing, aligned with the app’s tokens. */

:root {
    color-scheme: dark;
    --bg: #0b0b0b;
    --bg-elevated: #111111;
    --bg-hover: #181818;
    --bg-panel: #2c2c2c;
    --panel-radius: 20px;
    --panel-pad: 36px;
    --bg-input: #141414;
    --bg-nav: rgba(11, 11, 11, 0.94);
    --border: #232323;
    --border-strong: #2e2e2e;
    --text: #ececec;
    --text-muted: #8a8a8a;
    --text-dim: #5f5f5f;
    --green: #81c784;
    --green-strong: #3d8b4a;
    --green-soft: rgba(129, 199, 132, 0.14);
    --green-glow: rgba(129, 199, 132, 0.22);
    --red: #e07070;
    --purple: #b388ff;
    --watch: #cfc08a;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --page-gutter: 20px;
    --nav-h: 64px;
    --font: Inter, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 12px);
}

html,
body {
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    z-index: 100;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-weight: 600;
    font-size: 14px;
}

.skip-link:focus {
    top: 12px;
}

.bg-glow {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(900px 520px at 70% -10%, rgba(129, 199, 132, 0.16), transparent 55%),
        radial-gradient(700px 400px at 8% 12%, rgba(179, 136, 255, 0.07), transparent 50%),
        radial-gradient(600px 480px at 90% 80%, rgba(129, 199, 132, 0.05), transparent 55%);
}

.bg-grid {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
    opacity: 0.7;
}

.page {
    position: relative;
    z-index: 1;
}

.wrap {
    width: 100%;
    padding-inline: var(--page-gutter);
}

/* Focus */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
    background: #f4f4f4;
    color: #111;
}

.btn-primary:hover {
    background: #fff;
}

.btn-secondary {
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: #3a3a3a;
    background: var(--bg-hover);
}

.btn-lg {
    min-height: 48px;
    padding: 0 20px;
    font-size: 15px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--nav-h);
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled {
    background: var(--bg-nav);
    border-bottom-color: var(--border);
    backdrop-filter: blur(16px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 28px;
    height: 28px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text);
}

.nav-toggle:hover {
    background: var(--bg-hover);
}

.nav-toggle-bars {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.nav-panel {
    display: none;
}

/* Hero */
.hero {
    padding: 56px 0 24px;
    scroll-margin-top: var(--nav-h);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 4px 10px 4px 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

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

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.045em;
    max-width: 14ch;
}

.hero-lead {
    margin-top: 18px;
    max-width: 46ch;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-note {
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 13px;
}

/* Product mock */
.product-stage {
    position: relative;
    padding: var(--panel-pad);
    border-radius: var(--panel-radius);
    background: var(--bg-panel);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.product-glow {
    display: none;
}

.product-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: #0e0e0e;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.product-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-bottom: 1px solid var(--border);
    background: #0c0c0c;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a2a2a;
}

.dot:nth-child(1) { background: #3a3a3a; }
.dot:nth-child(2) { background: #2e2e2e; }

.chrome-title {
    margin-left: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--text-dim);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-body {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    min-height: 390px;
}

.mock-sidebar {
    padding: 14px 10px;
    border-right: 1px solid var(--border);
    background: #0c0c0c;
}

.mock-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 14px;
    font-size: 13px;
    font-weight: 600;
}

.mock-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 7px;
    color: var(--text-muted);
    font-size: 12.5px;
}

.mock-nav-item.is-active {
    background: var(--bg-hover);
    color: var(--text);
}

.mock-nav-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.75;
}

.mock-main {
    min-width: 0;
    padding: 16px 18px 18px;
}

.mock-kicker {
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mock-leftover,
.mock-stat-value {
    font-variant-numeric: tabular-nums;
}

.mock-leftover {
    margin-top: 4px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.mock-card {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--bg-elevated);
}

.mock-card span {
    display: block;
    color: var(--text-dim);
    font-size: 11px;
}

.mock-card strong {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mock-section-label {
    margin: 16px 0 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.mock-bar {
    display: grid;
    grid-template-columns: 72px 1fr 44px;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.mock-track {
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: #1c1c1c;
}

.mock-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green-strong), var(--green));
}

.mock-fill.watch {
    background: linear-gradient(90deg, #8a7a3a, var(--watch));
}

.mock-tx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
}

.mock-tx:first-of-type {
    border-top: 0;
}

.mock-tx .out {
    color: var(--red);
    font-variant-numeric: tabular-nums;
}

.mock-tx .in {
    color: var(--green);
    font-variant-numeric: tabular-nums;
}

.mock-tx small {
    display: block;
    color: var(--text-dim);
    font-size: 11px;
}

/* Trust strip */
.trust-wrap {
    display: flex;
    justify-content: center;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    justify-items: stretch;
    gap: 12px;
    width: 100%;
    flex: 1 1 auto;
    margin: 36px 0 8px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(17, 17, 17, 0.6);
    color: var(--text-muted);
    font-size: 13.5px;
    text-align: left;
}

.trust-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--green);
}

/* Sections */
.section {
    padding: 88px 0;
    scroll-margin-top: calc(var(--nav-h) + 12px);
}

.section-head {
    max-width: 640px;
    margin-bottom: 40px;
}

.section-label {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-head h2,
.cta-band h2,
.pricing-head h2 {
    margin-top: 10px;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.section-head p,
.pricing-head p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 16px;
}

/* Feature rows: card + always-visible product mock, alternating sides */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.feature-row .feature-card {
    flex: 0 1 340px;
    width: 100%;
    max-width: 380px;
}

.feature-row .feature-mock {
    flex: 1 1 0;
    min-width: 0;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%), var(--bg-elevated);
    text-align: left;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    background: var(--green-soft);
    color: var(--green);
}

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

.feature-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.feature-card-copy {
    margin-top: 8px;
    max-width: 46ch;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.55;
    font-weight: 400;
}

.feature-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 2px 8px;
    border: 1px solid rgba(129, 199, 132, 0.35);
    border-radius: 999px;
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.feature-mock .product-body {
    min-height: 340px;
}

.mock-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mock-page-title {
    margin-top: 2px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.mock-meta {
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 12px;
    line-height: 1.45;
}

.mock-ghost {
    flex-shrink: 0;
    padding: 6px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
}

.mock-bank {
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
    overflow: hidden;
}

.mock-bank-head,
.mock-account-row,
.mock-goal-top,
.mock-cal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mock-bank-head {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.mock-account-row {
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
}

.mock-account-row:first-of-type {
    border-top: 0;
}

.mock-account-row small,
.mock-goal-top small,
.mock-cal-row small {
    display: block;
    color: var(--text-dim);
    font-size: 11px;
}

.mock-status {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.mock-status.on {
    color: var(--green);
    background: var(--green-soft);
}

.mock-chip-row,
.mock-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 4px;
}

.mock-chip,
.mock-tabs span {
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
}

.mock-chip.is-on,
.mock-tabs span.is-on {
    border-color: rgba(129, 199, 132, 0.4);
    background: var(--green-soft);
    color: var(--green);
}

.mock-tx .dim {
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

.mock-alert {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.mock-alert.watch {
    color: var(--watch);
    border-color: rgba(207, 192, 138, 0.28);
}

.mock-alert.ok {
    color: var(--green);
    border-color: rgba(129, 199, 132, 0.35);
}

.mock-goal {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
}

.mock-goal-top {
    margin-bottom: 8px;
    font-size: 13px;
}

.mock-goal-top strong,
.mock-card strong.ok {
    color: var(--green);
    font-variant-numeric: tabular-nums;
}

.mock-tabs {
    margin: 0;
    flex-shrink: 0;
}

.mock-cal-row {
    padding: 10px 0;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
}

.mock-cal-row:first-of-type {
    margin-top: 8px;
}

.mock-cal-day {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.mock-cal-row .watch {
    color: var(--watch);
    font-variant-numeric: tabular-nums;
}

.mock-digest {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-bubble {
    max-width: 92%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.mock-bubble.user {
    align-self: flex-end;
    background: #1a1a1a;
    border: 1px solid var(--border);
    color: var(--text);
}

.mock-bubble.agent {
    align-self: flex-start;
    background: var(--green-soft);
    border: 1px solid rgba(129, 199, 132, 0.25);
    color: var(--text);
}

.mock-composer {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-input);
    color: var(--text-dim);
    font-size: 12.5px;
}

/* Leftover */
.leftover {
    padding-top: 8px;
}

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

.step-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.step-num {
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.step-card h3 {
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.step-card p {
    margin-top: 8px;
    max-width: 46ch;
    color: var(--text-muted);
    font-size: 14.5px;
}

.fine-print {
    margin-top: 16px;
    color: var(--text-dim);
    font-size: 13px;
}

/* Pricing */
.pricing {
    padding-top: 40px;
}

.pricing-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.price-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg-elevated);
}

.price-card.featured {
    border-color: rgba(129, 199, 132, 0.45);
    background:
        radial-gradient(500px 180px at 50% 0%, rgba(129, 199, 132, 0.12), transparent 60%),
        var(--bg-elevated);
    box-shadow: 0 0 0 1px rgba(129, 199, 132, 0.08);
}

.price-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.price-amount {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.price-amount span {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.price-blurb {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.price-list {
    margin: 22px 0 24px;
}

.price-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 7px 0;
    color: var(--text);
    font-size: 14.5px;
}

.price-list li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--green);
}

.price-card .btn {
    width: 100%;
}

.price-footnote {
    max-width: 640px;
    margin: 18px auto 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

/* Security */
.security-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(129, 199, 132, 0.06), transparent 45%), var(--bg-elevated);
}

.security-panel h2 {
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.04em;
}

.security-panel p {
    margin-top: 12px;
    max-width: 46ch;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.legal-links a {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.legal-links a:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

/* Legal documents (Privacy, Terms, Cookies) */
.legal-main {
    padding: 32px 0 24px;
}

.legal-doc {
    width: min(760px, 100%);
    margin: 0 auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 28px 36px;
}

.legal-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.legal-switch a {
    color: var(--text-muted);
    font-weight: 500;
}

.legal-switch a:hover {
    color: var(--text);
}

.legal-switch a[aria-current="page"] {
    color: var(--text);
    text-decoration: none;
}

.legal-doc h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 22px;
}

.legal-doc h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 28px 0 8px;
}

.legal-doc p,
.legal-doc li,
.legal-doc td,
.legal-doc th {
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 15px;
}

.legal-doc p + p {
    margin-top: 10px;
}

.legal-doc ul,
.legal-doc ol {
    list-style: disc;
    margin: 8px 0 0 1.2em;
}

.legal-doc li + li {
    margin-top: 6px;
}

.legal-doc a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-doc a:hover {
    color: #a5d6a7;
}

.legal-doc code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
    color: var(--text);
}

.legal-placeholder {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    color: var(--text);
    font-style: normal;
}

.legal-table-wrap {
    margin-top: 12px;
    overflow-x: auto;
}

.legal-doc table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.legal-doc th,
.legal-doc td {
    text-align: left;
    vertical-align: top;
    padding: 10px 10px 10px 0;
    border-bottom: 1px solid var(--border);
}

.legal-doc th {
    color: var(--text);
    font-weight: 500;
}

address.legal-org {
    font-style: normal;
    margin-top: 8px;
    color: var(--text-muted);
    line-height: 1.55;
}

@media (max-width: 640px) {
    .legal-doc {
        padding: 22px 18px 28px;
        border-radius: 12px;
    }
}

.security-points {
    display: grid;
    gap: 10px;
}

.security-points li {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(11, 11, 11, 0.5);
    color: var(--text-muted);
    font-size: 14px;
}

.security-points strong {
    color: var(--text);
    font-weight: 600;
}

/* CTA band */
.cta-band {
    text-align: center;
    padding: 56px 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(600px 200px at 50% 0%, rgba(129, 199, 132, 0.16), transparent 60%),
        var(--bg-elevated);
}

.cta-band p {
    margin: 12px auto 24px;
    max-width: 46ch;
    color: var(--text-muted);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    padding: 28px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.footer-brand p {
    margin-top: 8px;
    max-width: 36ch;
    color: var(--text-dim);
    font-size: 13px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-nav a:hover {
    color: var(--text);
}

.footer-copy {
    margin-top: 22px;
    color: var(--text-dim);
    font-size: 12px;
}

/* Mobile nav */
@media (min-width: 861px) {
    :root {
        --page-gutter: clamp(20px, 2.5vw, 48px);
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-panel {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: var(--nav-h);
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--border);
        background: rgba(11, 11, 11, 0.96);
        backdrop-filter: blur(16px);
    }

    .nav-panel.is-open {
        display: block;
    }

    .nav-panel a {
        display: block;
        padding: 12px 4px;
        border-bottom: 1px solid var(--border);
        color: var(--text);
        font-weight: 500;
    }

    .nav-panel-cta {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 14px;
    }

    .hero-grid,
    .product-body {
        grid-template-columns: 1fr;
    }

    .product-stage {
        padding: 20px;
        border-radius: 16px;
    }

    .mock-sidebar {
        display: none;
    }

    .feature-list {
        gap: 40px;
    }

    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .feature-row .feature-card {
        max-width: none;
        flex: 1 1 auto;
    }

    .feature-mock .product-body {
        min-height: 0;
    }

    .leftover-grid,
    .price-grid,
    .security-panel {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .trust-item {
        width: 100%;
        max-width: none;
    }

    .hero {
        padding-top: 36px;
    }

    .hero h1 {
        max-width: none;
    }

    .section {
        padding: 64px 0;
    }
}

@media (max-width: 560px) {
    :root {
        --page-gutter: 14px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .product-body {
        min-height: 0;
    }

    .mock-page-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mock-stat-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .feature-card,
    .btn,
    .site-header {
        transition: none;
    }
}
