/* SwiCromAI landing — design system */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Swiss Precision × Document Intelligence */
  --navy: #0b1220;
  --ink: #152033;
  --text: #3d4a5c;
  --muted: #6b7789;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #f7f8fa;
  --soft: #f1f4f8;
  --soft-2: #e8edf3;
  --surface: #ffffff;
  --blue: #1a56db;
  --blue-dark: #1e3a8a;
  --blue-mid: #2563eb;
  --blue-tint: #eff4ff;
  --steel: #0f766e;
  --steel-tint: #ecfdf8;
  --violet: #0f766e;
  --violet-tint: #ecfdf8;
  --gold: #a16207;
  --ok: #047857;
  --ok-tint: #ecfdf5;
  --warn: #b45309;
  --warn-tint: #fff7ed;
  --danger: #b91c1c;
  --danger-tint: #fef2f2;
  --ch-red: #dc2626;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05);
  --shadow: 0 4px 18px rgba(11, 18, 32, .06);
  --shadow-lg: 0 16px 40px rgba(11, 18, 32, .1);
  --container: 1120px;
  --header-h: 64px;
}

/* ---------- Language switching ---------- */
html.lang-en .l-de { display: none !important; }
html:not(.lang-en) .l-en { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 420px at 8% -10%, rgba(37, 99, 235, .06), transparent 55%),
    linear-gradient(180deg, #fafbfc 0%, var(--bg) 40%, #f3f5f8 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3.15rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease-soft), box-shadow .25s var(--ease-soft), background .25s var(--ease-soft);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--navy); flex: none; }
.brand img {
  width: 30px; height: 30px; object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(7, 28, 55, .16));
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.brand-name span { color: var(--blue); }

.main-nav { display: flex; gap: 2px; margin-left: 4px; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9rem;
  padding: 6px 10px; border-radius: var(--radius-sm);
}
.main-nav a:hover { background: var(--soft); color: var(--navy); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; color: var(--muted);
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.menu-toggle {
  display: none; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm);
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 10px;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 18, 32, .08), 0 4px 12px rgba(26, 86, 219, .22);
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); background: var(--soft); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn-header { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 40px 0 64px;
  background: transparent;
}
.hero-atmosphere {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.hero-atmosphere .orb,
.hero-mesh { display: none; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(11, 18, 32, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 0%, rgba(0, 0, 0, .35), transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, rgba(0, 0, 0, .35), transparent 65%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 44px;
  align-items: center;
}
.hero-grid > *, .focus > *, .pilot > *, .grid-3 > *, .grid-2 > *, .steps > *,
.security-grid > *, .roadmap > *, .form-grid > *, .footer-grid > *,
.demo-layout > *, .company > *, .cap > *, .cap-list > *, .status-grid > * { min-width: 0; }

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 100%;
  font-size: .78rem; font-weight: 600; color: var(--blue-dark); letter-spacing: .01em;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(184, 201, 222, .85);
  padding: 6px 12px; border-radius: 10px; margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 0 rgba(29, 78, 216, .45);
  animation: pulse-dot 2.4s var(--ease-soft) infinite;
}

.hero h1 { margin-bottom: .4em; font-size: clamp(1.85rem, 3.2vw, 2.55rem); line-height: 1.12; max-width: 14em; }
.hero h1 .accent { color: var(--blue); }
.brand-byline {
  display: block; margin-top: 10px; font-size: .82rem; color: var(--muted); font-weight: 500;
}
.brand-byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.brand-byline a:hover { color: var(--blue); text-decoration: underline; }
.hero-lead { font-size: 1.06rem; color: var(--text); max-width: 34em; margin: 0 0 20px; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; list-style: none; padding: 0; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .86rem; color: var(--ink); font-weight: 500;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(212, 224, 239, .9);
  padding: 6px 10px; border-radius: 10px;
}
.hero-facts svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

/* Hero entrance */
.hero-anim {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.hero.is-ready .hero-anim { opacity: 1; transform: none; }
.hero.is-ready .hero-anim-1 { transition-delay: .05s; }
.hero.is-ready .hero-anim-2 { transition-delay: .14s; }
.hero.is-ready .hero-anim-3 { transition-delay: .22s; }
.hero.is-ready .hero-anim-4 { transition-delay: .3s; }
.hero.is-ready .hero-anim-5 { transition-delay: .38s; }
.hero.is-ready .hero-anim-6 { transition-delay: .2s; }

/* Product illustration */
.mock { position: relative; width: 100%; max-width: 540px; justify-self: end; }
.mock-glow {
  position: absolute; inset: 12% -6% -12% -6%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(29, 78, 216, .18), transparent 62%),
    radial-gradient(ellipse at 70% 80%, rgba(14, 116, 144, .12), transparent 55%);
}
.mock-window {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .mock-window { animation: mock-float 8s var(--ease-soft) infinite; }
}
.mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f4f8fc, #eaf1f8);
}
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.mock-bar i:nth-child(1) { background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span {
  margin-left: 8px; font-size: .74rem; color: var(--muted); font-weight: 500;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 8px;
}
.mock-progress {
  height: 2px; background: var(--soft-2); overflow: hidden;
}
.mock-progress span {
  display: block; height: 100%; width: 72%;
  background: linear-gradient(90deg, var(--blue), var(--steel));
  animation: progress-fill 2.8s var(--ease-out) .6s both;
}
.mock-body { padding: 15px; display: grid; gap: 11px; }
.mock-body > *, .doc-head > *, .doc-meta-block, .chat > *, .source > * { min-width: 0; }

.doc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 15px; background: #fbfcfe; }
.doc-head { display: flex; align-items: center; gap: 10px; }
.doc-meta-block { flex: 1; min-width: 0; }
.doc-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--danger-tint); color: var(--danger); display: grid; place-items: center; font-size: .62rem; font-weight: 800; letter-spacing: .03em; flex: none; }
.doc-name {
  font-weight: 600; color: var(--navy); font-size: .86rem; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.doc-meta { font-size: .74rem; color: var(--muted); margin-top: 1px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 8px; white-space: nowrap; }
.pill-ok { background: var(--ok-tint); color: var(--ok); }
.pill-blue { background: var(--blue-tint); color: var(--blue-dark); }
.pill-warn { background: var(--warn-tint); color: var(--warn); }
.pill-violet { background: var(--steel-tint); color: var(--steel); }
.doc-head .pill { margin-left: auto; flex: none; }
.doc-summary { margin: 10px 0 8px; font-size: .82rem; color: var(--text); line-height: 1.5; }
.doc-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.deadline { display: flex; align-items: center; gap: 12px; border: 1px solid #f6d9b5; background: #fffaf3; border-radius: var(--radius); padding: 11px 13px; }
.deadline-date { text-align: center; min-width: 46px; border-right: 1px solid #f1d3ad; padding-right: 12px; flex: none; }
.deadline-date b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--navy); line-height: 1; }
.deadline-date small { font-size: .68rem; font-weight: 600; color: var(--warn); text-transform: uppercase; letter-spacing: .05em; }
.deadline-text { font-size: .82rem; color: var(--ink); line-height: 1.4; min-width: 0; }
.deadline-text strong { display: block; color: var(--navy); }

.chat { display: grid; gap: 9px; }
.bubble { max-width: 100%; padding: 10px 13px; border-radius: 14px; font-size: .82rem; line-height: 1.45; }
.bubble-q { justify-self: end; max-width: 88%; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.bubble-a { background: var(--soft); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.source { margin-top: 7px; display: flex; gap: 8px; align-items: flex-start; font-size: .72rem; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 7px; overflow-wrap: anywhere; }
.source svg { width: 13px; height: 13px; flex: none; margin-top: 2px; color: var(--blue); }
.source q { font-style: italic; }

.mock-note { margin-top: 10px; text-align: center; font-size: .76rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }

/* Trust strip */
.trust { padding: 26px 0; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .72); overflow-x: clip; }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--ink); font-weight: 500; min-width: 0; }
.trust-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--soft-2); color: var(--blue); flex: none; }
.trust-ico svg { width: 20px; height: 20px; }
.trust-ico.ch { background: var(--ch-red); color: #fff; }

/* Problem cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-tint); color: var(--blue); }
.card-ico svg { width: 24px; height: 24px; }
.card-ico.violet { background: var(--violet-tint); color: var(--violet); }
.card-ico.warn { background: var(--warn-tint); color: var(--warn); }
.card-ico.ok { background: var(--ok-tint); color: var(--ok); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 18px;
}
.step p { margin: 0; color: var(--muted); }

/* Features */
.feature { display: flex; flex-direction: column; }
.feature ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.feature li { display: flex; gap: 10px; font-size: .93rem; color: var(--text); }
.feature li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }
.feature .pill { align-self: flex-start; margin-bottom: 14px; }

/* Industry focus */
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.focus-list { list-style: none; display: grid; gap: 16px; }
.focus-list li { display: flex; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.focus-list .num { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--blue-tint); color: var(--blue-dark); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.focus-list strong { color: var(--navy); display: block; margin-bottom: 2px; }
.focus-list span { color: var(--muted); font-size: .95rem; }
.quote-card { background: var(--navy); color: #dfe6ff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.quote-card h3 { color: #fff; font-size: 1.5rem; }
.quote-card p { color: #c7d2f5; }
.quote-card ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.quote-card li { display: flex; gap: 10px; font-size: .95rem; }
.quote-card li svg { width: 18px; height: 18px; color: #8fb0ff; flex: none; margin-top: 3px; }

/* Security */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sec-item { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sec-item svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }
.sec-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sec-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.notice {
  display: flex; gap: 14px; margin-top: 26px; padding: 18px 20px;
  border-radius: var(--radius); background: var(--blue-tint); border: 1px solid #d5e0ff; color: var(--ink); font-size: .95rem;
}
.notice svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 1px; }
.notice p { margin: 0; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.road-col { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.road-col.planned { border-style: dashed; background: transparent; }
.road-col h3 { display: flex; align-items: center; gap: 10px; }
.road-col ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.road-col li { display: flex; gap: 10px; color: var(--text); }
.road-col li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.road-col:not(.planned) li svg { color: var(--ok); }
.road-col.planned li svg { color: var(--muted); }
.road-note { margin-top: 16px; font-size: .88rem; color: var(--muted); }

/* Pilot */
.pilot { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.pilot-benefits { list-style: none; display: grid; gap: 14px; margin: 26px 0; }
.pilot-benefits li { display: flex; gap: 12px; color: var(--ink); }
.pilot-benefits svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 8px; padding-left: 22px; display: grid; gap: 18px; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.timeline li.is-key::before { background: var(--blue); }
.timeline strong { display: block; color: var(--navy); }
.timeline span { color: var(--muted); font-size: .94rem; }

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.35rem; }
.form-intro { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 91, 234, .15); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.hint { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.error { font-size: .82rem; color: var(--danger); font-weight: 500; min-height: 0; }
.error:empty { display: none; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.form-actions .btn { width: 100%; }
.form-foot { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }

.form-status { border-radius: var(--radius); padding: 14px 16px; font-size: .92rem; margin-top: 14px; }
.form-status:empty { display: none; }
.form-status.is-error { background: var(--danger-tint); color: var(--danger); border: 1px solid #f6c9c4; }

.form-success { text-align: center; padding: 28px 8px; }
.form-success .ok-ico { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--ok-tint); color: var(--ok); }
.form-success .ok-ico svg { width: 30px; height: 30px; }
.form-success p { color: var(--muted); }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 600; color: var(--navy); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--text); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #12305c 50%, #0c4a6e 100%); color: #dfe6ff; border-radius: var(--radius-lg); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; color: #c7d2f5; }
.cta-band .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--blue-tint); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c4e4; padding: 64px 0 28px; margin-top: 96px; font-size: .94rem; }
.site-footer .brand img {
  width: 36px; height: 36px;
  background: #e8f2fb; border-radius: 10px; padding: 4px;
  filter: none; box-sizing: content-box;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: #8fb0ff; }
.site-footer h2 { color: #fff; font-family: var(--font); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #dfe6ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about { margin-top: 14px; max-width: 30em; color: #b9c4e4; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, rgba(215, 228, 243, .65), rgba(228, 238, 248, .35));
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.legal-hero p { color: var(--muted); margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; }
.prose { max-width: 780px; padding: 48px 0 24px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose address { font-style: normal; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 1em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .94rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--navy); background: var(--soft); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.prose .meta { color: var(--muted); font-size: .9rem; }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .code { font-family: var(--display); font-size: 5rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 12px; }

/* Capabilities */
.cap-list { display: grid; gap: 28px; }
.cap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.cap:nth-child(even) { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.cap:nth-child(even) .cap-visual { order: -1; }
.cap-copy h3 { font-size: 1.35rem; margin-bottom: 10px; }
.cap-copy p { margin: 0 0 12px; color: var(--muted); }
.cap-copy .cap-benefit { color: var(--ink); font-weight: 500; margin: 0; }
.cap-visual {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft);
  padding: 16px; min-height: 140px;
}
.cap-visual .mini-chat { display: grid; gap: 8px; }
.cap-visual .mini-q, .cap-visual .mini-a {
  font-size: .8rem; line-height: 1.45; padding: 10px 12px; border-radius: 12px;
}
.cap-visual .mini-q { background: var(--navy); color: #fff; justify-self: end; max-width: 90%; }
.cap-visual .mini-a { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.cap-visual .mini-src { font-size: .72rem; color: var(--muted); margin-top: 6px; border-top: 1px dashed var(--line); padding-top: 6px; }

/* Demo section */
.demo-layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px; align-items: start;
}
.demo-layout .mock { max-width: none; justify-self: stretch; }
.demo-points { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.demo-points li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .95rem; color: var(--text);
}
.demo-points .n {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  background: var(--blue-tint); color: var(--blue-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.demo-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; color: var(--muted);
  background: var(--soft); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 8px; margin-bottom: 14px;
}

/* Company */
.company {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 40px; align-items: center;
}
.company-card {
  background: var(--navy); color: #c8d0dc; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-lg);
}
.company-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.company-card p { margin: 0 0 18px; color: #aeb8c8; }
.company-card .btn { width: 100%; }

/* Status badges */
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.status-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.status-card ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.status-card li { font-size: .92rem; color: var(--text); display: flex; gap: 8px; }
.status-card li::before { content: '·'; color: var(--muted); font-weight: 700; }

/* Mobile menu close */
.nav-close {
  display: none; align-self: flex-end; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius-sm);
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.nav-close svg { width: 20px; height: 20px; }

/* ---------- Motion ---------- */
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, .4); }
  50% { box-shadow: 0 0 0 6px rgba(29, 78, 216, 0); }
}
@keyframes mock-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes progress-fill {
  from { width: 0; }
  to { width: 72%; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.grid-3 .reveal:nth-child(2), .steps .reveal:nth-child(2),
.security-grid .reveal:nth-child(2), .roadmap .reveal:nth-child(2) { transition-delay: .08s; }
.grid-3 .reveal:nth-child(3), .steps .reveal:nth-child(3),
.security-grid .reveal:nth-child(3) { transition-delay: .16s; }
.security-grid .reveal:nth-child(4) { transition-delay: .24s; }
html.no-js .reveal, html.no-js .hero-anim { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-anim { opacity: 1; transform: none; }
  .mock-window { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 9px; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr); }
  .mock { max-width: 460px; }
  .hero-mesh { width: min(48vw, 420px); opacity: .4; }
}

@media (max-width: 960px) {
  .hero-grid, .focus, .pilot, .demo-layout, .company, .cap,
  .cap:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .cap:nth-child(even) .cap-visual { order: 0; }
  .hero { padding: 20px 0 40px; overflow-x: clip; }
  .grid-3, .steps, .status-grid { grid-template-columns: 1fr 1fr; }
  .mock { max-width: 440px; justify-self: center; margin: 0 auto; }
  .mock-window { animation: none; }
  .cap { padding: 22px; }

  .menu-toggle { display: inline-flex; width: 44px; height: 44px; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; margin: 0; padding: 12px 16px 20px;
    background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }
  .main-nav.is-open { display: flex; }
  .nav-close { display: inline-flex; }
  .main-nav a { padding: 14px 10px; font-size: 1.02rem; border-bottom: 1px solid var(--soft-2); border-radius: 0; min-height: 48px; display: flex; align-items: center; }
  .header-actions .btn-header { display: none; }
}

@media (max-width: 680px) {
  body { background-attachment: scroll; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; text-align: left; margin-left: 0; max-width: none; }
  .section-head p { font-size: 1rem; }
  .kicker { font-size: .74rem; margin-bottom: 10px; }
  .grid-3, .grid-2, .steps, .security-grid, .roadmap, .form-grid, .status-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust ul { grid-template-columns: 1fr; gap: 10px; }
  .trust li { font-size: .86rem; }
  .company, .demo-layout, .cap { overflow-x: clip; }
  .hero h1, .section-head h2, .cap-copy h3 { overflow-wrap: anywhere; }
  h1, .legal-hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); overflow-wrap: break-word; }
  .hero h1 { font-size: clamp(1.62rem, 7.2vw, 2.05rem); letter-spacing: -.03em; }
  .table-wrap.is-stackable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap.is-stackable table, .table-wrap.is-stackable tbody,
  .table-wrap.is-stackable tr, .table-wrap.is-stackable td { display: block; width: 100%; }
  .table-wrap.is-stackable tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
  .table-wrap.is-stackable td { border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .table-wrap.is-stackable td:last-child { border-bottom: 0; }
  .table-wrap.is-stackable td:first-child { background: var(--soft); color: var(--navy); font-weight: 600; }
  .table-wrap.is-stackable td:not(:first-child)::before {
    content: attr(data-label); display: block; font-size: .74rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px;
  }

  .hero { padding: 12px 0 32px; }
  .hero-grid { gap: 20px; }
  .hero-lead { font-size: .95rem; margin: 0 0 16px; }
  .hero-ctas { gap: 8px; width: 100%; }
  .hero-ctas .btn { width: 100%; min-height: 48px; border-radius: 12px; }
  .hero-facts {
    margin-top: 14px; gap: 8px; width: 100%;
    display: grid; grid-template-columns: 1fr;
  }
  .hero-facts li { width: 100%; padding: 9px 12px; font-size: .84rem; }
  .eyebrow {
    margin-bottom: 12px; font-size: .72rem; padding: 6px 10px;
    max-width: 100%; line-height: 1.35;
  }

  .trust {
    padding: 18px 0 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .28));
  }
  .trust .container { padding-right: 0; }
  .trust ul {
    display: flex; grid-template-columns: none;
    gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 6px; padding-right: 18px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .trust ul::-webkit-scrollbar { display: none; }
  .trust li {
    flex: 0 0 auto; scroll-snap-align: start;
    min-width: min(78vw, 260px);
    padding: 12px 14px; border-radius: 14px;
    background: rgba(255, 255, 255, .88); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); font-size: .86rem;
  }

  .mock { max-width: none; width: 100%; margin-top: 4px; }
  .mock-glow { inset: 18% 0 -8% 0; }
  .mock-window {
    border-radius: 16px;
    border-color: rgba(148, 173, 204, .55);
    box-shadow: 0 16px 40px rgba(6, 21, 37, .14);
  }
  .mock-bar { padding: 10px 12px; }
  .mock-body { padding: 12px; gap: 10px; }
  .doc-card {
    padding: 12px; border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f7fafd);
  }
  .doc-head { gap: 8px; }
  .doc-icon { width: 32px; height: 32px; font-size: .58rem; border-radius: 9px; }
  .doc-name { font-size: .82rem; }
  .doc-summary {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; margin: 8px 0 7px; font-size: .78rem; line-height: 1.45;
  }
  .doc-tags .pill:last-child { display: none; }
  .deadline {
    padding: 10px 11px; gap: 10px; border-radius: 12px;
    background: linear-gradient(135deg, #fffaf3, #fff7ed);
  }
  .deadline-date { min-width: 42px; padding-right: 10px; }
  .deadline-date b { font-size: 1.15rem; }
  .deadline-text { font-size: .78rem; }
  .bubble { font-size: .78rem; padding: 9px 12px; border-radius: 12px; }
  .bubble-q { max-width: 92%; }
  .source { font-size: .68rem; }
  .source q { display: none; }
  .mock-note { margin-top: 10px; font-size: .7rem; opacity: .85; }

  .card, .step, .road-col {
    padding: 20px; border-radius: 16px;
    box-shadow: var(--shadow-sm);
  }
  .card-ico { width: 42px; height: 42px; margin-bottom: 14px; }
  .step::before { width: 36px; height: 36px; margin-bottom: 14px; }
  .focus-list li { padding: 14px 16px; border-radius: 12px; }
  .quote-card { padding: 24px; border-radius: 16px; }
  .sec-item { padding: 16px; border-radius: 12px; }
  .form-card { padding: 20px; border-radius: 16px; }
  .form-grid { gap: 14px; }
  .field input, .field select, .field textarea { min-height: 48px; border-radius: 12px; }
  .cta-band {
    padding: 28px 20px; border-radius: 16px; flex-direction: column; align-items: stretch;
    background: linear-gradient(145deg, var(--navy) 0%, #12305c 55%, #0c4a6e 100%);
  }
  .cta-band .btn { width: 100%; }
  .faq details { border-radius: 12px; }
  .faq summary { padding: 16px 48px 16px 16px; font-size: .98rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { margin-top: 56px; padding: 48px 0 24px; }
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .brand-name { font-size: 1rem; }
  .lang-switch { padding: 2px; }
  .lang-switch button { padding: 6px 10px; }
}

@media (max-width: 420px) {
  .header-actions .btn-back { display: none; }
  .eyebrow { font-size: .68rem; }
}

@media print {
  .site-header, .site-footer, .skip-link, .menu-toggle, .lang-switch { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  body { color: #000; }
}
