/* ==========================================================================
   Vytal Technology — vytaltech.org
   VYTAL TECHNOLOGY LTD · Company No. 17046663 · England and Wales
   Design system: tokens → reset → layout → components → pages → responsive
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #08101f;
  --ink-2:      #10203a;
  --ink-3:      #33475f;
  --muted:      #64798f;
  --paper:      #ffffff;
  --mist:       #f3f7fb;
  --mist-2:     #e7eef7;
  --line:       rgba(8, 16, 31, .10);
  --line-soft:  rgba(8, 16, 31, .06);

  --brand:      #1a6dff;
  --brand-2:    #4f8dff;
  --brand-ink:  #0b4fd0;
  --mint:       #16c79a;
  --cyan:       #26c6f0;
  --amber:      #f7a325;
  --violet:     #7b61ff;

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  34px;

  --shadow-sm:  0 1px 2px rgba(8,16,31,.06), 0 2px 8px rgba(8,16,31,.04);
  --shadow:     0 10px 28px rgba(8,16,31,.08), 0 2px 6px rgba(8,16,31,.04);
  --shadow-lg:  0 28px 64px rgba(8,16,31,.15), 0 8px 20px rgba(8,16,31,.06);
  --shadow-brand: 0 16px 40px rgba(26,109,255,.30);

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display:'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --nav-h:      74px;
  --maxw:       1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-3);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
h5 { font-size: .95rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }

strong { color: var(--ink-2); font-weight: 600; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: .1em .4em;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(46px, 6vw, 72px); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.74); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; color: var(--muted); margin-bottom: 0; }
.section--ink .section-head p { color: rgba(255,255,255,.66); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 16px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(22,199,154,.18);
}
.section--ink .eyebrow, .hero .eyebrow { color: #7fb2ff; }

.lede { font-size: 1.12rem; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: rgba(26,109,255,.05); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--brand-ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line-soft); box-shadow: 0 6px 22px rgba(8,16,31,.06); }
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -.03em;
}
.brand__name em { font-style: normal; color: var(--brand); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 9px 13px;
  border-radius: 999px;
}
.nav__links a:hover { color: var(--ink); background: var(--mist); }
.nav__links a[aria-current="page"] { color: var(--brand-ink); background: rgba(26,109,255,.08); }
.nav__cta { margin-left: 6px; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, #071227 0%, #0d1f3d 46%, #123055 100%);
  color: rgba(255,255,255,.78);
  overflow: hidden;
  padding: clamp(64px, 9vw, 110px) 0 clamp(72px, 10vw, 120px);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 60% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(26,109,255,.55) 0%, rgba(26,109,255,0) 68%);
  pointer-events: none;
}
.hero__glow--2 {
  right: auto; left: -220px; top: auto; bottom: -320px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(22,199,154,.32) 0%, rgba(22,199,154,0) 70%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero__title { color: #fff; margin-bottom: 20px; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #4f8dff, #26c6f0 55%, #16c79a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 0;
  margin: 0;
  font-size: .92rem;
  color: rgba(255,255,255,.72);
}
.hero__bullets li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero__bullets svg { color: var(--mint); flex: none; }

/* Hero panel (code / capability card) */
.hero__panel {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.panel__bar { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.panel__bar i:first-child { background: #ff6b6b; }
.panel__bar i:nth-child(2) { background: var(--amber); }
.panel__bar i:nth-child(3) { background: var(--mint); }
.panel__bar span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: rgba(255,255,255,.5);
}
.panel__code {
  font-family: var(--font-mono);
  font-size: .8rem;
  line-height: 1.85;
  color: rgba(255,255,255,.8);
  margin: 0 0 18px;
  white-space: pre-wrap;
  word-break: break-word;
}
.panel__code .k { color: #7fb2ff; }
.panel__code .s { color: #16c79a; }
.panel__code .c { color: rgba(255,255,255,.38); }
.panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
}
.panel__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: #fff;
  letter-spacing: -.02em;
}
.panel__stat span { font-size: .76rem; color: rgba(255,255,255,.56); }

/* ---------- Marquee / logo-free trust strip ---------- */
.strip { border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 28px 0;
}
.strip__item { display: flex; gap: 12px; align-items: flex-start; }
.strip__item svg { color: var(--brand); flex: none; margin-top: 2px; }
.strip__item b { display: block; font-family: var(--font-display); color: var(--ink); font-size: .95rem; }
.strip__item span { font-size: .86rem; color: var(--muted); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(26,109,255,.28); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .96rem; color: var(--muted); }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }
.card--ink {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.card--ink p { color: rgba(255,255,255,.66); }
.card--ink:hover { border-color: rgba(255,255,255,.24); box-shadow: none; }

.card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.card__icon--mint  { background: linear-gradient(135deg, #0fae86, var(--mint)); }
.card__icon--cyan  { background: linear-gradient(135deg, #128fb4, var(--cyan)); }
.card__icon--violet{ background: linear-gradient(135deg, #5b43e0, var(--violet)); }
.card__icon--amber { background: linear-gradient(135deg, #e08a10, var(--amber)); }

.card__list { list-style: none; padding: 0; margin: 16px 0 0; font-size: .92rem; }
.card__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: .5em;
  color: var(--ink-3);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--brand);
  opacity: .55;
}
.card--ink .card__list li { color: rgba(255,255,255,.7); }

.sic {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--brand-ink);
  background: rgba(26,109,255,.09);
  border: 1px solid rgba(26,109,255,.18);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.card--ink .sic { color: #9cc3ff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #0d1f3d, #123055);
  padding: 28px;
  box-shadow: var(--shadow);
}
.split__media .kv { display: grid; gap: 12px; }
.kv__row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.kv__row svg { color: #7fb2ff; flex: none; }
.kv__row b { display: block; color: #fff; font-family: var(--font-display); font-size: .95rem; }
.kv__row span { font-size: .84rem; color: rgba(255,255,255,.6); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative;
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--brand);
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.06rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: #fff;
  letter-spacing: -.03em;
}
.stat span { font-size: .88rem; color: rgba(255,255,255,.6); }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills li {
  margin: 0;
  font-size: .87rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}
.section--ink .pills li,
.pills--ink li { color: rgba(255,255,255,.82); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 20px 22px;
  cursor: pointer;
}
.faq__q::after {
  content: "";
  width: 11px; height: 11px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .22s ease;
  flex: none;
  margin-top: -4px;
}
.faq__item.is-open .faq__q::after { transform: rotate(-135deg); margin-top: 3px; }
.faq__a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .28s ease, padding .28s ease; }
.faq__item.is-open .faq__a { max-height: 620px; padding: 0 22px 22px; }
.faq__a p { font-size: .96rem; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-family: var(--font-display); color: var(--ink); font-weight: 600; background: var(--mist); font-size: .88rem; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Page header (inner pages) ---------- */
.pagehead {
  background: linear-gradient(150deg, #071227, #10233f 60%, #143257);
  color: rgba(255,255,255,.75);
  padding: clamp(52px, 7vw, 84px) 0;
  position: relative;
  overflow: hidden;
}
.pagehead__glow {
  position: absolute;
  width: 520px; height: 520px;
  right: -160px; top: -240px;
  background: radial-gradient(circle, rgba(26,109,255,.5) 0%, rgba(26,109,255,0) 70%);
  pointer-events: none;
}
.pagehead h1 { color: #fff; margin-bottom: .35em; }
.pagehead p { max-width: 46em; color: rgba(255,255,255,.7); margin: 0; }
.pagehead .container { position: relative; }

.crumbs { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- Prose (legal pages) ---------- */
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.08rem; }
.prose ul, .prose ol { margin-bottom: 1.3em; }
.prose li { color: var(--ink-3); }
.prose .updated {
  display: inline-block;
  font-size: .84rem;
  color: var(--muted);
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.prose .note {
  border-left: 3px solid var(--brand);
  background: var(--mist);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 1.6em 0;
  font-size: .95rem;
}
.toc {
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 40px;
}
.toc h2 { margin: 0 0 .6em; font-size: 1rem; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .93rem; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: .35em; break-inside: avoid; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .4em; }
.contact-card p { font-size: .94rem; color: var(--muted); }
.contact-email {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  word-break: break-word;
}
.addr { font-style: normal; font-size: .95rem; line-height: 1.85; color: var(--ink-3); }

.route { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.route:last-child { border-bottom: 0; padding-bottom: 0; }
.route:first-child { padding-top: 0; }
.route__icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(26,109,255,.09);
  color: var(--brand-ink);
}
.route b { display: block; font-family: var(--font-display); color: var(--ink); font-size: .98rem; }
.route p { font-size: .9rem; color: var(--muted); margin: 2px 0 0; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(140deg, #0b1a33, #14356b 70%, #0f5ea8);
  color: rgba(255,255,255,.78);
  border-radius: var(--radius-xl);
  padding: clamp(38px, 6vw, 66px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta h2 { color: #fff; }
.cta p { max-width: 44em; margin-inline: auto; color: rgba(255,255,255,.72); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding: clamp(48px, 7vw, 76px) 0 34px;
  font-size: .93rem;
}
.footer a { color: rgba(255,255,255,.62); }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer .brand { color: #fff; }
.footer .brand:hover { color: #fff; }
.footer__about { margin-top: 16px; max-width: 34em; color: rgba(255,255,255,.55); font-size: .92rem; }
.footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6em; }
.footer__legal { padding-top: 26px; font-size: .85rem; color: rgba(255,255,255,.45); }
.footer__reg { max-width: 78ch; }
.footer__reg strong { color: rgba(255,255,255,.75); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 20px 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; border-radius: var(--radius-sm); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .panel__stats { grid-template-columns: repeat(3, 1fr); }
  .toc ol { columns: 1; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .hero__cta .btn, .cta__actions .btn { width: 100%; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .cta, .hero__glow, .hero__grid { display: none !important; }
  body { color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 12pt 0; }
}
