/* ============================================================
   SENTINATE — AI Agents as a Service
   Built to Think. Deployed to Deliver.
   ============================================================ */

:root {
  /* core palette */
  --ink: #0A0C12;
  --blue-deep: #023661;
  --mauve: #3F3A42;
  --slate: #76828E;
  --orange: #DB5227;
  --orange-bright: #E5673F;

  /* support neutrals */
  --n-900: #141821;
  --n-800: #1F2530;
  --n-700: #2B313C;
  --n-600: #39424E;
  --n-300: #9AA4B2;
  --n-100: #DDE2EA;

  /* derived */
  --blue-logo: #2D6CA9;
  --blue-soft: #4A7FB5;
  --text: #E8EDF4;
  --text-dim: var(--n-300);
  --line: rgba(154, 164, 178, 0.14);
  --line-strong: rgba(154, 164, 178, 0.26);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(88px, 12vw, 160px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* smooth anchor scrolling handled in JS — CSS smooth conflicts with ScrollTrigger refresh */
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 700; color: var(--text); }

::selection { background: var(--orange); color: var(--ink); }

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  border-radius: 8px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ---------- typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  max-width: 18ch;
}

.dot { color: var(--orange); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}

.eyebrow-index {
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.eyebrow-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.body-lg {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 56ch;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--orange);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.text-link:hover { color: var(--orange-bright); border-bottom-color: var(--orange-bright); }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); position: relative; }

.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-intro { margin-top: 24px; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background-color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(219, 82, 39, 0);
}
.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(219, 82, 39, 0.45);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-bright);
  transform: translateY(-2px);
}

.btn-sm { padding: 12px 22px; font-size: 0.85rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
              backdrop-filter 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 12, 18, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2.6vw, 36px);
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.25s var(--ease-out);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
body.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 12, 18, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--gutter) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }

.menu-links { display: flex; flex-direction: column; gap: 8px; }
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.menu-links a em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
}
body.menu-open .menu-links a { transform: translateY(0); opacity: 1; }
body.menu-open .menu-links a:nth-child(1) { transition-delay: 0.05s; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: 0.1s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: 0.15s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: 0.2s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: 0.25s; }
body.menu-open .menu-links a:nth-child(6) { transition-delay: 0.3s; }

.menu-cta { color: var(--orange); border-bottom: none !important; }
.menu-foot {
  margin-top: auto;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 120px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 28% 45%, rgba(10, 12, 18, 0.92) 0%, rgba(10, 12, 18, 0.55) 55%, rgba(10, 12, 18, 0) 100%),
    linear-gradient(to bottom, rgba(10, 12, 18, 0.6) 0%, rgba(10, 12, 18, 0) 30%, rgba(10, 12, 18, 0) 60%, var(--ink) 100%);
}

.hero-grid { position: relative; z-index: 2; }

.hero-copy { max-width: 980px; }

.hero-eyebrow { margin-bottom: 28px; }

.hero-title {
  font-size: clamp(2.3rem, 6.6vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 30px;
}

.h-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.h-line-inner { display: inline-block; will-change: transform; }

.hero-lede { margin-bottom: 40px; max-width: 58ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* hero meta strip */
.hero-meta {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 8vh, 96px);
  border-top: 1px solid var(--line);
}

.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  flex-wrap: wrap;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(219, 82, 39, 0.6);
  animation: pulse 2.4s infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(219, 82, 39, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(219, 82, 39, 0); }
  100% { box-shadow: 0 0 0 0 rgba(219, 82, 39, 0); }
}

.hero-stats { display: flex; gap: clamp(28px, 5vw, 72px); }
.stat dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2px;
}
.stat dd {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.scroll-cue {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 64px;
  z-index: 3;
  overflow: hidden;
  display: none;
}
.scroll-cue-line {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--orange));
  animation: cue 2s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 20px;
  background: var(--ink);
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

.marquee-track i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.marquee-track-rev { animation-direction: reverse; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-alt { margin-top: clamp(64px, 9vw, 120px); border-bottom: none; }
.marquee-alt .marquee-track span { color: var(--n-600); }
.marquee-alt .marquee-track i { background: var(--blue-logo); }

/* ============================================================
   PROBLEM / THE GAP
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.problem-copy h2 { margin-bottom: 28px; }
.problem-copy .body-lg { margin-bottom: 20px; }

/* convergence visual */
.converge-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.converge {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
}

.converge-svg { width: 100%; height: 100%; overflow: visible; }

.converge-logo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: auto;
  opacity: 0; visibility: hidden;
  pointer-events: none;
}

.chip {
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n-300);
  background: var(--n-900);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
}

.converge-caption {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
}

/* big statement */
.statement-wrap {
  margin-top: clamp(96px, 14vw, 200px);
  text-align: center;
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 22ch;
  margin-inline: auto;
  color: var(--text);
  text-wrap: balance;
}

.statement .w { opacity: 0.12; transition: none; }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.capabilities {
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(2, 54, 97, 0.18) 0%, transparent 70%),
    var(--ink);
}

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

.cap-card {
  position: relative;
  background: var(--n-900);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}

.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(219, 82, 39, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.cap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(219, 82, 39, 0.38);
  background: var(--n-800);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.cap-card:hover::before { opacity: 1; }

.cap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.cap-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.cap-icon { width: 26px; height: 26px; color: var(--slate); }

.cap-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 10px;
}

.cap-card h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.cap-card p:last-child {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ============================================================
   BENCH
   ============================================================ */
.bench { background: var(--ink); }

.bench-list { border-top: 1px solid var(--line); }

.bench-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(22px, 3vw, 34px) 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.35s var(--ease-out), padding-left 0.35s var(--ease-out);
}

.bench-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(219, 82, 39, 0.07), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}

.bench-row:hover { padding-left: 20px; }
.bench-row:hover::before { opacity: 1; }

.bench-idx {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--slate);
  transition: color 0.35s var(--ease-out);
}
.bench-row:hover .bench-idx { color: var(--orange); }

.bench-role {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.35s var(--ease-out);
}

.bench-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate);
  transition: color 0.35s var(--ease-out);
}
.bench-row:hover .bench-desc { color: var(--n-300); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  background:
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(2, 54, 97, 0.14) 0%, transparent 70%),
    var(--ink);
}

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-top: 48px;
}

.how-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--n-700);
  border-radius: 2px;
  overflow: hidden;
}

.how-line-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue-logo));
  transform: scaleX(0);
  transform-origin: left;
}

.how-step { position: relative; }

.how-node {
  position: absolute;
  top: -48px;
  left: 0;
  transform: translateY(-50%) translateY(1px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--orange);
}

.how-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--n-600);
  margin-bottom: 20px;
}

.how-step h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.how-step p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 38ch;
}

/* ============================================================
   PILLARS (light band)
   ============================================================ */
.pillars {
  background: var(--n-100);
  color: var(--ink);
}

.pillars h2 { color: var(--ink); }
.pillars .eyebrow { color: #5C6671; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: 1px solid rgba(10, 12, 18, 0.14);
}

.pillar {
  padding: 8px clamp(18px, 2vw, 32px) 8px clamp(18px, 2vw, 28px);
  border-right: 1px solid rgba(10, 12, 18, 0.14);
}

.pillar h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.pillar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.pillar p:last-child {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #3E4751;
}

/* ============================================================
   AUTHORITY
   ============================================================ */
.authority {
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(2, 54, 97, 0.22) 0%, transparent 70%),
    var(--ink);
  text-align: center;
}

.authority-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.authority .eyebrow { justify-content: center; }

.authority-quote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 32px;
  text-wrap: balance;
}

.authority-body { margin-inline: auto; margin-bottom: 44px; }

.assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.assurances li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(20, 24, 33, 0.6);
}

.assure-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(rgba(154, 164, 178, 0.16) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 0%, transparent 75%);
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cta .eyebrow { justify-content: center; }

.cta-title {
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  max-width: 16ch;
  margin-bottom: 24px;
}

.cta .body-lg { margin-bottom: 44px; max-width: 52ch; }

.cta .hero-cta { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: #07090E;
  padding-top: clamp(56px, 7vw, 88px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer-tag {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dim);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.25s var(--ease-out);
  width: fit-content;
}
.footer-col a:hover { color: var(--orange-bright); }

.footer-note { font-size: 0.92rem; color: var(--text-dim); line-height: 1.7; }

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--slate);
}

.footer-bar-right { letter-spacing: 0.06em; }

/* ============================================================
   REVEAL (JS-enhanced; visible without JS)
   ============================================================ */
.js .reveal { opacity: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: none;
    gap: 36px 0;
  }
  .pillar { border-right: none; border-left: 1px solid rgba(10, 12, 18, 0.18); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .burger { display: flex; }

  .problem-grid { grid-template-columns: 1fr; }
  .converge-wrap { order: -1; }
  .converge { width: min(100%, 360px); }

  .how-steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; gap: 48px; }
  .how-line { top: 8px; left: 6px; width: 2px; height: calc(100% - 8px); }
  .how-line-fill { transform-origin: top; width: 100%; height: 100%; transform: scaleY(0); }
  .how-node { top: 8px; left: -36px; transform: none; }
}

@media (max-width: 720px) {
  .hero { padding-top: 104px; }
  .hero-meta-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-stats { width: 100%; justify-content: space-between; gap: 16px; }

  .bench-row {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 8px;
  }
  .bench-desc { grid-column: 2; }
  .bench-row:hover { padding-left: 8px; }

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

  .pillar-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillar { padding-block: 0; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }

  .chip { font-size: 0.62rem; padding: 6px 10px; }
}

@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
  .assurances { flex-direction: column; align-items: stretch; }
  .assurances li { justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; }
  .js .reveal { opacity: 1; }
  .statement .w { opacity: 1; }
}

/* Brand logo image (replaces inline brand-mark SVG) */
.brand-logo { height: 40px; width: auto; display: block; }
.footer-brand .brand-logo { height: 50px; }
