/* ============================================================
   Ben McLean · The Physics Tutor — site stylesheet
   Brand: deep purple #3c3489 · serif voice · calm, precise
   ============================================================ */

:root {
  --purple: #3c3489;
  --purple-dark: #2e2769;
  --purple-soft: rgba(60, 52, 137, 0.08);
  --purple-border: rgba(60, 52, 137, 0.22);
  --ink: #2a2540;
  --ink-soft: #4a4462;
  --muted: #6f6a86;
  --lavender: #8a83b0;
  --paper: #fbfbfe;
  --white: #ffffff;
  --line: #e6e3f2;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* Stop iOS Safari inflating text inside wide blocks (renders oversized on iPhone) */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

a { color: var(--purple); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1060px;
  margin: 0 auto;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.brand .brand-name { font-size: 20px; font-weight: 600; letter-spacing: 0.01em; }
.brand .brand-sub {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--sans);
  font-size: 14px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a.active { color: var(--purple); border-bottom-color: var(--purple); }
.nav-links a.nav-cta {
  background: var(--purple);
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  border-bottom: none;
}
.nav-links a.nav-cta:hover { background: var(--purple-dark); color: #fff; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 12px 24px rgba(42, 37, 64, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-bottom: none; }
  .nav-links a.nav-cta { margin: 10px 24px 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
}
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 16px;
}
h1 {
  font-size: 42px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.hero .lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 56ch;
}
.creds-line {
  font-size: 15px;
  color: var(--purple);
  letter-spacing: 0.01em;
  margin-bottom: 30px;
}
.creds-line .dot { color: var(--lavender); padding: 0 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 7px;
  padding: 13px 26px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-secondary {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple-border);
}
.btn-secondary:hover { border-color: var(--purple); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-big { font-size: 16px; padding: 15px 32px; }

/* ---------- Portrait ---------- */
.portrait {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  padding: 5px;
  background: #fff;
  box-shadow: 0 0 0 2.5px var(--purple), 0 18px 40px rgba(60, 52, 137, 0.15);
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}
.portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.portrait .initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Mastery Tracker spreadsheet mock (home hero) ---------- */
.xl {
  border: 1px solid #c9c6db;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 24px 48px rgba(60, 52, 137, 0.16);
  background: #fff;
  max-width: 460px;
  margin: 0 auto;
}
.xl-chrome {
  background: #ece9f5;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #c9c6db;
}
.xl-chrome i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.xl-chrome .r { background: #f26d5f; }
.xl-chrome .y { background: #f5bd4f; }
.xl-chrome .g { background: #61c454; }
.xl-chrome span { font-size: 11px; color: #5a5570; margin-left: 8px; }
.xl table { width: 100%; border-collapse: collapse; font-size: 11.5px; table-layout: fixed; }
.xl td, .xl th { overflow-wrap: break-word; }
.xl th:nth-child(1), .xl td:nth-child(1) { width: 14%; }
.xl th:nth-child(2), .xl td:nth-child(2) { width: 42%; }
.xl th:nth-child(3), .xl td:nth-child(3) { width: 23%; }
.xl th:nth-child(4), .xl td:nth-child(4) { width: 21%; }
.xl th {
  background: var(--purple);
  color: #fff;
  text-align: left;
  padding: 6px 9px;
  font-weight: 700;
  font-size: 10.5px;
}
.xl td { border: 1px solid #e3e1ee; padding: 7px 9px; color: #2a2540; }
.xl .lvl { font-weight: 700; text-align: center; }
.l-int { background: #eceafd; }
.l-dev { background: #cfc9ef; }
.l-sec { background: #a89ee0; color: #fff; }
.l-mas { background: #3c3489; color: #fff; }
.xl .due td { background: #fdf1dc; }
.xl .due .flag { color: #9a6a12; font-weight: 700; }

/* ---------- Anki desktop mock (evidence card) ---------- */
.ank {
  border: 1px solid #c6c6c6;
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--sans);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  background: #fff;
}
.ank-chrome {
  background: #e8e8e8;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #d0d0d0;
}
.ank-chrome i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ank-chrome .r { background: #f26d5f; }
.ank-chrome .y { background: #f5bd4f; }
.ank-chrome .g { background: #61c454; }
.ank-chrome span { font-size: 11px; color: #555; margin-left: 8px; }
.ank-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 8px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 11.5px;
  color: #444;
}
.ank-nav b { color: #000; }
.ank table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.ank td { overflow-wrap: break-word; }
.ank th {
  font-size: 10.5px;
  color: #888;
  font-weight: 500;
  text-align: right;
  padding: 8px 14px 2px;
  width: 52px;
}
.ank th:first-child { text-align: left; width: auto; }
.ank td { padding: 7px 14px; color: #222; }
.ank .parent { font-weight: 700; }
.ank .child { padding-left: 34px; position: relative; }
.ank .child::before {
  content: "▸";
  position: absolute;
  left: 20px;
  color: #999;
  font-size: 10px;
}
.ank .child.open::before { content: "▾"; }
.ank .gchild { padding-left: 54px; color: #555; font-size: 11.5px; }
.ank .n { color: #0894d3; text-align: right; font-weight: 600; }
.ank .l { color: #d9534f; text-align: right; font-weight: 600; }
.ank .d { color: #3fa53f; text-align: right; font-weight: 600; }
.ank .zero { color: #bbb; font-weight: 400; }
.ank-foot {
  border-top: 1px solid #e5e5e5;
  padding: 8px 14px;
  font-size: 11px;
  color: #888;
  text-align: center;
}

/* ---------- Mastery record mock-up (home hero) ---------- */
.record-card {
  background: var(--white);
  border: 0.5px solid var(--purple-border);
  border-top: 5px solid var(--purple);
  border-radius: 10px;
  padding: 22px 22px 16px;
  box-shadow: 0 24px 48px rgba(60, 52, 137, 0.14);
  font-family: var(--sans);
  max-width: 430px;
  margin: 0 auto;
}
.record-card .rec-cap {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 4px;
}
.record-card .rec-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1.5px solid var(--purple);
  padding-bottom: 9px;
}
.record-card .rec-title span { font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--muted); }
.rec-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.rec-row:last-of-type { border-bottom: none; }
.rec-row .rc-code { font-size: 10px; color: var(--lavender); }
.rec-row .rc-name { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.rec-dots { display: flex; gap: 3px; }
.rec-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e6e3f2;
}
.rec-dots i.f1 { background: #b9b2dd; }
.rec-dots i.f2 { background: #8a7fc4; }
.rec-dots i.f3 { background: #5c50a4; }
.rec-dots i.f4 { background: var(--purple); }
.rec-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  background: var(--purple-soft);
  color: var(--purple);
}
.rec-chip.due { background: #fdf1dc; color: #9a6a12; }
.record-card .rec-foot {
  font-size: 10.5px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}

/* ---------- Sections ---------- */
section.band { padding: 64px 0; }
section.band-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }
h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 16.5px; max-width: 62ch; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 0.5px solid var(--purple-border);
  border-left: 4px solid var(--purple);
  border-radius: 8px;
  padding: 26px 26px 24px;
}
.card p { font-size: 15.5px; line-height: 1.68; color: var(--ink-soft); }
.card .card-num {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--lavender);
  margin-bottom: 10px;
}

/* ---------- Quote / testimonial ---------- */
.quote {
  position: relative;
  background: var(--paper);
  border: 0.5px solid rgba(60, 52, 137, 0.2);
  border-left: 3px solid var(--purple);
  border-radius: 6px;
  padding: 24px 28px 20px 46px;
}
.quote .qmark {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 0;
  color: rgba(60, 52, 137, 0.28);
  position: absolute;
  top: 34px;
  left: 16px;
}
.quote .qt { font-size: 16.5px; line-height: 1.66; color: var(--purple-dark); }
.quote .qa {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Testimonial carousel ---------- */
.tst-carousel { position: relative; }
.tst-slide {
  display: none;
}
.tst-slide.active {
  display: block;
  animation: tstFade 0.7s ease;
}
@keyframes tstFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.tst-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.tst-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #d8d5ea;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.tst-dots button.on { background: var(--purple); }

/* ---------- Evidence / system section ---------- */
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 34px;
}
.evidence-card {
  background: var(--white);
  border: 0.5px solid var(--purple-border);
  border-top: 4px solid var(--purple);
  border-radius: 8px;
  padding: 30px 30px 26px;
}
.evidence-card .ev-kicker {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 10px;
}
.evidence-card h3 { font-size: 21px; margin-bottom: 12px; }
.evidence-card p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; }
.evidence-card p:last-child { margin-bottom: 0; }
.evidence-card strong { color: var(--ink); }
.ev-fig {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.ev-fig svg { width: 100%; height: auto; display: block; }
.ev-fig .fig-cap {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* Anki deck mock-up */
.anki-mock {
  border: 0.5px solid var(--purple-border);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--sans);
}
.anki-mock .ak-head {
  display: grid;
  grid-template-columns: 1fr 44px 44px 44px;
  gap: 4px;
  padding: 9px 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.anki-mock .ak-head span:not(:first-child),
.anki-mock .ak-row span:not(:first-child) { text-align: center; }
.anki-mock .ak-row {
  display: grid;
  grid-template-columns: 1fr 44px 44px 44px;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
  align-items: center;
}
.anki-mock .ak-row:last-of-type { border-bottom: none; }
.anki-mock .ak-row .deck { font-weight: 600; }
.anki-mock .ak-row .deck small { display: block; font-weight: 400; font-size: 10.5px; color: var(--muted); }
.ak-new { color: #2f6fb5; font-weight: 600; }
.ak-learn { color: #b45309; font-weight: 600; }
.ak-due { color: #2e7d32; font-weight: 600; }
.anki-mock .ak-foot {
  padding: 9px 14px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
@media (max-width: 820px) {
  .evidence-grid { grid-template-columns: 1fr; }
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}
.stat {
  background: var(--white);
  border: 0.5px solid var(--purple-border);
  border-radius: 8px;
  padding: 24px 12px 20px;
}
.stat .n { font-size: 32px; font-weight: 600; color: var(--purple); line-height: 1.1; }
.stat .l {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Numbered method list ---------- */
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step .num {
  font-size: 22px;
  color: var(--purple);
  font-weight: 500;
  padding-top: 2px;
}
.step p { color: var(--ink-soft); font-size: 16px; margin-top: 6px; }

/* ---------- FAQ ---------- */
details.faq {
  background: var(--white);
  border: 0.5px solid var(--purple-border);
  border-radius: 8px;
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 0.5px solid var(--purple-border);
  border-top: 5px solid var(--purple);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 20px 44px rgba(60, 52, 137, 0.08);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid #d8d5ea;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(60, 52, 137, 0.12);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-note {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.55;
}
button.btn { width: auto; }
.form-card .btn { margin-top: 20px; width: 100%; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--purple);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 58ch; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--purple); }
.cta-band .btn-primary:hover { background: #efedfa; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 2px solid var(--purple);
  padding: 36px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer .foot-brand { font-size: 16px; font-weight: 600; }
.site-footer .foot-brand span { color: var(--muted); font-weight: 400; font-size: 13px; }
.site-footer .foot-contact,
.site-footer .foot-links {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--purple); }
.foot-links a { margin-left: 18px; }

/* ---------- Prose pages ---------- */
.prose p { margin-bottom: 18px; color: var(--ink); font-size: 16.5px; }
.prose .lbl {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  margin: 34px 0 10px;
}
.prose .quote { margin: 26px 0; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--white);
  border: 0.5px solid var(--purple-border);
  border-top: 6px solid var(--purple);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 44px rgba(60, 52, 137, 0.08);
}
.price-figure { font-size: 56px; font-weight: 600; color: var(--purple); line-height: 1; }
.price-figure .per { font-size: 18px; color: var(--muted); font-weight: 400; }
.price-sub { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 10px; }
.include-list {
  list-style: none;
  text-align: left;
  margin: 28px auto 6px;
  max-width: 440px;
}
.include-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-soft);
}
.include-list li:last-child { border-bottom: none; }
.include-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--purple);
  font-weight: 700;
}

/* ---------- Landing page specifics ---------- */
.lp-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-header .lp-phone {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}
.lp-hero { padding: 56px 0 64px; background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%); }
.lp-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
.lp-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  border: 1px solid var(--purple-border);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 20px;
}
.lp-hero h1 { font-size: 38px; }
.check-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--ink-soft);
}
.check-line .tick { color: var(--purple); font-weight: 700; flex-shrink: 0; }
.trust-row {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust-item { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.trust-item strong { display: block; font-family: var(--serif); font-size: 21px; color: var(--purple); font-weight: 600; }

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  z-index: 60;
  box-shadow: 0 -8px 24px rgba(42, 37, 64, 0.1);
}
.sticky-cta .btn { width: 100%; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .lp-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .hero-portrait { order: -1; }
  .card-grid, .card-grid-2, .stat-strip { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 34px; }
  .lp-hero h1 { font-size: 31px; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid-2, .stat-strip { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  h1 { font-size: 29px; }
  h2 { font-size: 25px; }
  section.band { padding: 48px 0; }
  .portrait { width: 190px; height: 190px; }
  .sticky-cta { display: block; }
  body.has-sticky { padding-bottom: 72px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .foot-links a { margin-left: 0; margin-right: 18px; }

  /* Tighter gutters and padding so cards don't feel cramped on a phone */
  .wrap, .wrap-narrow { padding: 0 18px; }
  .evidence-card { padding: 24px 20px 22px; }
  .card { padding: 22px 20px 20px; }
  .form-card { padding: 24px 20px; }
  .quote { padding: 20px 20px 18px 38px; }
  .quote .qmark { left: 12px; top: 30px; }
  .price-card { padding: 30px 20px; }
  .hero { padding: 48px 0 44px; }

  /* Mock-ups: shrink rather than overflow */
  .xl table { font-size: 10px; }
  .xl td, .xl th { padding: 6px 6px; }
  .xl-chrome span { font-size: 10px; }
  .ank table { font-size: 10.5px; }
  .ank td { padding: 6px 8px; vertical-align: top; }
  .ank th { padding: 8px 8px 2px; width: 32px; }
  .ank .child { padding-left: 22px; }
  .ank .child::before { left: 10px; }
  .ank .gchild { padding-left: 32px; font-size: 10px; }
  .ank-nav { gap: 12px; font-size: 10.5px; }
  .ev-fig .fig-cap { font-size: 11.5px; }
}
