/* ============================================================
   EMVRIA — design system
   Tokens follow the EMVRIA brand & web UI specification v1.0
   ============================================================ */

:root {
  /* Brand palette */
  --midnight: #071226;
  --navy: #102647;
  --electric: #2688ff;
  --electric-strong: #1667e8;
  --electric-deep: #1257c9;
  --aqua: #0db6d4;
  --violet: #8b5cf6;
  --mist: #e5e7eb;
  --ink: #121a2a;

  /* Supporting surfaces */
  --midnight-2: #08182f;
  --navy-soft: #0d2044;
  --surface-light: #f7f9fc;
  --surface-light-2: #eef2f8;
  --line-dark: rgba(229, 231, 235, 0.12);
  --line-dark-strong: rgba(229, 231, 235, 0.2);
  --line-light: #dbe2ec;

  /* Text */
  --text-on-dark: #e7edf7;
  --text-on-dark-muted: #a3b3cc;
  --text-on-light: #121a2a;
  --text-on-light-muted: #4a5975;

  /* Accents */
  --grad-brand: linear-gradient(96deg, #2688ff 0%, #0db6d4 52%, #8b5cf6 100%);
  --grad-soft: linear-gradient(96deg, rgba(38, 136, 255, 0.16), rgba(13, 182, 212, 0.12));

  /* Shape & depth */
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 18px 44px rgba(3, 10, 24, 0.45);
  --shadow-light: 0 16px 40px rgba(18, 26, 42, 0.08);
  --maxw: 1180px;
  --header-h: 76px;

  --font-sans: "Aptos", "Aptos Display", "Segoe UI Variable Text", "Segoe UI", system-ui,
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Aptos Display", "Aptos", "Segoe UI Variable Display", "Segoe UI", system-ui,
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-on-dark);
  background: var(--midnight);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--aqua);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: #7ee6f7;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

::selection {
  background: rgba(38, 136, 255, 0.35);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--electric-strong);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 116px) 0;
}

.section--tight {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section--light {
  background: var(--surface-light);
  color: var(--text-on-light);
}

.section--light a {
  color: var(--electric-strong);
}

.section--light a:hover {
  color: var(--electric-deep);
}

.section--raised {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
}

.section--navy {
  background: var(--navy);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.section--light .eyebrow {
  color: var(--electric-strong);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.title {
  font-size: clamp(30px, 4vw, 44px);
}

.title-sm {
  font-size: clamp(24px, 2.6vw, 30px);
}

.lede {
  margin-top: 18px;
  font-size: clamp(16px, 1.35vw, 18px);
  color: var(--text-on-dark-muted);
  max-width: 68ch;
}

.section--light .lede {
  color: var(--text-on-light-muted);
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--electric-strong);
  color: #fff;
  box-shadow: 0 10px 26px rgba(22, 103, 232, 0.35);
}

.btn-primary:hover {
  background: var(--electric-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(22, 103, 232, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--line-dark-strong);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(229, 231, 235, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.section--light .btn-primary,
.section--light .btn-primary:hover {
  color: #fff;
}

.section--light .btn-ghost {
  color: var(--ink);
  border-color: #c6d0de;
}

.section--light .btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(18, 26, 42, 0.04);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn .arrow {
  transition: transform 0.18s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 18, 38, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 18, 38, 0.94);
  border-bottom-color: var(--line-dark);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1;
}

.brand-word span {
  display: block;
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--text-on-dark-muted);
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-links a[aria-current="page"] {
  position: relative;
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: transparent;
  border: 1px solid var(--line-dark-strong);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  background: var(--midnight);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero-glow--blue {
  width: 760px;
  height: 760px;
  top: -420px;
  left: -260px;
  background: radial-gradient(circle, rgba(38, 136, 255, 0.34), transparent 62%);
}

.hero-glow--violet {
  width: 720px;
  height: 720px;
  right: -280px;
  bottom: -420px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 64%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(229, 231, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 231, 235, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse at 55% 30%, #000 12%, transparent 76%);
  mask-image: radial-gradient(ellipse at 55% 30%, #000 12%, transparent 76%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
}

.hero-inner > *,
.split > *,
.grid > *,
.steps > *,
.card,
.industry {
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-dark-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 26px;
}

.hero-kicker .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
}

.hero h1 {
  font-size: clamp(38px, 5.1vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--text-on-dark-muted);
  max-width: 56ch;
}

.hero .btn-row {
  margin-top: 32px;
}

.hero-proof {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.hero-proof svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--aqua);
}

/* ── Product preview (outcome-led dashboard) ────────────── */
.preview {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(229, 231, 235, 0.14);
  background: linear-gradient(165deg, #0c2140 0%, #091a33 58%, #081428 100%);
  box-shadow: 0 40px 90px rgba(2, 8, 20, 0.6);
  padding: 18px;
}

.preview::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(38, 136, 255, 0.55), rgba(13, 182, 212, 0.15) 45%, rgba(139, 92, 246, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 16px;
}

.preview-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #cdd9ec;
}

.preview-title .mark {
  width: 16px;
  height: 16px;
}

.preview-tag {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 4px 9px;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  border-radius: 13px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.035);
  padding: 14px 15px;
}

.metric-label {
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.metric-value {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.metric-value small {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-on-dark-muted);
  margin-left: 4px;
}

.metric-note {
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--text-on-dark-muted);
}

.metric--attention {
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.03));
}

.preview-block {
  margin-top: 12px;
  border-radius: 13px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.028);
  padding: 12px 14px 6px;
}

.preview-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 10px;
}

.preview-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(229, 231, 235, 0.08);
  font-size: 12.5px;
  line-height: 1.45;
  color: #d3deef;
}

.preview-row:first-of-type {
  border-top: 0;
}

.preview-row > span:not(.chip) {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.preview-row time {
  margin-left: auto;
  flex: none;
  font-size: 11px;
  color: var(--text-on-dark-muted);
  font-variant-numeric: tabular-nums;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip--approval {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.35);
}

.chip--working {
  color: #7ee6f7;
  background: rgba(13, 182, 212, 0.14);
  border-color: rgba(13, 182, 212, 0.32);
}

.chip--completed {
  color: #93c5fd;
  background: rgba(38, 136, 255, 0.14);
  border-color: rgba(38, 136, 255, 0.32);
}

.chip--live {
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
}

.chip--bespoke {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.32);
}

.chip--waiting {
  color: #cbd5e1;
  background: rgba(229, 231, 235, 0.08);
  border-color: rgba(229, 231, 235, 0.2);
}

.preview-caption {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-on-dark-muted);
  text-align: center;
}

/* ── Cards & grids ──────────────────────────────────────── */
.grid {
  display: grid;
  gap: 18px;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: linear-gradient(170deg, rgba(16, 38, 71, 0.9), rgba(9, 24, 46, 0.9));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  border-color: rgba(38, 136, 255, 0.42);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
}

.card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text-on-dark-muted);
}

.section--light .card {
  background: #fff;
  border-color: var(--line-light);
  box-shadow: var(--shadow-light);
}

.section--light .card:hover {
  border-color: rgba(38, 136, 255, 0.4);
}

.section--light .card p {
  color: var(--text-on-light-muted);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #cfe4ff;
  background: linear-gradient(150deg, rgba(38, 136, 255, 0.28), rgba(13, 182, 212, 0.16));
  border: 1px solid rgba(38, 136, 255, 0.32);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.section--light .card-icon {
  color: var(--electric-strong);
  background: rgba(38, 136, 255, 0.1);
  border-color: rgba(38, 136, 255, 0.22);
}

.card-index {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--aqua);
  margin-bottom: 14px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.card-top .card-icon {
  margin-bottom: 0;
}

.platform-note {
  margin-top: 34px;
  font-size: 14.5px;
  color: var(--text-on-light-muted);
}

.section--light .chip--live {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
}

.section--light .chip--bespoke {
  color: #6d28d9;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.28);
}

/* ── Split feature block ────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}

.split--reverse .split-visual {
  order: -1;
}

.split-copy .title {
  margin-bottom: 4px;
}

.checklist {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  color: var(--text-on-dark-muted);
}

.section--light .checklist li {
  color: var(--text-on-light-muted);
}

.checklist svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--aqua);
}

.section--light .checklist svg {
  color: var(--electric-strong);
}

/* ── System diagram ─────────────────────────────────────── */
.diagram {
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: linear-gradient(170deg, rgba(16, 38, 71, 0.75), rgba(8, 22, 42, 0.9));
  padding: 26px;
}

.diagram-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 16px;
}

.source-list {
  display: grid;
  gap: 9px;
}

.source {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  color: #cdd9ec;
}

.source svg {
  width: 16px;
  height: 16px;
  color: var(--text-on-dark-muted);
}

.diagram-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: var(--aqua);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.diagram-arrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(13, 182, 212, 0.6), rgba(38, 136, 255, 0.1));
}

.diagram-output {
  border-radius: 12px;
  border: 1px solid rgba(38, 136, 255, 0.35);
  background: linear-gradient(140deg, rgba(38, 136, 255, 0.16), rgba(13, 182, 212, 0.06));
  padding: 16px;
}

.diagram-output strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.diagram-output span {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.diagram-output ul {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.diagram-output li {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: #cdd9ec;
}

.diagram-output li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua);
  margin-top: 7px;
  flex: none;
}

/* ── Steps ──────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.025);
}

.section--light .step {
  background: #fff;
  border-color: var(--line-light);
  box-shadow: var(--shadow-light);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, var(--electric), var(--aqua));
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  color: var(--text-on-dark-muted);
}

.section--light .step p {
  color: var(--text-on-light-muted);
}

/* ── Industry cards ─────────────────────────────────────── */
.industry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.028);
}

.industry-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 136, 255, 0.14);
  border: 1px solid rgba(38, 136, 255, 0.28);
  color: #bfdcff;
}

.industry-icon svg {
  width: 19px;
  height: 19px;
}

.industry h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.industry p {
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
}

.section--light .industry {
  background: #fff;
  border-color: var(--line-light);
}

.section--light .industry p {
  color: var(--text-on-light-muted);
}

.section--light .industry-icon {
  background: rgba(38, 136, 255, 0.09);
  border-color: rgba(38, 136, 255, 0.22);
  color: var(--electric-strong);
}

/* ── CTA band ───────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  border: 1px solid rgba(38, 136, 255, 0.28);
  background: linear-gradient(120deg, #0b2244 0%, #0a1b36 55%, #12113a 100%);
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34), transparent 66%);
  pointer-events: none;
}

.cta-band h2 {
  position: relative;
  font-size: clamp(26px, 3.4vw, 40px);
  max-width: 24ch;
}

.cta-band p {
  position: relative;
  margin-top: 16px;
  max-width: 62ch;
  color: var(--text-on-dark-muted);
}

.cta-band .btn-row {
  position: relative;
  margin-top: 28px;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line-dark);
  background: #050d1c;
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-on-dark-muted);
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f93b3;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  color: #7f93b3;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: #7f93b3;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 84px) 0 clamp(44px, 5vw, 68px);
  background: linear-gradient(180deg, #071226 0%, #081930 100%);
  border-bottom: 1px solid var(--line-dark);
}

.page-hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -240px;
  top: -420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 136, 255, 0.28), transparent 64%);
  pointer-events: none;
}

.page-hero .title {
  font-size: clamp(34px, 4.4vw, 52px);
  max-width: 20ch;
}

.page-hero .lede {
  max-width: 62ch;
}

.page-hero .btn-row {
  margin-top: 28px;
}

/* ── Forms ──────────────────────────────────────────────── */
.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: #fff;
  box-shadow: var(--shadow-light);
  padding: clamp(24px, 3vw, 36px);
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #c9d3e1;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(38, 136, 255, 0.18);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--electric-strong);
  outline-offset: 1px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-on-light-muted);
}

.form-status[data-state="success"] {
  color: #0f766e;
}

.form-status[data-state="error"] {
  color: #b91c1c;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-on-light-muted);
}

/* ── Legal / prose ──────────────────────────────────────── */
.prose {
  max-width: 78ch;
}

.prose h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 17px;
  margin: 26px 0 8px;
}

.prose p {
  margin-bottom: 14px;
  color: var(--text-on-light-muted);
  font-size: 15.5px;
}

.prose ul {
  margin: 0 0 16px 20px;
  padding-left: 6px;
  color: var(--text-on-light-muted);
  font-size: 15.5px;
}

.prose li {
  margin-bottom: 8px;
}

/* ── Misc ───────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.stat-strip div {
  background: var(--midnight-2);
  padding: 24px 22px;
}

.stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.stat-strip span {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.quote {
  border-left: 2px solid transparent;
  border-image: var(--grad-brand) 1;
  padding-left: 22px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #eef3fb;
}

.quote footer {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-muted);
}

.notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(13, 182, 212, 0.3);
  background: rgba(13, 182, 212, 0.08);
  font-size: 14px;
  color: #bfeaf3;
}

.notice svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* ── Motion ─────────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.7, 0.3, 1),
    transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .preview {
    max-width: 560px;
  }

  .split,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-visual {
    order: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 26px;
    background: rgba(7, 18, 38, 0.98);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 12px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.07);
  }

  .nav-links a[aria-current="page"]::after {
    display: none;
  }

  .nav-cta {
    margin: 12px 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .grid--2,
  .grid--4,
  .field-row {
    grid-template-columns: 1fr;
  }

  .preview-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .btn-row .btn {
    width: 100%;
  }

  .brand-word {
    font-size: 17px;
  }

  .brand img {
    height: 30px;
  }

  .hero-kicker {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 360px) {
  .preview-metrics {
    grid-template-columns: 1fr;
  }
}
