/* ============================================================
   SERPent — marketing site
   Design tokens mirror the app so the site feels like the product.
   ============================================================ */
:root {
  --blue: #2D5BFF;
  --blue-deep: #1E43D8;
  --blue-soft: #EBF0FF;
  --navy: #0E1B3D;
  --ink-soft: #5A6680;
  --paper: #F7F9FE;
  --card: #FFFFFF;
  --line: #DDE4F2;
  --amber: #FFB020;
  --amber-fill: #FFF7E8;
  --amber-ink: #B87400;

  --btn-grad: linear-gradient(180deg, #2D5BFF, #1E43D8);
  --shadow-card: 0 12px 32px -16px rgba(14,27,61,0.12);
  --shadow-card-hover: 0 24px 48px -18px rgba(14,27,61,0.22);
  --shadow-btn: inset 0 1px 0 rgba(255,255,255,0.22), 0 10px 24px -8px rgba(45,91,255,0.6);

  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1140px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--navy);
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, #DCE4F5 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-deep); }
strong { color: var(--navy); font-weight: 600; }
img, svg { max-width: 100%; }

.mono { font-family: var(--mono); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--card); color: var(--navy);
  padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue);
  text-transform: uppercase;
}
.eyebrow--amber {
  color: var(--amber-ink);
  background: var(--amber-fill);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.14em;
}
.eyebrow--pill {
  display: inline-block;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.14em;
}

.chip {
  font-family: var(--mono);
  font-size: 12px;
  border-radius: 999px;
  display: inline-block;
}
.chip--blue { color: var(--blue); background: var(--blue-soft); padding: 5px 12px; }
.chip--xs { font-size: 10px; padding: 2px 7px; }
.chip--amber { color: var(--amber-ink); background: var(--amber-fill); border: 1px solid var(--amber); padding: 4px 10px; }
.chip--amber.chip--xs { padding: 2px 7px; border: none; }
.chip--amber-pulse {
  color: var(--navy); background: var(--amber-fill); border: 1px solid var(--amber);
  padding: 3px 10px; font-size: 11px;
  animation: pulseAmber 2.4s ease-in-out infinite;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  border-radius: 11px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn--primary {
  background: var(--btn-grad);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 16px 34px -8px rgba(45,91,255,0.7);
}
.btn--ghost {
  background: var(--card);
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn--ghost:hover { color: var(--navy); transform: translateY(-3px); background: var(--blue-soft); }
.btn--white { background: #fff; color: var(--blue-deep); box-shadow: 0 12px 28px -10px rgba(14,27,61,0.5); }
.btn--white:hover { color: var(--blue-deep); transform: translateY(-3px) scale(1.02); }
.btn--sm { font-size: 14.5px; padding: 10px 18px; border-radius: 10px; }
.btn--lg { font-size: 16px; padding: 14px 26px; }
.btn--ghost.btn--lg { padding: 14px 22px; }
.btn--block { display: block; padding: 12px 20px; font-size: 15px; }
.btn--ghost-nav {
  color: var(--navy); background: transparent; font-size: 14.5px;
  padding: 9px 14px; border-radius: 10px;
}
.btn--ghost-nav:hover { color: var(--navy); background: var(--blue-soft); }

/* ---------- brand / logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__tile {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--btn-grad);
  display: grid; place-items: center; font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 14px -6px rgba(45,91,255,0.6);
}
.brand__tile--sm { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; box-shadow: none; }
.brand__word { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand__word--sm { font-size: 18px; }
.brand__serp { color: var(--blue); }
.brand__ent { color: var(--navy); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(14,27,61,0.3);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav__links a { color: var(--ink-soft); }
.nav__links a:hover { color: var(--navy); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 24px 90px; text-align: center; }
.hero__glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 100%); height: 620px;
  background: radial-gradient(ellipse at top, #E4ECFF, transparent 70%);
  pointer-events: none;
  animation: glowDrift 14s ease-in-out infinite;
}
.hero__inner {
  position: relative; max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: 60px; line-height: 1.06; letter-spacing: -0.025em;
  color: var(--navy); text-wrap: balance;
}
.hero__sub {
  font-size: 19px; line-height: 1.6; color: var(--ink-soft);
  max-width: 620px; text-wrap: pretty;
}
.hero__cta { display: flex; align-items: center; gap: 14px; margin-top: 6px; flex-wrap: wrap; justify-content: center; }
.microcopy { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- hero pipeline ---------- */
.pipeline {
  width: 100%; max-width: 720px; margin-top: 34px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 26px; text-align: left;
  transition: box-shadow .3s ease;
}
.pipeline:hover { box-shadow: 0 22px 48px -18px rgba(14,27,61,0.22); }
.pipeline__search {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px;
  background: var(--paper); font-family: var(--mono); font-size: 14px;
}
.pipeline__prompt { color: var(--ink-soft); }
.pipeline__typed { color: var(--navy); min-height: 20px; }
.pipeline__caret { color: var(--blue); animation: caretBlink 1s steps(1) infinite; }
.pipeline__caret[hidden] { display: none; }

.pipeline__track { position: relative; margin-top: 34px; }
.pipeline__snake {
  position: absolute; top: -24px; left: 0%;
  transition: left 1.1s cubic-bezier(.5,0,.2,1);
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--btn-grad); display: grid; place-items: center; font-size: 16px;
  box-shadow: 0 8px 16px -6px rgba(45,91,255,0.55); z-index: 2;
  animation: bob 1.6s ease-in-out infinite;
}
.pipeline__line {
  position: absolute; top: -9px; left: 2%; right: 2%; height: 2px;
  background: var(--line); border-radius: 2px;
}
.pipeline__progress {
  position: absolute; top: -9px; left: 2%; height: 2px; width: 0%;
  background: var(--blue); border-radius: 2px;
  transition: width 1.1s cubic-bezier(.5,0,.2,1);
}
.pipeline__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 12px; }
.step {
  border-radius: 12px; padding: 14px 12px; text-align: center;
  border: 1px solid var(--line); background: var(--card);
  transition: background .5s ease, border-color .5s ease;
  display: flex; flex-direction: column; align-items: center;
}
.step__dot {
  width: 22px; height: 22px; border-radius: 999px; margin-bottom: 8px;
  display: grid; place-items: center; font-size: 11px; font-weight: 600;
  color: #fff; background: #C5CFE4; transition: background .5s ease;
}
.step__label { font-size: 12px; letter-spacing: 0.1em; font-weight: 500; color: var(--ink-soft); transition: color .5s ease; }
.step__hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; }

.step.is-active { background: var(--amber-fill); border-color: var(--amber); animation: pulseAmber 1.2s ease-in-out infinite; }
.step.is-active .step__dot { background: var(--amber); }
.step.is-active .step__label { color: var(--amber-ink); }
.step.is-done { background: var(--blue-soft); border-color: var(--blue); }
.step.is-done .step__dot { background: var(--blue); }
.step.is-done .step__label { color: var(--blue); }

.pipeline__result {
  margin-top: 18px; display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.pipeline__result.is-visible { opacity: 1; transform: translateY(0); }
.pipeline__check {
  width: 24px; height: 24px; border-radius: 999px; background: var(--blue-soft);
  color: var(--blue); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.pipeline__article {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; background: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pipeline__article-title {
  font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pipeline__article-meta { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.pipeline__result .chip { flex-shrink: 0; }

/* ---------- trust strip ---------- */
.trust { padding: 10px 24px 20px; }
.trust__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.trust__label { font-size: 12.5px; color: var(--ink-soft); }
.trust__chip { transition: transform .2s ease, background .2s ease; }
.trust__chip:hover { transform: translateY(-2px); background: var(--line); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--features { padding: 20px 0 40px; }
.section--faq { padding: 20px 0 96px; }
.section--cta { padding: 0 0 96px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__title { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; color: var(--navy); margin-top: 14px; text-wrap: balance; }
.section__sub { font-size: 16.5px; color: var(--ink-soft); margin-top: 10px; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--stretch { align-items: stretch; }

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card--step .chip { margin-bottom: 0; }
.card__title { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--navy); margin: 16px 0 8px; }
.card__title--lg { font-size: 23px; }
.card__body { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.card .card__body { font-size: 15.5px; }
.card--step .card__body { font-size: 15px; }

/* ---------- feature blocks ---------- */
.features { display: flex; flex-direction: column; gap: 88px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature--reverse .feature__text { order: 2; }
.feature--reverse .feature__visual { order: 1; }
.feature__title { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; color: var(--navy); margin: 14px 0; text-wrap: balance; }
.feature__title--lg { font-size: 38px; margin-bottom: 14px; }
.feature__title em { font-style: italic; }
.feature__body { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); }
.feature__body + .feature__body { margin-top: 12px; }
.feature__visual--center { display: grid; place-items: center; }

.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-card); padding: 56px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 24px 52px -20px rgba(14,27,61,0.2); }
.feature-card .feature__title { margin-top: 16px; }

/* ---------- mock: direct answer + KB ---------- */
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mock:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -18px rgba(14,27,61,0.2); }
.mock__answer { border-left: 3px solid var(--blue); background: var(--blue-soft); border-radius: 0 10px 10px 0; padding: 14px 16px; }
.mock__answer-label { font-size: 10.5px; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 6px; }
.mock__answer-text { font-size: 13.5px; line-height: 1.55; color: var(--navy); }
.mock__rows { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.mock__row { display: flex; align-items: center; gap: 8px; }
.mock__row .chip--amber { color: var(--amber-ink); background: var(--amber-fill); }
.skeleton { height: 8px; border-radius: 4px; background: var(--line); flex: 1; }

.mock__url {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
  background: var(--paper); font-family: var(--mono); font-size: 13px; color: var(--navy);
}
.mock__url-action { margin-left: auto; font-size: 11px; color: var(--blue); }
.mock__kb { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock__kb-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; }
.mock__kb-card--active { border-color: var(--blue); background: var(--blue-soft); }
.mock__kb-label { font-size: 10px; color: var(--ink-soft); }
.mock__kb-label--blue { color: var(--blue); }
.mock__kb-val { font-size: 12.5px; font-weight: 600; color: var(--navy); margin-top: 4px; }

/* ---------- Search Console table ---------- */
.gsc { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.gsc__head, .gsc__row { display: grid; grid-template-columns: 2.2fr 1fr 1fr; align-items: center; }
.gsc__head { font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-soft); background: var(--paper); padding: 10px 16px; border-bottom: 1px solid var(--line); }
.gsc__row { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.gsc__row:last-child { border-bottom: none; }
.gsc__row--amber { background: var(--amber-fill); }
.gsc__kw { color: var(--navy); font-weight: 500; }
.gsc__num { text-align: right; }
.gsc__pos { color: var(--blue); font-weight: 500; }
.gsc__pos--amber { color: var(--amber-ink); }
.gsc__clicks { color: var(--ink-soft); }
.gsc__near { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gsc__near-label { font-size: 11px; color: var(--amber-ink); }

/* ---------- refresh loop diagram ---------- */
.loop { position: relative; width: 340px; height: 340px; max-width: 100%; }
.loop__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spinSlow 24s linear infinite; transform-origin: center; }
.loop__label {
  position: absolute; font-family: var(--mono); font-size: 12px; white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); color: var(--navy);
  box-shadow: 0 8px 20px -12px rgba(14,27,61,0.2);
}
.loop__label--n { top: 14px; left: 50%; transform: translateX(-50%); }
.loop__label--e { top: 50%; right: 0; transform: translateY(-50%); }
.loop__label--s { bottom: 14px; left: 50%; transform: translateX(-50%); }
.loop__label--w { top: 50%; left: 0; transform: translateY(-50%); }
.loop__label--amber { color: var(--amber-ink); background: var(--amber-fill); border-color: var(--amber); box-shadow: none; }
.loop__center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.loop__versions { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--navy); }
.loop__ranks { font-size: 11px; color: var(--blue); margin-top: 4px; }

/* ---------- pricing ---------- */
.billing { display: flex; justify-content: center; margin-bottom: 36px; }
.billing__toggle { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.billing__btn {
  border: none; cursor: pointer; font-family: var(--body); font-size: 13.5px; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; background: transparent; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px; transition: background .2s ease, color .2s ease;
}
.billing__btn.is-active { background: var(--blue-soft); color: var(--blue-deep); }
.billing__save { font-size: 10.5px; color: var(--amber-ink); background: var(--amber-fill); padding: 2px 7px; border-radius: 999px; }

.plan {
  position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 32px 28px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: 0 26px 52px -20px rgba(14,27,61,0.28); }
.plan--popular { border-color: var(--blue); box-shadow: 0 24px 48px -20px rgba(45,91,255,0.35); margin-top: -10px; }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: #fff; background: var(--btn-grad);
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy); }
.plan__note { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 4px; }
.plan__amount { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.02em; color: var(--navy); }
.plan__per { font-size: 12px; color: var(--ink-soft); }
.plan__bill { font-size: 11px; color: var(--ink-soft); min-height: 16px; }
.plan__rule { border: none; height: 1px; background: var(--line); margin: 20px 0; }
.plan__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--navy); }
.plan__feats li { display: flex; gap: 9px; align-items: center; }
.plan__check { color: var(--blue); font-weight: 600; }
.plan__cta { margin-top: 26px; }
.plan--popular ~ .plan .plan__cta,
.plan .plan__cta { margin-top: auto; }
.plan__feats { margin-bottom: 26px; }

.enterprise {
  margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.enterprise__name { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--navy); }
.enterprise__desc { font-size: 14px; color: var(--ink-soft); margin-left: 12px; }
.enterprise__cta { padding: 10px 18px; font-size: 14.5px; color: var(--blue); background: var(--paper); }
.enterprise__cta:hover { background: var(--blue-soft); color: var(--blue-deep); transform: none; }
.pricing__trust { text-align: center; margin-top: 24px; font-size: 12px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s ease; }
.faq__item.is-open { border-color: var(--blue); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: none; border: none; cursor: pointer; padding: 18px 22px;
  font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--navy);
  transition: background .2s ease;
}
.faq__q:hover { background: var(--paper); }
.faq__icon { color: var(--blue); font-size: 18px; flex-shrink: 0; transition: transform .25s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.faq__item.is-open .faq__a { display: block; }

/* ---------- final CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--btn-grad); border-radius: 24px; padding: 72px 40px; text-align: center;
  box-shadow: 0 24px 60px -24px rgba(30,67,216,0.55);
}
.cta__grid { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.14) 1px, transparent 0); background-size: 26px 26px; pointer-events: none; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta__tile { width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); display: grid; place-items: center; font-size: 24px; }
.cta__title { font-family: var(--display); font-weight: 800; font-size: 42px; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.cta__micro { font-size: 12px; color: rgba(255,255,255,0.75); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--card); padding: 48px 0; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 280px; }
.footer__tag { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin-top: 12px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__heading { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-soft); }
.footer__col a { font-size: 14px; color: var(--navy); }
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-soft);
}
.footer__bottom .mono { font-size: 11.5px; }

/* ---------- reveal (JS-driven) ---------- */
.reveal-init { opacity: 0; transform: translateY(26px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.3,0,.2,1), transform .7s cubic-bezier(.3,0,.2,1); }

/* ---------- keyframes ---------- */
@keyframes caretBlink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes pulseAmber { 0%,100%{box-shadow:0 0 0 0 rgba(255,176,32,0.35)} 50%{box-shadow:0 0 0 9px rgba(255,176,32,0)} }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes glowDrift { 0%,100%{transform:translateX(-50%)} 50%{transform:translateX(-48%) translateY(12px)} }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { padding: 128px 24px 72px; }
  .hero__title { font-size: 40px; }
  .hero__sub { font-size: 17px; }
  .section { padding: 72px 0; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .feature, .feature-card { grid-template-columns: 1fr; gap: 32px; }
  .feature-card { padding: 36px 28px; }
  .feature--reverse .feature__text { order: 0; }
  .feature--reverse .feature__visual { order: 0; }
  .features { gap: 64px; }
  .plan--popular { margin-top: 0; }
  .feature__title, .feature__title--lg { font-size: 30px; }
}

@media (max-width: 560px) {
  .nav__inner { padding: 12px 20px; gap: 12px; }
  .btn--ghost-nav { display: none; } /* mobile: logo + primary CTA only */
  .btn { white-space: nowrap; }
  .brand__word { font-size: 19px; }
  .hero__title { font-size: 38px; }
  .section__title { font-size: 30px; }
  .cta { padding: 56px 24px; }
  .cta__title { font-size: 32px; }
  .pipeline { padding: 20px; }
  .pipeline__steps { gap: 8px; }
  .step { padding: 12px 8px; }
  .step__hint { display: none; }
  .pipeline__article-meta { display: none; }
  .loop { width: 300px; height: 300px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   Reduced motion — content visible, no ambient/loop motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__glow,
  .pipeline__snake,
  .loop__ring,
  .chip--amber-pulse,
  .step.is-active,
  .pipeline__caret { animation: none !important; }
  .pipeline__snake, .pipeline__progress { transition: none !important; }
  .reveal-init { opacity: 1 !important; transform: none !important; }
  .btn:hover { transform: none; }
}
