/* ============================================================
   APOLLO DIGITAL — space-themed, professional
   ============================================================ */

:root {
  --bg: #030616;            /* deep space, tinted toward brand navy */
  --navy: #040a30;          /* brand navy (logo tile) */
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(148, 163, 200, 0.14);
  --border-strong: rgba(148, 163, 200, 0.28);
  --text: #e8ecf5;
  --text-muted: #94a0b8;
  --text-faint: #5c6880;
  --accent: #b0e000;        /* brand lime */
  --accent-soft: rgba(176, 224, 0, 0.10);
  --violet: #7b2ce9;        /* brand violet */
  --violet-deep: #6200ea;
  --violet-soft: rgba(123, 44, 233, 0.12);
  --radius: 14px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.mono { font-family: var(--font-mono); }

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

.grad {
  background: linear-gradient(100deg, #c9f22e 5%, #eef2f7 48%, #a06bff 82%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- backdrop: starfield + nebulae ---------- */
#starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: block;
}

.nebula {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
}
.nebula--1 {
  width: 62vw; height: 62vw;
  top: -28vw; right: -18vw;
  background: radial-gradient(circle, rgba(98, 0, 234, 0.22), transparent 65%);
}
.nebula--2 {
  width: 50vw; height: 50vw;
  bottom: -25vw; left: -15vw;
  background: radial-gradient(circle, rgba(176, 224, 0, 0.06), transparent 65%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, #c9f22e, var(--accent) 55%, #8fb800);
  color: var(--navy);
  box-shadow: 0 0 0 1px rgba(176, 224, 0, 0.35), 0 8px 28px -8px rgba(176, 224, 0, 0.45);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(176, 224, 0, 0.5), 0 14px 36px -8px rgba(176, 224, 0, 0.55);
}
.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface);
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.is-scrolled {
  background: rgba(3, 6, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.nav__logo em { font-style: normal; color: var(--accent); }
.nav__mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: block;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; }
.nav__mobile { display: none; }

/* ---------- hero ---------- */
.hero {
  padding: 168px 0 96px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(176, 224, 0, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.16rem;
  color: var(--text-muted);
  max-width: 34em;
  margin-bottom: 36px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__note {
  font-size: 0.9rem;
  color: var(--text-faint);
}

/* hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 28 / 25;
  overflow: hidden;
  /* fade must reach full transparency before the box edge (67% × 74% ≈ 50% of width) */
  -webkit-mask-image: radial-gradient(ellipse 74% 68% at 50% 50%, #000 42%, transparent 67%);
  mask-image: radial-gradient(ellipse 74% 68% at 50% 50%, #000 42%, transparent 67%);
}
.hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 52%;
  animation: drift-zoom 38s ease-in-out infinite alternate;
}
@keyframes drift-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.14) translate(-2.5%, -1.5%); }
}
.hero__grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(205deg, rgba(123, 44, 233, 0.30), transparent 55%),
    radial-gradient(ellipse 60% 50% at 68% 78%, rgba(176, 224, 0, 0.10), transparent 65%);
  mix-blend-mode: screen;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__overlay text { font-family: var(--font-mono); }
.hero__pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hero__pulse--late { animation-delay: 1.4s; }
@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.9; }
  75%, 100% { transform: scale(2.4); opacity: 0; }
}

/* client logos */
.logos {
  margin-top: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.logos__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.logos__row {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.logos__row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 200, 0.55);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.logos__row span:hover { color: var(--text-muted); }
.logos__row img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.logos__row span:hover img { filter: none; opacity: 1; }

/* stats strip */
.stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.stats__item {
  padding: 30px 26px;
  text-align: center;
}
.stats__item + .stats__item { border-left: 1px solid var(--border); }
.stats__num {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 6px;
}
.stats__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- sections ---------- */
.section { padding: 108px 0; position: relative; }
.section--alt {
  background: linear-gradient(180deg, rgba(4, 10, 48, 0.0), rgba(4, 10, 48, 0.55) 18%, rgba(4, 10, 48, 0.55) 82%, rgba(4, 10, 48, 0.0));
}
.section__head { max-width: 640px; margin-bottom: 60px; }
.section__head h2 { margin-bottom: 18px; }
.section__sub { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- mission log ---------- */
.missions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
/* homepage case studies: full-width cards, GSC + MentionFlow proof side by side */
.missions__grid--wide { grid-template-columns: 1fr; gap: 26px; }
.missions__grid--wide .mission { padding: 34px 36px; }
.missions__grid--wide .mission h3 { font-size: 1.5rem; }
.mission__media {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin: 0 0 18px;
}
.mission__media .mission__shot { margin: 0; height: 100%; }
.mission__media .mission__shot img { height: 100%; object-fit: cover; object-position: left top; }

/* MentionFlow-style report panel (light, matches the product UI) */
.mfpanel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px 10px;
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.35;
}
.mfpanel__bar { display: flex; align-items: center; gap: 8px; }
.mfpanel__dots { display: flex; gap: 4px; }
.mfpanel__dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.mfpanel__dots i:nth-child(1) { background: #f87171; }
.mfpanel__dots i:nth-child(2) { background: #fbbf24; }
.mfpanel__dots i:nth-child(3) { background: #34d399; }
.mfpanel__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 99px;
  padding: 3px 10px;
}
.mfpanel__live { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 0.56rem; color: #059669; }
.mfpanel__live i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; display: block; }
.mfpanel__tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mfpanel__tile { border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 10px; }
.mfpanel__tile small { display: block; font-size: 0.58rem; color: #6b7280; letter-spacing: 0.02em; margin-bottom: 2px; }
.mfpanel__tile strong { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 600; color: #111827; }
.mfpanel__tile em { font-style: normal; font-family: var(--font-mono); font-size: 0.58rem; color: #059669; margin-left: 4px; }
.mfpanel__sov { display: flex; flex-direction: column; gap: 6px; }
.mfpanel__row { display: flex; align-items: center; gap: 8px; font-size: 0.68rem; color: #374151; }
.mfpanel__row .mf-name { width: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mfpanel__row .mf-you {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 4px;
  padding: 1px 4px;
  margin-left: 4px;
}
.mfpanel__track { flex: 1; height: 7px; border-radius: 99px; background: #f3f4f6; overflow: hidden; }
.mfpanel__track i { display: block; height: 100%; border-radius: 99px; }
.mfpanel__row .mf-val { font-family: var(--font-mono); font-size: 0.62rem; color: #111827; width: 42px; text-align: right; }
.mfpanel__foot {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid #f3f4f6;
  padding-top: 7px;
  margin-top: auto;
}
@media (max-width: 980px) {
  .mission__media { grid-template-columns: 1fr; }
  .mission__media .mission__shot img { height: auto; }
}
.mission {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 35%, var(--violet) 65%, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mission:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}
.mission:hover::before { opacity: 1; }
.mission__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.mission__id {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.mission__growth {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
}
.mission h3 { margin-bottom: 4px; }
.mission__nda {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  vertical-align: middle;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-muted);
  margin-left: 6px;
}
.mission__meta {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.mission__shot {
  margin: 0 0 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  line-height: 0;
}
.mission__shot img {
  display: block;
  width: 100%;
  height: auto;
}
.mission__shot--classified {
  background: repeating-linear-gradient(-45deg, rgba(148, 163, 200, 0.05), rgba(148, 163, 200, 0.05) 12px, transparent 12px, transparent 24px);
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  line-height: 1.5;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.mission__traj {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(4, 6, 15, 0.5);
  margin-bottom: 16px;
}
.mission__arrow {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--text-faint), var(--accent));
  position: relative;
}
.mission__arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  border: 3.5px solid transparent;
  border-left-color: var(--accent);
}
.mission__note {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.mission--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  border-style: dashed;
  background: transparent;
}

/* ---------- featured mission deep-dive ---------- */
.deepdive {
  margin-top: 56px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 100% at 85% 0%, rgba(98, 0, 234, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  padding: 48px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.deepdive__label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(176, 224, 0, 0.35);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.deepdive h3 { font-size: 1.6rem; margin-bottom: 14px; }
.deepdive__copy p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 14px; }
.deepdive__figures {
  display: flex;
  gap: 34px;
  margin-top: 24px;
}
.deepdive__figures div strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
}
.deepdive__figures div span { font-size: 0.8rem; color: var(--text-faint); }
.deepdive__chart { line-height: 0; }
.chart {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(3, 6, 22, 0.6);
  padding: 12px 10px 6px;
}
.chart svg { display: block; width: 100%; height: auto; }
.chart text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  fill: var(--text-faint);
}
.chart .chart__dlabel {
  font-size: 11px;
  fill: var(--text);
}
.chart__tip {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  background: #0b1030;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.12s ease;
  z-index: 2;
}
.chart__tip strong { color: var(--accent); font-weight: 500; }
.deepdive__chart figcaption {
  line-height: 1.5;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

/* ---------- flight plan ---------- */
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: phase;
}
.phase {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: var(--surface);
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.phase:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.phase__num {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(176, 224, 0, 0.35);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.phase h3 { margin-bottom: 12px; }
.phase p { font-size: 0.93rem; color: var(--text-muted); }

/* ---------- pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.plan:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.plan--featured {
  border-color: rgba(176, 224, 0, 0.5);
  background: linear-gradient(180deg, rgba(176, 224, 0, 0.06), rgba(123, 44, 233, 0.06) 55%, rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 70px -30px rgba(123, 44, 233, 0.45);
}
.plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  background: var(--accent);
  color: var(--navy);
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.plan--featured .plan__name { color: var(--accent); }
.plan__tagline { font-size: 0.92rem; color: var(--text-faint); margin-bottom: 22px; }
.plan__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 26px;
}
.plan__price span { font-size: 1rem; font-weight: 400; color: var(--text-faint); }
.plan__list { flex: 1; margin-bottom: 30px; }
.plan__list li {
  padding: 9px 0 9px 28px;
  font-size: 0.93rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(148, 163, 200, 0.08);
  position: relative;
}
.plan__list li::before {
  content: "✦";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 0.75rem;
}
.plan__btn { justify-content: center; }
.pricing__note {
  margin-top: 34px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- compare ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.compare__col {
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}
.compare__col--with {
  background: linear-gradient(180deg, rgba(176, 224, 0, 0.06), rgba(255,255,255,0.02));
  border-color: rgba(176, 224, 0, 0.32);
}
.compare__col--without { background: var(--surface); }
.compare__col h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 1.15rem;
}
.compare__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.compare__col--with .compare__icon { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(245,185,66,0.4); }
.compare__col--without .compare__icon { background: rgba(255,255,255,0.05); color: var(--text-faint); border: 1px solid var(--border); }
.compare__col ul li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(148, 163, 200, 0.08);
}
.compare__col--with ul li { color: var(--text); }
.compare__col ul li:last-child { border-bottom: none; }

/* ---------- crew ---------- */
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 40px;
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, rgba(98, 0, 234, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  margin-bottom: 26px;
}
.founder__photo {
  width: 220px;
  height: 220px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}
.founder__bio h3 { font-size: 1.5rem; margin-bottom: 6px; }
.founder__role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}
.founder__bio > p:not(.founder__role) {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 22px;
  max-width: 44em;
}
.founder__links { display: flex; gap: 12px; flex-wrap: wrap; }

.crew {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.crew__member {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 22px 12px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.crew__member:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.crew__member img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
  margin-bottom: 12px;
}
.crew__member figcaption { display: flex; flex-direction: column; gap: 2px; }
.crew__member strong { font-family: var(--font-display); font-size: 0.92rem; }
.crew__member span { font-size: 0.76rem; color: var(--text-faint); }
.crew__note {
  margin-top: 26px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---------- audit offer ---------- */
.audit {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  padding: 30px 36px;
  background: var(--surface);
}
.audit h3 { margin-bottom: 8px; }
.audit p { color: var(--text-muted); font-size: 0.95rem; max-width: 46em; }
.audit .btn { flex-shrink: 0; }

/* ---------- checklist ---------- */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 16px 20px;
  font-size: 0.97rem;
  transition: border-color 0.2s ease;
}
.checklist li:hover { border-color: rgba(176, 224, 0, 0.4); }
.checklist__box { color: var(--accent); font-size: 0.85rem; }
.checklist__note {
  margin-top: 28px;
  color: var(--text-faint);
  font-size: 0.93rem;
}

/* ---------- quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.quote:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.quote blockquote {
  font-size: 0.98rem;
  color: var(--text);
  flex: 1;
}
.quote figcaption { display: flex; align-items: center; gap: 13px; }
.quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
}
.quote:hover .quote__avatar { border-color: rgba(176, 224, 0, 0.5); }
.quote__person { display: flex; flex-direction: column; gap: 2px; }
.quote__person strong { font-family: var(--font-display); font-size: 0.95rem; }
.quote__person span { font-size: 0.82rem; color: var(--text-faint); }
.quote__person a { text-decoration: underline; text-decoration-color: rgba(148, 163, 200, 0.35); text-underline-offset: 2px; }
.quote__person a:hover { color: var(--accent); }
.quote__biz {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  vertical-align: -2px;
  margin-right: 5px;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.85;
}
.quote:hover .quote__biz { filter: none; opacity: 1; }

/* ---------- field notes ---------- */
.notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.note {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.note:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 224, 0, 0.4);
  background: var(--surface-hover);
}
.note__tag {
  align-self: flex-start;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 3px 8px;
}
.note h3 { font-size: 1.02rem; flex: 1; }
.note__link {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq__item[open] { border-color: rgba(176, 224, 0, 0.4); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq__item[open] .faq__chevron { transform: rotate(225deg); }
.faq__item p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ---------- cta ---------- */
.cta__card {
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 72px 48px;
  background:
    radial-gradient(ellipse 80% 90% at 50% -20%, rgba(123, 44, 233, 0.20), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  position: relative;
  overflow: hidden;
}
.cta__countdown {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 18px;
}
.cta__card h2 { margin-bottom: 18px; }
.cta__card > p {
  color: var(--text-muted);
  max-width: 34em;
  margin: 0 auto 34px;
}
.cta__note {
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.cta__mail { color: var(--accent); }
.cta__mail:hover { text-decoration: underline; }
.cal-embed {
  margin: 30px auto 0;
  min-height: 420px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(3, 6, 22, 0.5);
  overflow: hidden;
  text-align: left;
}
.cal-embed__loading {
  text-align: center;
  color: var(--text-faint);
  padding: 80px 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.cal-embed iframe { display: block; width: 100%; border: 0; }
.cal-embed:has(iframe) .cal-embed__loading { display: none; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(3, 6, 22, 0.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}
.footer__brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 30em;
}
.footer__coords { font-size: 0.75rem !important; color: var(--text-faint) !important; letter-spacing: 0.06em; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.footer__col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer__social { display: flex; gap: 22px; }
.footer__social a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.15s ease; }
.footer__social a:hover { color: var(--accent); }

/* ---------- Community band (r/SEOCapitalist) ---------- */
.community {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(65% 130% at 12% 50%, rgba(255, 69, 0, 0.07), transparent 70%),
    rgba(3, 6, 22, 0.55);
}
.community__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
  flex-wrap: wrap;
}
.community__left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.community__left > div { min-width: 0; }
.community__icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff4500, #ff6a33);
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.25);
}
.community__icon svg { width: 32px; height: 32px; display: block; }
.community__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 6px;
}
.community__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 6px;
}
.community__title b { color: #ff6a33; font-weight: inherit; }
.community__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 46em;
  margin: 0;
}
.community .btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .community__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .community__left { width: 100%; }
  .community__title { font-size: 1.3rem; }
  .community__sub { max-width: none; }
}

/* ---------- AI SEO ---------- */
.aiband {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(123, 44, 233, 0.45);
  border-radius: 16px;
  padding: 30px 36px;
  background:
    radial-gradient(ellipse 60% 130% at 8% 0%, rgba(98, 0, 234, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
}
.aiband__new {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  background: var(--violet);
  color: #fff;
  border-radius: 5px;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.aiband h3 { margin-bottom: 8px; }
.aiband p { color: var(--text-muted); font-size: 0.95rem; max-width: 46em; }
.aiband .btn { flex-shrink: 0; }

.chat {
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  line-height: 1.6;
}
.chat__q {
  align-self: flex-end;
  max-width: 90%;
  border: 1px solid rgba(123, 44, 233, 0.5);
  background: var(--violet-soft);
  border-radius: 14px 14px 4px 14px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text);
}
.chat__a {
  border: 1px solid var(--border);
  background: rgba(3, 6, 22, 0.6);
  border-radius: 14px 14px 14px 4px;
  padding: 16px 18px;
}
.chat__a p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 12px; }
.chat__a strong { color: var(--accent); }
.chat__cites { display: flex; gap: 8px; flex-wrap: wrap; }
.cite {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(176, 224, 0, 0.4);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 10px;
}
.cite--alt { border-color: var(--border-strong); background: var(--surface); color: var(--text-muted); }
.chat__meta {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-align: center;
}

.photoband {
  position: relative;
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px;
}
.photoband img {
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 380px);
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 50%, #000 40%, transparent 68%);
  mask-image: radial-gradient(ellipse 68% 62% at 50% 50%, #000 40%, transparent 68%);
}
.photoband figcaption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  background: rgba(3, 6, 22, 0.75);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}

.tracker {
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  padding: 22px;
  max-width: 480px;
  line-height: 1.5;
}
.tracker__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.tracker__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(148, 163, 200, 0.08);
}
.tracker__row:last-of-type { border-bottom: none; }
.tracker__domain { flex: 1; font-size: 0.88rem; color: var(--text); }
.tracker__dr {
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
}
.pill {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 3px 10px;
}
.pill--live { background: var(--accent-soft); border: 1px solid rgba(176, 224, 0, 0.45); color: var(--accent); }
.pill--out { background: var(--violet-soft); border: 1px solid rgba(123, 44, 233, 0.45); color: #b18cff; }
.tracker__meta {
  margin-top: 14px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-align: center;
}

.aihero { padding: 168px 0 90px; }
.aihero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

/* ---------- blog index ---------- */
.bloghead { padding: 160px 0 30px; }
.bloghead h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; margin-bottom: 18px; }
.bloghead p { color: var(--text-muted); font-size: 1.08rem; max-width: 40em; }

.featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 44px;
  background:
    radial-gradient(ellipse 70% 100% at 90% 0%, rgba(98, 0, 234, 0.13), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  transition: border-color 0.2s ease;
}
.featured:hover { border-color: rgba(176, 224, 0, 0.4); }
.featured__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(176, 224, 0, 0.35);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.featured p { color: var(--text-muted); margin-bottom: 22px; }
.featured__shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #fff;
  line-height: 0;
}
.featured__shot img { width: 100%; height: auto; display: block; }

.posts {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blognote {
  margin-top: 36px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---------- article ---------- */
.article-wrap { padding: 150px 0 90px; }
.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 30px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.article-head { max-width: 780px; margin-bottom: 36px; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; margin: 18px 0; }
.article-head .article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.article-meta img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.article__stats {
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.article__stats div {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px;
}
.article__stats strong {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.article__stats span { font-size: 0.82rem; color: var(--text-muted); }

.article {
  max-width: 760px;
  font-size: 1.04rem;
  color: var(--text-muted);
}
.article h2 {
  color: var(--text);
  font-size: 1.7rem;
  margin: 52px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.article h3 { color: var(--text); font-size: 1.25rem; margin: 36px 0 14px; }
.article h4 { color: var(--text); margin: 28px 0 12px; }
.article p { margin-bottom: 18px; }
.article a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(176, 224, 0, 0.35); text-underline-offset: 2px; }
.article a:hover { text-decoration-color: var(--accent); }
.article strong { color: var(--text); }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--accent); }
.article img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #fff;
  margin: 26px 0;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 0.92rem;
}
.article th, .article td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.article th { color: var(--text); background: var(--surface); font-family: var(--font-display); }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 26px 0;
  color: var(--text);
  font-style: italic;
}
.article__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid rgba(176, 224, 0, 0.35);
  border-radius: 16px;
  padding: 26px 30px;
  margin: 40px 0;
  background:
    radial-gradient(ellipse 70% 120% at 10% 0%, rgba(98, 0, 234, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
}
.article__cta h4 { margin: 0 0 6px; color: var(--text); }
.article__cta p { margin: 0; font-size: 0.92rem; }
.article__cta .btn { flex-shrink: 0; }

.author {
  max-width: 760px;
  display: flex;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 26px 30px;
  margin: 56px 0 0;
}
.author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); flex-shrink: 0; }
.author strong { font-family: var(--font-display); display: block; margin-bottom: 4px; }
.author p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.author a { color: var(--accent); }

.related { margin-top: 70px; }
.related h2 { margin-bottom: 28px; }

/* ---------- AI engines strip ---------- */
.engines { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.engines span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(3, 6, 22, 0.55);
  border-radius: 999px;
  padding: 6px 13px;
}
.engines img { width: 16px; height: 16px; border-radius: 4px; }
.engines svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; opacity: 0.85; }
.engines--label {
  align-items: center;
}
.engines--center { justify-content: center; margin-top: 24px; margin-bottom: 34px; }

/* ---------- pricing comparison matrix ---------- */
.plan__list--lean { margin-bottom: 26px; }
.matrix { max-width: 1000px; margin: 52px auto 0; }
.matrix__cap { text-align: center; color: var(--text-faint); font-size: 0.72rem; letter-spacing: 0.16em; margin: 0 0 18px; }
.matrix__scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: rgba(3, 6, 22, 0.4); }
.pmatrix { width: 100%; border-collapse: collapse; min-width: 720px; }
.pmatrix thead th { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); text-align: center; padding: 20px 16px 16px; border-bottom: 1px solid var(--border-strong); }
.pmatrix thead th span { display: block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 400; color: var(--text-faint); margin-top: 5px; }
.pmatrix__feat { text-align: left !important; }
.pmatrix__pop { color: var(--accent) !important; }
.pmatrix tbody th { text-align: left; font-weight: 500; color: var(--text-muted); font-size: 0.9rem; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.pmatrix tbody td { text-align: center; font-size: 0.88rem; color: var(--text); padding: 14px 16px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.pmatrix tbody tr:last-child th, .pmatrix tbody tr:last-child td { border-bottom: none; }
.pmatrix td.yes { color: var(--accent); font-weight: 700; }
.pmatrix td.no { color: var(--text-faint); }
.pmatrix thead th:nth-child(3), .pmatrix tbody td:nth-child(3) { background: rgba(176, 224, 0, 0.045); }
.feat { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rowlogos { display: inline-flex; align-items: center; gap: 6px; }
.rowlogos img, .rowlogos svg { width: 19px; height: 19px; object-fit: contain; display: block; flex-shrink: 0; }
.engines--label em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  margin-right: 4px;
}

/* ---------- share-of-voice chart ---------- */
.sovchart {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(3, 6, 22, 0.6);
  padding: 20px 22px 14px;
}
.sovchart svg { display: block; width: 100%; height: auto; }
.sovchart text { font-family: var(--font-mono); font-size: 11px; fill: var(--text-faint); }
.sovchart .sov-val { fill: var(--text); font-size: 11px; }
.sovchart .sov-engine { fill: var(--text-muted); font-size: 11.5px; letter-spacing: 0.08em; }

/* ---------- free tools ---------- */
.tool-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  padding: 26px;
  margin-bottom: 30px;
}
.tool-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.tool-form input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(3, 6, 22, 0.6);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s ease;
}
.tool-form input:focus { border-color: rgba(176, 224, 0, 0.5); }
.tool-form .tool-form__full { grid-column: 1 / -1; }
.tool-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }

/* ---------- contact form ---------- */
.contact-lede { color: var(--text-muted); max-width: 46ch; margin: 16px auto 0; font-size: 1.02rem; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  padding: 32px;
  margin: 40px 0 20px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-form__opt { text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background-color: rgba(3, 6, 22, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2394a0b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: rgba(176, 224, 0, 0.5); }
.contact-form__full { grid-column: 1 / -1; }
.contact-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}
.contact-check input { width: auto; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.contact-check a { color: var(--accent); }
.contact-form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact-form__note { color: var(--text-faint); font-size: 0.72rem; letter-spacing: 0.06em; }
.contact-form__note--err { color: #ff7d95; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box:empty { display: none; }
/* "What are you looking for?" — selectable pill group */
.contact-chipset { display: flex; flex-direction: column; gap: 10px; }
.contact-chipset__label {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint);
}
.contact-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-form .contact-chip {
  display: inline-flex; position: relative; margin: 0; gap: 0;
  text-transform: none; letter-spacing: normal; cursor: pointer;
}
.contact-form .contact-chip input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer;
}
.contact-form .contact-chip span {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(3, 6, 22, 0.6);
  font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
}
.contact-form .contact-chip:hover span { border-color: rgba(176, 224, 0, 0.35); color: var(--text); }
.contact-form .contact-chip input:checked + span {
  border-color: rgba(176, 224, 0, 0.6); background: rgba(176, 224, 0, 0.12); color: var(--text);
}
.contact-form .contact-chip input:focus-visible + span { border-color: rgba(176, 224, 0, 0.6); }
.contact-success { text-align: center; padding: 44px 0; }
.contact-success h2 { margin-bottom: 12px; }
.contact-success p { color: var(--text-muted); max-width: 48ch; margin: 0 auto 10px; }
.contact-alt { text-align: center; color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
.contact-link { color: var(--accent); }
.contact-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
}
.pill--bad { background: rgba(233, 68, 96, 0.12); border: 1px solid rgba(233, 68, 96, 0.5); color: #ff7d95; }
.pill--warn { background: rgba(245, 185, 66, 0.1); border: 1px solid rgba(245, 185, 66, 0.45); color: #f5b942; }
.tool-note { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-faint); }
.tool-result { margin-top: 8px; }
.tool-result .tracker { max-width: none; }
.tracker__row small { display: block; color: var(--text-faint); font-size: 0.76rem; margin-top: 2px; }
.prompt-list { display: flex; flex-direction: column; gap: 10px; }
.prompt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 13px 16px;
}
.prompt-item span { flex: 1; color: var(--text); font-size: 0.95rem; }
.prompt-item button {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 10px;
  cursor: pointer;
}
.prompt-item button:hover { color: var(--accent); border-color: rgba(176, 224, 0, 0.45); }
@media (max-width: 720px) {
  .tool-form { grid-template-columns: 1fr; }
}

/* ---------- job pages: hiring state switch ---------- */
body[data-hiring="closed"] .only-open { display: none !important; }
body[data-hiring="open"] .only-closed { display: none !important; }
.role-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.role-meta span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ---------- interactive checklist ---------- */
.cl-wrap { max-width: 780px; margin: 0 auto; }
.cl-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.cl-head .eyebrow { margin-bottom: 22px; }
.cl-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.cl-head p { color: var(--text-muted); font-size: 1.05rem; }
.cl-progress {
  position: sticky;
  top: 82px;
  z-index: 50;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(3, 6, 22, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 20px;
  margin-bottom: 36px;
}
.cl-progress__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.cl-progress__count { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text); }
.cl-progress__count strong { color: var(--accent); font-weight: 500; }
.cl-progress__actions { display: flex; gap: 10px; }
.cl-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 11px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.cl-btn:hover { color: var(--text); border-color: var(--border-strong); }
.cl-btn[aria-pressed="true"] { color: var(--accent); border-color: rgba(176, 224, 0, 0.45); }
.cl-bar { height: 8px; border-radius: 99px; background: rgba(148, 163, 200, 0.15); overflow: hidden; }
.cl-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #7ea200, var(--accent));
  transition: width 0.35s ease;
}
.cl-section { margin-bottom: 42px; }
.cl-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.cl-section__head h2 { font-size: 1.35rem; }
.cl-section__count { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); white-space: nowrap; }
.cl-section__sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }
.cl-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 15px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.cl-item:hover { border-color: var(--border-strong); }
.cl-item input { position: absolute; opacity: 0; pointer-events: none; }
.cl-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cl-item.is-done { border-color: rgba(176, 224, 0, 0.35); }
.cl-item.is-done .cl-box { background: var(--accent); border-color: var(--accent); color: #0c1020; }
.cl-item.is-done .cl-item__title { color: var(--text-faint); text-decoration: line-through; text-decoration-color: rgba(148, 163, 200, 0.5); }
.cl-item__title { display: block; color: var(--text); font-weight: 500; }
.cl-item__tip { display: block; font-size: 0.86rem; color: var(--text-muted); margin-top: 3px; }
.cl-hidedone .cl-item.is-done { display: none; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .deepdive { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .hero__visual { min-height: 0; order: -1; margin-top: 10px; }
  .hero__stage { max-width: 440px; margin: 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(3) { border-left: none; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .missions__grid, .phases, .pricing__grid, .quotes { grid-template-columns: 1fr 1fr; }
  .plan--featured { order: -1; grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .crew { grid-template-columns: repeat(3, 1fr); }
  .notes { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: 1fr; padding: 32px 28px; }
  .aihero__grid { grid-template-columns: 1fr; gap: 40px; }
  .aiband { flex-direction: column; align-items: flex-start; }
  .chat { max-width: 100%; }
  .posts { grid-template-columns: 1fr 1fr; }
  .article__stats { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { width: 160px; height: 160px; }
  .audit { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__inner > .btn { display: none; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }
  .nav__toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 24px;
    background: rgba(3, 6, 22, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav__mobile.is-open { display: flex; }
  .nav__mobile a {
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(148, 163, 200, 0.08);
  }
  .nav__mobile a.btn { margin-top: 16px; color: var(--navy); justify-content: center; border-bottom: none; }

  .hero { padding-top: 120px; }
  .section { padding: 76px 0; }
  .missions__grid, .phases, .pricing__grid, .quotes,
  .compare, .checklist, .stats { grid-template-columns: 1fr; }
  .crew { grid-template-columns: 1fr 1fr; }
  .notes { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .bloghead { padding-top: 130px; }
  .author { flex-direction: column; align-items: flex-start; }
  .logos { margin-top: 56px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .stats__item + .stats__item { border-left: none; border-top: 1px solid var(--border); }
  .cta__card { padding: 52px 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---- currency toggle (USD/EUR) ---- */
.currency-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
}
.currency-toggle__btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: 100px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.currency-toggle__btn:hover { color: var(--text); }
.currency-toggle__btn.is-active { background: var(--accent); color: var(--navy); font-weight: 700; }
