/* NEO Collect — design system */
:root {
  --paper: #F7F7F5; --surface: #FFFFFF; --ink: #0B1220; --ink-2: #121B2E; --ink-3: #1C2740;
  --text: #0B1220; --text-muted: #4B5565; --text-on-dark: #E8ECF4; --muted-on-dark: #A7B0C2;
  --line: #E2E4E8; --line-strong: #D5D8DE; --line-dark: #253049; --control: #C9CDD5;
  --accent: #2F4AD8; --accent-hover: #1E35A8; --accent-soft: #ECEFFD; --accent-on-dark: #8FA2FF;
  --ok: #0E6B47; --ok-soft: #E6F4EE; --ok-on-dark: #7FE0B2;
  --warn: #8A5300; --warn-soft: #FDF3E1; --warn-on-dark: #FFB86B;
  --danger: #A32020; --danger-soft: #FBE9E9; --info: #1E35A8; --info-soft: #ECEFFD;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 12px 32px -12px rgba(11,18,32,0.18);
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0 0 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 17px; letter-spacing: -0.005em; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; line-height: 1.6; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; line-height: 1.5; }
.mono, code, pre, kbd { font-family: var(--mono); }
code { font-size: 0.92em; background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; }
pre code { background: none; padding: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 16px; } }
.section { padding: 112px 0; }
.section.tight { padding: 72px 0; }
.section.dark { background: var(--ink); color: var(--text-on-dark); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .muted { color: var(--muted-on-dark); }
.section.surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .section { padding: 72px 0; } .section.tight { padding: 48px 0; } }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: block; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 500; margin-bottom: 16px; line-height: 1; }
.dark .eyebrow, .on-dark .eyebrow { color: var(--accent-on-dark); }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dark :focus-visible, .site-header.is-over-dark:not(.is-scrolled) :focus-visible { outline-color: var(--accent-on-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; font-size: 15px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background 120ms var(--ease), color 120ms var(--ease), border-color 120ms var(--ease); white-space: nowrap; font-family: inherit; line-height: 1; }
.btn-md { min-height: 44px; padding: 0 18px; }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--control); }
.btn-secondary:hover { border-color: var(--text); color: var(--text); }
.btn-inverse { background: #fff; color: var(--ink); }
.btn-inverse:hover { background: var(--text-on-dark); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn-ghost-dark:hover { border-color: var(--muted-on-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; line-height: 1.4; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-info { background: var(--info-soft); color: var(--info); }
.pill-neutral { background: var(--paper); color: var(--text-muted); border: 1px solid var(--line); }
.dark .pill-ok, .on-dark .pill-ok { background: rgba(127,224,178,.14); color: var(--ok-on-dark); }
.dark .pill-warn, .on-dark .pill-warn { background: rgba(255,184,107,.14); color: var(--warn-on-dark); }
.dark .pill-neutral, .on-dark .pill-neutral { background: rgba(255,255,255,.06); color: var(--muted-on-dark); border-color: var(--line-dark); }
.dark .pill-info, .on-dark .pill-info { background: rgba(143,162,255,.14); color: var(--accent-on-dark); }
.sample-badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-dark); border: 1px solid var(--line-dark); padding: 3px 8px; border-radius: 999px; }
.on-light .sample-badge { color: var(--text-muted); border-color: var(--line-strong); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: 72px; background: var(--surface); border-bottom: 1px solid var(--line); transition: background 200ms var(--ease), border-color 200ms var(--ease); }
.site-header.is-over-dark:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; color: #fff; }
.site-header.is-over-dark:not(.is-scrolled) .nav-link, .site-header.is-over-dark:not(.is-scrolled) .wordmark { color: #fff; }
.site-header.is-over-dark:not(.is-scrolled) .logo { color: var(--accent-on-dark); }
.site-header.is-over-dark:not(.is-scrolled) .menu-toggle span { background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo { color: var(--accent); display: inline-flex; }
.wordmark { font-size: 19px; letter-spacing: -0.02em; font-weight: 500; color: var(--text); }
.wordmark strong { font-weight: 700; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 500; color: var(--text); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.nav-link:hover { background: rgba(11,18,32,.05); color: var(--text); }
.site-header.is-over-dark:not(.is-scrolled) .nav-link:hover { background: rgba(255,255,255,.08); }
.chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.mega { position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; gap: 4px; }
.mega-grid.cols-2 { grid-template-columns: 1fr 1fr; min-width: 640px; }
.mega-grid.cols-1 { grid-template-columns: 1fr; min-width: 360px; }
.primary-nav li:nth-child(3) .mega { left: auto; right: 0; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.mega-item:hover { background: var(--paper); color: var(--text); }
.mega-item strong { display: block; font-weight: 600; font-size: 15px; }
.mega-item small { display: block; color: var(--text-muted); font-size: 13px; line-height: 1.4; }
.mega-item .picon { color: var(--accent); margin-top: 1px; flex: none; }
.mega-foot { display: block; margin-top: 8px; padding: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-nav { display: none; position: fixed; inset: 72px 0 0 0; background: var(--surface); color: var(--text); overflow-y: auto; z-index: 49; padding: 16px 0 120px; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 200ms var(--ease); }
.mobile-nav details[open] summary::after { transform: rotate(-135deg); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0 0 12px; }
.mobile-nav ul a { display: block; padding: 10px 0; color: var(--text); font-weight: 500; }
.mobile-nav ul a small { display: block; color: var(--text-muted); font-weight: 400; font-size: 13px; }
.mobile-link { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; color: var(--text); }
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; padding: 16px; background: var(--surface); border-top: 1px solid var(--line); }
.mobile-cta .btn { width: 100%; }
@media (max-width: 960px) {
  .primary-nav, .signin, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: block; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { background: var(--ink); color: var(--text-on-dark); padding: 96px 0 112px; margin-top: -72px; padding-top: 168px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 48px 48px; opacity: .22; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.hero .container { position: relative; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: var(--muted-on-dark); max-width: 560px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero.product { padding-top: 152px; padding-bottom: 96px; }
.hero.product h1 { max-width: 16ch; }
.hero.simple { padding-bottom: 80px; }
.hero.simple h1 { max-width: 20ch; }
@media (max-width: 960px) { .hero { padding-top: 128px; padding-bottom: 72px; } .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero h1 { max-width: none; } }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.card.dark { background: var(--ink-2); border-color: var(--line-dark); color: var(--text-on-dark); }
.card.dark h3 { color: #fff; }
.card.dark .muted { color: var(--muted-on-dark); }
.card-link { transition: border-color 120ms var(--ease), transform 200ms var(--ease); color: inherit; display: block; }
.card-link:hover { border-color: var(--accent); color: inherit; }
.card.dark.card-link:hover { border-color: var(--accent-on-dark); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.product-card .picon { color: var(--accent); margin-bottom: 20px; }
.product-card.dark .picon { color: var(--accent-on-dark); }
.product-card h3 { display: flex; align-items: center; gap: 10px; }
.product-card p { color: var(--text-muted); margin: 0 0 16px; }
.product-card.dark p { color: var(--muted-on-dark); }
.card-cta { font-weight: 500; font-size: 14px; }
.dark .card-cta, .card.dark .card-cta { color: var(--accent-on-dark); }

/* Feature rows/cards */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feature-grid > div { background: var(--surface); padding: 28px 24px; }
.feature-grid h4 { margin-bottom: 8px; }
.feature-grid p { margin: 0; color: var(--text-muted); font-size: 15px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; counter-reset: step; }
.steps > div { background: var(--surface); padding: 32px 28px; position: relative; }
.steps > div::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); color: var(--accent); font-size: 13px; letter-spacing: .08em; margin-bottom: 20px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--text-muted); font-size: 15px; }
.steps.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .steps, .steps.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps.six { grid-template-columns: 1fr; } }
.dark .steps { background: var(--line-dark); border-color: var(--line-dark); }
.dark .steps > div { background: var(--ink-2); }
.dark .steps p { color: var(--muted-on-dark); }
.dark .steps > div::before { color: var(--accent-on-dark); }

/* Trust strip */
.trust-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.trust-strip .label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.trust-strip li { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.trust-strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* Audience rows */
.rows { border-top: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.row-link:hover { color: var(--accent); }
.row-link h3 { margin: 0; font-size: 20px; }
.row-link p { margin: 0; color: var(--text-muted); }
.row-link .arrow { font-size: 20px; color: var(--accent); }
@media (max-width: 760px) { .row-link { grid-template-columns: 1fr; gap: 6px; } .row-link .arrow { display: none; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checks { list-style: none; margin: 0 0 24px; padding: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-weight: 500; }
.checks .picon { color: var(--ok); flex: none; margin-top: 2px; }
.dark .checks .picon { color: var(--ok-on-dark); }
.events-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.events-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.events-list code { background: rgba(143,162,255,.12); color: var(--accent-on-dark); }
.events-list span { color: var(--muted-on-dark); }

/* Code block */
.code-block { background: var(--ink); color: var(--text-on-dark); border-radius: 12px; border: 1px solid var(--line-dark); overflow: hidden; font-size: 13.5px; }
.code-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line-dark); background: var(--ink-2); }
.code-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); }
.code-copy { min-height: 32px; padding: 0 12px; font: inherit; font-size: 12px; font-weight: 500; color: var(--text-on-dark); background: transparent; border: 1px solid var(--line-dark); border-radius: 6px; cursor: pointer; }
.code-copy:hover { border-color: var(--muted-on-dark); }
.code-block pre { margin: 0; padding: 18px 20px; overflow-x: auto; line-height: 1.7; }
.code-block code { font-size: inherit; color: var(--text-on-dark); }
.code-block.sm { font-size: 12.5px; }
.code-stack { display: grid; gap: 16px; }
.hl-k { color: #8FA2FF; } .hl-s { color: #7FE0B2; } .hl-n { color: #FFB86B; } .hl-c { color: #7C8798; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.iban { font-family: var(--mono); letter-spacing: .04em; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--text-on-dark); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(28px, 3vw, 36px); }
.cta-band p { color: var(--muted-on-dark); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } .cta-actions { justify-content: flex-start; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--accent); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.faq-plus::before { width: 16px; height: 2px; } .faq-plus::after { width: 2px; height: 16px; transition: transform 200ms var(--ease); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-body { padding: 0 0 20px; color: var(--text-muted); max-width: 720px; }
.faq-body p { margin: 0; }

/* Mock UI */
.mock { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; color: var(--text-on-dark); }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-on-dark); }
.mock-body { padding: 18px; }
.account-card { display: grid; gap: 14px; }
.account-card .holder { font-weight: 600; font-size: 17px; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.account-card .iban { font-size: 18px; color: #fff; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 13px; }
.kv dt { color: var(--muted-on-dark); margin: 0; }
.kv dd { margin: 0; font-family: var(--mono); color: var(--text-on-dark); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); animation: slide 400ms var(--ease); }
.feed li:last-child { border-bottom: 0; }
.feed .payer { font-weight: 500; color: #fff; }
.feed .meta { font-size: 12px; color: var(--muted-on-dark); }
.feed .amt { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; color: #fff; }
.feed .status { font-size: 12px; text-align: right; }
.feed .status.ok { color: var(--ok-on-dark); } .feed .status.warn { color: var(--warn-on-dark); }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .feed li { animation: none; } }

/* Demos */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.demo.on-dark { background: var(--ink-2); border-color: var(--line-dark); color: var(--text-on-dark); }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.demo-head h3 { margin: 0; font-size: 17px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .lbl { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.on-dark .field label { color: var(--muted-on-dark); }
.input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--control); border-radius: 8px; }
textarea { min-height: 120px; resize: vertical; }
.input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.on-dark .input, .on-dark select { background: var(--ink); color: #fff; border-color: var(--line-dark); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.seg { display: inline-flex; border: 1px solid var(--control); border-radius: 8px; overflow: hidden; }
.seg button { min-height: 44px; padding: 0 16px; font: inherit; font-weight: 500; background: var(--surface); color: var(--text); border: 0; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--control); }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.on-dark .seg { border-color: var(--line-dark); } .on-dark .seg button { background: var(--ink); color: #fff; } .on-dark .seg button[aria-pressed="true"] { background: var(--accent); }
.result { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.on-dark .result { border-color: var(--line-dark); }
.decision-rows { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.decision-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.decision-rows li:last-child { border-bottom: 0; }
.on-dark .decision-rows, .on-dark .decision-rows li { border-color: var(--line-dark); }
.decision-rows .k { color: var(--text-muted); } .on-dark .decision-rows .k { color: var(--muted-on-dark); }
.decision-rows .v { font-family: var(--mono); font-size: 13px; }
.decision { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 40px; height: 24px; border-radius: 999px; background: var(--control); position: relative; transition: background 120ms; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 120ms var(--ease); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Phone frame */
.phone { width: 320px; max-width: 100%; margin: 0 auto; background: #000; border-radius: 36px; padding: 10px; border: 1px solid var(--line-dark); }
.phone-screen { background: var(--paper); color: var(--text); border-radius: 28px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.phone-bar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 20px 12px; font-size: 13px; display: flex; justify-content: space-between; color: var(--text-muted); }
.phone-body { padding: 20px; font-size: 14px; flex: 1; }
.phone-body .amount { font-size: 28px; font-weight: 600; font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin: 4px 0 16px; }
.phone-body .fieldbox { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.phone-body .fieldbox small { display: block; color: var(--text-muted); font-size: 11px; }
.phone-body .fieldbox .iban { font-size: 13px; }
.phone-body .copy { font-size: 12px; color: var(--accent); background: none; border: 0; font-weight: 500; cursor: pointer; min-height: 32px; }
.phone-status { margin-top: 16px; padding: 12px; border-radius: 10px; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.phone-status.wait { background: var(--info-soft); color: var(--info); }
.phone-status.ok { background: var(--ok-soft); color: var(--ok); }
.phone-status.warn { background: var(--warn-soft); color: var(--warn); }
.phone-status.danger { background: var(--danger-soft); color: var(--danger); }
.reassure { list-style: none; margin: 16px 0 0; padding: 0; font-size: 12px; color: var(--text-muted); }
.reassure li { padding: 3px 0 3px 18px; position: relative; }
.reassure li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* Bars */
.stacked { display: flex; height: 36px; border-radius: 8px; overflow: hidden; margin: 12px 0 8px; }
.stacked > div { display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: #fff; min-width: 0; overflow: hidden; white-space: nowrap; }
.stacked .seller { background: var(--accent); } .stacked .fee { background: var(--ok); }
.legend { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.legend .seller::before { background: var(--accent); } .legend .fee::before { background: var(--ok); }

/* Balances */
.balances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.balances > div { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.balances .name { font-size: 13px; color: var(--text-muted); }
.balances .val { font-family: var(--mono); font-size: 18px; font-variant-numeric: tabular-nums; transition: color 400ms; }
.balances .val.changed { color: var(--accent); }
@media (max-width: 560px) { .balances { grid-template-columns: 1fr; } }
.log { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12.5px; max-height: 180px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; }
.log li { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.log li:last-child { border-bottom: 0; }
.log:empty { display: none; }

/* Webhook inspector */
.inspector { display: grid; grid-template-columns: 260px 1fr; gap: 16px; }
.inspector .list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-dark); border-radius: 10px; overflow: hidden; }
.inspector .list button { display: block; width: 100%; text-align: left; padding: 12px 14px; font: inherit; font-family: var(--mono); font-size: 13px; background: var(--ink); color: var(--text-on-dark); border: 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; }
.inspector .list li:last-child button { border-bottom: 0; }
.inspector .list button[aria-current="true"] { background: var(--ink-3); color: #fff; }
.inspector .sig { font-family: var(--mono); font-size: 12px; word-break: break-all; color: var(--muted-on-dark); margin: 12px 0; }
@media (max-width: 760px) { .inspector { grid-template-columns: 1fr; } }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.tier { position: relative; }
.tier.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tier .most { position: absolute; top: -12px; left: 28px; }
.tier .price { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; margin: 20px 0 4px; }
.tier .price small { font-size: 15px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.tier ul { list-style: none; margin: 20px 0 24px; padding: 0; font-size: 15px; }
.tier li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.tier li span:last-child { font-family: var(--mono); font-size: 13px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.estimator output { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--accent); }
@media (max-width: 760px) { .estimator { grid-template-columns: 1fr; } }
.est-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.est-row span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Prose / legal / docs */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { font-size: 14px; }
.prose .table-wrap { margin: 24px 0; }
.prose .code-block { margin: 24px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.legal-meta { font-size: 14px; color: var(--text-muted); border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 14px 18px; margin-bottom: 40px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.legal-side { position: sticky; top: 96px; }
.legal-side ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-side a { display: block; padding: 8px 16px; color: var(--text-muted); font-size: 14px; border-left: 2px solid transparent; margin-left: -1px; }
.legal-side a.active, .legal-side a:hover { color: var(--text); border-left-color: var(--accent); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 32px; } .legal-side { position: static; } }

/* Docs */
.docs-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding: 40px 0 96px; }
.docs-nav { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
.docs-nav h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 24px 0 8px; }
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav ul { list-style: none; margin: 0; padding: 0; }
.docs-nav a { display: block; padding: 7px 10px; border-radius: 6px; font-size: 14px; color: var(--text); }
.docs-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.docs-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.docs-content { max-width: 800px; }
.docs-content h1 { font-size: 40px; margin-bottom: 12px; }
.docs-content h2 { font-size: 26px; margin-top: 48px; padding-top: 8px; }
.docs-content h3 { margin-top: 28px; }
.docs-content .code-block { margin: 20px 0; }
.docs-content table { font-size: 14px; }
.docs-content .table-wrap { margin: 20px 0; }
.docs-content ol, .docs-content ul { padding-left: 22px; }
.docs-content li { margin-bottom: 8px; }
.docs-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.docs-top .pill { font-family: var(--mono); font-weight: 500; }
.docs-mobile-nav { display: none; }
.endpoint { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.endpoint:last-child { border-bottom: 0; }
.endpoint .m { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.endpoint .m.GET { color: var(--ok); } .endpoint .m.POST { color: var(--accent); } .endpoint .m.PATCH, .endpoint .m.PUT { color: var(--warn); } .endpoint .m.DELETE { color: var(--danger); }
.endpoint .p { font-family: var(--mono); font-size: 13px; }
.endpoint .d { color: var(--text-muted); text-align: right; }
.callout { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 20px 0; font-size: 15px; }
.callout.warn { border-color: var(--warn); background: var(--warn-soft); }
@media (max-width: 960px) {
  .docs-shell { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav { position: static; max-height: none; }
  .docs-mobile-nav { display: block; }
  .docs-mobile-nav summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
  .docs-nav-desktop { display: none; }
  .endpoint { grid-template-columns: 60px 1fr; } .endpoint .d { grid-column: 1 / -1; text-align: left; }
}

/* Flow diagram */
.flow { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; align-items: stretch; counter-reset: node; }
.flow .node { position: relative; padding: 16px 12px; border: 1px solid var(--line-dark); background: var(--ink-2); color: var(--text-on-dark); font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 92px; }
.flow .node + .node { border-left: 0; }
.flow .node:first-child { border-radius: 12px 0 0 12px; } .flow .node:last-child { border-radius: 0 12px 12px 0; }
.flow .node.hot { background: var(--accent); border-color: var(--accent); color: #fff; }
.flow .node::after { content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; background: inherit; border-right: 1px solid var(--line-dark); border-top: 1px solid var(--line-dark); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow .node:last-child::after { display: none; }
.flow .node.hot::after { border-color: var(--accent); }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } .flow .node + .node { border-left: 1px solid var(--line-dark); border-top: 0; } .flow .node:first-child { border-radius: 12px 12px 0 0; } .flow .node:last-child { border-radius: 0 0 12px 12px; } .flow .node::after { display: none; } }
.hiw { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.hiw-sticky { position: sticky; top: 96px; }
.hiw-steps { display: grid; gap: 0; }
.hiw-step { padding: 40px 0; border-top: 1px solid var(--line); }
.hiw-step h2 { font-size: 26px; }
.hiw-vert { display: grid; gap: 0; }
.hiw-vert .node { padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; transition: background 200ms, color 200ms, border-color 200ms; }
.hiw-vert .node + .node { border-top: 0; }
.hiv-vert .node:first-child, .hiw-vert .node:first-child { border-radius: 12px 12px 0 0; }
.hiw-vert .node:last-child { border-radius: 0 0 12px 12px; }
.hiw-vert .node.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.hiw-vert .node small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
@media (max-width: 960px) { .hiw { grid-template-columns: 1fr; } .hiw-sticky { position: static; } }

/* Lifecycle */
.lifecycle { display: flex; flex-wrap: wrap; gap: 8px; }
.lifecycle span { font-family: var(--mono); font-size: 13px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.timeline .week { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--surface); }
.stat .lbl { font-size: 13px; color: var(--text-muted); }
.stat .val { font-size: 24px; font-weight: 600; font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Console preview */
.console { display: grid; grid-template-columns: 220px 1fr; min-height: 720px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.console-side { background: var(--ink); color: var(--text-on-dark); padding: 20px 12px; display: flex; flex-direction: column; }
.console-side .brand { color: #fff; padding: 4px 10px 20px; }
.console-side .wordmark { color: #fff; }
.console-side .logo { color: var(--accent-on-dark); }
.console-side nav button { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font: inherit; font-size: 14px; color: var(--muted-on-dark); background: none; border: 0; cursor: pointer; }
.console-side nav button[aria-current="true"] { background: var(--ink-3); color: #fff; }
.console-side nav button:hover { color: #fff; }
.console-side .env { margin-top: auto; padding: 12px; font-size: 12px; color: var(--muted-on-dark); display: flex; align-items: center; gap: 8px; }
.console-side .env::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-on-dark); }
.console-main { padding: 24px 28px; min-width: 0; }
.console-main .crumb { font-size: 13px; color: var(--text-muted); }
.console-main h2 { font-size: 26px; margin: 4px 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.console-main .filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.console-main .filters .input, .console-main .filters select { min-height: 38px; font-size: 14px; width: auto; }
.console-main .table-wrap { border-radius: 10px; }
.console-main td, .console-main th { white-space: nowrap; }
.console-main tr[data-row] { cursor: pointer; }
.console-main tr[data-row]:hover td { background: var(--paper); }
.console-screen[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow); z-index: 60; padding: 24px; overflow-y: auto; transform: translateX(100%); transition: transform 200ms var(--ease); }
.drawer.open { transform: none; }
.drawer-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.timeline-v { list-style: none; margin: 16px 0 24px; padding: 0; border-left: 2px solid var(--line); }
.timeline-v li { padding: 6px 0 6px 16px; position: relative; font-size: 14px; }
.timeline-v li::before { content: ""; position: absolute; left: -6px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.timeline-v li.pending::before { background: var(--control); }
.timeline-v li.warn::before { background: var(--warn); }
.timeline-v small { display: block; color: var(--text-muted); font-family: var(--mono); font-size: 12px; }
.preview-banner { background: var(--warn-soft); color: var(--warn); border: 1px solid #F3D9A4; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 500; margin-bottom: 24px; }
@media (max-width: 900px) { .console { grid-template-columns: 1fr; } .console-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; } .console-side nav { display: flex; flex-wrap: wrap; gap: 4px; } .console-side .brand { padding: 0 8px 0 0; } .console-side .env { margin: 0 0 0 auto; } }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
@media (max-width: 640px) { .form-card { padding: 24px; } }
.error { color: var(--danger); font-size: 13px; }
.input.is-invalid, select.is-invalid { border-color: var(--danger); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 10px; font-size: 15px; margin-bottom: 24px; }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.alert.danger { background: var(--danger-soft); color: var(--danger); }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; opacity: 0; transition: opacity 200ms, transform 200ms var(--ease); z-index: 90; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Misc */
.name-table .ok { color: var(--ok); font-weight: 500; } .name-table .warn { color: var(--warn); font-weight: 500; }
.related { margin-top: 0; }
.two-col { columns: 2; column-gap: 40px; }
@media (max-width: 720px) { .two-col { columns: 1; } }
.contact-aside .card + .card { margin-top: 16px; }
.contact-aside h3 { font-size: 16px; }
.contact-aside p { margin: 0; font-size: 15px; }
.policy-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.policy-list li { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 500; }
@media (max-width: 600px) { .policy-list { grid-template-columns: 1fr; } }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }
.address-block { font-style: normal; line-height: 1.6; }
.hero-note { margin-top: 24px; font-size: 13px; color: var(--muted-on-dark); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0 40px; margin-top: 0; color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; align-items: start; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .muted { max-width: 320px; }
.footer-brand .small { color: var(--text-muted); margin: 0; }
.site-footer nav h3 { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 500; margin: 6px 0 16px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer nav a { color: var(--text); font-size: 15px; }
.site-footer nav a:hover { color: var(--accent); }
.footer-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-links { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-links a { color: var(--text-muted); font-size: 14px; }
.legal-links a:hover { color: var(--accent); }
.footer-legal .small { max-width: 960px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.footer-legal .small:last-child { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .site-footer { padding: 56px 0 32px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
