:root {
  --ink: #0f0f10;
  --ink-2: #1d1d22;
  --text: #25262d;
  --muted: #696b78;
  --soft: #8c8d9d;
  --line: rgba(15, 15, 16, 0.1);
  --paper: #ffffff;
  --bg: #f7f8fb;
  --wash: #f0f2f7;
  --indigo: #5e5ce6;
  --indigo-2: #4438ca;
  --indigo-deep: #24105f;
  --night: #100638;
  --gold: #c18825;
  --gold-2: #d7a83d;
  --green: #16a34a;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(15, 15, 16, 0.1);
  --soft-shadow: 0 18px 50px rgba(15, 15, 16, 0.07);
  --max: 1180px;
}

/* Designer stitch-up: final phone reading rail for long-form company pages.
   This deliberately sits last because the concept build has several older
   mobile layers above it. */
@media (max-width: 640px) {
  html,
  body,
  .site-shell,
  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .page-hero,
  .section,
  .section.compact,
  .dark-band > .section,
  .split-band > .section,
  .proof-strip {
    padding-left: 18px !important;
    padding-right: 18px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .section > .container,
  .section > .steps,
  .section.feature-grid,
  .section.split,
  .section.pricing-grid,
  .pricing-grid,
  .dark-band > .section,
  .dark-band > .section.split,
  .split-band > .section,
  .proof-strip .container,
  .proof-strip > *,
  .price-card,
  .card,
  .form-panel,
  .compare,
  .cta-band,
  .proof-visual,
  .large-proof {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-hero > h1,
  .page-hero h1 {
    font-size: clamp(24px, 6.35vw, 27px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
    max-width: 326px !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .page-hero > p,
  .page-hero p {
    font-size: 14px !important;
    line-height: 1.58 !important;
    max-width: 326px !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .section-title h2,
  .section-heading h2,
  .copy-block h2,
  .dark-band .section-title h2,
  .dark-band .section-heading h2,
  .price-card h2,
  .price-card h3 {
    font-size: clamp(24px, 6.8vw, 30px) !important;
    line-height: 1.1 !important;
    max-width: 326px !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .section-title p,
  .section-heading p,
  .copy-block p,
  .dark-band .section-title p,
  .dark-band .section-heading p,
  .price-card p,
  .price-card li,
  .card p,
  .clean-list li {
    font-size: 14px !important;
    line-height: 1.58 !important;
    max-width: 326px !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .section.pricing-grid,
  .pricing-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .price-card {
    padding: 22px 20px !important;
    overflow: hidden !important;
  }

  .large-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  .large-proof > div {
    max-width: none !important;
    padding: 28px 10px !important;
  }

  .large-proof strong {
    font-size: clamp(24px, 8vw, 32px) !important;
    line-height: 1 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container,
.section-title,
.split,
.steps,
.grid,
.card,
.copy-block,
.section-heading,
.feature-row,
.pricing-grid,
.form-panel,
.compare,
.cta-band {
  min-width: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button,
.btn,
select {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: transform 220ms ease;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  letter-spacing: -0.06em;
  box-shadow: inset 0 -3px 0 var(--gold);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.brand:hover .brand-mark {
  box-shadow: inset 0 -3px 0 var(--gold), 0 14px 28px rgba(15, 15, 16, 0.12);
}

.brand-word {
  display: grid;
  line-height: 0.94;
  font-size: 23px;
}

.brand-word span:last-child {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
  color: #333440;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--indigo-2);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 20px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  bottom: -6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 15, 16, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 22px 48px rgba(15, 15, 16, 0.24);
}

.btn-indigo {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 18px 36px rgba(94, 92, 230, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.mobile-menu {
  display: none;
}

.btn-light {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.eyebrow {
  color: var(--indigo-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  font-size: 12px;
}

.eyebrow.gold {
  color: var(--gold);
}

.section {
  padding: 112px 24px;
}

.section.compact {
  padding: 72px 24px;
}

.section > .steps,
.section.feature-grid,
.section.split,
.dark-band > .section.split {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

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

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 86px 24px 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(94, 92, 230, 0.13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8f8fc 64%, #f4f5fb 100%);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.section-title h2 {
  margin: 16px 0 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-copy,
.page-hero,
.section-title,
.copy-block,
.section-heading {
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  max-width: 630px;
}

.page-hero h1 {
  max-width: 920px;
}

.hero-copy p,
.page-hero p,
.section-title p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  max-width: 650px;
  margin: 24px 0 0;
}

.hero-copy p {
  max-width: 560px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 20px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  max-width: 520px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.phone-stage {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 9 / 18.6;
  border: 10px solid #111;
  border-radius: 46px;
  background: #111;
  box-shadow: 0 40px 110px rgba(20, 16, 48, 0.24);
  transform: rotate(-3deg);
  overflow: hidden;
  isolation: isolate;
}

.phone-stage::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 94px;
  height: 25px;
  border-radius: 99px;
  transform: translateX(-50%);
  background: #0a0a0b;
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-mock {
  height: 100%;
  background: #fff;
}

.split > .portal-mock {
  height: auto;
  min-height: 520px;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 15, 16, 0.09);
}

.portal-top {
  min-height: 47%;
  padding: 58px 28px 34px;
  text-align: center;
  background: radial-gradient(circle at 50% 0, rgba(193, 136, 37, 0.13), transparent 56%), #101010;
  color: #fff;
}

.portal-top strong {
  display: block;
  color: var(--gold-2);
  font-family: Georgia, serif;
  font-size: 30px;
  margin-top: 28px;
}

.portal-top small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 900;
}

.portal-top h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  margin: 42px 0 18px;
  font-weight: 500;
}

.portal-meta {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.portal-body {
  padding: 26px 24px;
  display: grid;
  gap: 0;
}

.portal-row {
  display: grid;
  grid-template-columns: 44px 1fr 16px;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(15, 15, 16, 0.1);
}

.portal-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-2));
}

.portal-row strong {
  font-size: 17px;
}

.portal-row span {
  color: var(--soft);
  font-size: 13px;
}

.float-card {
  position: absolute;
  border: 1px solid rgba(15, 15, 16, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--soft-shadow);
}

.float-card strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.float-card span {
  color: var(--soft);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.float-card.one {
  top: 70px;
  right: 10px;
}

.float-card.two {
  bottom: 120px;
  left: 0;
}

.float-card.three {
  right: -10px;
  bottom: 30px;
}

.image-slot {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 18%, rgba(94, 92, 230, 0.08), transparent 36%),
    linear-gradient(135deg, rgba(15, 15, 16, 0.03), transparent 40%),
    #fff;
  display: grid;
  place-items: center;
  padding: 34px;
  color: var(--soft);
  text-align: center;
  box-shadow: var(--soft-shadow);
  line-height: 1.55;
  position: relative;
  overflow: hidden;
}

.image-slot::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 92, 230, 0.28), transparent);
  opacity: 0.9;
}

.image-slot.dark {
  background:
    radial-gradient(circle at 70% 25%, rgba(94, 92, 230, 0.22), transparent 38%),
    linear-gradient(135deg, #100638 0%, #0f0f10 100%);
  color: rgba(255, 255, 255, 0.66);
  border-color: rgba(255, 255, 255, 0.12);
}

.image-slot strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.image-slot.dark strong {
  color: #fff;
}

.proof-strip {
  padding: 26px 24px;
  background: var(--ink);
  color: #fff;
}

.proof-strip .container {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 18px;
  align-items: center;
}

.proof-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.metric strong {
  display: block;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 9px;
  display: block;
}

.section-title {
  max-width: 860px;
  margin-bottom: 48px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.statement-heading {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 16px 0 0;
  color: var(--ink);
}

.statement-copy {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

.closing-heading {
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 16px 0 0;
}

.closing-copy {
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--soft-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(15, 15, 16, 0.09);
  border-color: rgba(15, 15, 16, 0.14);
}

.card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.card h2,
.price-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}

.card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 16px 0 0;
  font-size: 16px;
}

.card .eyebrow,
.price-card .eyebrow {
  margin: 0 0 16px;
}

.split-band {
  background:
    radial-gradient(circle at 86% 0, rgba(94, 92, 230, 0.055), transparent 34%),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dark-band {
  background:
    radial-gradient(circle at 88% 8%, rgba(94, 92, 230, 0.26), transparent 30%),
    linear-gradient(135deg, #0f0f10 0%, var(--night) 100%);
  color: #fff;
  overflow: hidden;
}

.dark-band .section-title h2,
.dark-band h2,
.dark-band h3 {
  color: #fff;
}

.dark-band .copy-block,
.dark-band .section-heading,
.dark-band .section-title {
  overflow: visible;
}

.dark-band p,
.dark-band .section-title p {
  color: rgba(255, 255, 255, 0.68);
}

.dark-band .card:not(.dark-card) {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.dark-band .card:not(.dark-card) p {
  color: rgba(255, 255, 255, 0.66);
}

.dark-band .card:not(.dark-card) h3 {
  color: #fff;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 28px 0 28px 76px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 28px;
  color: var(--indigo);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.feature-row:nth-child(even) {
  grid-template-columns: 1.15fr 0.85fr;
}

.feature-row:nth-child(even) .feature-copy {
  order: 2;
}

.feature-row.flip {
  grid-template-columns: 1.15fr 0.85fr;
}

.feature-row.flip .image-slot {
  order: 2;
}

.feature-row > div:not(.image-slot) {
  min-width: 0;
}

.feature-row > div:not(.image-slot) h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  color: var(--ink);
  text-wrap: balance;
}

.feature-row > div:not(.image-slot) p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
  max-width: 560px;
}

.feature-copy h3 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0;
  color: var(--ink);
}

.feature-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  max-width: 560px;
}

.compare {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.compare-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row > div {
  padding: 22px;
  border-right: 1px solid var(--line);
  line-height: 1.45;
}

.compare-row > div:last-child {
  border-right: none;
}

.compare-head {
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.compare-good {
  background: rgba(94, 92, 230, 0.07);
  color: var(--ink);
  font-weight: 800;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 34px;
  border-radius: 26px;
  border: 1px solid rgba(15, 15, 16, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), #fff);
  box-shadow: 0 18px 54px rgba(15, 15, 16, 0.07);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--indigo), var(--gold));
  opacity: 0;
}

.price-card.featured::before,
.price-card.highlight::before {
  opacity: 1;
}

.price-card.highlight {
  background: var(--ink);
  color: #fff;
}

.price-card.highlight p,
.price-card.highlight li {
  color: rgba(255, 255, 255, 0.68);
}

.price {
  margin: 26px 0;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: -0.07em;
  color: var(--ink);
  font-weight: 900;
  line-height: 0.95;
}

.highlight .price {
  color: #fff;
}

.price small {
  color: var(--soft);
  font-size: 17px;
  letter-spacing: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 22px 70px rgba(15, 15, 16, 0.08);
}

.price-card .button {
  margin-top: auto;
}

.form-panel .button {
  margin-top: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 6px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(15, 15, 16, 0.14);
  border-radius: 12px;
  background: #fff;
  padding: 0 15px;
  color: var(--ink);
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 132px;
  padding: 15px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(94, 92, 230, 0.55);
  box-shadow: 0 0 0 4px rgba(94, 92, 230, 0.1);
}

.legal-copy {
  max-width: 840px;
  font-size: 17px;
  line-height: 1.72;
  color: #444652;
}

.legal-copy h2 {
  margin-top: 44px;
  color: var(--ink);
  letter-spacing: -0.04em;
  font-size: 36px;
}

.legal-copy h3 {
  margin-top: 30px;
  color: var(--ink);
}

.legal-copy a {
  color: var(--indigo-2);
  font-weight: 800;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mini-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  background: #fff;
}

.page-hero {
  padding: 96px 24px 72px;
  background:
    radial-gradient(circle at 85% 12%, rgba(94, 92, 230, 0.12), transparent 32%),
    #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero > .eyebrow,
.page-hero > h1,
.page-hero > p,
.page-hero > .mini-nav {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.page-hero > h1 {
  max-width: 980px;
}

.page-hero > p {
  max-width: 760px;
}

.page-hero.dark {
  background:
    radial-gradient(circle at 80% 10%, rgba(94, 92, 230, 0.32), transparent 34%),
    linear-gradient(135deg, #0f0f10, #12063e);
  color: #fff;
}

.page-hero.dark h1 {
  color: #fff;
}

.page-hero.dark p {
  color: rgba(255, 255, 255, 0.68);
}

.footer {
  padding: 72px 24px 42px;
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer h4 {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.footer .brand-word,
.footer .brand-text {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.subfooter {
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

/* Scroll-reveal motion. Hidden state is gated behind html.js so the page is
   NEVER blank if app.js fails to load — no JS means content shows immediately.
   The inline <head> script adds .js before first paint, so no flicker. */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

html.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Respect reduced-motion: show everything, no animation. */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Subpage compatibility layer */
.nav:not(:has(.nav-inner)) {
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-text {
  display: grid;
  line-height: 0.94;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nav:not(:has(.nav-inner)) .nav-links {
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
  color: #333440;
}

.nav:not(:has(.nav-inner)) .nav-links a:not(.button) {
  transition: color 180ms ease;
}

.nav:not(:has(.nav-inner)) .nav-links a:not(.button):hover {
  color: var(--indigo-2);
}

.mobile-toggle {
  display: none;
  min-height: 44px;
  width: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 15, 16, 0.06);
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mobile-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 15, 16, 0.18);
  box-shadow: 0 16px 36px rgba(15, 15, 16, 0.1);
}

.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 20px;
  background: currentColor;
}

.mobile-toggle::before {
  top: 16px;
  box-shadow: 0 6px 0 currentColor;
}

.mobile-toggle::after {
  top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(15, 15, 16, 0.16);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(15, 15, 16, 0.22);
}

.button:active,
.btn:active,
.menu-toggle:active,
.mobile-toggle:active {
  transform: translateY(0) scale(0.985);
}

.button.small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.button.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: none;
}

.button.ghost.dark-text {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.button.light {
  background: #fff;
  color: var(--indigo-2);
  box-shadow: none;
}

.dark-hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(94, 92, 230, 0.32), transparent 34%),
    linear-gradient(135deg, #0f0f10, #12063e);
  color: #fff;
}

.dark-hero h1 {
  color: #fff;
}

.dark-hero p {
  color: rgba(255, 255, 255, 0.7);
}

.lede {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.copy-block h2,
.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--ink);
  text-wrap: balance;
}

.copy-block p,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.clean-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo);
}

.dark-band .clean-list li,
.dark-card .clean-list li {
  color: rgba(255, 255, 255, 0.7);
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--indigo);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.step > span {
  display: none;
}

.dark-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: none;
}

.dark-card h3 {
  color: #fff;
}

.dark-card p {
  color: rgba(255, 255, 255, 0.7);
}

.image-slot.tall {
  min-height: 520px;
}

.large-proof {
  padding: 34px 24px;
}

.large-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.large-proof > div {
  max-width: 280px;
  margin: 0 auto;
}

.large-proof strong {
  display: block;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.large-proof span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  font-weight: 900;
}

.align-start {
  align-items: start;
}

.pricing-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.price-card.featured {
  background: var(--indigo);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 28px 80px rgba(94, 92, 230, 0.3);
}

.price-card.featured h3,
.price-card.featured h2,
.price-card.highlight h2,
.price-card.featured .price {
  color: #fff;
}

.price-card.featured p,
.price-card.featured li,
.price-card.featured small {
  color: rgba(255, 255, 255, 0.75);
}

.form-panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(15, 15, 16, 0.14);
  border-radius: 12px;
  background: #fff;
  padding: 0 15px;
  color: var(--ink);
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.form-panel textarea {
  min-height: 132px;
  padding: 15px;
  resize: vertical;
}

.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus {
  border-color: rgba(94, 92, 230, 0.55);
  box-shadow: 0 0 0 4px rgba(94, 92, 230, 0.1);
}

.check-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.45;
  padding-top: 2px;
}

.check-row input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--indigo);
}

.check-row a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(94, 92, 230, 0.35);
  text-underline-offset: 3px;
}

.form-button {
  width: 100%;
  margin-top: 6px;
}

.form-success {
  display: block;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.1);
  color: #0f6f33;
  font-weight: 900;
}

.form-success[hidden] {
  display: none;
}

.legal-copy {
  margin: 0 auto;
  padding: 90px 24px;
}

.footer > .brand,
.footer > .footer-links {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.footer > .footer-links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.cta-band {
  margin: 90px auto;
  max-width: var(--max);
  padding: 58px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(94, 92, 230, 0.28), transparent 36%),
    var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 820px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
}

.cta-band .button,
.cta-band .btn {
  margin-top: 6px;
}

.compare > div:not(.compare-row) {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.compare > div:not(.compare-row):last-child {
  border-bottom: none;
}

.compare > div:not(.compare-row) > span {
  padding: 22px;
  border-right: 1px solid var(--line);
  line-height: 1.45;
}

.compare > div:not(.compare-row) > span:last-child {
  border-right: none;
  background: rgba(94, 92, 230, 0.07);
  color: var(--ink);
  font-weight: 800;
}

.compare > .compare-head:not(.compare-row) {
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.compare > .compare-head:not(.compare-row) > span:last-child {
  background: transparent;
  color: #fff;
}

@media (max-width: 980px) {
  .hero,
  .page-hero {
    overflow: hidden;
  }

  .section > .steps,
  .section.feature-grid,
  .section.split,
  .dark-band > .section.split {
    width: 100%;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 77px 12px auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    padding: 14px;
    box-shadow: var(--shadow);
    display: grid;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top center;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 60;
  }

  body.nav-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-menu a {
    padding: 15px 14px;
    border-radius: 12px;
    font-weight: 900;
  }

  .mobile-menu a:hover {
    background: var(--wash);
  }

  .dark-band {
    background:
      radial-gradient(circle at 95% 0, rgba(94, 92, 230, 0.22), transparent 34%),
      linear-gradient(135deg, #0f0f10 0%, #14083e 100%);
  }

  .dark-band > .section,
  .dark-band > .section.split {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .dark-band .copy-block h2,
  .dark-band .section-heading h2,
  .dark-band .section-title h2 {
    max-width: 100%;
    overflow: visible;
    line-height: 1.06;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  .dark-band .copy-block p,
  .dark-band .section-heading p,
  .dark-band .section-title p {
    max-width: 100%;
  }

  .hero-inner,
  .split,
  .grid.two,
  .grid.three,
  .grid.four,
  .cards.four,
  .pricing-grid,
  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature-row:nth-child(even) .feature-copy {
    order: initial;
  }

  .feature-row.flip .image-slot {
    order: initial;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .proof-strip .container {
    grid-template-columns: 1fr 1fr;
  }

  .proof-label {
    grid-column: 1 / -1;
  }

  .compare {
    overflow: visible;
    border: 0;
    background: transparent;
    display: grid;
    gap: 12px;
  }

  .compare-row {
    min-width: 0;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 15, 16, 0.055);
  }

  .compare > div:not(.compare-row) {
    min-width: 0;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 15, 16, 0.055);
  }

  .compare-head,
  .compare > .compare-head:not(.compare-row) {
    display: none;
  }

  .compare-row > div,
  .compare > div:not(.compare-row) > span {
    padding: 14px 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .compare-row > div:first-child,
  .compare > div:not(.compare-row) > span:first-child {
    background: var(--ink);
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.01em;
  }

  .compare-row > div:last-child,
  .compare > div:not(.compare-row) > span:last-child {
    border-bottom: 0;
  }

  .compare-row > div:nth-child(n + 2)::before,
  .compare > div:not(.compare-row) > span:nth-child(n + 2)::before {
    display: block;
    margin-bottom: 5px;
    color: var(--soft);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .compare-row > div:nth-child(2)::before,
  .compare > div:not(.compare-row) > span:nth-child(2)::before {
    content: "Marketplace";
  }

  .compare-row > div:nth-child(3)::before,
  .compare > div:not(.compare-row) > span:nth-child(3)::before {
    content: "CRM / software";
  }

  .compare-row > div:nth-child(4)::before,
  .compare > div:not(.compare-row) > span:nth-child(4)::before {
    content: "You Cook. We Book.";
  }

  .cta-band {
    margin: 64px 18px;
    padding: 34px;
  }

  .large-proof {
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  html,
  body,
  .site-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav-inner,
  .nav:not(:has(.nav-inner)) {
    min-height: 68px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .nav:not(:has(.nav-inner)) {
    padding: 0 16px;
  }

  .brand-word,
  .brand-text {
    font-size: 17px;
    letter-spacing: -0.04em;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 13px;
  }

  .brand-word span:last-child {
    font-size: 9px;
    margin-top: 4px;
  }

  .section,
  .section.compact {
    padding: 62px 18px;
  }

  .page-hero {
    padding: 62px 18px 50px;
  }

  .hero {
    padding: 48px 18px 56px;
  }

  .hero-inner {
    gap: 34px;
  }

  .container,
  .hero-inner,
  .hero-copy,
  .page-hero,
  .section-title,
  .copy-block,
  .section-heading,
  .split > *,
  .card,
  .form-panel {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .section > .container,
  .section > .steps,
  .section.feature-grid,
  .section.split,
  .dark-band > .section.split,
  .compare,
  .cta-band {
    max-width: calc(100vw - 36px);
  }

  .hero-copy h1,
  .page-hero h1,
  .section-title h2 {
    font-size: clamp(30px, 8.7vw, 36px);
    line-height: 1.04;
    letter-spacing: -0.032em;
    max-width: min(100%, 320px);
    text-wrap: auto;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .hero-copy p,
  .page-hero p,
  .section-title p {
    font-size: 16px;
    line-height: 1.55;
  }

  .copy-block h2,
  .section-heading h2,
  .statement-heading,
  .closing-heading {
    font-size: clamp(30px, 8.8vw, 37px);
    line-height: 1.05;
    letter-spacing: -0.034em;
    max-width: min(100%, 320px);
    text-wrap: auto;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .dark-band .copy-block h2,
  .dark-band .section-heading h2,
  .dark-band .statement-heading,
  .dark-band .closing-heading {
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .statement-copy,
  .closing-copy,
  .copy-block p,
  .section-heading p,
  .feature-copy p {
    font-size: 16px;
    line-height: 1.58;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .hero-actions,
  .cta-row {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn,
  .hero-actions .button,
  .cta-row .btn,
  .cta-row .button {
    width: 100%;
  }

  .btn,
  .button {
    min-height: 48px;
  }

  .hero-note {
    font-size: 11.5px;
    line-height: 1.4;
    max-width: 310px;
  }

  .hero-visual {
    min-height: 420px;
    margin-top: 4px;
  }

  .phone-stage {
    width: min(282px, 76vw);
    border-width: 8px;
    border-radius: 38px;
    transform: rotate(-2deg);
  }

  .portal-top {
    min-height: 46%;
    padding: 46px 20px 24px;
  }

  .portal-top strong {
    font-size: 22px;
    margin-top: 24px;
  }

  .portal-top small {
    font-size: 9px;
    margin-top: 10px;
  }

  .portal-top h3 {
    font-size: 22px;
    margin: 30px 0 14px;
  }

  .portal-meta {
    font-size: 11.5px;
    gap: 6px;
  }

  .portal-body {
    padding: 18px 16px;
  }

  .portal-row {
    grid-template-columns: 32px 1fr 12px;
    gap: 10px;
    padding: 12px 0;
  }

  .portal-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .portal-row strong {
    font-size: 12.5px;
  }

  .portal-row span {
    font-size: 10.5px;
  }

  .float-card {
    display: none;
  }

  .proof-strip .container {
    grid-template-columns: 1fr 1fr;
  }

  .proof-label {
    grid-column: 1 / -1;
  }

  .proof-strip {
    padding: 24px 18px;
  }

  .proof-label {
    font-size: 12.5px;
  }

  .metric strong {
    font-size: 24px;
  }

  .metric span {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .large-proof {
    grid-template-columns: 1fr 1fr;
    padding: 28px 20px;
  }

  .large-proof strong {
    font-size: 34px;
  }

  .large-proof span {
    font-size: 10px;
  }

  .card,
  .form-panel {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .card h3 {
    font-size: 23px;
  }

  .card p {
    font-size: 14.5px;
  }

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

  .image-slot {
    min-height: 240px;
    padding: 24px;
    border-radius: 18px;
  }

  .image-slot.tall {
    min-height: 320px;
  }

  .split {
    gap: 34px;
  }

  .step {
    padding-left: 0;
    padding-top: 50px;
    padding-bottom: 24px;
  }

  .step::before {
    top: 24px;
  }

  .step h3 {
    font-size: 24px;
  }

  .feature-row {
    gap: 26px;
    padding: 44px 0;
  }

  .feature-row > div:not(.image-slot) h2 {
    font-size: clamp(30px, 8.8vw, 37px);
    line-height: 1.05;
    letter-spacing: -0.034em;
    max-width: min(100%, 320px);
  }

  .feature-row > div:not(.image-slot) p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.58;
  }

  .cta-band {
    width: auto;
    margin: 56px 18px;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer > .footer-links {
    display: grid;
  }
}

@media (max-width: 640px) {
  .page-hero > .eyebrow,
  .page-hero > h1 {
    width: auto;
    max-width: calc(100vw - 48px);
  }

  .page-hero > h1 {
    font-size: clamp(27px, 7.2vw, 31px);
    line-height: 1.1;
    letter-spacing: -0.024em;
  }

  .page-hero > p {
    width: auto;
    max-width: calc(100vw - 48px);
  }

  .copy-block,
  .section-heading,
  .section-title {
    width: auto;
    max-width: calc(100vw - 48px);
  }

  .copy-block h2,
  .section-heading h2,
  .statement-heading,
  .closing-heading,
  .feature-row > div:not(.image-slot) h2 {
    width: auto;
    max-width: calc(100vw - 48px);
    font-size: clamp(27px, 7.4vw, 33px);
    line-height: 1.1;
    letter-spacing: -0.024em;
  }

  .large-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 20px 18px;
  }

  .large-proof > div {
    max-width: none;
    min-width: 0;
    padding: 16px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .large-proof > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .large-proof strong {
    font-size: 30px;
  }

  .large-proof span {
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: 0.11em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final contrast guard for dark editorial sections across all page variants. */
.dark-band,
.dark-band .copy-block,
.dark-band .section-heading,
.dark-band .section-title,
.dark-band .card {
  color: #fff;
}

.dark-band h1,
.dark-band h2,
.dark-band h3,
.dark-band .copy-block h2,
.dark-band .section-heading h2,
.dark-band .section-title h2,
.dark-band .statement-heading,
.dark-band .closing-heading {
  color: #fff;
}

.dark-band p,
.dark-band li,
.dark-band .copy-block p,
.dark-band .section-heading p,
.dark-band .section-title p,
.dark-band .statement-copy,
.dark-band .closing-copy {
  color: rgba(255, 255, 255, 0.7);
}

/* Stitch-up pass: keep every page variant inside the mobile viewport. */
@media (max-width: 640px) {
  body {
    min-width: 0;
  }

  .site-shell,
  main,
  .nav,
  .hero,
  .page-hero,
  .section,
  .footer,
  .proof-strip,
  .dark-band,
  .split-band {
    width: 100%;
    max-width: 100vw;
  }

  .nav,
  .hero,
  .page-hero,
  .section,
  .footer,
  .proof-strip,
  .dark-band,
  .split-band {
    overflow-x: clip;
  }

  .nav-inner,
  .nav:not(:has(.nav-inner)),
  .container,
  .hero-inner,
  .hero-copy,
  .hero-visual,
  .section-title,
  .section-heading,
  .copy-block,
  .section > .container,
  .section > .steps,
  .section.feature-grid,
  .section.split,
  .dark-band > .section.split,
  .pricing-grid,
  .feature-row,
  .grid,
  .cards,
  .card,
  .price-card,
  .form-panel,
  .form-grid,
  .compare,
  .cta-band,
  .legal-copy,
  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .footer-inner,
  .footer > .brand,
  .footer > .footer-links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav {
    max-width: 100%;
  }

  .hero-copy h1,
  .page-hero h1,
  .section-title h2,
  .copy-block h2,
  .section-heading h2,
  .statement-heading,
  .closing-heading,
  .feature-row > div:not(.image-slot) h2,
  .card h2,
  .price-card h2 {
    width: 100%;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy p,
  .page-hero p,
  .section-title p,
  .copy-block p,
  .section-heading p,
  .statement-copy,
  .closing-copy,
  .feature-row > div:not(.image-slot) p:not(.eyebrow),
  .card p,
  .price-card p,
  .legal-copy,
  .check-row span {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .split,
  .section.split,
  .dark-band > .section.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .form-panel,
  .card,
  .price-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-panel label,
  .field,
  .field label,
  .field input,
  .field select,
  .field textarea,
  .form-panel input,
  .form-panel select,
  .form-panel textarea {
    min-width: 0;
    max-width: 100%;
  }

  .check-row {
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .large-proof {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .large-proof > div,
  .metric {
    min-width: 0;
    max-width: 100%;
  }

  .large-proof strong,
  .metric strong {
    letter-spacing: -0.04em;
  }

  .large-proof span,
  .metric span {
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Designer stitch pass: unify the older subpages with the newer company shell. */
.nav {
  box-shadow: 0 1px 0 rgba(15, 15, 16, 0.035);
}

.nav:not(:has(.nav-inner)) {
  min-height: 82px;
}

.nav:not(:has(.nav-inner)) .brand {
  flex: 0 1 auto;
  min-width: 0;
}

.nav:not(:has(.nav-inner)) .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 16px;
}

.nav:not(:has(.nav-inner)) .brand-text {
  font-size: 22px;
}

.mobile-menu {
  box-shadow: 0 24px 80px rgba(15, 15, 16, 0.12);
}

.page-hero {
  padding-top: clamp(82px, 8vw, 118px);
  padding-bottom: clamp(62px, 7vw, 92px);
}

.page-hero > .eyebrow {
  margin-bottom: 18px;
}

.page-hero > h1 {
  max-width: 940px;
}

.page-hero > p {
  max-width: 720px;
}

.section {
  position: relative;
}

.section-heading {
  margin-bottom: clamp(36px, 5vw, 58px);
}

.card,
.price-card,
.form-panel,
.compare {
  border-color: rgba(15, 15, 16, 0.085);
}

.card,
.price-card {
  box-shadow: 0 18px 52px rgba(15, 15, 16, 0.055);
}

.card:hover,
.price-card:hover {
  border-color: rgba(15, 15, 16, 0.13);
}

.card h3,
.feature-copy h3,
.copy-block h2,
.section-heading h2,
.section-title h2 {
  color: #0b0b0c;
}

.price-card {
  min-height: 460px;
}

.price-card.featured {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, #5e5ce6 0%, #4438ca 58%, #24105f 100%);
  box-shadow: 0 34px 94px rgba(68, 56, 202, 0.26);
}

.price-card.featured .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.price-card .button,
.price-card .btn {
  width: 100%;
}

.form-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff);
  box-shadow: 0 24px 80px rgba(15, 15, 16, 0.07);
}

.field input,
.field select,
.field textarea,
.form-panel input,
.form-panel select,
.form-panel textarea {
  border-color: rgba(15, 15, 16, 0.115);
  background: #fbfbfd;
  border-radius: 14px;
}

.field input:hover,
.field select:hover,
.field textarea:hover,
.form-panel input:hover,
.form-panel select:hover,
.form-panel textarea:hover {
  border-color: rgba(15, 15, 16, 0.2);
  background: #fff;
}

.check-row {
  margin-top: 2px;
}

.large-proof {
  background:
    radial-gradient(circle at 86% 18%, rgba(94, 92, 230, 0.22), transparent 34%),
    linear-gradient(135deg, #0f0f10 0%, #12063e 100%);
}

.large-proof > div {
  width: 100%;
  padding: 6px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.large-proof > div:first-child {
  border-left: 0;
}

.compare {
  box-shadow: 0 20px 70px rgba(15, 15, 16, 0.055);
}

.compare-row > div,
.compare > div:not(.compare-row) > span {
  background: rgba(255, 255, 255, 0.92);
}

.compare-good,
.compare > div:not(.compare-row) > span:last-child {
  background: linear-gradient(180deg, rgba(94, 92, 230, 0.085), rgba(94, 92, 230, 0.045));
}

.cta-band {
  box-shadow: 0 28px 90px rgba(15, 15, 16, 0.12);
}

.footer {
  background:
    radial-gradient(circle at 84% 12%, rgba(94, 92, 230, 0.18), transparent 32%),
    #0f0f10;
}

.footer > .brand {
  width: fit-content;
}

.footer > .footer-links {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer > .footer-links a {
  font-size: 14px;
  font-weight: 800;
}

.legal-copy {
  max-width: 880px;
}

@media (max-width: 980px) {
  .nav:not(:has(.nav-inner)) {
    min-height: 74px;
  }

  .mobile-menu {
    transition:
      opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .pricing-grid {
    gap: 18px;
  }

  .price-card {
    min-height: auto;
  }

  .large-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .large-proof > div {
    max-width: none;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .large-proof > div:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .nav:not(:has(.nav-inner)) {
    min-height: 68px;
  }

  .nav:not(:has(.nav-inner)) .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 13px;
  }

  .nav:not(:has(.nav-inner)) .brand-text {
    font-size: 17px;
  }

  .mobile-menu {
    inset: 76px 12px auto;
    border-radius: 18px;
  }

  .page-hero {
    padding-top: 54px;
    padding-bottom: 46px;
  }

  .page-hero > .eyebrow {
    margin-bottom: 14px;
  }

  .section-heading {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .price-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .form-panel {
    border-radius: 22px;
  }

  .large-proof {
    padding: 18px;
  }

  .large-proof > div {
    padding: 16px 8px;
  }

  .cta-band {
    margin-left: 18px;
    margin-right: 18px;
  }

  .footer {
    padding-top: 52px;
  }
}

/* Final mobile viewport clamp: keeps the premium pass from clipping on narrow screens. */
@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    position: relative;
  }

  .nav:not(:has(.nav-inner)) {
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  main,
  .page-hero,
  .section,
  .dark-band,
  .split-band,
  .proof-strip,
  .footer {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .page-hero,
  .section,
  .section.compact,
  .legal-copy {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .container,
  .section > .container,
  .section > .steps,
  .section.feature-grid,
  .section.split,
  .dark-band > .section.split,
  .pricing-grid,
  .form-panel,
  .compare,
  .cta-band,
  .footer > .brand,
  .footer > .footer-links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .section.pricing-grid {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    margin-left: 18px;
    margin-right: 18px;
    padding-left: 0;
    padding-right: 0;
  }

  .section > .form-panel,
  .form-panel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-copy h1,
  .page-hero h1,
  .section-title h2,
  .copy-block h2,
  .section-heading h2,
  .statement-heading,
  .closing-heading,
  .feature-row > div:not(.image-slot) h2,
  .card h2,
  .price-card h2 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .page-hero > h1 {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 0.98;
  }

  .page-hero > p,
  .price-card p,
  .card p,
  .form-panel,
  .field input,
  .field select,
  .field textarea,
  .form-panel input,
  .form-panel select,
  .form-panel textarea,
  .check-row span {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

/* Subpage hardening pass: final mobile rules win over the early prototype CSS. */
@media (max-width: 640px) {
  *,
  *::before,
  *::after {
    min-width: 0;
  }

  body,
  .site-shell {
    max-width: 100vw;
  }

  .nav:not(:has(.nav-inner)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    justify-content: initial;
    gap: 10px;
    min-height: 68px;
    padding: 0 14px;
  }

  .nav:not(:has(.nav-inner)) .brand {
    width: auto;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .nav:not(:has(.nav-inner)) .brand-text {
    max-width: 190px;
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 0.96;
  }

  .nav:not(:has(.nav-inner)) .nav-links,
  .nav:not(:has(.nav-inner)) .nav-actions {
    display: none !important;
  }

  .nav:not(:has(.nav-inner)) .mobile-toggle {
    display: inline-flex !important;
    justify-self: end;
    flex: 0 0 44px;
  }

  .mobile-menu {
    width: auto;
    max-width: calc(100vw - 24px);
    inset: 76px 12px auto;
  }

  .page-hero,
  .section,
  .section.compact,
  .dark-band > .section,
  .split-band > .section,
  .proof-strip,
  .footer {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .page-hero {
    padding-top: 52px !important;
    padding-bottom: 42px !important;
  }

  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .section > *,
  .dark-band > .section > *,
  .split-band > .section > *,
  .footer > * {
    max-width: calc(100vw - 36px) !important;
  }

  .page-hero h1,
  .hero-copy h1,
  .section-title h2,
  .section-heading h2,
  .copy-block h2,
  .feature-copy h2,
  .feature-row > div:not(.image-slot) h2,
  .statement-heading,
  .closing-heading,
  .card h2,
  .card h3,
  .price-card h2,
  .legal-copy h2 {
    width: 100%;
    max-width: 100% !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    letter-spacing: -0.045em;
  }

  .page-hero h1 {
    font-size: clamp(31px, 8.8vw, 38px) !important;
    line-height: 1.02 !important;
  }

  .page-hero p,
  .hero-copy p,
  .section-title p,
  .section-heading p,
  .copy-block p,
  .feature-copy p,
  .feature-row > div:not(.image-slot) p,
  .statement-copy,
  .closing-copy,
  .card p,
  .price-card p,
  .legal-copy,
  .clean-list,
  .check-list,
  .check-row span {
    width: 100%;
    max-width: 100% !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .button,
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section.pricing-grid,
  .pricing-grid {
    display: grid;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .section.split,
  .split,
  .grid,
  .cards,
  .feature-row,
  .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .form-panel,
  .card,
  .price-card,
  .compare,
  .cta-band {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .form-panel {
    padding: 22px 18px !important;
  }

  .form-panel label {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .form-panel input,
  .form-panel select,
  .form-panel textarea,
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    max-width: 100%;
  }

  .check-row {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
  }

  .large-proof {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .large-proof > div:nth-child(-n + 2) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .large-proof > div:first-child {
    border-top: 0;
  }
}

/* Phone-width lock: subpages use older markup, so this final layer prevents
   inherited desktop section widths from pushing forms and cards off-screen. */
@media (max-width: 640px) {
  html,
  body,
  .site-shell,
  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .nav:not(:has(.nav-inner)) {
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 68px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .nav:not(:has(.nav-inner)) .brand {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 72px) !important;
  }

  .nav:not(:has(.nav-inner)) .brand-text {
    max-width: 180px !important;
  }

  .nav:not(:has(.nav-inner)) .mobile-toggle {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
  }

  .page-hero,
  .section,
  .section.compact,
  .section.split,
  .section.pricing-grid,
  .dark-band > .section,
  .split-band > .section,
  .proof-strip,
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    overflow-x: hidden !important;
  }

  .section.split,
  .section.pricing-grid,
  .split,
  .pricing-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .page-hero > *,
  .section > *,
  .section.split > *,
  .section.pricing-grid > *,
  .dark-band > .section > *,
  .split-band > .section > *,
  .footer > * {
    width: 100% !important;
    max-width: calc(100vw - 36px) !important;
    min-width: 0 !important;
    justify-self: center !important;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
  }

  .page-hero p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .form-panel,
  .card,
  .price-card,
  .compare,
  .cta-band,
  .legal-copy {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    min-width: 0 !important;
  }

  .form-panel {
    padding: 22px 18px !important;
  }

  .form-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .form-panel label,
  .form-panel input,
  .form-panel select,
  .form-panel textarea,
  .field input,
  .field select,
  .field textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .check-row {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .check-row input {
    width: 18px !important;
    min-width: 18px !important;
  }

  .check-row span {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .form-button,
  .button.form-button,
  .form-panel .button {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Final phone polish: keep every subpage inside the viewport and let the
   premium typography breathe instead of clipping on narrow screens. */
@media (max-width: 640px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  .site-shell,
  main,
  .nav,
  .page-hero,
  .section,
  .dark-band,
  .split-band,
  .proof-strip,
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .nav:not(:has(.nav-inner)) {
    padding-inline: 14px !important;
  }

  .nav:not(:has(.nav-inner)) .mobile-toggle {
    position: relative !important;
    z-index: 3 !important;
    color: transparent !important;
    border: 1px solid rgba(15, 15, 16, 0.1) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 12px 28px rgba(15, 15, 16, 0.08) !important;
  }

  .page-hero,
  .section,
  .section.compact,
  .section.split,
  .section.pricing-grid,
  .dark-band > .section,
  .split-band > .section,
  .proof-strip,
  .footer {
    padding-inline: 18px !important;
  }

  .page-hero > *,
  .section > *,
  .section.split > *,
  .section.pricing-grid > *,
  .dark-band > .section > *,
  .split-band > .section > *,
  .proof-strip > *,
  .footer > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section.split,
  .section.pricing-grid,
  .split,
  .pricing-grid,
  .feature-row,
  .comparison-grid,
  .footer-grid,
  .proof-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .page-hero h1,
  .hero-copy h1,
  .section-title h2,
  .section-heading h2,
  .copy-block h2,
  .statement-heading,
  .closing-heading,
  .feature-row h2,
  .card h2,
  .card h3,
  .price-card h2,
  .legal-copy h2,
  .dark-band h2 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.06 !important;
    letter-spacing: -0.048em !important;
  }

  .page-hero h1,
  .hero-copy h1 {
    font-size: clamp(30px, 8.6vw, 38px) !important;
  }

  .section-title h2,
  .section-heading h2,
  .copy-block h2,
  .dark-band h2 {
    font-size: clamp(28px, 8vw, 34px) !important;
  }

  .page-hero p,
  .section-title p,
  .section-heading p,
  .copy-block p,
  .card p,
  .price-card p,
  .legal-copy p,
  .legal-copy li,
  .cta-band p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .form-panel,
  .card,
  .price-card,
  .compare,
  .cta-band,
  .legal-copy,
  .large-proof,
  .metric {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }

  .form-panel {
    padding: 22px 18px !important;
  }

  .form-grid,
  .form-panel form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .field,
  .form-panel label,
  .form-panel input,
  .form-panel select,
  .form-panel textarea,
  .field input,
  .field select,
  .field textarea,
  .button,
  .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .check-row {
    grid-template-columns: 18px minmax(0, 1fr) !important;
  }
}

/* Narrow-phone composition lock.
   Some Chromium mobile captures report a wider CSS viewport than the saved
   bitmap. Keep the content itself at a deliberate phone reading width so text
   never looks cropped and cards keep a premium edge. */
@media (max-width: 640px) {
  .nav:not(:has(.nav-inner)) {
    justify-content: center !important;
  }

  .nav:not(:has(.nav-inner)) .brand {
    width: min(100%, 354px) !important;
  }

  .nav:not(:has(.nav-inner)) .mobile-toggle {
    position: absolute !important;
    right: 18px !important;
  }

  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .section > *,
  .section.split > *,
  .section.pricing-grid > *,
  .dark-band > .section > *,
  .split-band > .section > *,
  .footer > *,
  .proof-strip > *,
  .form-panel,
  .card,
  .price-card,
  .compare,
  .cta-band,
  .legal-copy,
  .large-proof,
  .metric {
    max-width: 300px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-hero h1,
  .hero-copy h1 {
    font-size: clamp(28px, 7.2vw, 34px) !important;
  }

  .section-title h2,
  .section-heading h2,
  .copy-block h2,
  .dark-band h2 {
    font-size: clamp(26px, 7vw, 32px) !important;
  }

  .form-panel,
  .card,
  .price-card,
  .compare,
  .cta-band,
  .legal-copy {
    padding-inline: 18px !important;
  }
}

/* Final mobile band correction: keep editorial bands full-bleed, constrain only
   the reading content inside them. */
@media (max-width: 640px) {
  .page-hero,
  .section,
  .dark-band,
  .split-band,
  .proof-strip,
  .footer {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    overflow-x: clip !important;
  }

  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .section > .container,
  .section > .steps,
  .section.feature-grid,
  .section.split,
  .section.pricing-grid,
  .dark-band > .section,
  .dark-band > .section.split,
  .split-band > .section,
  .footer > .brand,
  .footer > .footer-links,
  .form-panel,
  .card,
  .price-card,
  .compare,
  .cta-band,
  .legal-copy {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .page-hero > h1,
  .dark-hero > h1 {
    max-width: 282px !important;
    font-size: clamp(27px, 6.9vw, 32px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.04em !important;
  }

  .page-hero > p,
  .dark-hero > p,
  .section-heading p,
  .section-title p,
  .copy-block p,
  .card p {
    max-width: 282px !important;
  }

  .large-proof {
    max-width: none !important;
    width: 100% !important;
    padding-inline: 18px !important;
  }

  .large-proof > div {
    max-width: 282px !important;
  }
}

/* Designer stitch-up pass: final visual polish for the isolated company-site
   concept. These rules intentionally sit last to neutralize earlier experiments. */
.proof-visual {
  min-height: 520px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 18%, rgba(91, 78, 247, 0.18), transparent 34%),
    linear-gradient(145deg, #0b0719 0%, #17102f 54%, #241858 100%);
  display: grid;
  place-items: center;
  padding: 42px;
  box-shadow: 0 34px 90px rgba(15, 10, 36, 0.18);
  overflow: hidden;
  position: relative;
}

.proof-visual::before,
.proof-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  pointer-events: none;
}

.proof-visual::before {
  width: 360px;
  height: 360px;
  right: -150px;
  top: -80px;
}

.proof-visual::after {
  width: 220px;
  height: 220px;
  left: -90px;
  bottom: -80px;
}

.proof-phone-card {
  width: min(100%, 330px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.68);
  padding: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 1;
}

.proof-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111118;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.proof-phone-top small,
.proof-score span,
.proof-score small,
.proof-mini-grid span,
.proof-phone-card p {
  color: #8f8c9b;
  font-weight: 800;
}

.proof-score {
  margin-top: 24px;
  padding: 18px;
  border-radius: 22px;
  background: #f7f8fb;
  border: 1px solid #ececf4;
}

.proof-score span,
.proof-score small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
}

.proof-score strong {
  display: block;
  margin: 4px 0;
  color: #19b85a;
  font-size: 38px;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.proof-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.proof-mini-grid div {
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #ececf4;
  box-shadow: 0 12px 28px rgba(18, 18, 28, 0.05);
}

.proof-mini-grid strong {
  display: block;
  color: #111118;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.proof-mini-grid span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.proof-progress {
  height: 13px;
  margin-top: 18px;
  border-radius: 999px;
  background: #ececf4;
  overflow: hidden;
}

.proof-progress span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #19b85a, #78df9d);
}

.proof-phone-card p {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

@media (hover: hover) {
  .button,
  .card,
  .price-card,
  .proof-phone-card,
  .image-slot {
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
  }

  .card:hover,
  .price-card:hover,
  .proof-phone-card:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .nav:not(:has(.nav-inner)) {
    justify-content: center !important;
    padding: 14px 16px !important;
  }

  .nav:not(:has(.nav-inner)) .brand,
  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .section > .container,
  .section > .steps,
  .section.feature-grid,
  .section.split,
  .section.pricing-grid,
  .dark-band > .section,
  .dark-band > .section.split,
  .split-band > .section,
  .footer > .brand,
  .footer > .footer-links,
  .form-panel,
  .card,
  .price-card,
  .compare,
  .cta-band,
  .legal-copy {
    width: min(100%, 354px) !important;
    max-width: 354px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-hero,
  .section,
  .dark-band,
  .split-band,
  .proof-strip,
  .footer {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .page-hero {
    padding-top: 54px !important;
    padding-bottom: 58px !important;
  }

  .page-hero h1,
  .page-hero > h1,
  .dark-hero > h1 {
    max-width: 354px !important;
    font-size: clamp(32px, 8.7vw, 40px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
  }

  .page-hero p,
  .page-hero > p,
  .dark-hero > p,
  .section-heading p,
  .section-title p,
  .copy-block p,
  .card p {
    max-width: 354px !important;
  }

  .section.split,
  .section.pricing-grid,
  .pricing-grid,
  .cards.four,
  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-inner,
  .hero-copy,
  .proof-strip .container,
  .footer-inner {
    width: min(100%, 354px) !important;
    max-width: 354px !important;
    margin-inline: auto !important;
  }

  .price-card,
  .card,
  .form-panel,
  .compare,
  .cta-band {
    border-radius: 18px !important;
  }

  .large-proof {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: min(100%, 354px) !important;
    max-width: 354px !important;
    margin-inline: auto !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .large-proof > div {
    max-width: none !important;
    padding: 18px 12px !important;
    border-radius: 16px !important;
  }

  .large-proof strong {
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  .proof-visual {
    min-height: 430px;
    padding: 24px;
    border-radius: 24px;
  }

  .proof-phone-card {
    width: 100%;
    max-width: 292px;
    padding: 18px;
    border-radius: 24px;
  }

  .proof-score strong {
    font-size: 33px;
  }

  .footer {
    text-align: left !important;
  }
}

/* Final mobile containment pass for subpages. Keep this last. */
@media (max-width: 640px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .page-hero,
  .section,
  .dark-band,
  .split-band,
  .proof-strip,
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .section > .container,
  .section > .steps,
  .section.feature-grid,
  .section.split,
  .section.pricing-grid,
  .pricing-grid,
  .dark-band > .section,
  .dark-band > .section.split,
  .split-band > .section,
  .proof-strip .container,
  .proof-strip > *,
  .footer > .brand,
  .footer > .footer-links,
  .form-panel,
  .card,
  .price-card,
  .compare,
  .cta-band,
  .legal-copy,
  .proof-visual {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-hero h1,
  .page-hero > h1,
  .dark-hero > h1 {
    max-width: 100% !important;
    font-size: clamp(29px, 8vw, 34px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
  }

  .page-hero p,
  .page-hero > p,
  .dark-hero > p,
  .price-card p,
  .card p {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .section.pricing-grid,
  .pricing-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .section.pricing-grid > *,
  .pricing-grid > *,
  .price-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .price-card {
    padding: 22px !important;
  }

  .price-card h2,
  .price-card h3 {
    max-width: 100% !important;
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.05 !important;
  }

  .large-proof {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px !important;
    gap: 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .large-proof > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px 10px !important;
  }

  .large-proof strong {
    max-width: 100% !important;
    font-size: clamp(24px, 7.1vw, 30px) !important;
    letter-spacing: -0.055em !important;
  }

  .large-proof span {
    max-width: 100% !important;
    font-size: 9px !important;
    letter-spacing: 0.11em !important;
    line-height: 1.3 !important;
  }
}

/* Hard stop for mobile text/card overflow on proof, pricing, and policy pages. */
@media (max-width: 640px) {
  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .page-hero > .mini-nav,
  .section-heading,
  .copy-block,
  .section > .container {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: normal !important;
  }

  .page-hero h1,
  .page-hero > h1,
  .dark-hero > h1 {
    font-size: clamp(27px, 7.2vw, 31px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .page-hero p,
  .page-hero > p,
  .dark-hero > p {
    font-size: 15px !important;
    line-height: 1.58 !important;
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: break-word !important;
  }

  .section.pricing-grid,
  .pricing-grid {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    margin-left: -18px !important;
    margin-right: 0 !important;
  }

  .price-card,
  .section.pricing-grid > .price-card,
  .pricing-grid > .price-card,
  .card,
  .form-panel,
  .compare,
  .cta-band,
  .proof-visual {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden;
  }

  .price-card p,
  .price-card li,
  .card p,
  .clean-list li {
    white-space: normal !important;
    text-wrap: auto !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .proof-strip.large-proof,
  .large-proof {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -18px !important;
    margin-right: 0 !important;
    padding: 18px !important;
  }

  .large-proof strong {
    font-size: clamp(22px, 6.8vw, 28px) !important;
    white-space: nowrap !important;
  }
}

/* Final stitch-up rail. This must stay at EOF.
   The concept CSS has several earlier exploratory mobile passes; this block
   normalizes the public pages into one predictable phone-width reading rail. */
@media (max-width: 640px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  body {
    position: relative !important;
  }

  .site-shell,
  main,
  .nav,
  .mobile-menu,
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  .page-hero,
  .section,
  .section.compact,
  .section.split,
  .section.feature-grid,
  .section.pricing-grid,
  .pricing-grid,
  .dark-band,
  .dark-band > .section,
  .split-band,
  .split-band > .section,
  .proof-strip,
  .proof-strip.large-proof,
  .large-proof,
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    overflow-x: hidden !important;
  }

  .page-hero > *,
  .section > *,
  .section.split > *,
  .dark-band > .section > *,
  .split-band > .section > *,
  .proof-strip > *,
  .footer > *,
  .card,
  .price-card,
  .form-panel,
  .compare,
  .cta-band,
  .legal-copy,
  .proof-visual,
  .proof-phone-card {
    width: 100% !important;
    max-width: min(100%, 326px) !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section.split,
  .dark-band > .section.split,
  .split-band > .section.split,
  .section.feature-grid,
  .section.pricing-grid,
  .pricing-grid,
  .cards,
  .cards.four {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .page-hero h1,
  .page-hero > h1,
  .dark-hero h1,
  .copy-block h2,
  .section-heading h2,
  .section-title h2,
  .price-card h2,
  .price-card h3 {
    max-width: 326px !important;
    font-size: clamp(25px, 7.1vw, 32px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .page-hero p,
  .page-hero > p,
  .dark-hero p,
  .copy-block p,
  .section-heading p,
  .section-title p,
  .price-card p,
  .price-card li,
  .card p,
  .clean-list li,
  .legal-copy p,
  .legal-copy li {
    max-width: 326px !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .button,
  .button.small,
  .button.light,
  .button.ghost,
  .mobile-toggle {
    max-width: 100% !important;
    white-space: normal !important;
  }

  .large-proof {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  .large-proof > div {
    max-width: none !important;
    padding: 24px 8px !important;
  }

  .large-proof strong {
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
    white-space: nowrap !important;
  }

  .large-proof span {
    display: block !important;
    max-width: 100% !important;
    font-size: 8px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.1em !important;
    white-space: normal !important;
  }

  .proof-visual {
    min-height: 380px !important;
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .proof-phone-card {
    padding: 18px !important;
  }

  .proof-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile stitch-up correction: several sections intentionally indent their
   content for a premium editorial feel, so text/visual rails need to be narrower
   than full card rails to avoid right-edge clipping on 390px phones. */
@media (max-width: 640px) {
  .page-hero > .eyebrow,
  .page-hero > h1,
  .page-hero > p,
  .section-heading,
  .section-heading > *,
  .copy-block,
  .copy-block > *,
  .dark-band .copy-block,
  .dark-band .copy-block > *,
  .proof-visual,
  .proof-phone-card {
    max-width: min(280px, calc(100vw - 72px)) !important;
  }

  .page-hero h1,
  .page-hero > h1,
  .dark-hero h1,
  .copy-block h2,
  .section-heading h2,
  .section-title h2 {
    max-width: min(280px, calc(100vw - 72px)) !important;
    font-size: clamp(24px, 6.6vw, 29px) !important;
  }

  .page-hero p,
  .page-hero > p,
  .dark-hero p,
  .copy-block p,
  .section-heading p,
  .section-title p,
  .clean-list li {
    max-width: min(280px, calc(100vw - 72px)) !important;
  }

  .cards,
  .cards.four,
  .card,
  .price-card,
  .form-panel,
  .compare,
  .cta-band,
  .legal-copy {
    max-width: calc(100vw - 36px) !important;
  }

  .price-card,
  .card {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Final mobile fit pass: keep the editorial inset, but make product visuals and
   pricing cards sit comfortably inside the phone viewport. */
@media (max-width: 640px) {
  .proof-visual,
  .proof-phone-card {
    width: min(252px, calc(100vw - 104px)) !important;
    max-width: min(252px, calc(100vw - 104px)) !important;
  }

  .proof-visual {
    min-height: 350px !important;
    padding: 14px !important;
  }

  .proof-phone-card {
    padding: 16px !important;
    border-radius: 22px !important;
  }

  .proof-score strong {
    font-size: 28px !important;
  }

  .proof-mini-grid {
    gap: 8px !important;
  }

  .proof-mini-grid div {
    padding: 12px 8px !important;
  }

  .cards,
  .cards.four,
  .card,
  .price-card,
  .form-panel,
  .compare,
  .cta-band,
  .legal-copy {
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
  }

  .section.pricing-grid,
  .pricing-grid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .price-card .button,
  .price-card .button.light,
  .price-card .button.ghost {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Comparison tables: premium desktop hierarchy for marketplace / CRM sections.
   Applies to both compare markup variants used across the site. */
@media (min-width: 981px) {
  .compare {
    overflow: hidden !important;
    border: 1px solid rgba(15, 15, 16, 0.1) !important;
    border-radius: 26px !important;
    background: #fff !important;
    box-shadow: 0 28px 90px rgba(15, 15, 16, 0.075) !important;
  }

  .compare-row,
  .compare > div:not(.compare-row) {
    grid-template-columns: 0.82fr 1fr 1fr 1fr !important;
    border-bottom: 1px solid rgba(15, 15, 16, 0.085) !important;
  }

  .compare-row:last-child,
  .compare > div:not(.compare-row):last-child {
    border-bottom: 0 !important;
  }

  .compare-head,
  .compare > .compare-head:not(.compare-row) {
    background:
      radial-gradient(circle at 88% 0, rgba(94, 92, 230, 0.32), transparent 34%),
      linear-gradient(135deg, #101012 0%, #17083f 100%) !important;
    color: #fff !important;
  }

  .compare-head > div,
  .compare > .compare-head:not(.compare-row) > span {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  .compare-head > div:last-child,
  .compare > .compare-head:not(.compare-row) > span:last-child,
  .compare-head .compare-good {
    color: #fff !important;
    box-shadow: none !important;
  }

  .compare-row > div,
  .compare > div:not(.compare-row) > span {
    padding: 24px 26px !important;
    border-right: 1px solid rgba(15, 15, 16, 0.085) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #24242a !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
  }

  .compare-row > div:first-child,
  .compare > div:not(.compare-row) > span:first-child {
    background: #f6f7fb !important;
    color: #555766 !important;
    font-weight: 800 !important;
  }

  .compare-row > div:last-child,
  .compare > div:not(.compare-row) > span:last-child {
    border-right: 0 !important;
  }

  .compare-good,
  .compare-row > div:last-child,
  .compare > div:not(.compare-row) > span:last-child {
    background:
      linear-gradient(180deg, rgba(94, 92, 230, 0.105), rgba(94, 92, 230, 0.045)) !important;
    color: #0f0f10 !important;
    font-weight: 950 !important;
  }

  .compare-row:not(.compare-head) > div:last-child,
  .compare > div:not(.compare-head):not(.compare-row) > span:last-child {
    box-shadow: inset 4px 0 0 rgba(94, 92, 230, 0.75) !important;
  }
}

/* Contrast guardrails: dark CTA/table surfaces must never inherit indigo text. */
.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus-visible,
.button:not(.light):not(.ghost):not(.ghost.dark-text),
.button:not(.light):not(.ghost):not(.ghost.dark-text):visited,
.button:not(.light):not(.ghost):not(.ghost.dark-text):hover,
.button:not(.light):not(.ghost):not(.ghost.dark-text):focus-visible,
.nav-actions .btn-primary,
.nav-actions .btn-primary:visited,
.nav-actions .btn-primary:hover,
.nav-actions .btn-primary:focus-visible,
.nav-links .button.small:not(.light):not(.ghost),
.nav-links .button.small:not(.light):not(.ghost):visited,
.nav-links .button.small:not(.light):not(.ghost):hover,
.nav-links .button.small:not(.light):not(.ghost):focus-visible,
.form-button,
.form-button:visited,
.form-button:hover,
.form-button:focus-visible {
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.button:not(.light):not(.ghost):not(.ghost.dark-text):hover,
.button:not(.light):not(.ghost):not(.ghost.dark-text):focus-visible,
.nav-actions .btn-primary:hover,
.nav-actions .btn-primary:focus-visible,
.nav-links .button.small:not(.light):not(.ghost):hover,
.nav-links .button.small:not(.light):not(.ghost):focus-visible {
  background: #0f0f10 !important;
  border-color: #0f0f10 !important;
  box-shadow: 0 22px 48px rgba(15, 15, 16, 0.24) !important;
}

@media (min-width: 981px) {
  .compare-row.compare-head > div,
  .compare > .compare-head:not(.compare-row) > span,
  .compare-row.compare-head > div:last-child,
  .compare > .compare-head:not(.compare-row) > span:last-child,
  .compare-row.compare-head .compare-good {
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
  }
}

/* Real image seeding pass */
.phone-screen .phone-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  display: block;
}

.experience-mosaic {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 18px;
  align-items: stretch;
}

.photo-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 15, 16, 0.08);
  box-shadow: 0 28px 80px rgba(15, 15, 16, 0.12);
  background: #fff;
}

.photo-card-wide {
  grid-row: span 2;
  min-height: 540px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.photo-card figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.05;
}

.workflow-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.workflow-preview img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(15, 15, 16, 0.08);
  box-shadow: 0 20px 60px rgba(15, 15, 16, 0.12);
  background: #fff;
  display: block;
}

.proof-device {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 20%, rgba(94, 92, 230, 0.22), transparent 36%),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.proof-device img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  display: block;
}

.image-filled {
  padding: 0 !important;
  background: #fff !important;
}

.image-filled::after {
  display: none !important;
}

.image-filled img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  display: block;
}

.client-portal-preview {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(15, 15, 16, 0.13);
  border: 1px solid rgba(15, 15, 16, 0.08);
  background: #fff;
}

.client-portal-preview img {
  width: 100%;
  display: block;
}

.proof-visual-image {
  padding: 0 !important;
  background: transparent !important;
}

.proof-visual-image::before,
.proof-visual-image::after {
  display: none !important;
}

.proof-visual-image img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 28px 90px rgba(15, 15, 16, 0.13);
  border: 1px solid rgba(15, 15, 16, 0.08);
  display: block;
}

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

  .photo-card,
  .photo-card-wide {
    min-height: 320px;
    grid-row: auto;
  }

  .workflow-preview {
    grid-template-columns: 1fr;
  }

  .proof-device {
    padding: 10px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .hero-inner,
  .hero-copy {
    width: 100% !important;
    max-width: min(326px, calc(100vw - 64px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch !important;
    gap: 34px !important;
  }

  .hero-copy,
  .hero-visual {
    grid-column: 1 / -1 !important;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p,
  .hero-note {
    max-width: 100% !important;
  }

  .hero-actions,
  .cta-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: min(326px, calc(100vw - 64px)) !important;
    gap: 10px !important;
  }

  .hero-actions .btn,
  .hero-actions .button,
  .cta-row .btn,
  .cta-row .button {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  .hero-copy p,
  .hero-note {
    max-width: min(326px, calc(100vw - 64px)) !important;
  }
}
