:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #eef5fb;
  --light: #F7F8F4;
  --ink: #101822;
  --muted: #607080;
  --line: #d6e2ee;
  --teal: #0E7C86;
  --teal-2: #0b4b47;
  --coral: #cf5c47;
  --gold: #b58a2d;
  --blue: #235DFF;
  --electric: #4EA3FF;
  --violet: #6E56CF;
  --navy: #0B1220;
  --navy-2: #101A2B;
  --ice: #EAF3FF;
  --lime: #9fbd4f;
  --primary: #0E7C86;
  --secondary: #1F5BFF;
  --accent: #F2B84B;
  --cta: #F2B84B;
  --surface-dark: #111820;
  --surface-dark-2: #17212B;
  --positive: #29B37E;
  --warning: #D97706;
  --icon: #F2B84B;
  --brand-grid: rgba(247, 248, 244, .09);
  --shadow: 0 26px 80px rgba(11, 18, 32, .16);
  --soft-shadow: 0 14px 36px rgba(11, 18, 32, .1);
  --executive-shadow: 0 32px 90px rgba(11, 18, 32, .32);
  --radius: 8px;
  --max: 1320px;
  --space: 24px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(11, 18, 32, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 18, 32, .028) 1px, transparent 1px),
    linear-gradient(118deg, rgba(35, 93, 255, .1), transparent 38%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 50%, #f7fbff 100%);
  background-size: 52px 52px, 52px 52px, 100% 100%, 100% 100%;
  line-height: 1.58;
  letter-spacing: 0;
}

/* audience_art_direction brandkit color_palette */

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 34, 58, .12);
  background: rgba(248, 251, 255, .92);
  box-shadow: 0 18px 42px rgba(11, 18, 32, .08);
  backdrop-filter: blur(16px);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--violet), var(--accent), transparent);
  opacity: .72;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(78, 163, 255, .13), transparent 42%);
  transform: translateX(-72%);
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(248, 251, 255, .96);
  box-shadow: 0 22px 54px rgba(11, 18, 32, .12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: conic-gradient(from 210deg, var(--primary), var(--electric), var(--violet), var(--accent), var(--primary));
  box-shadow: 0 12px 28px rgba(35, 93, 255, .2);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(78, 163, 255, .24);
  border-radius: inherit;
  opacity: .7;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover {
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 10px 24px rgba(35, 93, 255, .08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--cta);
  background: linear-gradient(135deg, #F7C965 0%, var(--cta) 62%, #DFA331 100%);
  color: var(--surface-dark);
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(242, 184, 75, .22), 0 10px 24px rgba(11, 18, 32, .12);
}

.btn.secondary {
  background: rgba(255, 255, 255, .08);
  color: inherit;
  border-color: rgba(255, 255, 255, .28);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(242, 184, 75, .28), 0 12px 26px rgba(11, 18, 32, .16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  --mx: 72%;
  --my: 18%;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 82px 0 54px;
  overflow: clip;
  background:
    radial-gradient(ellipse at 76% 10%, rgba(78, 163, 255, .22), transparent 32%),
    radial-gradient(ellipse at 18% 18%, rgba(110, 86, 207, .18), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, #0B2A3A 48%, #08111C 100%);
  color: var(--light);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--brand-grid) 1px, transparent 1px),
    linear-gradient(180deg, var(--brand-grid) 1px, transparent 1px),
    linear-gradient(120deg, rgba(78, 163, 255, .16), transparent 36%),
    linear-gradient(315deg, rgba(242, 184, 75, .1), transparent 38%);
  background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(78, 163, 255, .18), transparent 22%),
    linear-gradient(180deg, transparent 66%, rgba(8, 17, 28, .38));
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(430px, .78fr);
  grid-template-areas:
    "copy visual"
    "points visual";
  gap: 42px;
  align-items: start;
}

.hero-grid > div:first-child {
  grid-area: copy;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(35, 93, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 740px;
  color: var(--graphite, #28302e);
  font-size: 20px;
  line-height: 1.58;
}

.hero .lead {
  color: rgba(247, 248, 244, .82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-signal-rail {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 10px;
  border: 1px solid rgba(234, 243, 255, .16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
}

.hero-signal-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 8%, rgba(78, 163, 255, .18), transparent 36%);
  transform: translateX(-72%);
  pointer-events: none;
}

.hero-signal-rail span {
  position: relative;
  z-index: 1;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(234, 243, 255, .14);
  border-radius: 6px;
  color: rgba(247, 248, 244, .78);
  background: rgba(7, 14, 24, .34);
  font-size: 12px;
  font-weight: 800;
}

.hero-signal-rail i {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric), var(--accent));
  box-shadow: 0 0 18px rgba(78, 163, 255, .4);
}

.hero-points {
  grid-area: points;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 790px;
  margin-top: 28px;
}

.point-card,
.card,
.step,
.faq-item,
.term,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--soft-shadow);
}

.point-card {
  min-height: 120px;
  padding: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045));
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .2);
}

.point-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
}

.point-card span,
.card p,
.step p,
.faq-item p,
.term p,
.legal-card p,
.plain-list li {
  color: var(--muted);
}

.hero .point-card span {
  color: rgba(247, 248, 244, .74);
}

.hero-visual {
  grid-area: visual;
  position: relative;
  padding: 16px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 72% 16%, rgba(78, 163, 255, .2), transparent 32%),
    radial-gradient(ellipse at 88% 42%, rgba(242, 184, 75, .2), transparent 28%),
    linear-gradient(145deg, var(--navy-2) 0%, #0B3247 58%, #070E18 100%);
  color: #edf7f3;
  box-shadow: var(--executive-shadow);
  border: 1px solid rgba(234, 243, 255, .16);
  isolation: isolate;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(78, 163, 255, .72), transparent 30%, rgba(242, 184, 75, .55), transparent 62%, rgba(110, 86, 207, .66), transparent);
  opacity: .65;
  filter: blur(10px);
}

.hero-visual > * {
  position: relative;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,.78), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.hero-art-wrap {
  position: relative;
  min-height: 280px;
  margin: -2px -2px 14px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(234, 243, 255, .16);
  background: #0A1117;
  box-shadow: 0 30px 78px rgba(0,0,0,.4);
  isolation: isolate;
}

.hero-art-wrap::before {
  content: "";
  position: absolute;
  inset: -28% -64%;
  z-index: 1;
  background:
    linear-gradient(104deg, transparent 38%, rgba(78, 163, 255, .2) 46%, rgba(242, 184, 75, .15) 50%, transparent 60%);
  pointer-events: none;
  transform: translateX(-24%);
}

.hero-art-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 48%, rgba(7,14,24,.86));
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: 54% 42%;
}

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 14px;
  color: rgba(237, 247, 243, .74);
  font-size: 12px;
}

.visual-dots {
  display: flex;
  gap: 7px;
}

.visual-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.visual-dots i:nth-child(2) {
  background: var(--gold);
}

.visual-dots i:nth-child(3) {
  background: var(--teal);
}

.dashboard {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
}

.dash-panel,
.flow-panel {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(234, 243, 255, .14);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px);
}

.dash-panel {
  min-height: 144px;
}

.dash-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(237, 247, 243, .7);
  font-size: 12px;
}

.pipe-list {
  display: grid;
  gap: 10px;
}

.pipe-row {
  display: grid;
  grid-template-columns: 92px 1fr 42px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.pipe-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(234, 243, 255, .12);
  overflow: hidden;
}

.pipe-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--electric), var(--primary), var(--accent));
  box-shadow: 0 0 18px rgba(78, 163, 255, .34);
}

.metric-dark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-dark {
  min-height: 72px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(234, 243, 255, .14);
  background:
    linear-gradient(150deg, rgba(78, 163, 255, .12), rgba(255, 255, 255, .045));
}

.metric-dark b {
  display: block;
  color: #fff;
  font-size: 21px;
  line-height: 1;
}

.metric-dark span {
  color: rgba(237, 247, 243, .68);
  font-size: 12px;
}

.flow-panel {
  grid-column: 1 / -1;
}

.flow-svg {
  display: block;
  width: 100%;
  height: auto;
}

section {
  padding: 76px 0;
  border-top: 1px solid rgba(216, 223, 212, .95);
  position: relative;
  overflow: clip;
}

section > .container,
.site-footer > .container {
  position: relative;
  z-index: 1;
}

section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(78, 163, 255, .08), transparent 30%),
    radial-gradient(ellipse at 92% 6%, rgba(110, 86, 207, .055), transparent 28%),
    linear-gradient(90deg, rgba(35, 93, 255, .018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(35, 93, 255, .014) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 52px 52px, 52px 52px;
  opacity: .72;
  pointer-events: none;
}

.section-bento,
.comparison-section,
.checklist-section,
.faq-section,
.glossary-section {
  background:
    radial-gradient(ellipse at 88% 8%, rgba(35, 93, 255, .08), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,0));
}

.automation-motion-strip {
  padding: 0 0 34px;
  margin-top: -24px;
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0), rgba(234, 243, 255, .72) 44%, rgba(248, 251, 255, 0));
}

.motion-board {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(234, 243, 255, .18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(78, 163, 255, .16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(78, 163, 255, .1) 1px, transparent 1px),
    linear-gradient(135deg, #0B1220 0%, #0C2C42 50%, #070E18 100%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  color: #F7F8F4;
  box-shadow: var(--executive-shadow);
}

.motion-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 8%, rgba(110, 86, 207, .18) 35%, transparent 56%),
    linear-gradient(290deg, transparent 18%, rgba(242, 184, 75, .12) 62%, transparent 82%);
  pointer-events: none;
}

.motion-board-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: rgba(247, 248, 244, .72);
  font-size: 13px;
}

.motion-kicker {
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
}

.motion-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.motion-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 20px rgba(41, 179, 126, .72);
}

.motion-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  min-height: 158px;
}

.motion-lane {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--primary), var(--violet), var(--accent), transparent);
  box-shadow: 0 0 28px rgba(78, 163, 255, .34);
  overflow: hidden;
}

.motion-lane::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 26%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  transform: translateX(-100%);
}

.motion-node {
  position: relative;
  z-index: 2;
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(234, 243, 255, .16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
}

.motion-node::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 18px rgba(78, 163, 255, .6);
}

.motion-node small {
  justify-self: end;
  color: rgba(247, 248, 244, .5);
  font-weight: 850;
}

.motion-node b {
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.motion-node span {
  color: rgba(247, 248, 244, .7);
  font-size: 13px;
  line-height: 1.35;
}

.motion-node.is-accent {
  border-color: rgba(242, 184, 75, .34);
  background:
    linear-gradient(145deg, rgba(242, 184, 75, .2), rgba(255, 255, 255, .055));
}

.motion-node.is-accent::before {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(242, 184, 75, .72);
}

.system-relay {
  position: relative;
  overflow: clip;
  padding: 22px 0;
  margin: -18px 0;
  border-top: 0;
  background:
    radial-gradient(ellipse at 22% 50%, rgba(78, 163, 255, .12), transparent 34%),
    radial-gradient(ellipse at 78% 50%, rgba(110, 86, 207, .08), transparent 34%);
}

.system-relay .container {
  position: relative;
}

.relay-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(35, 93, 255, .14);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(78, 163, 255, .18), transparent 34%),
    radial-gradient(ellipse at 82% 100%, rgba(110, 86, 207, .1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(234, 243, 255, .86));
  background-size: 100% 100%, 100% 100%, 100% 100%;
  box-shadow: 0 24px 64px rgba(11, 18, 32, .11);
}

.relay-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 12%, rgba(78, 163, 255, .14), transparent 34%),
    radial-gradient(circle at 72% 26%, rgba(242, 184, 75, .18), transparent 18%);
  pointer-events: none;
}

.relay-wire {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  z-index: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(35, 93, 255, .34), rgba(78, 163, 255, .44), rgba(110, 86, 207, .32), rgba(242, 184, 75, .36), transparent);
  box-shadow: 0 0 20px rgba(78, 163, 255, .16);
  overflow: hidden;
}

.relay-wire::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 22%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .98), transparent);
  transform: translateX(-120%);
}

.relay-node {
  position: relative;
  z-index: 1;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px 14px 14px 44px;
  border: 1px solid rgba(35, 93, 255, .12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(244, 249, 255, .94));
  box-shadow: 0 16px 38px rgba(11, 18, 32, .08);
}

.relay-node::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 7px rgba(78, 163, 255, .1), 0 0 18px rgba(78, 163, 255, .45);
  transform: translateY(-50%);
}

.relay-node::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 48px;
  height: 20px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(35, 93, 255, .18) 2px, transparent 2px) 0 100% / 9px 55% repeat-x,
    linear-gradient(180deg, transparent 30%, rgba(78, 163, 255, .3));
  opacity: .8;
}

.relay-node small {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.relay-node b {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.relay-node span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.relay-node.is-hot {
  border-color: rgba(242, 184, 75, .34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(234, 243, 255, .94));
}

.relay-node.is-hot::before {
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(242, 184, 75, .12), 0 0 20px rgba(242, 184, 75, .56);
}

.relay-sync,
.relay-pulse,
.relay-data {
  background:
    radial-gradient(ellipse at 18% 50%, rgba(35, 93, 255, .14), transparent 34%),
    linear-gradient(180deg, rgba(11, 18, 32, .02), transparent);
}

.relay-shield .relay-node::after,
.relay-economy .relay-node::after {
  background:
    linear-gradient(135deg, rgba(207, 92, 71, .18), transparent 42%),
    linear-gradient(90deg, rgba(35, 93, 255, .22), rgba(242, 184, 75, .32));
}

.dark-section,
.section-dark,
.kpi-section {
  background:
    radial-gradient(ellipse at 14% 18%, rgba(78, 163, 255, .2), transparent 30%),
    radial-gradient(ellipse at 88% 8%, rgba(242, 184, 75, .14), transparent 28%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--light);
  border-top: 0;
}

.dark-section .section-head p,
.section-dark .section-head p,
.kpi-section .section-head p,
.dark-section .mini-panel,
.section-dark .mini-panel,
.kpi-section .mini-panel {
  color: rgba(247, 248, 244, .72);
}

.dark-section .eyebrow,
.section-dark .eyebrow,
.kpi-section .eyebrow {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: var(--accent);
}

.dark-section .mini-panel,
.section-dark .mini-panel,
.kpi-section .mini-panel {
  background: rgba(255,255,255,.08);
  border-left-color: var(--accent);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(270px, .28fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.mini-panel {
  padding: 16px;
  border-left: 3px solid var(--secondary);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, .84);
  color: var(--muted);
  box-shadow: 0 12px 30px rgba(11, 18, 32, .07);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.card {
  padding: 21px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .84));
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card h3,
.step h3 {
  position: relative;
  padding-right: 0;
}

.card h3::after,
.step h3::after {
  content: none;
}

.card:hover,
.step:hover,
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(11, 18, 32, .16);
}

.dark-section .card,
.section-dark .card,
.kpi-section .card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
  border-color: rgba(234, 243, 255, .15);
  box-shadow: 0 26px 70px rgba(0,0,0,.24);
}

.dark-section .card h3::after,
.section-dark .card h3::after,
.kpi-section .card h3::after {
  content: none;
}

.dark-section .card p,
.section-dark .card p,
.kpi-section .card p,
.dark-section .plain-list li,
.section-dark .plain-list li,
.kpi-section .plain-list li {
  color: rgba(247, 248, 244, .72);
}

.icon-card {
  padding-top: 64px;
  background-image:
    radial-gradient(circle at 86% 16%, rgba(78, 163, 255, .14), transparent 19%),
    linear-gradient(135deg, transparent 60%, rgba(35, 93, 255, .08) 60% 62%, transparent 62%),
    linear-gradient(90deg, rgba(35, 93, 255, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(35, 93, 255, .04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px, 28px 28px;
}

.icon-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 21px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(242, 184, 75, .34);
  background: linear-gradient(135deg, rgba(242, 184, 75, .98), rgba(78, 163, 255, .92));
  box-shadow: 0 14px 34px rgba(35, 93, 255, .18);
}

.icon-card::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 31px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--surface-dark);
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.icon-security::after,
.icon-audit::after {
  border: 2px solid var(--surface-dark);
  border-radius: 50%;
  transform: none;
}

.icon-route::after,
.icon-process::after {
  width: 16px;
  height: 8px;
  border: 0;
  border-top: 2px solid var(--surface-dark);
  border-bottom: 2px solid var(--surface-dark);
  transform: none;
}

.card.accent {
  background:
    linear-gradient(150deg, rgba(35, 93, 255, .12), transparent 40%),
    linear-gradient(320deg, rgba(242, 184, 75, .1), transparent 46%),
    rgba(255, 255, 255, .94);
}

.number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #163B5A);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.step {
  isolation: isolate;
}

.step::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 112px;
  height: 40px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 18% 62%, var(--electric) 0 3px, transparent 4px),
    radial-gradient(circle at 46% 38%, var(--primary) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 54%, var(--accent) 0 3px, transparent 4px),
    linear-gradient(15deg, transparent 26%, rgba(78, 163, 255, .36) 27% 31%, transparent 32%),
    rgba(234, 243, 255, .44);
  opacity: .82;
  z-index: 0;
}

.bento {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 14px;
  grid-template-areas:
    "hero sideA sideB"
    "hero sideC sideD";
}

.bento .card:first-child {
  grid-area: hero;
  grid-row: span 2;
  background:
    linear-gradient(150deg, rgba(35, 93, 255, .12), transparent 42%),
    linear-gradient(320deg, rgba(242, 184, 75, .12), transparent 46%),
    rgba(255, 255, 255, .94);
}

.bento .card:nth-child(2) { grid-area: sideA; }
.bento .card:nth-child(3) { grid-area: sideB; }
.bento .card:nth-child(4) { grid-area: sideC; }
.bento .card:nth-child(5) { grid-area: sideD; }

.plain-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 22px;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 9px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(var(--electric), var(--secondary), var(--primary), var(--accent));
  box-shadow: 0 0 28px rgba(35, 93, 255, .28);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  isolation: isolate;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-dark);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.step > * {
  position: relative;
  z-index: 1;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(11, 18, 32, .11);
}

.compare-col {
  padding: 23px;
}

.compare-col:first-child {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(207, 92, 71, .1), rgba(255, 255, 255, .72));
}

.compare-col:last-child {
  background: linear-gradient(180deg, rgba(35, 93, 255, .1), rgba(255, 255, 255, .72));
}

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

.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  color: var(--muted);
}

.check-box {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
}

.kpi-section {
  counter-reset: kpi-card;
}

.kpi-section .grid-4 .card {
  min-height: 190px;
  counter-increment: kpi-card;
}

.kpi-section .grid-4 .card::before {
  content: "0" counter(kpi-card);
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: clamp(38px, 4vw, 64px);
  line-height: .85;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

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

.faq-item {
  overflow: hidden;
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--electric), var(--secondary), var(--accent));
  opacity: .65;
}

.faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-item summary::before {
  content: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal-2);
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.term {
  min-height: 134px;
  padding: 16px;
}

.term b {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-2);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(260px, .28fr);
  gap: 24px;
  align-items: start;
}

.legal-card {
  padding: 20px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(78, 163, 255, .2), transparent 30%),
    radial-gradient(ellipse at 86% 28%, rgba(242, 184, 75, .13), transparent 24%),
    linear-gradient(135deg, var(--navy) 0%, #0B2A3A 52%, #070E18 100%);
  color: #edf7f3;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(234, 243, 255, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(234, 243, 255, .06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.82), transparent 86%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.footer-links a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}

.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 330px;
  padding: 12px;
  border: 1px solid rgba(234, 243, 255, .18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(11, 18, 32, .94), rgba(16, 42, 58, .92));
  color: #F7F8F4;
  box-shadow: 0 26px 70px rgba(11, 18, 32, .28);
  backdrop-filter: blur(16px);
}

.sticky-cta::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 18px rgba(41, 179, 126, .72);
  flex: 0 0 auto;
}

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 70;
  max-width: 980px;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(234, 243, 255, .2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(11, 18, 32, .94), rgba(12, 44, 66, .92));
  color: rgba(247, 248, 244, .86);
  box-shadow: 0 24px 70px rgba(11, 18, 32, .3);
  backdrop-filter: blur(18px);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--violet), var(--accent), transparent);
}

.cookie-consent p {
  margin: 0;
  color: rgba(247, 248, 244, .78);
  font-size: 13px;
  line-height: 1.35;
}

.cookie-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.cookie-actions a {
  color: rgba(234, 243, 255, .82);
  font-size: 13px;
  font-weight: 750;
  border-bottom: 1px solid rgba(234, 243, 255, .34);
}

.cookie-accept {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(242, 184, 75, .72);
  border-radius: 8px;
  background: linear-gradient(135deg, #F7C965, var(--accent));
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

body.has-cookie-consent .sticky-cta {
  bottom: 94px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.inner-page {
  background:
    linear-gradient(90deg, rgba(23, 33, 31, .035) 1px, transparent 1px),
    linear-gradient(180deg, #f6f7f1 0%, #eef4ef 100%);
  background-size: 48px 48px, 100% 100%;
}

.compact-section {
  padding: 88px 0 108px;
}

.narrow {
  max-width: 860px;
}

.narrow h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .98;
}

.narrow h2 {
  margin: 46px 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.action-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 34px 0 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(234, 243, 255, .76));
  box-shadow: 0 24px 58px rgba(11, 18, 32, .11);
}

.sticky-cta small {
  display: block;
  color: rgba(247, 248, 244, .78);
  line-height: 1.28;
}

.page-hero {
  padding: 74px 0 48px;
}

.page-hero h1 {
  font-size: 48px;
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .card,
  .step,
  .faq-item,
  .hero-visual,
  .motion-node {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  .card:hover,
  .step:hover,
  .faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(35, 93, 255, .24);
  }

  .hero-art-wrap::before {
    animation: hero-scan 7.8s cubic-bezier(.55, 0, .25, 1) infinite;
  }

  .hero-image {
    animation: hero-drift 14s ease-in-out infinite alternate;
  }

  .pipe-track span {
    transform-origin: left center;
    animation: pipe-surge 5.4s ease-in-out infinite;
  }

  .pipe-row:nth-child(2) .pipe-track span { animation-delay: .35s; }
  .pipe-row:nth-child(3) .pipe-track span { animation-delay: .7s; }
  .pipe-row:nth-child(4) .pipe-track span { animation-delay: 1.05s; }

  .metric-dark {
    animation: metric-breathe 6.8s ease-in-out infinite;
  }

  .metric-dark:nth-child(2) { animation-delay: .6s; }
  .metric-dark:nth-child(3) { animation-delay: 1.2s; }

  .flow-svg path[stroke] {
    stroke-dasharray: 12 10;
    animation: flow-dash 10s linear infinite;
  }

  .flow-svg circle {
    animation: node-pulse 4.6s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
  }

  .motion-status i {
    animation: status-pulse 2.6s ease-in-out infinite;
  }

  .motion-lane::after {
    animation: lane-packet 4.8s linear infinite;
  }

  .motion-node {
    animation: node-lift 7.2s ease-in-out infinite;
  }

  .motion-node:nth-child(3) { animation-delay: .28s; }
  .motion-node:nth-child(4) { animation-delay: .56s; }
  .motion-node:nth-child(5) { animation-delay: .84s; }
  .motion-node:nth-child(6) { animation-delay: 1.12s; }

  .site-header::after {
    animation: header-sweep 8.5s ease-in-out infinite;
  }

  .brand-mark::after {
    animation: mark-breathe 3.8s ease-in-out infinite;
  }

  .hero::after {
    transition: background-position .2s ease;
  }

  .hero-signal-rail::before {
    animation: signal-sweep 4.8s ease-in-out infinite;
  }

  .hero-signal-rail i::after {
    content: "";
    position: absolute;
    inset: -3px 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
    transform: translateX(-120%);
    animation: wire-packet 2.8s linear infinite;
  }

  .hero-visual::after {
    animation: frame-rotate 12s linear infinite;
  }

  .relay-wire::after {
    animation: relay-packet 4.2s linear infinite;
  }

  .relay-node {
    animation: relay-breathe 7.4s ease-in-out infinite;
  }

  .relay-node:nth-child(3) { animation-delay: .34s; }
  .relay-node:nth-child(4) { animation-delay: .68s; }
  .relay-node:nth-child(5) { animation-delay: 1.02s; }

  [data-animate].is-visible .card h3::after,
  [data-animate].is-visible .step h3::after,
  [data-animate].is-visible .faq-item summary::before {
    animation: micro-chart 5.8s ease-in-out infinite;
  }

  @keyframes hero-scan {
    0%, 18% { transform: translateX(-26%); opacity: 0; }
    34%, 58% { opacity: 1; }
    78%, 100% { transform: translateX(28%); opacity: 0; }
  }

  @keyframes hero-drift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.045) translate3d(-1.2%, -.8%, 0); }
  }

  @keyframes pipe-surge {
    0%, 100% { transform: scaleX(.94); filter: saturate(1); }
    48% { transform: scaleX(1); filter: saturate(1.2); }
  }

  @keyframes metric-breathe {
    0%, 100% { border-color: rgba(234, 243, 255, .14); box-shadow: none; }
    45% { border-color: rgba(78, 163, 255, .34); box-shadow: 0 0 24px rgba(78, 163, 255, .12); }
  }

  @keyframes flow-dash {
    to { stroke-dashoffset: -88; }
  }

  @keyframes node-pulse {
    0%, 100% { transform: scale(1); opacity: .78; }
    48% { transform: scale(1.08); opacity: 1; }
  }

  @keyframes status-pulse {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.28); }
  }

  @keyframes lane-packet {
    to { transform: translateX(410%); }
  }

  @keyframes node-lift {
    0%, 100% { transform: translateY(0); border-color: rgba(234, 243, 255, .16); }
    44% { transform: translateY(-3px); border-color: rgba(78, 163, 255, .34); }
  }

  @keyframes header-sweep {
    0%, 22% { transform: translateX(-72%); opacity: 0; }
    42%, 68% { opacity: 1; }
    100% { transform: translateX(72%); opacity: 0; }
  }

  @keyframes mark-breathe {
    0%, 100% { transform: scale(1); opacity: .48; }
    48% { transform: scale(1.18); opacity: .9; }
  }

  @keyframes signal-sweep {
    0%, 20% { transform: translateX(-72%); opacity: 0; }
    45%, 70% { opacity: 1; }
    100% { transform: translateX(82%); opacity: 0; }
  }

  @keyframes wire-packet {
    to { transform: translateX(120%); }
  }

  @keyframes frame-rotate {
    to { transform: rotate(1turn); }
  }

  @keyframes relay-packet {
    to { transform: translateX(560%); }
  }

  @keyframes relay-breathe {
    0%, 100% { transform: translateY(0); box-shadow: 0 16px 38px rgba(11, 18, 32, .08); }
    42% { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(35, 93, 255, .13); }
  }

  @keyframes micro-chart {
    0%, 100% { filter: saturate(1); transform: translateY(0); }
    45% { filter: saturate(1.35); transform: translateY(-1px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .section-head,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
  }

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

  .bento {
    grid-template-areas: none;
  }

  .bento .card {
    grid-area: auto !important;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .header-row {
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .main-nav .btn {
    width: fit-content;
  }

  h1,
  .page-hero h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-grid > div:first-child {
    display: contents;
  }

  .hero .eyebrow {
    order: 1;
    align-self: flex-start;
  }

  .hero h1 {
    order: 2;
  }

  .hero .lead {
    order: 3;
  }

  .hero-actions {
    order: 4;
  }

  .hero-signal-rail {
    order: 5;
    gap: 4px;
    padding: 8px;
  }

  .hero-signal-rail span {
    min-height: 24px;
    padding: 0 6px;
    font-size: 11px;
  }

  .hero-signal-rail i {
    width: 12px;
  }

  .hero-visual {
    order: 6;
    width: 100%;
    margin-top: 2px;
  }

  .hero-points {
    order: 7;
    margin-top: 6px;
  }

  .hero-art-wrap {
    min-height: 220px;
  }

  .hero-image {
    min-height: 220px;
  }

  .automation-motion-strip {
    margin-top: 0;
    padding: 28px 0;
  }

  .motion-board {
    padding: 14px;
  }

  .motion-board-head {
    display: grid;
    gap: 8px;
  }

  .system-relay {
    margin: 0;
    padding: 18px 0;
  }

  .relay-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .relay-wire {
    left: 24px;
    right: auto;
    top: 34px;
    bottom: 34px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--secondary), var(--electric), var(--primary), var(--violet), var(--accent), transparent);
  }

  .relay-wire::after {
    width: 100%;
    height: 72px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .98), transparent);
    transform: translateY(-120%);
  }

  .relay-node {
    min-height: 98px;
    padding-left: 46px;
  }

  .motion-flow {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .motion-lane {
    left: 24px;
    right: auto;
    top: 58px;
    bottom: 58px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--electric), var(--primary), var(--violet), var(--accent), transparent);
  }

  .motion-lane::after {
    width: 100%;
    height: 70px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .95), transparent);
    transform: translateY(-100%);
  }

  @media (prefers-reduced-motion: no-preference) {
    .relay-wire::after {
      animation-name: relay-packet-y;
    }

    .motion-lane::after {
      animation-name: lane-packet-y;
    }

    @keyframes relay-packet-y {
      to { transform: translateY(620%); }
    }

    @keyframes lane-packet-y {
      to { transform: translateY(520%); }
    }
  }

  .dashboard,
  .grid-3,
  .grid-2,
  .bento,
  .compare,
  .faq-grid,
  .term-grid,
  .footer-grid,
  .action-panel {
    grid-template-columns: 1fr;
  }

  .compare-col:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-points,
  .metric-dark-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-cta {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  body.has-cookie-consent .sticky-cta {
    bottom: 156px;
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px;
  }

  .cookie-actions {
    justify-content: space-between;
    gap: 8px;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .hero-grid {
    gap: 20px;
  }

  .hero-points,
  .metric-dark-grid,
  .grid-4,
  .check-grid,
  .main-nav.is-open {
    grid-template-columns: 1fr;
  }

  h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    margin: 22px 0 0;
  }

  .motion-board-head {
    font-size: 12px;
  }

  .motion-node {
    min-height: 112px;
    padding: 14px 14px 14px 42px;
  }

  .card h3,
  .step h3 {
    padding-right: 0;
  }

  .card h3::after,
  .step h3::after {
    position: static;
    display: block;
    margin-top: 10px;
  }

  .btn {
    width: fit-content;
    max-width: 100%;
  }

  .cookie-consent p,
  .cookie-actions a {
    font-size: 12px;
  }

  .cookie-accept {
    min-height: 32px;
    padding: 0 11px;
  }
}
