/* ============================================================
   Roster — landing page
   Dark, operational. Purple accent matches the product UI.
   ============================================================ */

:root {
  /* surfaces */
  --bg: #0a090e;
  --surface: #12111a;
  --surface-2: #171622;
  --border: #262433;
  --border-lit: #3a3550;

  /* text */
  --text: #ececf1;
  --text-muted: #9a97ab;
  --text-faint: #6b687d;

  /* accent — product primary */
  --purple: #af74fb;
  --purple-mid: #8b4dea;
  --purple-deep: #6d28d9;
  --purple-glow: rgba(175, 116, 251, 0.16);

  --amber: #f5b544;
  --green: #6ddc9a;

  /* type */
  --font-display: "Cabinet Grotesk", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --text-hero: clamp(2.6rem, 6.4vw, 5rem);
  --text-2xl: clamp(2rem, 4.2vw, 3.1rem);
  --text-xl: clamp(1.45rem, 2.4vw, 2rem);
  --text-lg: 1.18rem;
  --text-base: 1rem;
  --text-sm: 0.9rem;
  --text-xs: 0.78rem;

  /* space */
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --radius: 14px;
  --radius-lg: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums lining-nums;
}

.tnum {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- eyebrow / section heads ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

.section-head {
  max-width: 34rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: var(--text-2xl);
  margin-bottom: 0.9rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.55;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: #16081f;
}

.btn-primary:hover {
  background: #c294fd;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border-lit);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-lg {
  font-size: var(--text-base);
  padding: 0.95rem 1.7rem;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(10, 9, 14, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.brand svg {
  flex: none;
  color: var(--purple);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Quiet text link - existing customers know where they're going, so this
   shouldn't compete with the primary CTA. */
.nav-signin {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-signin:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
}

/* Both nav actions have to share a narrow phone header without wrapping. */
@media (max-width: 520px) {
  .nav-inner {
    gap: 0.75rem;
  }
  .nav-signin {
    padding: 0.5rem 0.4rem;
  }
  .nav-cta .btn-primary {
    padding: 0.55rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 800px;
  background: radial-gradient(
    ellipse at center,
    var(--purple-glow) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 50rem;
  margin-inline: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.6rem;
  border: 1px solid var(--border-lit);
  border-radius: 999px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  background: var(--surface);
}

.pill b {
  color: var(--purple);
  font-weight: 700;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(109, 220, 154, 0.16);
}

.hero h1 {
  font-size: var(--text-hero);
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--purple);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 2.2rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

/* hero shot */

.shot-frame {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(175, 116, 251, 0.07);
}

.shot-frame img {
  width: 100%;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.shot-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-lit);
}

.shot-bar .label {
  width: auto;
  height: auto;
  background: none;
  margin-left: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

/* ---------- proof strip ---------- */

.proof {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.proof-cell {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.75rem);
}

.proof-cell .n {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-cell .l {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

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

/* ---------- generic section ---------- */

section {
  padding-block: var(--section-y);
}

/* ---------- problem cards ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.75rem;
}

.card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.card .ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(175, 116, 251, 0.1);
  color: var(--purple);
  margin-bottom: 1.1rem;
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding-bottom: 1.9rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--border-lit), transparent);
}

.step-n {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--border-lit);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--purple);
  z-index: 1;
}

.step h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.phone {
  justify-self: center;
  max-width: 320px;
  width: 100%;
  border: 8px solid #1b1a26;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.95),
    0 0 60px -20px var(--purple-glow);
}

.phone img {
  width: 100%;
}

/* ---------- features ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.feat {
  background: var(--surface);
  padding: 1.6rem;
}

.feat h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feat h3 svg {
  color: var(--purple);
  flex: none;
}

.feat p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ---------- wide screenshot band ---------- */

.band {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.band-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.band h2 {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

.band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tick {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.tick li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  align-items: start;
}

.tick svg {
  color: var(--purple);
  margin-top: 3px;
  flex: none;
}

/* ---------- cost ---------- */

.cost-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.cost-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--surface);
}

.cost-card.hi {
  border-color: var(--purple-mid);
  background: linear-gradient(
    180deg,
    rgba(175, 116, 251, 0.07),
    var(--surface)
  );
}

.cost-card .who {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
}

.cost-card.hi .who {
  color: var(--purple);
}

.cost-card .amt {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.cost-card .unit {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.cost-card .calc {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  line-height: 1.7;
}

.footnote {
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.7;
  max-width: 52rem;
}

.footnote a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footnote a:hover {
  color: var(--purple);
}

/* ---------- pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

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

.tier {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tier.featured {
  border-color: var(--purple-mid);
  background: linear-gradient(
    180deg,
    rgba(175, 116, 251, 0.08),
    var(--surface) 55%
  );
  box-shadow: 0 0 50px -22px var(--purple-glow);
}

.tier-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.5rem;
  min-height: 1.2em;
}

.tier h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: 0.3rem;
}

.tier .for {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.6em;
}

.tier .amt {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.tier .amt small {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
}

.tier .billed {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-top: 0.5rem;
  margin-bottom: 1.6rem;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.9rem;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}

.tier li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  align-items: start;
}

.tier li svg {
  color: var(--purple);
  margin-top: 3px;
  flex: none;
}

.tier .btn {
  width: 100%;
  justify-content: center;
}

.price-under {
  margin-top: 1.75rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.price-under span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.price-under svg {
  color: var(--purple);
  flex: none;
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.faq-item {
  background: var(--surface);
  padding: 1.6rem;
}

.faq-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ---------- final cta ---------- */

.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 70% at 50% 100%,
    var(--purple-glow),
    transparent 70%
  );
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
}

.cta h2 {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-muted);
  font-size: var(--text-lg);
  margin-bottom: 2rem;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding-block: 2.75rem;
  font-size: var(--text-sm);
  color: var(--text-faint);
}

.foot-inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.foot-links {
  margin-left: auto;
  display: flex;
  /* Five links in one rigid row overflowed the viewport on phones. */
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
}

.foot-links a:hover {
  color: var(--purple);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* focus */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- pricing comparison ---------- */

.compare {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.compare-head {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.4rem;
}

.compare-rows {
  display: grid;
  gap: 0.85rem;
}

.compare-row {
  display: grid;
  grid-template-columns: 12.5rem 1fr 5rem;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-sm);
}

.compare-row .cname {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-row.me .cname {
  color: var(--text);
  font-weight: 700;
}

.compare-row .cbar {
  height: 10px;
  border-radius: 999px;
  background: var(--border-lit);
  width: var(--w, 10%);
  min-width: 10px;
}

.compare-row.me .cbar {
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
  box-shadow: 0 0 18px -4px var(--purple-glow);
}

.compare-row .cbar.quote {
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--border-lit) 0 5px,
    transparent 5px 11px
  );
  opacity: 0.55;
}

.compare-row .cval {
  text-align: right;
  color: var(--text);
  font-weight: 700;
}

.compare-row.me .cval {
  color: var(--purple);
}

.compare-row .cval a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-lit);
  text-underline-offset: 3px;
}

.compare-row .cval a:hover {
  text-decoration-color: var(--purple);
}

.compare-row .quote-val {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-faint);
  text-align: right;
}

.compare-note {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.7;
}

.compare-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.compare-note a:hover {
  color: var(--purple);
}

@media (max-width: 700px) {
  .compare-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name val" "bar bar";
    gap: 0.4rem 0.75rem;
  }
  .compare-row .cname {
    grid-area: name;
    white-space: normal;
  }
  .compare-row .cval,
  .compare-row .quote-val {
    grid-area: val;
  }
  .compare-row .cbar {
    grid-area: bar;
    height: 8px;
  }
}

/* ---------- fixes ---------- */

/* stat strip: align outer cells to the page gutter */
.proof-cell:first-child {
  padding-left: 0;
}
.proof-cell:last-child {
  padding-right: 0;
}
@media (max-width: 760px) {
  .proof-cell:nth-child(2n) {
    padding-right: 0;
  }
  .proof-cell:nth-child(2n + 1) {
    padding-left: 0;
  }
}

/* hero shot bleeds off the bottom rather than being hard-cut */
.hero .shot-frame {
  max-height: min(62vh, 620px);
}
.hero .shot-frame::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* steps column tops align with the phone */
.steps {
  align-items: start;
}
.steps-col {
  padding-top: 0.25rem;
}
.phone {
  align-self: start;
}

/* stat strip: let the band gradient show through uniformly */
.proof-grid {
  background: transparent;
  gap: 0;
}
.proof-cell {
  background: transparent;
}
.proof-cell + .proof-cell {
  border-left: 1px solid var(--border);
}
@media (max-width: 760px) {
  .proof-cell:nth-child(2n + 1) {
    border-left: 0;
  }
  .proof-cell:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}

/* breathing room before the checklist in the pool band */
.band .tick {
  margin-top: 1.6rem;
}

/* comparison bars: keep the hatched quote bar inside the card on small screens */
.cbar {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
@media (max-width: 700px) {
  .compare-row {
    overflow: hidden;
  }
  .cbar.quote {
    width: 100%;
  }
}

/* ---------- photographic backdrops ---------- */

.has-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.has-photo > .wrap,
.has-photo > .hero-inner {
  position: relative;
  z-index: 2;
}

.bgphoto {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.bgphoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* scrim sits above the photo, below the copy */
.bgphoto::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* hero: photo reads clearly, scrim concentrated behind the copy */
.bg-hero img {
  opacity: 1;
  object-position: 24% 64%;
}
.bg-hero::after {
  background:
    radial-gradient(
      ellipse 60% 48% at 50% 30%,
      rgba(10, 9, 14, 0.78) 0%,
      rgba(10, 9, 14, 0.46) 62%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 9, 14, 0.62) 0%,
      rgba(10, 9, 14, 0.22) 38%,
      rgba(10, 9, 14, 0.62) 72%,
      var(--bg) 99%
    );
}

/* features band: barely-there texture only */
.bg-quiet img {
  opacity: 0.5;
  object-position: center 55%;
}
.bg-quiet::after {
  background:
    linear-gradient(
      to bottom,
      var(--surface) 0%,
      rgba(18, 17, 26, 0.86) 14%,
      rgba(18, 17, 26, 0.9) 86%,
      var(--surface) 100%
    );
}

/* cta: crew photo, mid strength */
.cta.has-photo {
  padding-block: clamp(5rem, 11vw, 9rem);
}
.bg-cta img {
  opacity: 1;
  object-position: center 45%;
}
.bg-cta::after {
  background:
    radial-gradient(
      ellipse 52% 60% at 50% 52%,
      rgba(10, 9, 14, 0.8) 0%,
      rgba(10, 9, 14, 0.5) 70%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(10, 9, 14, 0.45) 20%,
      rgba(10, 9, 14, 0.5) 80%,
      var(--bg) 100%
    );
}

/* keep the purple glow readable on top of photography */
.hero.has-photo::before,
.cta.has-photo::before {
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.7;
}

/* fine print and pill need more weight sitting on photography */
.has-photo .hero-note {
  color: #c3c0d0;
  text-shadow: 0 1px 10px rgba(10, 9, 14, 0.9);
}
.has-photo .hero-sub {
  text-shadow: 0 1px 14px rgba(10, 9, 14, 0.75);
}
.has-photo h1,
.has-photo .cta h2,
.cta.has-photo h2 {
  text-shadow: 0 2px 24px rgba(10, 9, 14, 0.6);
}
.has-photo .pill {
  background: rgba(10, 9, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- full-bleed photo interstitial ---------- */

.strip {
  padding-block: clamp(5rem, 12vw, 9.5rem);
  border-block: 1px solid var(--border);
  text-align: center;
}
.strip-inner {
  max-width: 44rem;
  margin-inline: auto;
}
.strip-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 22px rgba(10, 9, 14, 0.75);
  margin: 0 0 0.85rem;
}
.strip-sub {
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.6;
  color: #cfccdc;
  text-shadow: 0 1px 14px rgba(10, 9, 14, 0.85);
  margin: 0;
  max-width: 36rem;
  margin-inline: auto;
}
.bg-strip img {
  opacity: 1;
  object-position: center 58%;
  filter: brightness(1.12) saturate(0.95);
}
.bg-strip::after {
  background:
    radial-gradient(
      ellipse 52% 58% at 50% 52%,
      rgba(10, 9, 14, 0.66) 0%,
      rgba(10, 9, 14, 0.3) 78%,
      rgba(10, 9, 14, 0.18) 100%
    ),
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(10, 9, 14, 0.24) 20%,
      rgba(10, 9, 14, 0.26) 80%,
      var(--bg) 100%
    );
}

/* crew photo is underexposed — lift it so it actually reads */
.bg-cta img {
  filter: brightness(1.75) contrast(1.03) saturate(1.06);
}
.bg-cta::after {
  background:
    radial-gradient(
      ellipse 44% 46% at 50% 50%,
      rgba(10, 9, 14, 0.84) 0%,
      rgba(10, 9, 14, 0.36) 78%,
      rgba(10, 9, 14, 0.2) 100%
    ),
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(10, 9, 14, 0.26) 22%,
      rgba(10, 9, 14, 0.28) 78%,
      var(--bg) 100%
    );
}

/* narrow screens: copy spans the full width, so photos need a flatter, heavier scrim */
@media (max-width: 820px) {
  .bg-cta::after,
  .bg-strip::after {
    background:
      linear-gradient(
        to bottom,
        var(--bg) 0%,
        rgba(10, 9, 14, 0.7) 18%,
        rgba(10, 9, 14, 0.74) 82%,
        var(--bg) 100%
      );
  }
  .bg-hero::after {
    background:
      linear-gradient(
        to bottom,
        rgba(10, 9, 14, 0.72) 0%,
        rgba(10, 9, 14, 0.55) 40%,
        rgba(10, 9, 14, 0.72) 78%,
        var(--bg) 100%
      );
  }
}

/* ============================================================
   Legal pages — privacy, terms, messaging
   ============================================================ */
.legal-head {
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2.5rem;
  background: linear-gradient(180deg, rgba(175, 116, 251, 0.07), transparent);
}
.legal-head h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.1;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.legal-head .legal-meta {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.legal-head .legal-lede {
  color: var(--text-muted);
  font-size: var(--text-lg);
  max-width: 62ch;
  margin: 1.1rem 0 0;
}
.legal-body {
  padding: 3.5rem 0 var(--section-y);
}
.legal-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h, 68px) + 1.5rem);
  border-left: 1px solid var(--border);
  padding-left: 1.1rem;
}
.legal-toc p {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 0.7rem;
}
.legal-toc a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  padding: 0.28rem 0;
  line-height: 1.35;
}
.legal-toc a:hover {
  color: var(--purple);
}
.legal-prose {
  max-width: min(72ch, 100%);
  min-width: 0;
  overflow-wrap: anywhere;
}
.legal-toc {
  min-width: 0;
}
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 3rem 0 0.9rem;
  scroll-margin-top: calc(var(--nav-h, 68px) + 1.5rem);
}
.legal-prose h2:first-child {
  margin-top: 0;
}
.legal-prose h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 1.8rem 0 0.5rem;
}
.legal-prose p,
.legal-prose li {
  color: var(--text-muted);
  line-height: 1.72;
}
.legal-prose p {
  margin: 0 0 1.05rem;
}
.legal-prose .legal-kw + .legal-kw {
  margin-left: 0.3rem;
}
.legal-prose strong {
  color: var(--text);
  font-weight: 700;
}
.legal-prose a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-prose ul {
  padding-left: 1.15rem;
  margin: 0.8rem 0 1.1rem;
}
.legal-prose li {
  margin: 0.42rem 0;
}
.legal-prose li::marker {
  color: var(--purple-mid);
}
.legal-note {
  border: 1px solid var(--border-lit);
  border-left: 3px solid var(--purple);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  margin: 1.6rem 0;
}
.legal-note p {
  margin: 0;
}
.legal-note p + p {
  margin-top: 0.7rem;
}
.legal-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 1.6rem;
  font-size: var(--text-sm);
  display: block;
  overflow-x: auto;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table th {
  color: var(--text);
  font-weight: 700;
  border-bottom-color: var(--border-lit);
  white-space: nowrap;
}
.legal-table td {
  color: var(--text-muted);
}
.legal-kw {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1em 0.42em;
  color: var(--text);
}
@media (max-width: 860px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 1.2rem 0 0;
    order: 2;
  }
  .legal-prose {
    order: 1;
  }
}
