/* ==========================================================================
   homepage.css — Automatum homepage styles
   Extracted from inline <style> blocks in index.html for cacheability.
   ========================================================================== */

/* ===== CSS CUSTOM PROPERTIES / DESIGN TOKENS ===== */

:root {
  --bg: #FBF9F4;
  --bg-2: #FFFFFF;
  --bg-3: #F4EFE6;
  --ink: #121B48;
  --ink-mute: rgba(18, 27, 72, 0.58);
  --ink-soft: rgba(18, 27, 72, 0.78);
  --line: rgba(18, 27, 72, 0.08);
  --line-2: rgba(18, 27, 72, 0.14);
  --cyan: #6DCBFF;
  --cyan-soft: #E6F4FE;
  --cream: #FBF0E5;
  --peach: #FCECDB;
  --yellow: #F2DB83;
  --orange: #FF9900;
  --orange-2: #C46F00;
  --teal: #35A5BE;
  --teal-2: #2A8DA4;
  --blue: #3D4BCA;
  --blue-2: #2F3CB5;
  --blue-soft: #EEF0FE;
  --max: 1180px;
  --pad: 72px;
  --shadow-sm: 0 1px 2px rgba(18, 27, 72, 0.04), 0 6px 18px rgba(18, 27, 72, 0.05);
  --shadow-md: 0 1px 2px rgba(18, 27, 72, 0.04), 0 14px 40px rgba(18, 27, 72, 0.07);
  --green: #0B7B3A;
  --green-bg: #E5F8EE;
  --amber: #A26500;
  --amber-bg: #FFF3DC;
  --blue-status: #0676B8;
  --blue-status-bg: #E6F4FE;
}

/* ===== BASE / RESET ===== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

/* ===== LAYOUT ===== */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ===== TYPOGRAPHY ===== */

.eyebrow {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  font-weight: 600;
}

h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 14px 0 0;
  max-width: 880px;
}

h2 .mute {
  color: var(--ink-mute);
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s, background .2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(61, 75, 202, 0.25);
}

.btn-primary:hover {
  background: var(--blue-2);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 13px 20px;
}

.btn-light {
  background: #fff;
  color: var(--teal-2);
  border: 0;
}

/* ===== LOGO MARK ===== */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo .mark {
  width: 26px;
  height: 26px;
  background: var(--ink);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-weight: 800;
  font-size: 16px;
}

/* ===== SECTION SPACING ===== */

.section-pad {
  padding: 80px 0 0;
}

.sec-head .eyebrow {
  color: var(--blue);
}

/* ===== HERO ===== */

section.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}

.hero .glow-1,
.hero .glow-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.65;
}

.hero .glow-1 {
  width: 720px;
  height: 720px;
  top: -260px;
  right: -180px;
  background: radial-gradient(closest-side, rgba(109, 203, 255, 0.45), transparent 70%);
}

.hero .glow-2 {
  width: 640px;
  height: 640px;
  top: 60px;
  left: -240px;
  background: radial-gradient(closest-side, rgba(252, 236, 219, 0.85), transparent 70%);
}

.hero .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 27, 72, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 27, 72, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 80%);
  pointer-events: none;
  opacity: 0.5;
}

.pix {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
}

.pix.y { background: var(--yellow); }
.pix.n { background: var(--ink); }
.pix.o { background: var(--orange); }
.pix.c { background: var(--cyan); }
.pix.s { width: 6px; height: 6px; }

.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.hero .pill .badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 78px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 28px 0 0;
  max-width: 1000px;
}

.hero h1 .mute {
  color: var(--ink-mute);
}

.hero h1 .underline {
  position: relative;
  display: inline-block;
  color: var(--blue);
}

.hero h1 .underline::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 6px;
  height: 12px;
  background: rgba(242, 219, 131, 0.6);
  border-radius: 2px;
  z-index: -1;
}

.hero p.lede {
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 660px;
  margin: 26px 0 0;
}

.hero p.lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero .ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero .ctas .micro {
  color: var(--ink-mute);
  font-size: 13px;
  margin-left: 6px;
}

/* ===== METRICS BAR ===== */

.metrics {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.metrics .m {
  padding: 26px 24px;
}

.metrics .m + .m {
  border-left: 1px solid var(--line);
}

.metrics .n {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.metrics .n .alt {
  color: var(--blue);
}

.metrics .l {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* ===== PRODUCT / BROWSER FRAME ===== */

.product {
  margin-top: 60px;
  position: relative;
}

.browser {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow:
    0 30px 80px -20px rgba(18, 27, 72, 0.20),
    0 12px 40px -10px rgba(18, 27, 72, 0.12);
}

.browser .chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.browser .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(18, 27, 72, 0.18);
}

.browser .url {
  margin-left: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--ink-mute);
}

.browser .live {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--green);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.product-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== STATUS BADGES ===== */

.badge.signed  { background: var(--green-bg); color: var(--green); }
.badge.pending { background: var(--amber-bg); color: var(--amber); }
.badge.active  { background: var(--blue-status-bg); color: var(--blue-status); }

/* ===== LOGOS SECTION ===== */

section.logos {
  padding: 48px 0 0;
  margin-bottom: -24px;
}

section.logos .label {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 26px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

section.logos .grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  gap: 30px;
  grid-template-rows: auto !important;
  height: auto !important;
}

section.logos img {
  width: 100%;
  height: 30px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: filter .3s ease;
}

section.logos img:hover {
  filter: grayscale(0) opacity(1);
}

/* ===== WHY / PROBLEM SECTION ===== */

.why {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.why .lede {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 22px;
  max-width: 460px;
}

.why .pains {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.why .pain {
  background: #fff;
  padding: 26px 24px;
}

.why .pain .n {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--blue);
  font-weight: 600;
}

.why .pain h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.why .pain p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
}

/* ===== FOUR PILLARS ===== */

.pillars {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pillar {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 28px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(18, 27, 72, 0.04), 0 8px 24px rgba(18, 27, 72, 0.06);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.pillar .tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.pillar h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 16px 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.pillar p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0;
}

.pillar .vis {
  margin-top: auto;
  padding-top: 18px;
}

.pillar .vis-box {
  height: 110px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  padding: 14px;
  font-size: 12px;
}

/* ===== PILLAR VIS — MARKETPLACE ROWS ===== */

.marketplace-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.marketplace-row:last-of-type {
  border-bottom: 0;
}

.marketplace-row .pip {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.marketplace-row .name {
  color: var(--ink-soft);
}

.marketplace-row .stat {
  margin-left: auto;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
}

.stat-live { color: var(--green); }
.stat-rev  { color: var(--amber); }

/* ===== PILLAR VIS — CODE BLOCK ===== */

.code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.code .k   { color: var(--ink-mute); }
.code .s   { color: var(--blue); }
.code .num { color: var(--green); }
.code .ok  { color: var(--green); }

/* ===== PILLAR VIS — INTEGRATION CHIPS ===== */

.integ {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.integ .chip,
.chip {
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  border: 1px solid var(--line-2);
}

.chip-aws {
  background: rgba(255, 153, 0, 0.13);
  color: #A66700;
  border-color: rgba(255, 153, 0, 0.4);
}

.chip-crm {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(61, 75, 202, 0.3);
}

/* ===== LOTTIE / SVG ILLUSTRATION ===== */

.lottie-wrap {
  margin: 50px auto 0;
  max-width: 820px;
  text-align: center;
}

.lottie-wrap img {
  width: 100%;
  height: auto;
}

/* ===== PATH TO SUCCESS ===== */

.path-section {
  padding: 80px 0 0;
}

.path-section h2 .accent {
  color: var(--blue);
}

.path-cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.path-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.path-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.path-card h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}

.path-card p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0;
}

/* ===== COMPARISON TABLE ===== */

.compare {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.compare-head {
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.compare-head .col {
  padding: 22px 22px;
  border-left: 1px solid var(--line);
}

.compare-head .col:first-child {
  border-left: 0;
  font-size: 13px;
  color: var(--ink-mute);
}

.compare-head .col h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.compare-head .col .sub {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-top: 3px;
}

.compare-head .col.ours {
  background: var(--blue-soft);
}

.compare-head .col.ours h5 {
  color: var(--blue);
}

.compare-head .col.ours .sub {
  color: var(--blue);
}

.compare-row {
  border-top: 1px solid var(--line);
}

.compare-row .cell {
  padding: 16px 22px;
  font-size: 13.5px;
  border-left: 1px solid var(--line);
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-row .cell:first-child {
  border-left: 0;
  color: var(--ink-soft);
}

.compare-row .cell.ours {
  background: rgba(238, 240, 254, 0.55);
  color: var(--ink);
  font-weight: 500;
}

/* ===== DEMO CTA BAND ===== */

.demo-band {
  padding: 90px 0;
}

.demo-card {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(53, 165, 190, 0.3);
}

.demo-card::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.demo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
  opacity: 0.5;
}

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

.demo-card h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 42px;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.025em;
  max-width: none;
  color: #fff;
}

.demo-card p {
  font-size: 16px;
  opacity: 0.92;
  margin: 0;
  line-height: 1.55;
}

/* ===== TESTIMONIALS ===== */

.quotes {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 26px 24px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(18, 27, 72, 0.04), 0 8px 24px rgba(18, 27, 72, 0.06);
}

.quote q {
  display: block;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  quotes: '\201C' '\201D';
}

.quote q::before {
  content: open-quote;
  color: var(--blue);
  margin-right: 4px;
}

.quote q::after {
  content: close-quote;
  color: var(--blue);
}

.attr {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-mute);
}

.attr b {
  color: var(--ink);
  font-weight: 600;
}

/* ===== INTEGRATION RADIAL CARD ===== */

.radial-card {
  margin-top: 50px;
  background: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.radial-text h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin: 14px 0 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.radial-text p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.55;
}

.radial-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.radial-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}

.radial-list svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.radial {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 440px;
  margin: 0 auto;
}

.radial-orbit {
  position: absolute;
  inset: 0;
  border: 1.5px dashed var(--line-2);
  border-radius: 50%;
}

.radial-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.radial-center .mark {
  width: 34px;
  height: 34px;
  background: var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-weight: 800;
  font-size: 18px;
}

.radial-center .nm {
  margin-top: 6px;
  font-weight: 700;
  font-size: 14px;
}

.radial-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: var(--ink);
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.1;
}

.radial-node small {
  display: block;
  font-size: 9px;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: 2px;
}

.rn-1 { left: 50%;  top: 0; }
.rn-2 { left: 100%; top: 30%; }
.rn-3 { left: 88%;  top: 78%; }
.rn-4 { left: 50%;  top: 100%; }
.rn-5 { left: 12%;  top: 78%; }
.rn-6 { left: 0%;   top: 30%; }

/* ===== PARTNERS ===== */

section.partners {
  padding: 80px 0 0;
  text-align: center;
}

section.partners h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 14px 0 36px;
}

section.partners .row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

section.partners img {
  height: 38px;
  opacity: 0.85;
}

/* ===== FINAL CTA ===== */

section.cta {
  padding: 80px 0 64px;
}

section.cta .card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-3) 0%, #fff 50%, var(--blue-soft) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(18, 27, 72, 0.15);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
}

section.cta .glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(60px);
  background: radial-gradient(closest-side, rgba(252, 236, 219, 0.6), transparent 70%);
  pointer-events: none;
}

section.cta .glow-2 {
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(70px);
  background: radial-gradient(closest-side, rgba(109, 203, 255, 0.30), transparent 70%);
  pointer-events: none;
}

section.cta h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
}

section.cta p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 20px 0 0;
  max-width: 520px;
}

section.cta .ctas {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

section.cta .checklist {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
}

section.cta .checklist .row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line-2);
  padding: 6px 0;
}

section.cta .checklist .row:last-child {
  border-bottom: 0;
}

/* ===== SKIP-TO-CONTENT ===== */

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: 14px 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}

.skip-to-content:focus {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/* ===== CARD HOVER MICRO-INTERACTIONS ===== */

.why .pain {
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.why .pain:hover {
  box-shadow: 0 8px 24px rgba(18, 27, 72, 0.08);
  transform: translateY(-2px);
}

.pillar {
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar:hover {
  box-shadow: 0 12px 32px rgba(18, 27, 72, 0.10);
  transform: translateY(-3px);
}

.path-card {
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.path-card:hover {
  box-shadow: 0 8px 24px rgba(18, 27, 72, 0.08);
  transform: translateY(-2px);
}

.quote {
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote:hover {
  box-shadow: 0 8px 24px rgba(18, 27, 72, 0.08);
  transform: translateY(-2px);
}

.metrics .m {
  transition: background 0.3s ease;
}

.metrics .m:hover {
  background: rgba(61, 75, 202, 0.03);
}

.radial-node {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.radial-node:hover {
  box-shadow: 0 8px 20px rgba(18, 27, 72, 0.12);
  z-index: 10;
}

/* ===== FOCUS-VISIBLE STYLES ===== */

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(61, 75, 202, 0.15);
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-links:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ===== ANIMATION — REDUCED MOTION ===== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero .pill, .hero h1, .hero .lede, .hero .ctas,
  .hero .metrics, .hero .product {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== ANIMATION — HERO ENTRANCE CASCADE ===== */

.hero .pill    { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both; }
.hero h1       { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.hero .lede    { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both; }
.hero .ctas    { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.50s both; }
.hero .metrics { animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.70s both; }
.hero .product { animation: heroIn 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.90s both; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== ANIMATION — HERO PIXEL FLOAT ===== */

.hero > .pix {
  animation: pixFloat 5s ease-in-out infinite alternate;
}

@keyframes pixFloat {
  to { transform: translateY(-10px) translateX(3px); }
}

/* ===== ANIMATION — BROWSER "LIVE" PULSE ===== */

.browser .live {
  animation: livePulse 2.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* ===== ANIMATION — SCROLL REVEAL ===== */

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== ANIMATION — STAGGER CHILDREN ===== */

[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.09s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }
[data-stagger].is-visible > *:nth-child(7) { transition-delay: 0.48s; }
[data-stagger].is-visible > *:nth-child(8) { transition-delay: 0.56s; }

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

/* ===== ANIMATION — COMPARISON TABLE ROWS ===== */

.compare-row {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-row.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== ANIMATION — LOGO GRID ENTRANCE ===== */

.logos .grid {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.logos .grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ANIMATION — RADIAL ORBIT ===== */

.radial-orbit {
  animation: orbitSpin 90s linear infinite;
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

.radial-center {
  animation: centerPulse 4s ease-in-out infinite;
}

@keyframes centerPulse {
  0%, 100% { box-shadow: var(--shadow-md); }
  50%      { box-shadow: var(--shadow-md), 0 0 0 14px rgba(61, 75, 202, 0.06); }
}

.radial-node {
  animation: nodeFloat 6s ease-in-out infinite;
}

.rn-1 { animation-delay: 0s; }
.rn-2 { animation-delay: 1s; }
.rn-3 { animation-delay: 2s; }
.rn-4 { animation-delay: 3s; }
.rn-5 { animation-delay: 4s; }
.rn-6 { animation-delay: 5s; }

@keyframes nodeFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-6px); }
}

/* ===== RESPONSIVE — 880px ===== */

@media (max-width: 880px) {
  .container {
    padding: 0 24px;
  }

  :root {
    --pad: 24px;
  }

  h2 {
    font-size: 40px;
  }

  .hero {
    padding: 56px 0 0;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero p.lede {
    font-size: 18px;
  }

  .section-pad {
    padding: 64px 0 0;
  }

  section.logos {
    padding: 36px 0 0;
    margin-bottom: -20px;
  }

  .path-section {
    padding: 64px 0 0;
  }

  section.partners {
    padding: 64px 0 0;
  }

  section.cta {
    padding: 64px 0 48px;
  }

  .demo-band {
    padding: 48px 0;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .path-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .demo-card h2 {
    font-size: 34px;
  }

  .radial-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  section.cta .card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

  section.cta h2 {
    font-size: 40px;
  }
}

/* ===== RESPONSIVE — 760px ===== */

@media (max-width: 760px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics .m + .m {
    border-left: none;
  }

  .metrics .m:nth-child(2) {
    border-left: 1px solid var(--line);
  }

  .metrics .m:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .metrics .m:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  section.logos .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .compare {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
  }

  .compare-head,
  .compare-row {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    min-width: 580px;
  }

  .compare-head .col:nth-child(3),
  .compare-head .col:nth-child(4) {
    display: block;
  }

  .compare-row .cell:nth-child(3),
  .compare-row .cell:nth-child(4) {
    display: flex;
  }

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

/* ===== RESPONSIVE — 640px ===== */

@media (max-width: 640px) {
  h2 {
    font-size: 28px;
    letter-spacing: -0.025em;
  }

  .hero {
    padding: 36px 0 0;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero .pill {
    font-size: 11px;
    gap: 7px;
    padding: 5px 10px 5px 5px;
  }

  .hero p.lede {
    font-size: 16px;
    margin-top: 18px;
  }

  .hero .ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 24px;
  }

  .hero .ctas .btn {
    justify-content: center;
  }

  .hero .ctas .micro {
    margin-left: 0;
    text-align: center;
  }

  .metrics {
    margin-top: 36px;
  }

  .metrics .n {
    font-size: 28px;
  }

  .metrics .l {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .metrics .m {
    padding: 18px 14px;
  }

  .product {
    margin-top: 32px;
  }

  section.logos {
    padding: 24px 0 0;
    margin-bottom: -20px;
  }

  section.logos .label {
    font-size: 11px;
    margin-bottom: 18px;
  }

  section.logos img {
    height: 22px;
  }

  .section-pad {
    padding: 40px 0 0;
  }

  .path-section {
    padding: 40px 0 0;
  }

  .why .pains {
    grid-template-columns: 1fr;
  }

  .why .pain h4 {
    font-size: 16px;
  }

  .why .lede {
    font-size: 15px;
  }

  .pillar h4 {
    font-size: 18px;
  }

  .pillar {
    min-height: auto;
    padding: 22px 20px 0;
    overflow: hidden;
  }

  .pillar .vis {
    margin-top: 8px;
    padding-top: 0;
  }

  .pillar .vis img {
    height: 160px !important;
    object-fit: cover;
    object-position: bottom center;
    border-radius: 0 0 13px 13px;
  }

  .sec-head h2 {
    max-width: 100%;
  }

  .demo-band {
    padding: 32px 0;
  }

  .demo-card h2 {
    font-size: 26px;
  }

  .demo-card p {
    font-size: 14px;
  }

  .quote q {
    font-size: 15px;
  }

  .radial-text h3 {
    font-size: 24px;
  }

  .radial-text p {
    font-size: 14px;
  }

  .radial-list li {
    font-size: 14px;
  }

  .radial {
    max-width: 280px;
  }

  .radial-node {
    width: 52px;
    height: 52px;
    font-size: 10px;
    border-radius: 10px;
  }

  .radial-center {
    width: 100px;
    height: 100px;
  }

  .radial-center .mark {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .radial-center .nm {
    font-size: 11px;
  }

  section.partners {
    padding: 40px 0 0;
  }

  section.partners h3 {
    font-size: 22px;
    margin-bottom: 24px;
  }

  section.partners .row {
    gap: 28px;
  }

  section.partners img {
    height: 28px;
  }

  section.cta {
    padding: 40px 0 32px;
  }

  section.cta h2 {
    font-size: 28px;
  }

  section.cta p {
    font-size: 15px;
  }

  section.cta .ctas {
    flex-direction: column;
  }

  section.cta .card {
    padding: 28px 20px;
    gap: 28px;
  }

  section.cta .checklist {
    font-size: 12px;
  }

  .compare-head .col {
    padding: 14px 12px;
  }

  .compare-head .col h5 {
    font-size: 14px;
  }

  .compare-head .col .sub {
    font-size: 10px;
  }

  .compare-row .cell {
    padding: 12px;
    font-size: 12px;
  }

  .path-card h4 {
    font-size: 16px;
  }

  .path-card {
    padding: 22px 20px;
  }

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

/* ===== RESPONSIVE — 560px ===== */

@media (max-width: 560px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .path-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE — 400px ===== */

@media (max-width: 400px) {
  .hero h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  section.logos .grid {
    gap: 12px;
  }

  section.logos img {
    height: 18px;
  }

  .radial {
    max-width: 240px;
  }

  .radial-node {
    width: 44px;
    height: 44px;
    font-size: 9px;
  }

  .radial-center {
    width: 84px;
    height: 84px;
  }

  .radial-center .mark {
    width: 22px;
    height: 22px;
    font-size: 12px;
    border-radius: 5px;
  }

  .radial-center .nm {
    font-size: 10px;
  }
}
