/* ClosingVault marketing site — shared styles.
   Look: "Bold & modern" (dark ground #0E1116, accent #FF6A2B,
   Bricolage Grotesque headings, DM Sans body). No framework. */

:root {
  --bg: #0e1116;
  --bg-alt: #151a21;
  --surface: #161b23;
  --surface-2: #1d2430;
  --line: #222a36;
  --line-2: #263040;
  --text: #e9ecf1;
  --text-strong: #ffffff;
  --text-soft: #d5dbe4;
  --muted: #b6becb;
  --faint: #8c97a8;
  --accent: #ff6a2b;
  --accent-link: #ff8a57;
  --accent-link-hover: #ffb08c;
  --focus: #ffd3bf;
  --radius: 18px;
  --wrap: 1240px;
  --gutter: 32px;
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

a {
  color: var(--accent-link);
}
a:hover {
  color: var(--accent-link-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  color: var(--text-strong);
  margin: 0;
}
h1,
h2 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.06;
}
h3 {
  font-size: 21px;
  line-height: 1.3;
}
p {
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
  color: var(--bg);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Header ---------- */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  text-decoration: none;
}
.brand:hover {
  color: var(--text-strong);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
}
.site-nav {
  order: 3;
  flex: 1 1 100%;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text-strong);
}
.site-nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.header-cta {
  order: 2;
}
@media (min-width: 1040px) {
  .site-nav {
    order: 2;
    flex: 0 1 auto;
  }
  .header-cta {
    order: 3;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 26px;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: #ff8550;
  color: var(--bg);
}
.btn-light {
  background: #ffffff;
  color: var(--bg);
}
.btn-light:hover {
  background: #e9ecf1;
  color: var(--bg);
}
.btn-small {
  font-size: 15px;
  padding: 11px 18px;
}
.btn-ghost {
  color: var(--text);
  padding-left: 6px;
  padding-right: 6px;
  font-weight: 500;
}
.btn-ghost:hover {
  color: var(--text-strong);
}

/* ---------- Sections ---------- */
.section {
  padding-top: 104px;
  padding-bottom: 104px;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 840px;
  margin-bottom: 48px;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
}
.section-head .lead {
  max-width: 760px;
}
.strong-line {
  color: var(--text-strong);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section:not(.section-alt) .card {
  background: var(--surface);
  border-color: var(--line-2);
}
.card p {
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Hero ---------- */
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 96px;
}
.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-media {
  flex: 1 1 520px;
  min-width: 0;
  margin: 0;
}
.hero-sub .wrap {
  padding-top: 56px;
  padding-bottom: 80px;
}
.hero-sub .hero-copy {
  max-width: 860px;
  flex-basis: 100%;
}

.demo-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.demo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--faint);
  font-size: 15px;
  background:
    linear-gradient(135deg, rgba(255, 106, 43, 0.1), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.03) 39px 40px);
}
.demo-placeholder strong {
  color: var(--text-soft);
  font-family: var(--font-head);
  font-size: 20px;
}
.demo-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
  background: rgba(14, 17, 22, 0.82);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.hero-media figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 14px;
}

/* ---------- Step numbers ---------- */
.step-num {
  font-family: var(--font-head);
  font-size: 60px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

/* ---------- Home: the docs-list grind ---------- */
.grind {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--accent);
}
.grind li {
  padding: 28px 28px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.grind li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line-2);
}
.grind h3 {
  font-family: var(--font-head);
  font-size: 24px;
  letter-spacing: -0.01em;
}
.grind p {
  color: var(--muted);
}
.grind code {
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.88em;
  color: var(--text-soft);
  background: var(--surface-2);
  border-radius: 6px;
  padding: 1px 6px;
}
.grind-close {
  margin-top: 36px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--text-strong);
}
@media (max-width: 860px) {
  .grind {
    grid-template-columns: minmax(0, 1fr);
  }
  .grind li,
  .grind li + li {
    padding: 22px 0 18px;
    border-left: 0;
  }
  .grind li + li {
    border-top: 1px solid var(--line-2);
  }
}

/* ---------- Home: steps, each with its clip ---------- */
.steps-clips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.step-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px 56px;
  align-items: center;
}
.step-row:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.step-row:nth-child(even) .step-copy {
  order: 2;
}
.step-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-copy h3 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.step-copy p {
  color: var(--muted);
}
.step-clip {
  margin: 0;
  min-width: 0;
}
.clip-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #f3f4f7;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.clip-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.clip-frame .demo-toggle {
  right: 10px;
  bottom: 10px;
  font-size: 13px;
  padding: 6px 12px;
}
@media (max-width: 640px) {
  .clip-frame .demo-toggle {
    right: 6px;
    bottom: 6px;
    font-size: 12px;
    padding: 4px 10px;
  }
}
.step-clip figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .step-row,
  .step-row:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }
  .step-row:nth-child(even) .step-copy {
    order: 0;
  }
  .steps-clips {
    gap: 56px;
  }
}

/* ---------- Audience cards (home) ---------- */
.audience-card {
  padding: 36px;
  gap: 18px;
  border-radius: 22px;
}
.audience-card h3 {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.audience-card .card-link {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
}
.audience-card .card-link:hover {
  text-decoration: underline;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  line-height: 1.5;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- Comparison table (home) ---------- */
.vs {
  width: 100%;
  max-width: 1080px;
  border-collapse: collapse;
  font-size: 18px;
}
.vs th,
.vs td {
  text-align: left;
  vertical-align: middle;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-2);
}
.vs thead th {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 0;
  padding-bottom: 14px;
}
.vs thead .vs-old-head,
.vs thead .vs-new-head {
  padding-left: 58px;
}
.vs thead .vs-old-head {
  color: var(--faint);
}
.vs thead .vs-new-head {
  color: var(--accent);
}
.vs tbody th {
  width: 22%;
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--text-strong);
}
.vs td {
  width: 39%;
  position: relative;
  padding-left: 58px;
}
.vs-mark {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.vs-old .vs-mark {
  background: var(--line-2);
  color: var(--faint);
}
.vs-old .vs-text {
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: rgba(140, 151, 168, 0.55);
  text-decoration-thickness: 1px;
}
.vs-new {
  background: rgba(255, 106, 43, 0.08);
  box-shadow: inset 3px 0 0 var(--accent);
}
.vs-new .vs-mark {
  background: var(--accent);
  color: var(--bg);
}
.vs-new .vs-text {
  color: var(--text-strong);
  font-weight: 700;
}
@media (max-width: 760px) {
  .vs,
  .vs tbody,
  .vs tr,
  .vs th,
  .vs td {
    display: block;
    width: auto;
  }
  .vs thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .vs tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .vs tr {
    border: 1px solid var(--line-2);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
  }
  .vs th,
  .vs td {
    border: 0;
    padding: 12px 16px;
  }
  .vs td {
    padding-left: 52px;
  }
  .vs tbody th,
  .vs td {
    width: auto;
  }
  .vs tbody th {
    padding-top: 16px;
    font-size: 18px;
  }
  .vs td {
    font-size: 16px;
  }
  .vs-mark {
    left: 16px;
    top: 12px;
    transform: none;
  }
}

/* ---------- Security ---------- */
.security-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.security-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(255, 106, 43, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.28);
}
.security-icon svg {
  display: block;
}
.security-grid h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.security-grid p {
  color: var(--muted);
  line-height: 1.55;
}
.pending {
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  padding: 18px 20px;
}
.pending-tag {
  color: var(--faint);
  font-weight: 700;
}

/* ---------- Pricing ---------- */
.price-card {
  padding: 40px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card.featured {
  border: 2px solid var(--accent);
}
.price-label {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}
.price-card.featured .price-label {
  color: var(--accent);
}
.price-big {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1;
}
.price-card p:not(.price-label):not(.price-big) {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.5;
}
.price-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
}
.faq details {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-weight: 700;
  color: var(--text-strong);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq summary h3 {
  display: inline;
  font-size: 18px;
  font-family: var(--font-body);
}
.faq .answer {
  padding: 0 22px 22px;
  color: var(--muted);
}

/* ---------- Cross links ---------- */
.cross {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.cross a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  text-decoration: none;
  color: var(--text);
}
.cross a:hover {
  border-color: var(--accent);
  color: var(--text);
}
.cross strong {
  color: var(--text-strong);
  font-family: var(--font-head);
  font-size: 22px;
}
.cross span {
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta-wrap {
  padding-bottom: 104px;
}
.cta {
  background: var(--accent);
  color: var(--bg);
  border-radius: 28px;
  padding: 64px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.cta h2 {
  color: var(--bg);
  line-height: 1;
}
.cta-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-copy p {
  font-size: 19px;
  line-height: 1.5;
}
.cta form {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cta input[type='email'] {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  font-size: 17px;
  padding: 15px 18px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: #ffffff;
  color: var(--bg);
}
.cta input::placeholder {
  color: #4a5260;
}
.cta button {
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--bg);
  color: #ffffff;
  cursor: pointer;
}
.cta button:hover {
  background: #222a36;
}
.cta :focus-visible {
  outline-color: var(--bg);
}
.form-note {
  flex-basis: 100%;
  font-size: 14px;
}
/* Spam trap: off-screen, unfocusable, hidden from assistive tech. People never fill it. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 40px;
  color: var(--faint);
  font-size: 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--text-strong);
  text-decoration: underline;
}

/* ---------- Audience pages: product shots ---------- */
.shot {
  margin: 0;
  min-width: 0;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.shot figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.5;
}
.shot-narrow {
  max-width: 460px;
}

/* Sub-page hero with a product shot beside (or under) the copy. */
.hero-sub.has-media .hero-copy {
  flex: 1 1 420px;
  max-width: none;
}
.hero-sub.has-media .shot {
  flex: 1 1 520px;
}
/* A second hero shot that runs the full width under the copy and first shot. */
.hero-sub.has-media .shot-wide {
  flex-basis: 100%;
}
.hero-sub h1 {
  font-size: clamp(38px, 6vw, 68px);
}
.hero-note {
  color: var(--faint);
  font-size: 15px;
}

/* ---------- Buyers: chapters ---------- */
.chapters {
  display: flex;
  flex-direction: column;
  gap: 64px;
  counter-reset: none;
}
.chapter {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 28px;
  max-width: 860px;
}
.chapter-wide {
  max-width: none;
  grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
}
.chapter-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 64px;
  line-height: 0.9;
  color: var(--accent);
}
.chapter-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chapter-body h3 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.chapter-body p {
  color: var(--muted);
}
@media (max-width: 860px) {
  .chapter,
  .chapter-wide {
    grid-template-columns: minmax(0, 1fr);
  }
  .chapter-num {
    font-size: 48px;
  }
}

/* ---------- Buyers: the record ---------- */
.record-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 56px;
  align-items: start;
}
.record-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--accent);
}
.record-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--text-soft);
}
.record-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 21px;
  color: var(--text-strong);
  margin-bottom: 4px;
}
.record-shots {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
@media (max-width: 860px) {
  .record-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Worry → answer ledger ---------- */
.ledger {
  margin: 0;
  border-top: 1px solid var(--line-2);
  max-width: 980px;
}
.ledger > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 8px 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.ledger dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--text-strong);
}
.ledger dd {
  margin: 0;
  color: var(--text-soft);
}
@media (max-width: 760px) {
  .ledger > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

.big-line {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  max-width: 980px;
}
.big-line em {
  font-style: normal;
  color: var(--accent);
}

/* ---------- Intermediary: desks (alternating split rows) ---------- */
.desks {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.desk {
  display: grid;
  gap: 28px 56px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
}
.desk:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.desk:nth-child(even) .desk-copy {
  order: 2;
}
.desk-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.desk-copy h3 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.desk-copy p {
  color: var(--muted);
}
.desk-copy .kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 860px) {
  .desk,
  .desk:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }
  .desk:nth-child(even) .desk-copy {
    order: 0;
  }
  .desks {
    gap: 72px;
  }
}

/* A plain list with a label: deliberately not card- or app-like. */
.note-list {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 24px;
}
.note-head {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-strong);
  margin-bottom: 16px;
}

/* Plain numbers strip (pricing facts). */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  margin: 0;
}
.facts > div {
  flex: 1 1 220px;
  min-width: 0;
  border-top: 3px solid var(--accent);
  padding-top: 18px;
}
.facts dt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  color: var(--text-strong);
}
.facts dd {
  margin: 10px 0 0;
  color: var(--text-soft);
}

/* ---------- Sellers: outcomes, control, two ways ---------- */
.outcomes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  counter-reset: outcome;
}
.outcomes li {
  counter-increment: outcome;
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.outcomes h3 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.outcomes h3::before {
  content: counter(outcome, decimal-leading-zero) ' ';
  color: var(--accent);
}
.outcomes p {
  color: var(--text-soft);
}
.outcomes .how {
  color: var(--faint);
  font-size: 15px;
}
.outcomes-shot {
  margin-top: 40px;
  max-width: 760px;
}
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin-bottom: 48px;
}
.ways article {
  border-top: 2px solid var(--accent);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ways h3 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
}
.ways p {
  color: var(--muted);
}
@media (max-width: 860px) {
  .outcomes,
  .pair,
  .ways {
    grid-template-columns: minmax(0, 1fr);
  }
  .ways {
    gap: 40px;
  }
}

.split {
  display: grid;
  gap: 32px 56px;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
}
.split > .section-head {
  margin-bottom: 0;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.doclist {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 320px;
  column-gap: 48px;
  max-width: 1040px;
}
.doclist li {
  break-inside: avoid;
  padding: 14px 0;
  border-top: 1px solid var(--line-2);
  color: var(--text-soft);
}
.doclist strong {
  display: block;
  color: var(--text-strong);
}

/* ---------- Affiliates: hero rates ---------- */
.rates {
  flex: 1 1 380px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.rates > div {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
.rates > div:first-child {
  border-top: 1px solid var(--line-2);
}
.rates dt {
  flex: none;
  width: 2.6em;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  color: var(--accent);
}
.rates div:nth-child(2) dt {
  opacity: 0.8;
}
.rates div:nth-child(3) dt {
  opacity: 0.6;
}
.rates dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
}

/* ---------- Affiliates: worked example ---------- */
.list-note,
.earn-note {
  margin-top: 24px;
  max-width: 760px;
}
.earn {
  display: grid;
  gap: 32px 56px;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
}
.earn-bars {
  display: grid;
  grid-template-columns: repeat(36, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
  height: 220px;
  border-bottom: 1px solid var(--line-2);
}
.earn-bars span {
  border-radius: 3px 3px 0 0;
  background: var(--accent);
}
.earn-bars .t1 {
  height: 100%;
}
.earn-bars .t2 {
  height: 66.7%;
  opacity: 0.75;
}
.earn-bars .t3 {
  height: 33.3%;
  opacity: 0.5;
}
.earn-axis {
  display: grid;
  grid-template-columns: 12fr 12fr 11fr 1fr;
  margin-top: 8px;
  font-size: 13px;
  color: var(--faint);
}
.earn-axis span:last-child {
  text-align: right;
}
.earn-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.earn-table th,
.earn-table td {
  text-align: right;
  padding: 12px 0 12px 12px;
  border-bottom: 1px solid var(--line-2);
}
.earn-table th:first-child {
  text-align: left;
  padding-left: 0;
}
.earn-table thead th {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.earn-table tbody th,
.earn-table td {
  color: var(--text-soft);
}
.earn-table tfoot th,
.earn-table tfoot td {
  border-bottom: 0;
  color: var(--text-strong);
  font-weight: 700;
}
.earn-table tfoot td {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--accent);
}
@media (max-width: 860px) {
  .earn {
    grid-template-columns: minmax(0, 1fr);
  }
  .earn-bars {
    height: 160px;
    gap: 2px;
  }
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-dark {
  background: var(--bg);
  color: #ffffff;
}
.btn-dark:hover {
  background: #222a36;
  color: #ffffff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--bg);
  box-shadow: inset 0 0 0 2px var(--bg);
}
.btn-outline-dark:hover {
  background: rgba(14, 17, 22, 0.08);
  color: var(--bg);
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
  }
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .hero .wrap {
    padding-top: 32px;
    padding-bottom: 64px;
    gap: 40px;
  }
  .lead {
    font-size: 18px;
  }
  .card,
  .audience-card,
  .price-card,
  .security-card {
    padding: 24px;
  }
  .cta {
    padding: 40px 22px;
    border-radius: 22px;
  }
  .cta-wrap {
    padding-bottom: 72px;
  }
  .cta button {
    flex: 1 1 100%;
  }
  .site-nav ul {
    gap: 4px 16px;
  }
  .header-cta .btn {
    padding: 10px 14px;
    font-size: 14px;
  }
}
