/* ============================================================
   Usevibeflow — landing page
   Neortal Technologies Inc.
   Dark theme · minimal · professional
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #171717;
  --bg-2:      #1c1c1c;
  --surface:   #1e1e1e;
  --surface-2: #232323;
  --border:    #2a2a2a;
  --border-2:  #343434;

  /* text */
  --text:      #ededed;
  --text-2:    #a0a0a0;
  --text-3:    #707070;

  /* brand — monochrome accent */
  --brand:      #ffffff;
  --brand-2:    #d6d6d6;
  --brand-soft: rgba(255, 255, 255, 0.08);
  --brand-glow: rgba(255, 255, 255, 0.18);

  --radius:   12px;
  --radius-lg: 16px;
  --maxw:     1140px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Fira Code', Menlo, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #0f0f0f;
  border-color: var(--brand-2);
  font-weight: 600;
}
.btn--primary:hover {
  background: #f0f0f0;
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
}
.btn--ghost:hover { background: var(--surface-2); border-color: #454545; }
.btn--lg { padding: 13px 24px; font-size: 15px; }
.btn--block { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 23, 23, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand__mark { display: inline-flex; align-items: center; }
.brand__name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #ffffff 0%, #d6d6d6 55%, #a0a0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav__links {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color .15s;
}
.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .2s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 100px 0 56px;
  text-align: center;
  overflow: hidden;
  background:
    /* film grain texture */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.18'/%3E%3C/svg%3E"),
    /* top spotlight */
    radial-gradient(125% 85% at 50% -12%, rgba(255,255,255,0.08) 0%, transparent 55%),
    /* bottom vignette for depth */
    radial-gradient(90% 65% at 50% 118%, rgba(0,0,0,0.6) 0%, transparent 60%),
    var(--bg);
  background-size: 180px 180px, auto, auto, auto;
}
.hero::before {
  content: "";
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 1120px; height: 640px;
  background: radial-gradient(closest-side, rgba(255,255,255,0.16), rgba(255,255,255,0.05) 45%, transparent 72%);
  opacity: .9;
  pointer-events: none;
  filter: blur(28px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-2) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(120% 75% at 50% 14%, #000 0%, transparent 64%);
  -webkit-mask-image: radial-gradient(120% 75% at 50% 14%, #000 0%, transparent 64%);
  opacity: .42;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
  transition: border-color .2s, color .2s;
}
.badge:hover { border-color: var(--brand-2); color: var(--text); }
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.badge__arrow { color: var(--brand); }

.hero__title {
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  /* professional brushed white -> silver finish */
  background: linear-gradient(178deg, #ffffff 0%, #f3f3f3 48%, #c8c8c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 40px rgba(255,255,255,0.06);
}
/* emphasized phrase stays solid bright white so it reads above the grey */
.hero__title .grad {
  background: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
.grad {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero__note { font-size: 13px; color: var(--text-3); }
.hero__sub strong { color: var(--text); font-weight: 600; }

/* code window */
.window {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #4a4a4a; }
.dot--y { background: #6e6e6e; }
.dot--g { background: #9a9a9a; }
.window__file {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}
.window__code {
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-2);
  overflow-x: auto;
}
.c-key { color: #bdbdbd; }
.c-str { color: var(--text); }
.c-fn  { color: #ffffff; }
.c-cm  { color: var(--text-3); }
.t-coord { color: var(--text); font-weight: 600; }
.t-agent { color: #ffffff; }
.t-ok    { color: var(--brand); font-weight: 600; }

/* trust row */
.trust { margin-top: 64px; }
.trust__label {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.trust__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 40px;
}
.trust__logos span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
  opacity: .8;
  transition: color .2s;
}
.trust__logos span:hover { color: var(--text-2); }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--tight { padding: 64px 0; }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.section__lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-2);
}

/* ============ SWARMBOARD DIAGRAM ============ */
.swarm {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.swarm__node {
  width: 100%;
  max-width: 460px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.swarm__node--you { background: var(--bg-2); }
.swarm__node--coord {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 1px var(--brand-2), 0 20px 50px -34px var(--brand-glow);
}
.swarm__tag {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.swarm__cmd {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text);
}
.swarm__role {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 4px;
}
.swarm__node--coord p { font-size: 14px; color: var(--text-2); }
.swarm__link {
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--border-2), var(--border-2));
  position: relative;
}
.swarm__link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 5px; height: 5px;
  border-right: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  transform: translateX(-50%) rotate(45deg);
}
.swarm__agents {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.swarm__agent {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 10px;
}
.swarm__agent strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 3px;
}
.swarm__agent span { font-size: 12px; color: var(--text-3); }
.swarm__verify {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-2);
  background: var(--brand-soft);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 10px 20px;
}
.swarm__verify-check {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #0f0f0f;
  font-size: 12px;
  font-weight: 700;
}

/* ============ FEATURE GRID ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s, background .2s;
}
.card:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.9);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--text-2); }

/* ============ STEPS ============ */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step { flex: 1; padding: 0 8px; }
.step__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid var(--border-2);
  background: var(--surface);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 15px; color: var(--text-2); max-width: 280px; }
.step__line {
  flex: 0 0 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-2), transparent);
  margin-top: 18px;
}

/* ============ PRINCIPLES ============ */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.principle { padding-left: 18px; border-left: 1px solid var(--border-2); }
.principle h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.principle p { font-size: 15px; color: var(--text-2); }

/* ============ CAPABILITIES ============ */
.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.cap { display: flex; gap: 14px; align-items: flex-start; }
.cap__check {
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.cap h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 5px; letter-spacing: -0.01em; }
.cap p { font-size: 14.5px; color: var(--text-2); }

/* ============ EARLY ACCESS ============ */
.access {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: 0 24px 60px -34px var(--brand-glow);
}
.access__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.access__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.access__lead {
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 16.5px;
  color: var(--text-2);
}
.access__addr { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.access__addr a { color: var(--brand); }
.access__addr a:hover { text-decoration: underline; }
.access__perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.access__perks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-2);
}
.access__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
  transition: border-color .2s;
}
.faq__item[open] { border-color: var(--border-2); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 18px; font-size: 15px; color: var(--text-2); }

/* ============ CTA ============ */
.cta { padding: 96px 0; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, var(--brand-glow), transparent 60%);
  opacity: .3;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  text-align: center;
  max-width: 620px;
}
.cta h2 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta p { font-size: 18px; color: var(--text-2); margin-bottom: 30px; }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 64px 0 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer__brand { max-width: 280px; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
  margin-bottom: 4px;
}
.footer__col a { font-size: 14px; color: var(--text-2); transition: color .15s; }
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
}
.footer__bottom p { font-size: 13px; color: var(--text-3); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; gap: 28px; }
  .steps { flex-direction: column; gap: 32px; }
  .step__line { display: none; }
  .step p { max-width: none; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    transform: none;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }

  .grid { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; gap: 24px; }
  .swarm__agents { grid-template-columns: repeat(2, 1fr); }
  .access { padding: 36px 24px; }
  .footer__inner { flex-direction: column; gap: 36px; }
}

/* ============================================================
   BridgeMind-style hero refresh
   ============================================================ */

/* ---- announcement bar ---- */
.announce {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.announce.hidden { display: none; }
.announce__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.announce__msg { color: var(--text-2); text-align: center; }
.announce__msg a { color: var(--brand); font-weight: 600; }
.announce__msg a:hover { text-decoration: underline; }
.announce__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0f0f0f;
  background: var(--brand);
  border-radius: 5px;
  padding: 2px 7px;
  margin-right: 6px;
}
.announce__close {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.announce__close:hover { color: var(--text); }

/* ---- gradient headline ---- */
.hero { padding-top: 76px; }
.hero__title {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__l1, .hero__l2 { display: block; }
.hero__l1 {
  background: linear-gradient(180deg, #ffffff 0%, #d6d6d6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__l2 {
  background: linear-gradient(180deg, #8f8f8f 0%, #474747 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__dot { -webkit-text-fill-color: var(--brand); color: var(--brand); }
.hero__cta .btn svg { margin-right: -2px; }

/* ---- launch / spotlight card ---- */
.launch {
  max-width: 540px;
  margin: 44px auto 0;
  text-align: left;
  background:
    radial-gradient(130% 130% at 0% 0%, rgba(255,255,255,.06), transparent 55%),
    var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 24px 60px -40px rgba(0,0,0,.85);
}
.launch__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.launch__badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid var(--brand-2);
  border-radius: 999px;
  padding: 4px 10px;
}
.launch__sup {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.launch__row { display: flex; align-items: center; gap: 16px; }
.launch__icon { flex: 0 0 auto; line-height: 0; }
.launch__text { flex: 1; min-width: 0; }
.launch__text h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.launch__text p { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.launch__cta { flex: 0 0 auto; }

/* ---- inline hero stats ---- */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  margin-top: 34px;
  font-size: 13.5px;
  color: var(--text-3);
}
.hero__stats strong { color: var(--brand); font-weight: 700; margin-right: 5px; }
.hero__stats > span { display: inline-flex; align-items: center; }
.hero__stats > span + span::before {
  content: "";
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border-2);
  margin-right: 30px;
  margin-left: -15px;
}

/* ---- trust stat band ---- */
.statband { padding: 34px 0 92px; text-align: center; }
.statband__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 42px;
}
.statband__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 90px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #bdbdbd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat__cap {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---- cookie consent ---- */
.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: 340px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.85);
}
.cookie[hidden] { display: none; }
.cookie__title { font-size: 14px; color: var(--text); }
.cookie__sub { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.cookie__actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie__btn { flex: 1; }

@media (max-width: 560px) {
  .launch__row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .launch__cta { width: 100%; }
  .statband__grid { gap: 30px 44px; }
  .cookie { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ============================================================
   Animated "Swarmboard live" demo
   ============================================================ */
.demo {
  --T: 8s;
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02);
  overflow: hidden;
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.demo__file {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}
.demo__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.demo__live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-glow); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}

.demo__body { padding: 18px 20px 20px; }

.demo__cmd {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 18px;
  overflow-x: auto;
  white-space: nowrap;
}
.demo__caret {
  display: inline-block;
  width: 7px; height: 1.05em;
  vertical-align: -2px;
  margin-left: 3px;
  background: var(--brand);
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

/* stage: coordinator | wires | agents */
.demo__stage {
  display: grid;
  grid-template-columns: minmax(116px, 150px) 54px 1fr;
  align-items: stretch;
  gap: 0;
}
.demo__coord {
  align-self: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 12px 10px;
}
.demo__coord-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  border-radius: 6px;
  padding: 2px 6px;
  animation: coordPulse var(--T) ease-in-out infinite;
}
@keyframes coordPulse {
  0%, 6%    { box-shadow: 0 0 0 1px transparent; }
  10%, 26%  { box-shadow: 0 0 0 1px var(--brand-2), 0 0 20px -4px var(--brand-glow); }
  32%, 100% { box-shadow: 0 0 0 1px transparent; }
}
.demo__coord-sub {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 5px;
}

.demo__wires {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 4px 0;
}
.demo__wire {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--border-2), rgba(52,52,52,.25));
}
.demo__packet {
  position: absolute;
  top: 50%; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: packetGo var(--T) linear infinite;
}
@keyframes packetGo {
  0%, 8%    { left: 0;    opacity: 0; }
  11%       { opacity: 1; }
  24%       { left: 100%; opacity: 1; }
  28%, 100% { left: 100%; opacity: 0; }
}

.demo__agents { display: flex; flex-direction: column; gap: 8px; }
.demo__agent {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 12px;
}
.demo__status {
  position: relative;
  flex: 0 0 auto;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #5a5a5a;
  animation: dotLife var(--T) linear infinite;
}
@keyframes dotLife {
  0%, 10%   { background: #5a5a5a; box-shadow: none; }
  18%, 52%  { background: #8f8f8f; box-shadow: 0 0 0 4px rgba(255,255,255,.10); }
  60%, 94%  { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
  100%      { background: #5a5a5a; box-shadow: none; }
}
.demo__check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  color: #0f0f0f;
  opacity: 0;
  animation: checkLife var(--T) linear infinite;
}
@keyframes checkLife {
  0%, 56%   { opacity: 0; transform: scale(.4); }
  62%, 94%  { opacity: 1; transform: scale(1); }
  100%      { opacity: 0; transform: scale(.4); }
}
.demo__agent-name { font-family: var(--mono); font-size: 12.5px; color: var(--text); }
.demo__agent-file { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-left: auto; }

/* stagger the four lanes */
.demo__agent:nth-child(1) .demo__status,
.demo__agent:nth-child(1) .demo__check { animation-delay: 0s; }
.demo__agent:nth-child(2) .demo__status,
.demo__agent:nth-child(2) .demo__check { animation-delay: .5s; }
.demo__agent:nth-child(3) .demo__status,
.demo__agent:nth-child(3) .demo__check { animation-delay: 1s; }
.demo__agent:nth-child(4) .demo__status,
.demo__agent:nth-child(4) .demo__check { animation-delay: 1.5s; }
.demo__wire:nth-child(1) .demo__packet { animation-delay: 0s; }
.demo__wire:nth-child(2) .demo__packet { animation-delay: .5s; }
.demo__wire:nth-child(3) .demo__packet { animation-delay: 1s; }
.demo__wire:nth-child(4) .demo__packet { animation-delay: 1.5s; }

/* shared task board */
.demo__board {
  margin-top: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 14px 10px;
}
.demo__board-label {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.demo__task { display: flex; align-items: center; gap: 12px; padding: 5px 0; }
.demo__task-name { font-family: var(--mono); font-size: 12px; color: var(--text-2); width: 92px; flex: 0 0 auto; }
.demo__task-track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-2);
  overflow: hidden;
}
.demo__task-track i {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  animation: trackFill var(--T) ease-out infinite;
}
@keyframes trackFill {
  0%, 14% { width: 0; }
  52%     { width: 62%; }
  60%     { width: 100%; }
  94%     { width: 100%; }
  100%    { width: 0; }
}
.demo__task:nth-child(2) .demo__task-track i { animation-delay: 0s; }
.demo__task:nth-child(3) .demo__task-track i { animation-delay: .5s; }
.demo__task:nth-child(4) .demo__task-track i { animation-delay: 1s; }
.demo__task:nth-child(5) .demo__task-track i { animation-delay: 1.5s; }

/* sync footer */
.demo__sync {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-2);
}
.demo__sync-check {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  background: #5a5a5a;
  color: transparent;
  animation: syncCheck var(--T) ease-out infinite;
}
@keyframes syncCheck {
  0%, 66%   { background: #5a5a5a; color: transparent; }
  74%, 96%  { background: var(--brand); color: #0f0f0f; }
  100%      { background: #5a5a5a; color: transparent; }
}
.demo__sync-label strong { color: var(--text); font-weight: 600; }

@media (max-width: 600px) {
  .demo__stage { grid-template-columns: 1fr; gap: 14px; }
  .demo__wires { display: none; }
  .demo__agents { display: grid; grid-template-columns: 1fr 1fr; }
  .demo__agent-file { display: none; }
}

/* ---- scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Professional polish
   ============================================================ */

/* text selection */
::selection { background: rgba(255,255,255,.85); color: #0f0f0f; }

/* refined typography rag */
h1, h2, h3 { text-wrap: balance; }
.hero__sub, .section__sub, p { text-wrap: pretty; }

/* accessible keyboard focus (suppressed for pointer users) */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 5px;
}

/* custom monochrome scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-2);
  border: 3px solid var(--bg);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: #454545; }

/* depth on the nav once the page scrolls */
.nav.scrolled {
  background: rgba(20, 20, 20, 0.82);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,.9);
}

/* tactile buttons */
.btn { will-change: transform; }
.btn:active { transform: translateY(1px); }
.btn--primary { box-shadow: 0 1px 2px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary:active { box-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* ---- respect reduced motion: freeze demo in completed state ---- */
@media (prefers-reduced-motion: reduce) {
  .demo *, .demo__live-dot, .demo__caret { animation: none !important; }
  .demo__status { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
  .demo__check { opacity: 1; transform: none; }
  .demo__task-track i { width: 100%; }
  .demo__sync-check { background: var(--brand); color: #0f0f0f; }
  .demo__caret, .demo__packet { opacity: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:active { transform: none; }
}

/* ============================================================
   New visual components (hero mockup · flow · who · step art)
   ============================================================ */

/* ---- hero product mockup ---- */
.mock {
  max-width: 900px;
  margin: 54px auto 0;
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 44px 90px -44px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.02);
  overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mock__title { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.mock__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
}
.mock__body { display: grid; grid-template-columns: 218px 1fr; }
.mock__side { padding: 16px; border-right: 1px solid var(--border); }
.mock__coord {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 10px; padding: 11px 12px; margin-bottom: 18px;
}
.mock__coord-tag { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); }
.mock__coord-sub { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; font-family: var(--mono); }
.mock__side-label { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.mock__board { list-style: none; display: grid; gap: 9px; }
.mock__board li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); }
.mock__board li span { flex: 1; }
.mock__board li i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--border-2); flex: none; }
.mock__board li.is-done i { background: var(--text); border-color: var(--text); }
.mock__board li.is-done span { color: var(--text-3); text-decoration: line-through; }
.mock__board li.is-active i { background: var(--text-2); border-color: var(--text-2); animation: livePulse 1.6s ease-in-out infinite; }

.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.pane { background: var(--bg-2); padding: 13px 13px 15px; min-height: 100px; }
.pane__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.pane__name { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.pane__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-2); flex: none; }
.pane.is-done .pane__dot { background: var(--text); }
.pane.is-active .pane__dot { background: var(--text-2); animation: livePulse 1.6s ease-in-out infinite; }
.pane__file { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); margin-bottom: 11px; }
.pane .line { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); margin-bottom: 6px; }
.pane .line.shimmer {
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--border-2) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.w90{width:90%}.w85{width:85%}.w80{width:80%}.w75{width:75%}.w70{width:70%}
.w65{width:65%}.w60{width:60%}.w55{width:55%}.w50{width:50%}.w45{width:45%}

/* ---- "what it is" two-column + flow diagram ---- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.chip {
  font-size: 12.5px; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 999px; padding: 6px 14px;
}
.flow {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 24px;
}
.flow__node {
  display: flex; align-items: center; gap: 13px;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 12px; padding: 13px 15px;
}
.flow__node--core { border-color: var(--text-3); }
.flow__ico {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: 9px; background: var(--surface-2); color: var(--text); font-size: 15px;
}
.flow__ico svg { width: 18px; height: 18px; }
.flow__txt { display: flex; flex-direction: column; }
.flow__txt b { font-size: 14px; color: var(--text); font-weight: 600; }
.flow__txt i { font-size: 11.5px; color: var(--text-3); font-style: normal; font-family: var(--mono); margin-top: 2px; }
.flow__link, .flow__split { width: 2px; background: var(--border-2); margin-left: 32px; }
.flow__link { height: 18px; }
.flow__split { height: 14px; }
.flow__fan { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0; }
.flow__agent {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px;
}
.flow__adot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); flex: none; animation: livePulse 1.6s ease-in-out infinite; }

/* ---- step illustration ---- */
.step__art {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2);
  color: var(--text); margin-bottom: 18px;
}
.step__art svg { width: 22px; height: 22px; }

/* ---- who it's for ---- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s, background .2s, box-shadow .2s;
}
.who__item:hover {
  border-color: var(--border-2); background: var(--surface-2);
  transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(0,0,0,.9);
}
.who__ico {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--brand-soft); color: var(--text); margin-bottom: 18px;
}
.who__ico svg { width: 23px; height: 23px; }
.who__item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.who__item p { font-size: 14.5px; color: var(--text-2); }

/* ---- cta actions ---- */
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { border-right: none; border-bottom: 1px solid var(--border); }
  .mock__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .who { grid-template-columns: 1fr; }
  .mock__grid { grid-template-columns: 1fr; }
  .flow__fan { grid-template-columns: 1fr; }
}

/* ---- reduced motion for new components ---- */
@media (prefers-reduced-motion: reduce) {
  .pane .line.shimmer, .pane.is-active .pane__dot,
  .mock__board li.is-active i, .flow__adot { animation: none !important; }
}

/* ============================================================
   LEGAL PAGES  (privacy.html / terms.html / security.html)
   ============================================================ */
.legal-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 23, 23, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.legal-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-2);
  transition: color .18s ease;
}
.legal-back:hover { color: var(--text); }

.legal { padding: 52px 0 88px; }
.legal__head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.legal h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.legal__updated { font-size: 14px; color: var(--text-3); }

.legal__callout {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 36px;
  font-size: 14px;
  color: var(--text-2);
}
.legal__callout strong { color: var(--text); font-weight: 600; }

.legal__toc {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 44px;
}
.legal__toc h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
  border: 0;
  padding: 0;
}
.legal__toc ol {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 32px;
}
.legal__toc li { margin-bottom: 7px; font-size: 14px; }
.legal__toc a { color: var(--text-2); text-decoration: none; }
.legal__toc a:hover { color: var(--text); text-decoration: underline; }

.legal section { margin-bottom: 34px; scroll-margin-top: 84px; }
.legal h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  padding-top: 6px;
}
.legal h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 8px;
}
.legal p { color: var(--text-2); font-size: 15px; margin-bottom: 14px; }
.legal ul, .legal ol.legal__list { padding-left: 22px; margin-bottom: 14px; }
.legal li { color: var(--text-2); font-size: 15px; margin-bottom: 8px; }
.legal a:not(.legal-back):not(.btn) {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:not(.legal-back):not(.btn):hover { color: #fff; }
.legal strong { color: var(--text); font-weight: 600; }

.legal__contact {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 8px;
}
.legal__contact p { margin-bottom: 6px; }

.legal-foot {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.legal-foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-foot p { font-size: 13px; color: var(--text-3); }
.legal-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-foot nav a { font-size: 13px; color: var(--text-2); }
.legal-foot nav a:hover { color: var(--text); }

@media (max-width: 600px) {
  .legal__toc ol { columns: 1; }
}
