/* Synaptic AI / Lyra - light design system, modelled on cursor.com's light theme.
   Warm off-white paper, warm near-black ink, regular-weight type, and soft painted
   "wallpapers" behind product UI. No external fonts or network requests. */

:root {
  --bg: #f7f7f4;
  --surface: #f0efea;
  --surface-2: #e8e7e1;
  --paper: #ffffff;
  --ink: #26251e;
  --ink-2: #4a4942;
  --muted: #6b6a64;
  --faint: #9a9993;
  --line: #e2e1db;
  --lav: #e9e3fb;
  --lav-ink: #4f4596;
  --ok-bg: #e3eee4;
  --ok-ink: #2f5a3a;
  --warn-bg: #f6ead6;
  --warn-ink: #7a5318;
  --sans: "Geist", "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --wrap: 1240px;
  --pad: 32px;
  --r: 10px;
  --r-sm: 6px;
  --lift: 0 0 0 1px rgba(38, 37, 30, .07), 0 2px 4px rgba(38, 37, 30, .04), 0 24px 48px -20px rgba(38, 37, 30, .28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--lav-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lav); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 500;
  transform: translateY(-250%);
  padding: 10px 16px;
  background: var(--paper);
  border-radius: var(--r-sm);
  box-shadow: var(--lift);
  font-size: .9rem;
}
.skip-link:focus { transform: none; }

.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Type ---------- */

.t-hero {
  font-size: clamp(1.85rem, 3.3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.028em;
  max-width: 21ch;
}
.t-h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -.022em;
}
.t-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.4;
  letter-spacing: -.012em;
  color: var(--muted);
}

/* Two-tone block: the title in ink, the description in grey at the same size. */
.duo h3, .duo p {
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -.012em;
}
.duo p { color: var(--muted); }

.label {
  display: block;
  margin-bottom: 14px;
  font-size: .875rem;
  color: var(--muted);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 1rem;
  color: var(--ink);
  transition: color .15s ease;
}
.more .arr { transition: transform .15s ease; }
.more:hover { color: var(--muted); }
.more:hover .arr { transform: translateX(2px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #3d3c34; }
.btn-secondary { background: var(--surface-2); color: var(--ink); }
.btn-secondary:hover { background: #dddcd5; }
.btn-sm { height: 34px; padding: 0 14px; font-size: .875rem; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 1rem; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 100px; }
.section-head { margin-bottom: 56px; }
.section-head .t-lead { margin-top: 12px; max-width: 46ch; }
.section-foot { margin-top: 40px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: start;
}
.split .section-head { margin-bottom: 0; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 244, .86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--pad);
  height: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand img { width: 22px; height: 22px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--surface); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lang {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: .875rem;
  color: var(--ink-2);
}
.lang:hover { background: var(--surface); color: var(--ink); }

.nav-burger {
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--r-sm);
}
.nav-burger:hover { background: var(--surface); }
.nav-burger .bars { display: grid; gap: 5px; }
.nav-burger .bars span { display: block; width: 16px; height: 1.5px; border-radius: 1px; background: var(--ink); }

.nav-menu {
  display: none;
  padding: 8px var(--pad) 20px;
  border-top: 1px solid var(--line);
}
.menu-open .nav-menu { display: flex; flex-direction: column; }
.nav-menu a { padding: 11px 0; font-size: 1.05rem; color: var(--ink-2); }
.nav-menu a[aria-current="page"] { color: var(--ink); }

/* ---------- Hero ---------- */

.hero { padding-top: 104px; }
.hero .t-lead { margin-top: 18px; max-width: 46ch; }
.hero-visual { margin-top: 64px; }

/* ---------- Painted panels ---------- */

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .2;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.panel > * { position: relative; z-index: 1; }

.wall-dawn {
  background:
    radial-gradient(60% 70% at 12% 18%, rgba(243, 212, 194, .95), transparent 70%),
    radial-gradient(55% 65% at 88% 12%, rgba(214, 205, 246, .95), transparent 70%),
    radial-gradient(70% 60% at 72% 96%, rgba(193, 215, 204, .95), transparent 70%),
    radial-gradient(50% 55% at 18% 92%, rgba(234, 221, 192, .9), transparent 70%),
    #ebe7df;
}
.wall-lilac {
  background:
    radial-gradient(65% 70% at 85% 20%, rgba(212, 202, 247, .95), transparent 70%),
    radial-gradient(60% 65% at 10% 85%, rgba(245, 210, 216, .85), transparent 70%),
    radial-gradient(55% 60% at 50% 50%, rgba(238, 233, 250, .9), transparent 75%),
    #e9e4ef;
}
.wall-sage {
  background:
    radial-gradient(60% 70% at 15% 15%, rgba(200, 222, 205, .95), transparent 70%),
    radial-gradient(60% 65% at 90% 80%, rgba(214, 228, 240, .9), transparent 70%),
    radial-gradient(50% 55% at 80% 10%, rgba(240, 232, 205, .9), transparent 70%),
    #e5e9e1;
}
.wall-sky {
  background:
    radial-gradient(65% 70% at 85% 15%, rgba(203, 220, 242, .95), transparent 70%),
    radial-gradient(60% 65% at 10% 90%, rgba(246, 219, 199, .9), transparent 70%),
    radial-gradient(45% 50% at 30% 20%, rgba(228, 236, 246, .9), transparent 75%),
    #e6e8ec;
}
.wall-sand {
  background:
    radial-gradient(60% 70% at 20% 20%, rgba(240, 222, 196, .95), transparent 70%),
    radial-gradient(60% 65% at 85% 85%, rgba(233, 207, 205, .9), transparent 70%),
    radial-gradient(45% 50% at 85% 15%, rgba(220, 214, 240, .85), transparent 75%),
    #ece6dd;
}

.hero-visual .panel { padding: clamp(16px, 5vw, 64px) clamp(16px, 6vw, 80px) 0; }
.hero-visual .window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- Mock windows (illustrative product UI) ---------- */

.window {
  overflow: hidden;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--lift);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.window-bar .pill { margin-left: auto; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e1db; }
.window img { width: 100%; }
.window-foot {
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.k {
  font: 500 10.5px/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.pill .ico { width: 12px; height: 12px; }
.pill-ok { background: var(--ok-bg); color: var(--ok-ink); }
.pill-lav { background: var(--lav); color: var(--lav-ink); }
.pill-warn { background: var(--warn-bg); color: var(--warn-ink); }

.mini {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
}
.mini-dark { background: var(--ink); color: #fff; }
.mini-ghost { background: var(--surface); color: var(--ink); }

.note-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 16px 18px 6px;
}
.note-title { font-size: 15px; font-weight: 500; }
.note-sec { padding: 9px 18px; }
.note-sec p { margin-top: 4px; font-size: 13.5px; }
.mark { background: linear-gradient(transparent 58%, var(--lav) 58%); }
.note-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}
.note-foot > span { font-size: 12px; color: var(--muted); }
.note-actions { display: flex; gap: 6px; }

.rows li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
}
.rows li:last-child { border-bottom: 0; }
.row-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink-2);
}
.row-ico .ico { width: 15px; height: 15px; }
.row-k { font-size: 13.5px; }
.row-v { font-size: 12.5px; color: var(--muted); }

/* ---------- Feature rows ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: start;
}
.feature + .feature { margin-top: 104px; }
.feature-text { padding-top: 4px; max-width: 24rem; }
.feature-visual .panel {
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: clamp(20px, 4vw, 52px);
}
.feature-visual .window { width: 100%; max-width: 500px; }

/* ---------- Tiles (three-up cards with a small visual) ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--r);
}
.tile > .panel {
  display: grid;
  place-items: center;
  height: 250px;
  padding: 28px 24px;
  border-radius: 0;
}
.tile-body { padding: 22px 22px 26px; }
.tile-body h3, .tile-body p { font-size: 1rem; line-height: 1.45; }
.tile-body p { margin-top: 2px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 280px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  background: var(--paper);
  box-shadow: var(--lift);
  font: 500 12px/1 var(--mono);
  color: var(--ink-2);
}
.tile-stack { display: grid; justify-items: center; gap: 14px; }
.tile .window { width: 100%; max-width: 280px; }
.tile .rows li { grid-template-columns: minmax(0, 1fr) auto; padding: 9px 14px; }
.tile .row-k { font-size: 12.5px; }
.dim { color: var(--faint); }
.who {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.who .avatar { width: 30px; height: 30px; font-size: 10.5px; }

/* ---------- Plain cards ---------- */

.card {
  padding: 26px 24px 28px;
  background: var(--surface);
  border-radius: var(--r);
}
.card h3, .card p { font-size: 1rem; line-height: 1.45; }
.card p { margin-top: 2px; color: var(--muted); }

/* ---------- Spec lists (security-page style) ---------- */

.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-bottom: 1px solid var(--line);
}
.spec li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.spec .ico { margin-top: 1px; color: var(--ink-2); }
.spec h3, .spec p { font-size: 1rem; line-height: 1.45; }
.spec p { margin-top: 2px; color: var(--muted); }
.spec-plain li { grid-template-columns: minmax(0, 1fr); }

.spec-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  margin-top: 28px;
}
.spec-foot p { color: var(--muted); }
.spec-foot .more { margin-top: 0; }

.facts { border-top: 1px solid var(--line); }
.facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); }

/* ---------- Pipeline (technology hero) ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 960px;
}
.flow-step {
  position: relative;
  padding: 18px 18px 20px;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--lift);
}
.flow-step + .flow-step::before {
  content: "\2192";
  position: absolute;
  top: 50%;
  left: -15px;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--ink-2);
}
.flow-step strong { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 500; }
.flow-step .pill { margin-top: 12px; }

/* ---------- Team ---------- */

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person {
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--r);
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lav);
  color: var(--lav-ink);
  font: 500 13px/1 var(--mono);
}
.person h3 { margin-top: auto; padding-top: 40px; font-size: 1rem; }
.person p { font-size: .9375rem; color: var(--muted); }
.person a { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.person a:hover { color: var(--ink); }

.app-icon {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--lift);
}
.app-icon img { width: 56px; height: 56px; }
.brand-panel { display: grid; place-items: center; min-height: 340px; }

.story p { font-size: 1.25rem; line-height: 1.45; letter-spacing: -.012em; color: var(--muted); }
.story p:first-child { color: var(--ink); }
.story p + p { margin-top: 18px; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.125rem;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; font-size: 1.25rem; line-height: 1; color: var(--muted); transition: transform .2s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding-bottom: 24px; color: var(--muted); }
.faq details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* ---------- Final call to action ---------- */

.cta { padding-block: 136px; border-top: 1px solid var(--line); }
.cta .t-hero { max-width: 18ch; }
.cta .t-lead { margin-top: 14px; max-width: 46ch; }

/* ---------- Footer ---------- */

.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer h3 { margin-bottom: 14px; font-size: .875rem; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 64px;
  color: var(--muted);
}
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); }
.lang-switch a { padding: 4px 12px; border-radius: 999px; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(38, 37, 30, .08); }
.trademark { margin-top: 18px; font-size: .75rem; color: var(--faint); }

/* ---------- Root redirect fallback and 404 ---------- */

.gate {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: var(--pad);
}
.gate-card {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.gate-card .brand { justify-content: center; margin-bottom: 18px; }
.gate-card h1 { font-size: 2rem; letter-spacing: -.025em; }
.gate-card p { margin-bottom: 16px; color: var(--muted); }

/* ---------- Enquiry dialog ---------- */

.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.open { display: block; }
.modal-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  background: rgba(38, 37, 30, .32);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-block: 6vh 40px;
  padding: 32px;
  background: var(--bg);
  border-radius: 12px;
  box-shadow: var(--lift);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  color: var(--ink-2);
}
.modal-close:hover { background: var(--surface); }
.modal-close svg { width: 18px; height: 18px; }
.modal-kicker { display: none; }
.modal-title { font-size: 1.5rem; letter-spacing: -.022em; }
.modal-sub { margin: 6px 0 22px; color: var(--muted); }
.form-warning {
  margin-bottom: 18px;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--surface);
  font-size: .875rem;
  color: var(--ink-2);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field span { font-size: .8125rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .9375rem;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink-2);
  box-shadow: 0 0 0 3px rgba(38, 37, 30, .08);
}
.modal-actions { margin-top: 20px; }
.modal-actions .btn { width: 100%; }
.modal-note { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.modal-note a { text-decoration: underline; text-underline-offset: 2px; }
.modal-note a:hover { color: var(--ink); }
.modal-lock { overflow: hidden; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .feature, .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature-text { max-width: 36rem; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step + .flow-step::before { content: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .section { padding-block: 80px; }
  .hero { padding-top: 64px; }
  .hero-visual { margin-top: 44px; }
  .feature + .feature { margin-top: 72px; }
  .feature-visual .panel { min-height: 0; }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .cta { padding-block: 96px; }
  .footer-bottom { margin-top: 44px; }
}

@media (max-width: 520px) {
  .nav-right .btn { display: none; }
  .team, .flow, .form-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .rows li { grid-template-columns: 28px minmax(0, 1fr); }
  .rows li > .pill { grid-column: 2; justify-self: start; }
  .tile .rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .tile .rows li > .pill { grid-column: auto; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .modal-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
