/* Realty Data Signals shared styles. Extracted from inline page CSS for caching and easier maintenance. */
/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --navy:   #0B1220;
  --navy2:  #111c30;
  --teal:   #0F766E;
  --teal2:  #14b8a6;
  --teal-faint: rgba(15,118,110,.09);
  --teal-glow:  rgba(15,118,110,.18);
  --slate:  #475569;
  --muted:  #64748b;
  --paper:  #f8fafc;
  --paper2: #f1f5f9;
  --line:   #e2e8f0;
  --white:  #ffffff;
  --amber:  #f59e0b;
  --red:    #b91c1c;

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;

  --shadow-sm:  0 2px 8px rgba(15,23,42,.05);
  --shadow-md:  0 8px 28px rgba(15,23,42,.08);
  --shadow-lg:  0 24px 60px rgba(15,23,42,.11);
  --shadow-teal: 0 16px 44px rgba(15,118,110,.18);

  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section.white { background: var(--white); }
.white      { background: var(--white); }

/* ── MASTHEAD ─────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.logo {
  width: 40px; height: 40px; border-radius: 14px;
  background: var(--navy);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.03em;
  flex-shrink: 0;
}
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -.02em; line-height: 1.2; }
.brand-sub  { font-size: 11.5px; color: var(--muted); margin-top: 2px; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: #334155; }
.nav a { transition: color .15s ease; }
.nav a:hover { color: var(--teal); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 12px 22px; font-family: var(--font-body);
  font-weight: 600; font-size: 14px; line-height: 1; cursor: pointer;
  transition: all .18s ease; letter-spacing: .01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal); color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { background: #0d6b64; transform: translateY(-1px); box-shadow: 0 20px 50px rgba(15,118,110,.24); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #192540; transform: translateY(-1px); }
.btn-outline { border-color: #cbd5e1; background: var(--white); color: var(--navy); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* ── TYPE ─────────────────────────────────────────────────── */
h1 {
  font-family: var(--font-serif);
  font-size: 72px; line-height: .96; letter-spacing: -.02em;
  margin: 26px 0 0; font-weight: 400; max-width: 840px;
  color: var(--navy);
}
h1 em { font-style: italic; color: var(--teal); }
h2 {
  font-family: var(--font-serif);
  font-size: 46px; line-height: 1.04; letter-spacing: -.02em;
  margin: 0; font-weight: 400;
}
h3 { font-size: 19px; line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.lead {
  font-size: 20px; line-height: 1.65; color: var(--slate);
  max-width: 660px; margin: 28px 0 0; font-weight: 400;
}
.sub { color: var(--slate); line-height: 1.7; margin: 14px 0 0; font-size: 16px; }
.eyebrow {
  display: inline-block;
  background: var(--teal-faint); color: var(--teal);
  border: 1px solid rgba(15,118,110,.18);
  border-radius: 999px; padding: 7px 14px;
  font-weight: 600; font-size: 11.5px;
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: .1em;
}
.section-head { max-width: 780px; }
.section-head.center { text-align: center; margin: 0 auto; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--white);
}
.hero::before {
  content: '';
  position: absolute; left: 50%; top: -100px;
  transform: translateX(-50%);
  width: 1000px; height: 560px; border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(15,118,110,.14) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; right: -80px; bottom: -60px;
  width: 400px; height: 400px; border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(15,118,110,.07) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; padding: 80px 0 100px;
  align-items: end;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--teal-faint);
  border: 1px solid rgba(15,118,110,.2);
  color: var(--teal); font-weight: 600; font-size: 13px;
}
.dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(15,118,110,.2);
}
.hero-bullets {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin: 36px 0 0;
}
.mini {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; padding: 18px 16px;
  color: #334155; font-size: 15px; line-height: 1.6;
  font-weight: 400;
}
.check {
  width: 24px; height: 24px; border-radius: 8px;
  background: var(--teal-faint); color: var(--teal);
  display: grid; place-items: center;
  font-weight: 700; font-size: 12px; margin-bottom: 11px;
}

/* ── FORM CARD ────────────────────────────────────────────── */
.form-card {
  position: sticky; top: 96px; align-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.form-card::before {
  content: '';
  display: block; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal2));
  border-radius: 4px 4px 0 0;
  margin: -30px -30px 24px -30px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.form-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.form-card h2 {
  font-size: 24px; letter-spacing: -.025em;
  font-family: var(--font-serif); font-weight: 400;
}
.iconbox {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: var(--teal-faint); color: var(--teal);
  display: grid; place-items: center;
  font-weight: 800; font-size: 12px; letter-spacing: .04em;
}
.included {
  background: var(--navy); color: #fff;
  border-radius: var(--radius-md); padding: 20px 22px;
  margin: 22px 0;
}
.included small {
  display: block; color: rgba(255,255,255,.9);
  font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 8px;
}
.included strong { font-size: 14px; line-height: 1.6; display: block; font-weight: 500; color: rgba(255,255,255,.5); }
.formkit-fields { display: grid; gap: 10px; }
.formkit-field { margin: 0; }
.formkit-input {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid #d1d9e0; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14.5px; color: var(--navy);
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
.formkit-input::placeholder { color: #94a3b8; }
.formkit-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,118,110,.1);
}
.formkit-submit {
  width: 100%; border: none;
  border-radius: var(--radius-sm);
  background: var(--teal); color: #fff;
  padding: 15px 18px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  cursor: pointer; letter-spacing: .01em;
  transition: all .18s ease;
  box-shadow: 0 8px 24px rgba(15,118,110,.22);
}
.formkit-submit:hover { background: #0d6b64; transform: translateY(-1px); }
.formkit-alert { list-style: none; padding: 0; margin: 0; }
.formkit-alert-error li { color: var(--red); font-size: 13px; margin: 6px 0; }
.formkit-alert-success,
.formkit-success,
[data-element="success"] {
  position: relative;
  margin: 16px 0 0;
  padding: 18px 18px 18px 62px;
  border: 1px solid rgba(15,118,110,.22);
  border-radius: var(--radius-md);
  background: var(--teal-faint);
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}
.formkit-alert-success::before,
.formkit-success::before,
[data-element="success"]::before {
  content: '✓';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) scale(.88);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  animation: successPop .34s cubic-bezier(.22,1,.36,1) both;
}
@keyframes successPop {
  0% { transform: translateY(-50%) scale(.55); opacity: 0; }
  100% { transform: translateY(-50%) scale(1); opacity: 1; }
}
.fine {
  font-size: 13px; color: #94a3b8;
  text-align: center; line-height: 1.6; margin-top: 14px;
}

/* ── DARK SECTION ─────────────────────────────────────────── */
.dark {
  background: var(--navy);
  color: #fff;
  position: relative; overflow: hidden;
}
.dark::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px; border-radius: 999px;
  background: radial-gradient(ellipse, rgba(15,118,110,.12) 0%, transparent 65%);
  pointer-events: none;
}
.three {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; padding: 64px 0;
}
.dark-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md); padding: 28px;
  transition: background .2s ease;
}
.dark-card:hover { background: rgba(255,255,255,.08); }
.dark-card h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.dark-card p { color: #94a3b8; line-height: 1.72; font-size: 15.5px; margin: 0; }
.kicker {
  color: var(--teal2); font-size: 11.5px; font-weight: 700;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: .1em;
}

/* ── PRINCIPLES ───────────────────────────────────────────── */
.principle-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 42px; }
.principle {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm);
}
.principle-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--teal-faint); color: var(--teal);
  font-weight: 800; font-size: 14px; margin-bottom: 18px;
}
.principle p { color: var(--slate); font-size: 15.5px; line-height: 1.75; margin-top: 10px; }
.principle strong { color: var(--navy); font-weight: 700; }

/* ── CONTRAST ─────────────────────────────────────────────── */
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.contrast-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; background: var(--white); box-shadow: var(--shadow-sm);
}
.contrast-card.bad  { background: #fffbfb; border-color: #fecaca; }
.contrast-card.good { background: #f0fdfb; border-color: rgba(15,118,110,.22); }
.contrast-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.contrast-card ul { list-style: none; padding: 0; margin: 20px 0 0; }
.contrast-card li {
  display: grid; grid-template-columns: 24px 1fr; gap: 10px;
  margin: 14px 0; color: #334155; line-height: 1.6; font-size: 15px;
}
.xmark { color: #dc2626; font-weight: 800; margin-top: 1px; }
.ymark { color: var(--teal); font-weight: 800; margin-top: 1px; }

/* ── SCRIPTS ──────────────────────────────────────────────── */
.script-grid {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 14px; margin-top: 44px;
}
.script {
  border: 1px solid var(--line); background: var(--white);
  border-radius: var(--radius-md); padding: 20px;
  font-weight: 600; font-size: 15px; line-height: 1.4;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 14px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.script:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.num {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--teal); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px; flex-shrink: 0;
}

/* ── MODULE GRID ──────────────────────────────────────────── */
.module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.module {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease;
}
.module:hover { box-shadow: var(--shadow-md); }
.module h3 { margin-bottom: 10px; }
.module p { color: var(--slate); font-size: 15px; line-height: 1.68; margin-top: 10px; }

/* ── DASHBOARD ────────────────────────────────────────────── */
.dash-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.dashboard-mock {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.dash-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; background: var(--navy); color: #fff;
}
.dash-title { font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.dash-chip {
  font-size: 11.5px;
  background: rgba(94,234,212,.14); border: 1px solid rgba(94,234,212,.3);
  color: #5eead4; border-radius: 999px; padding: 6px 12px; font-weight: 700;
}
.dash-body { padding: 16px 18px; }
.dash-row {
  display: grid; grid-template-columns: 1.1fr .8fr 1.2fr .7fr;
  gap: 10px; align-items: center;
  border-bottom: 1px solid var(--line); padding: 12px 0;
  font-size: 13px; color: #334155;
}
.dash-row.head {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: #94a3b8; font-weight: 700;
}
.status {
  display: inline-flex; width: max-content; border-radius: 999px;
  padding: 5px 10px; font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.status.due  { background: #fff7ed; color: #9a3412; }
.status.ok   { background: #dcfce7; color: #166534; }
.status.wait { background: #e0f2fe; color: #075985; }

/* ── MICRO CARDS ──────────────────────────────────────────── */
.micro-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.micro-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.client-says {
  font-size: 16px; line-height: 1.5; color: var(--navy);
  font-weight: 700; margin: 12px 0 14px; font-family: var(--font-serif);
}
.do-this {
  border-top: 1px solid var(--line); padding-top: 14px;
  color: var(--slate); font-size: 14.5px; line-height: 1.65;
}

/* ── SPLIT: FLORIDA EDGE / AUDIT ─────────────────────────── */
.split-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.edge-card {
  background: linear-gradient(135deg, rgba(15,118,110,.07) 0%, rgba(15,184,166,.04) 100%);
  border: 1px solid rgba(15,118,110,.18);
  border-radius: var(--radius-lg); padding: 36px 40px;
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start;
}
.edge-card .eyebrow { width: max-content; align-self: start; }
.edge-copy { min-width: 0; }
.edge-card h2 { font-size: 32px; margin-top: 0; }
.edge-card .sub { margin-top: 16px; max-width: 58ch; }
.audit-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  gap: 30px; align-items: stretch;
}
.audit-copy { min-width: 0; }
.audit-form-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-md);
  display: block;
}
.audit-form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal2));
}
.audit-form-inner {
  width: 100%; min-height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: 20px;
}
.audit-form-top {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
}
.audit-form-top .kicker { margin: 0 0 6px; }
.audit-form-top h3 { font-size: 20px; line-height: 1.25; }
.audit-form-top .sub { margin-top: 8px; font-size: 14.5px; line-height: 1.55; }
.audit-form-card form { width: 100%; margin-top: 0 !important; }
.audit-form-card .formkit-fields { gap: 12px; }
.audit-form-card .fine { margin-top: -4px; }
.audit-list { display: grid; gap: 12px; margin-top: 22px; }
.audit-q {
  display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
  color: #334155; line-height: 1.6; font-size: 15px;
}
.audit-num {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--teal); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.audit-card .sub { margin-top: 16px; }

/* ── AUTHOR ───────────────────────────────────────────────── */
.author-section { background: var(--white); }
.author-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: start; }
.author-card {
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 28px; background: var(--white); box-shadow: var(--shadow-lg);
  position: sticky; top: 96px;
}
.author-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-lg);
  background: #e5e7eb;
}
.author-name { font-size: 26px; font-weight: 700; margin-top: 20px; letter-spacing: -.02em; }
.author-role { color: var(--slate); margin-top: 5px; font-size: 14px; }
.bodytext { color: #334155; font-size: 16px; line-height: 1.88; }
.bodytext p + p { margin-top: 18px; }
.bodytext strong { color: var(--navy); font-weight: 700; }
.note {
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 20px; padding: 18px 20px;
  color: var(--muted); font-size: 13.5px; line-height: 1.65; margin-top: 24px;
}
.bold-warning { font-weight: 700; color: var(--navy); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.metric strong { display: block; font-size: 32px; color: var(--teal); line-height: 1; font-weight: 800; }
.metric span { display: block; color: var(--slate); font-size: 13px; line-height: 1.4; margin-top: 6px; }

/* ── VALUE ANCHOR ─────────────────────────────────────────── */
.value-anchor {
  background: linear-gradient(135deg, rgba(15,118,110,.08) 0%, rgba(15,184,166,.06) 100%);
  border: 1px solid rgba(15,118,110,.18);
  border-radius: var(--radius-xl); padding: 30px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-bottom: 36px;
}
.value-anchor h2 { font-size: 26px; letter-spacing: -.02em; max-width: 680px; }
.value-anchor p { margin: 8px 0 0; color: var(--slate); line-height: 1.65; font-size: 15px; }

/* ── PRICING ──────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tier {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 30px 30px 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  min-height: 560px;
  transition: box-shadow .2s ease;
}
.tier:hover { box-shadow: var(--shadow-md); }
.tier.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
  position: relative;
}
.tier.featured::before {
  content: '';
  position: absolute; top: -1px; left: -1px; right: -1px; height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--teal2));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 1;
}
.tag {
  display: inline-block; background: var(--teal);
  color: #fff; padding: 6px 14px;
  border-radius: 999px; font-size: 12px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: .04em;
}
.price { font-size: 48px; font-weight: 800; margin: 12px 0; letter-spacing: -.04em; }
.tier h3 { font-size: 21px; font-weight: 700; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.tier li { display: flex; gap: 10px; margin: 11px 0; color: #334155; font-size: 15px; line-height: 1.5; }
.tier .btn {
  margin-top: auto; width: 100%; min-height: 48px;
  padding: 0 22px; display: inline-flex; align-items: center; justify-content: center;
  text-align: center;
}



/* ── TRUST GAP SCORECARD ─────────────────────────────────── */
.scorecard-section { background: var(--white); }
.scorecard-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: stretch; }
.scorecard-copy {
  position: static;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.scorecard-copy .sub { margin-bottom: 0; }
.score-note { margin-top: 28px; border: 1px solid rgba(15,118,110,.18); background: rgba(15,118,110,.06); border-radius: 20px; padding: 18px 20px; color: #334155; line-height: 1.65; font-size: 15px; }
.scorecard-card { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 30px; }
.score-top { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.score-top h3 { font-size: 24px; line-height: 1.15; margin-top: 6px; letter-spacing: -.02em; }
.score-pill { flex-shrink: 0; border-radius: 999px; padding: 8px 13px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.score-list { display: grid; gap: 10px; margin-top: 18px; }
.score-list label { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 16px; padding: 14px 15px; color: #334155; font-size: 14.5px; line-height: 1.55; cursor: pointer; background: #fff; }
.score-list label:hover { border-color: rgba(15,118,110,.35); background: rgba(15,118,110,.035); }
.score-list input { margin-top: 4px; accent-color: var(--teal); }
.score-btn { width: 100%; margin-top: 18px; justify-content: center; }
.score-result { margin-top: 18px; border-radius: 20px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); }
.score-result strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.score-result p { color: var(--slate); line-height: 1.65; margin: 0; font-size: 14.5px; }
.pricing-two { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); max-width: 980px; margin: 0 auto; }
.pricing-two .tier { min-height: 620px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; margin-top: 40px; }
.faq details {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: 18px; padding: 0;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: rgba(15,118,110,.3); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 15px;
  padding: 18px 22px; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
.faq summary::after {
  content: '+';
  font-size: 20px; font-weight: 400; color: var(--muted);
  transition: transform .2s ease;
  flex-shrink: 0; margin-left: 12px;
}
.faq details[open] summary::after { content: '−'; }
.faq p {
  color: var(--slate); line-height: 1.7; font-size: 15px;
  padding: 0 22px 18px; margin: 0;
}

/* ── CTA ──────────────────────────────────────────────────── */
.cta {
  background: var(--navy); color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; left: 50%; top: -200px; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 999px;
  background: radial-gradient(ellipse, rgba(15,118,110,.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta h2 {
  font-size: 60px; max-width: 880px; margin: 0 auto;
  font-family: var(--font-serif);
}
.cta p { color: #94a3b8; font-size: 18px; line-height: 1.65; margin-top: 18px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 36px; }
.footgrid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 36px; }
.footer p, .footer li { font-size: 13.5px; color: #64748b; line-height: 1.7; margin: 6px 0; }
.footer ul { list-style: none; padding: 0; margin: 10px 0 0; }
.footer strong { color: var(--navy); font-weight: 700; font-size: 14px; display: block; margin-bottom: 4px; }
.footer a:hover { color: var(--teal); }
.legal-line {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: #94a3b8; line-height: 1.65;
}

/* ── GUARANTEE SECTION ────────────────────────────────────── */
#guarantee .value-anchor { background: var(--paper); border-color: var(--line); }

/* ── REVEAL ANIMATION ─────────────────────────────────────── */
.js-reveal .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.js-reveal .reveal.in { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .three, .pricing, .footgrid, .audit-card { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .micro-grid { grid-template-columns: 1fr 1fr; }
  .edge-card, .audit-card { height: auto; }
  .edge-card { grid-template-columns: 1fr; gap: 18px; }
  .contrast-grid, .dash-wrap, .split-grid, .author-grid, .scorecard-grid, .pricing-two { grid-template-columns: 1fr; }
  .script-grid { grid-template-columns: 1fr 1fr; }
  .hero-bullets { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .author-card, .scorecard-copy { position: static; height: auto; }
  .scorecard-card { height: auto; }
  h1 { font-size: 50px; }
  h2, .cta h2 { font-size: 38px; }
  .section { padding: 64px 0; }
  .value-anchor { display: block; }
  .value-anchor .btn { margin-top: 20px; }
  .tier { min-height: auto; }
  .audit-form-card { padding: 24px; }
  .audit-form-inner { justify-content: flex-start; }
  .principle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .module-grid, .script-grid { grid-template-columns: 1fr; }
  .dash-row { grid-template-columns: 1fr; }
  .dash-row.head { display: none; }
  .author-card img { max-width: 420px; height: auto; margin: 0 auto; }
  .masthead-inner { height: 64px; }
  .brand-sub { display: none; }
  .btn { padding: 11px 16px; }
  .hero-grid { padding-top: 52px; }
  .lead { font-size: 17px; }
  .cta-actions .btn { width: 100%; }
  h1 { font-size: 40px; }
  .cta h2 { font-size: 32px; }
  .hero-bullets { grid-template-columns: 1fr; }
  .micro-grid { grid-template-columns: 1fr; }
  .contrast-grid { grid-template-columns: 1fr; }
}

/* ── SECONDARY PAGES ─────────────────────────────────────── */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 82px 24px 96px;
}
.legal-page h1 {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-weight: 400;
  margin: 0 0 26px;
}
.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -.015em;
  font-weight: 400;
  margin: 42px 0 12px;
}
.legal-page p,
.legal-page li {
  color: var(--slate);
  line-height: 1.78;
  font-size: 16px;
  margin: 12px 0;
}
.legal-page ul,
.legal-page ol { padding-left: 22px; }
.legal-page strong { color: var(--navy); font-weight: 700; }

.thank-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: start;
}
.download-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--teal2));
}
.download-card .btn { width: 100%; margin-top: 14px; }
.download-card hr { border-color: var(--line) !important; }
.alert {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  line-height: 1.65;
  font-size: 14.5px;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .thank-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .legal-page { padding: 56px 22px 72px; }
  .legal-page h1 { font-size: 40px; }
  .legal-page h2 { font-size: 26px; }
}


/* ── MOBILE WIDTH / FOOTER POLISH v21.23 ─────────────────────
   Mobile-only overrides. Desktop layout and funnel links are unchanged. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 640px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero,
  .dark,
  .section,
  .footer {
    overflow-x: hidden;
  }

  .hero::before {
    width: 560px;
    height: 360px;
    top: -80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 60px 24px 76px;
    align-items: start;
  }

  .badge,
  .eyebrow {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 11.5vw, 54px);
    line-height: .98;
    letter-spacing: -.045em;
    margin-top: 24px;
  }

  .lead {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.62;
  }

  .hero-bullets {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .mini {
    border-radius: 24px;
    padding: 22px 24px;
    font-size: 17px;
    line-height: 1.58;
  }

  .check {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: 15px;
    margin-bottom: 18px;
  }

  .three {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 50px 24px;
  }

  .dark-card {
    border-radius: 28px;
    padding: 32px 28px;
  }

  .dark-card h3 {
    font-size: 30px;
    line-height: 1.16;
    margin-bottom: 18px;
  }

  .dark-card p {
    font-size: 20px;
    line-height: 1.62;
  }

  .kicker {
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .14em;
    margin-bottom: 22px;
  }

  .footer {
    padding: 52px 0 96px;
  }

  .footgrid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer strong {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .footer p,
  .footer li {
    font-size: 17px;
    line-height: 1.55;
    margin: 5px 0;
  }

  .footer ul {
    margin-top: 8px;
    display: grid;
    gap: 4px;
  }

  .legal-line {
    margin-top: 30px;
    padding-top: 22px;
    font-size: 15.5px;
    line-height: 1.62;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .three {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .dark-card h3 {
    font-size: 28px;
  }

  .dark-card p {
    font-size: 19px;
  }
}
.score-result .score-result-cta { margin-top: 14px; }
.score-result .score-result-cta a { color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

#scorecard, #playbook, #inside, #pricing, #get-playbook {
  scroll-margin-top: 92px;
}
