/* Expert MKT — design system + page styles. Dark theme, orange accent, 8px grid. */

@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin.woff2') format('woff2');
  font-weight: 600 700;
  font-display: swap;
}
/* Metric-matched fallback keeps text from shifting when the web font swaps in. */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial');
  size-adjust: 104%;
  ascent-override: 102%;
  descent-override: 28%;
}
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial');
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 22%;
}

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: oklch(14.5% 0.004 285);
  --surface: oklch(18% 0.005 285);
  --surface-2: oklch(21.5% 0.006 285);
  --border: oklch(100% 0 0 / 0.1);
  --border-strong: oklch(100% 0 0 / 0.18);

  /* Text */
  --text-primary: oklch(95.5% 0.004 95);
  --text-muted: oklch(76% 0.012 95);

  /* Accent (kept from current brand). Text ON accent uses --accent-ink: white on this
     orange is ~3:1 and fails WCAG AA, dark ink is ~6.5:1. */
  --accent: oklch(69% 0.21 44.5);
  --accent-hover: oklch(75% 0.18 50);
  --accent-ink: oklch(14.5% 0.004 285);
  --accent-soft: oklch(69% 0.21 44.5 / 0.12);

  /* Verified — only for filtering / verified states */
  --verified: oklch(76% 0.13 155);
  --verified-soft: oklch(76% 0.13 155 / 0.12);
  --rejected: oklch(55% 0.02 30);

  /* Type */
  --font-body: 'Manrope', 'Manrope Fallback', system-ui, sans-serif;
  --font-head: 'Archivo', 'Archivo Fallback', system-ui, sans-serif;

  /* 8px grid */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;
  --s-16: 128px;

  --radius: 16px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --section-y: var(--s-10);
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; --section-y: var(--s-16); }
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s-2)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--text-primary); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-2); top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: var(--s-1) var(--s-2); border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: var(--s-1); }

/* Draft-only placeholder marker */
.ph { background: oklch(85% 0.17 95 / 0.18); color: oklch(90% 0.15 95); outline: 1px dashed oklch(85% 0.17 95 / 0.7); border-radius: 4px; padding: 0 4px; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ── Type helpers ─────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-2);
}
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 62ch; }
.muted { color: var(--text-muted); }
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: var(--s-6); }
.section-head .lead { margin-top: var(--s-2); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1);
  min-height: 48px; padding: 0 var(--s-3);
  border-radius: 999px; border: 1px solid transparent;
  font: 700 0.9375rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text-primary); }
.btn-ghost:hover { border-color: var(--text-muted); background: var(--surface); }
.btn-sm { min-height: 40px; padding: 0 var(--s-2); font-size: 0.875rem; }
.btn[aria-disabled='true'], .btn:disabled { opacity: .6; cursor: progress; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(14.5% 0.004 285 / 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: var(--s-3); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.125rem/1 var(--font-head); letter-spacing: -0.01em; flex: none; }
.logo svg { width: 28px; height: 28px; }
.logo span b { color: var(--accent); font-weight: 700; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: var(--s-3); }
.nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 600; color: var(--text-muted); transition: color .2s; }
.nav a:hover { color: var(--text-primary); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 700; color: var(--text-muted);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--text-primary); border-color: var(--border-strong); }
.lang summary svg { width: 16px; height: 16px; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: var(--s-1);
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px oklch(0% 0 0 / .4);
}
.lang a { display: flex; justify-content: space-between; gap: var(--s-2); padding: 10px 12px; border-radius: 6px; text-decoration: none; font-size: 0.9375rem; }
.lang a:hover { background: var(--surface); }
.lang a[aria-current='true'] { color: var(--accent); font-weight: 700; }
.lang a span { color: var(--text-muted); font-size: 0.8125rem; font-weight: 700; }

.menu-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text-primary); width: 44px; height: 44px; border-radius: 999px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1079px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: var(--s-2) var(--gutter) var(--s-3); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 0; font-size: 1.0625rem; color: var(--text-primary); border-bottom: 1px solid var(--border); }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
}
@media (min-width: 560px) and (max-width: 1079px) { .header-cta { display: inline-flex; } }
@media (min-width: 1080px) { .nav { margin-left: auto; } .header-actions { margin-left: var(--s-1); } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-block: var(--s-8) var(--s-6); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, oklch(69% 0.21 44.5 / 0.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: var(--s-6); align-items: center; position: relative; }
@media (min-width: 1024px) {
  .hero { padding-block: var(--s-12) var(--s-8); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-8); }
}
.hero h1 { display: grid; }
.hero h1 > span { grid-area: 1 / 1; }
.hero h1 > span[hidden] { display: none; }
.hero .lead { margin-top: var(--s-3); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

.diagram { position: relative; background: linear-gradient(180deg, var(--surface), oklch(16% 0.005 285)); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-2); }
.diagram svg { width: 100%; height: auto; aspect-ratio: 520 / 340; }
.diagram text { font-family: var(--font-body); }

.flow-lane { stroke: var(--border); stroke-dasharray: 2 6; }
.gate rect.gate-bar { fill: var(--surface-2); stroke: var(--border-strong); }
.gate .gate-glow { fill: var(--verified-soft); }
.gate-label { fill: var(--text-primary); font-size: 15px; font-weight: 700; }
.gate-sub { fill: var(--text-muted); font-size: 13px; font-weight: 600; }
.sink rect { fill: var(--verified-soft); stroke: var(--verified); }
.sink text { fill: var(--verified); font-size: 15px; font-weight: 700; }
.src-label { fill: var(--text-muted); font-size: 14px; font-weight: 700; }

.p { fill: var(--text-muted); opacity: 0; animation-duration: 4.8s; animation-timing-function: linear; animation-iteration-count: infinite; }
.p-pass { animation-name: p-pass; }
.p-dup { animation-name: p-dup; }
.p-bl { animation-name: p-bl; }
/* Travel distance 420 user units: gate 1 at 37%, gate 2 at 68%. */
@keyframes p-pass {
  0% { transform: translateX(0); opacity: 0; fill: var(--text-muted); }
  5% { opacity: 1; }
  66% { fill: var(--text-muted); }
  70% { fill: var(--verified); }
  94% { opacity: 1; }
  100% { transform: translateX(420px); opacity: 0; fill: var(--verified); }
}
@keyframes p-dup {
  0% { transform: translateX(0); opacity: 0; }
  5% { opacity: 1; fill: var(--text-muted); }
  36% { transform: translateX(150px); opacity: 1; fill: var(--text-muted); }
  40% { fill: var(--rejected); }
  52% { transform: translate(156px, 28px); opacity: 0; fill: var(--rejected); }
  100% { transform: translate(156px, 28px); opacity: 0; }
}
@keyframes p-bl {
  0% { transform: translateX(0); opacity: 0; }
  5% { opacity: 1; fill: var(--text-muted); }
  67% { transform: translateX(282px); opacity: 1; fill: var(--text-muted); }
  71% { fill: var(--rejected); }
  82% { transform: translate(288px, 28px); opacity: 0; fill: var(--rejected); }
  100% { transform: translate(288px, 28px); opacity: 0; }
}
.static-dot { display: none; }

/* Trust strip */
.trust { margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: 0.9375rem; color: var(--text-muted); position: relative; }
.trust li { display: inline-flex; align-items: center; gap: var(--s-1); }
.trust li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); margin-right: var(--s-2); }
.trust strong { color: var(--text-primary); font-weight: 600; }
.trust .networks img { height: 20px; width: auto; }

/* ── Metrics ──────────────────────────────────────────────────────────── */
.metrics { padding-block: var(--s-6); border-block: 1px solid var(--border); background: oklch(16% 0.005 285); }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
@media (min-width: 900px) { .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); } }
.metric { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-3); display: flex; flex-direction: column; gap: var(--s-1); }
.metric-value { font: 700 clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)/1.1 var(--font-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric-value.is-verified { color: var(--verified); }
.metric-label { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.4; }
.metrics-note { margin-top: var(--s-2); font-size: 0.8125rem; color: var(--text-muted); }

/* ── Cards / grids ────────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-3); }
@media (min-width: 768px) { .card { padding: var(--s-4); } }
.grid { display: grid; gap: var(--s-2); }
@media (min-width: 768px) { .grid { gap: var(--s-3); } .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1079px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Problem */
.stat-card { display: flex; flex-direction: column; gap: var(--s-2); }
.stat-value { font: 700 clamp(2.25rem, 1.8rem + 1.6vw, 3rem)/1 var(--font-head); letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat-text { font-size: 1.0625rem; }
.stat-text strong { color: var(--text-primary); }
.stat-source { margin-top: auto; padding-top: var(--s-2); border-top: 1px solid var(--border); font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }
.stat-source a { color: var(--text-muted); text-underline-offset: 3px; }
.stat-source a:hover { color: var(--text-primary); }
.answer { margin-top: var(--s-6); display: flex; gap: var(--s-2); align-items: flex-start; font: 700 clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem)/1.35 var(--font-head); letter-spacing: -0.01em; max-width: 860px; }
.answer svg { width: 28px; height: 28px; flex: none; color: var(--verified); margin-top: 2px; }

/* Technology */
.feature { display: flex; flex-direction: column; gap: var(--s-2); }
.icon-badge { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--verified-soft); color: var(--verified); }
.icon-badge svg { width: 24px; height: 24px; }
.feature p { color: var(--text-muted); }

.flow { margin-top: var(--s-8); }
.flow h3 { font-size: 1.25rem; margin-bottom: var(--s-3); }
.flow ol { display: grid; gap: 0; counter-reset: step; position: relative; }
.flow li { position: relative; padding: 0 0 var(--s-3) var(--s-6); counter-increment: step; }
.flow li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font: 700 0.875rem/1 var(--font-head);
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-primary); z-index: 1;
}
.flow li::after { content: ''; position: absolute; left: 15.5px; top: 32px; bottom: 0; width: 1px; background: var(--border-strong); }
.flow li:last-child::after { display: none; }
.flow li.is-filter::before { background: var(--verified-soft); border-color: var(--verified); color: var(--verified); }
.flow li strong { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; padding-top: 4px; }
.flow li span { display: block; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.5; }
@media (min-width: 1080px) {
  .flow ol { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-2); }
  .flow li { padding: var(--s-6) 0 0 0; }
  .flow li::after { left: 32px; right: calc(-1 * var(--s-2)); top: 15.5px; bottom: auto; width: auto; height: 1px; }
}

/* Channels */
.channel { display: flex; flex-direction: column; gap: var(--s-1); }
.channel h3 { font-size: 1.125rem; }
.channel .sub { font-size: 0.875rem; color: var(--text-muted); font-weight: 600; }
.channel p { margin-top: var(--s-1); color: var(--text-muted); font-size: 0.9375rem; }
.tag { margin-top: auto; padding-top: var(--s-2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1); font-size: 0.8125rem; }
.tag b { font-weight: 700; color: var(--text-muted); }
.tag span { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--text-primary); border: 1px solid oklch(69% 0.21 44.5 / 0.35); font-weight: 600; }

/* Verticals */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.chips li { padding: 10px var(--s-2); border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-weight: 600; font-size: 0.9375rem; }
.chips-note { margin-top: var(--s-3); color: var(--text-muted); font-size: 0.9375rem; }

/* Compliance */
.compliance { background: linear-gradient(180deg, oklch(16.5% 0.006 285), var(--bg)); }
.check-list { display: grid; gap: var(--s-2); }
@media (min-width: 768px) { .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } }
.check-item { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-2); align-items: start; }
.check-item svg { width: 24px; height: 24px; color: var(--verified); margin-top: 2px; }
.check-item h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.check-item p { color: var(--text-muted); font-size: 0.9375rem; }
.compliance-cta { margin-top: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
.compliance-cta .btn { white-space: normal; text-align: left; line-height: 1.3; padding-block: 12px; }
.compliance-cta p { color: var(--text-muted); font-size: 0.9375rem; }

/* Process */
.steps { display: grid; gap: var(--s-2); counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { counter-increment: s; }
.step::before { content: '0' counter(s); display: block; font: 700 0.875rem/1 var(--font-head); color: var(--accent); letter-spacing: 0.08em; margin-bottom: var(--s-2); }
.step h3 { margin-bottom: var(--s-1); }
.step p { color: var(--text-muted); font-size: 0.9375rem; }

/* Results */
.case { display: flex; flex-direction: column; gap: var(--s-2); }
.case h3 { font-size: 1.0625rem; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s-2); margin: 0; font-size: 0.9375rem; }
.case dt { color: var(--text-muted); }
.case dd { margin: 0; font-weight: 600; }
.case .kpi { font: 700 1.5rem/1.2 var(--font-head); color: var(--verified); letter-spacing: -0.01em; }

/* FAQ */
.faq-list { display: grid; gap: var(--s-1); max-width: 880px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); font: 700 1.0625rem/1.4 var(--font-head); min-height: 56px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; flex: none; color: var(--text-muted); transition: transform .2s; }
.faq-list details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq-list .answer-body { padding: 0 var(--s-3) var(--s-3); color: var(--text-muted); max-width: 70ch; }

/* About */
.about-grid { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: var(--s-8); } }
.about-summary { font-size: 1.125rem; line-height: 1.7; color: var(--text-primary); margin-top: var(--s-3); }
.fact-list { display: grid; gap: var(--s-2); }
.fact-list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-2); align-items: start; }
.fact-list li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.offices { display: grid; gap: var(--s-2); margin-top: var(--s-3); }
@media (min-width: 560px) { .offices { grid-template-columns: 1fr 1fr; } }
.office { font-size: 0.9375rem; color: var(--text-muted); }
.office strong { display: block; color: var(--text-primary); font-family: var(--font-head); margin-bottom: 4px; }

/* Contact */
.contact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: var(--s-8); } }
.contact-aside p + p { margin-top: var(--s-2); }
.contact-aside .response { display: inline-flex; gap: var(--s-1); align-items: center; margin-top: var(--s-3); padding: 10px var(--s-2); border-radius: 999px; background: var(--verified-soft); color: var(--verified); font-weight: 700; font-size: 0.9375rem; }
.contact-aside .response svg { width: 18px; height: 18px; }
.form { display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-2); } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 700; }
.field label .opt { font-weight: 500; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--text-primary);
  font: 500 1rem/1.4 var(--font-body);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9b6ad' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: oklch(62% 0.01 95); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input:user-invalid, .field select:user-invalid { border-color: oklch(68% 0.17 25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
.form-foot small { color: var(--text-muted); font-size: 0.8125rem; }
.form-foot small a { color: var(--text-primary); }
.form-status { font-weight: 600; padding: var(--s-2); border-radius: var(--radius-sm); }
.form-status:empty { display: none; }
.form-status.is-ok { background: var(--verified-soft); color: var(--verified); }
.form-status.is-err { background: oklch(68% 0.17 25 / 0.12); color: oklch(80% 0.12 25); }
.form-status a { color: inherit; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding-block: var(--s-8) var(--s-4); font-size: 0.9375rem; color: var(--text-muted); }
.footer-grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1.6fr 1fr 1fr; gap: var(--s-4); } }
.footer-grid h2 { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-primary); margin-bottom: var(--s-2); font-family: var(--font-body); }
.footer-grid li + li { margin-top: var(--s-1); }
.footer-grid a { text-decoration: none; color: var(--text-muted); }
.footer-grid a:hover { color: var(--text-primary); text-decoration: underline; }
.footer-grid button.linkish { background: none; border: 0; padding: 0; color: var(--text-muted); font: inherit; cursor: pointer; }
.footer-grid button.linkish:hover { color: var(--text-primary); text-decoration: underline; }
.entity + .entity { margin-top: var(--s-2); }
.entity strong { color: var(--text-primary); display: block; }
.footer-bottom { margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--border); font-size: 0.8125rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }

/* ── Floating contact ─────────────────────────────────────────────────── */
.fab { position: fixed; right: var(--s-2); bottom: var(--s-2); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-1); }
@media (min-width: 768px) { .fab { right: var(--s-3); bottom: var(--s-3); } }
.fab-toggle { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px oklch(0% 0 0 / .45); transition: background-color .2s, transform .2s; }
.fab-toggle:hover { background: var(--accent-hover); }
.fab-toggle svg { width: 24px; height: 24px; }
.fab-toggle .i-close { display: none; }
.fab.is-open .fab-toggle .i-open { display: none; }
.fab.is-open .fab-toggle .i-close { display: block; }
.fab-menu { display: none; flex-direction: column; gap: var(--s-1); }
.fab.is-open .fab-menu { display: flex; }
.fab-menu a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 var(--s-2) 0 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-strong); text-decoration: none; font-weight: 700; font-size: 0.9375rem; box-shadow: 0 8px 24px oklch(0% 0 0 / .35); }
.fab-menu a:hover { border-color: var(--text-muted); }
.fab-menu svg { width: 20px; height: 20px; color: var(--accent); }

/* ── Consent banner ───────────────────────────────────────────────────── */
.consent { position: fixed; left: var(--s-2); right: var(--s-2); bottom: var(--s-2); z-index: 70; max-width: 560px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: var(--s-3); box-shadow: 0 16px 48px oklch(0% 0 0 / .5); font-size: 0.9375rem; }
.consent[hidden] { display: none; }
@media (min-width: 768px) { .consent { left: var(--s-3); bottom: var(--s-3); right: auto; } }
.consent p { color: var(--text-muted); }
.consent p a { color: var(--text-primary); }
.consent-actions { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-top: var(--s-2); }
.consent-actions .btn { flex: 1 1 140px; }

/* ── Legal pages ──────────────────────────────────────────────────────── */
.legal { padding-block: var(--s-8) var(--s-12); }
.legal-body { max-width: 760px; }
.legal-body h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); margin-bottom: var(--s-2); }
.legal-body h2 { font-size: 1.375rem; margin: var(--s-5) 0 var(--s-2); }
.legal-body p, .legal-body li { color: var(--text-muted); }
.legal-body p + p { margin-top: var(--s-2); }
.legal-body ul { list-style: disc; padding-left: var(--s-3); display: grid; gap: var(--s-1); margin-top: var(--s-2); }
.legal-body address { font-style: normal; color: var(--text-primary); line-height: 1.7; }
.legal-body .meta { font-size: 0.875rem; }
.legal-body table { width: 100%; border-collapse: collapse; margin-top: var(--s-2); font-size: 0.9375rem; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-body th { color: var(--text-primary); }
.legal-body td { color: var(--text-muted); }
.draft-note { margin-bottom: var(--s-4); padding: var(--s-2); border-radius: var(--radius-sm); border: 1px dashed oklch(85% 0.17 95 / 0.7); color: oklch(90% 0.15 95); font-weight: 600; }
.back-link { display: inline-flex; margin-bottom: var(--s-4); color: var(--text-muted); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--text-primary); }

/* ── Motion ───────────────────────────────────────────────────────────── */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .p { display: none; }
  .static-dot { display: inline; }
}
