/* ============================================================
   ClinicalSkillsPrep — design system
   Fraunces (display) + Inter (UI/body)
   Warm paper · deep ink · deep teal · sparing ochre
   ============================================================ */

:root {
  --paper: #faf6ee;
  --paper-2: #f3ecdd;
  --card: #fffdf7;
  --ink: #131f1a;
  --ink-2: #45554e;
  --ink-3: #71817a;
  --teal: #0b5d4b;
  --teal-deep: #084636;
  --teal-tint: #e3efe7;
  --accent: #b97a1d;
  --accent-tint: #f7ecd7;
  --line: rgba(19, 31, 26, 0.14);
  --line-soft: rgba(19, 31, 26, 0.08);
  --dark: #0b1712;
  --dark-2: #12241c;
  --dark-text: #ece7da;
  --dark-dim: #9db0a6;
  --dark-line: rgba(236, 231, 218, 0.16);
  --green: #17663f;
  --green-bg: #e2f0e4;
  --amber: #8a5a10;
  --amber-bg: #f6ecd4;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(19, 31, 26, 0.05), 0 4px 14px rgba(19, 31, 26, 0.05);
  --shadow-md: 0 2px 4px rgba(19, 31, 26, 0.05), 0 14px 34px -12px rgba(19, 31, 26, 0.18);
  --shadow-lg: 0 4px 8px rgba(19, 31, 26, 0.05), 0 32px 64px -20px rgba(11, 23, 18, 0.35);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--teal); color: #fff; }

img, svg { display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

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

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.num, .price-amount, .stat-value, td, th { font-variant-numeric: tabular-nums; }

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
}

h1 { font-size: clamp(2.75rem, 6.2vw, 4.35rem); }
h2 { font-size: clamp(2rem, 4.2vw, 2.95rem); }
h3 { font-size: 1.42rem; line-height: 1.25; letter-spacing: -0.01em; }

.lede {
  font-size: 1.19rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 34em;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.section-label .no { color: var(--accent); font-weight: 700; }
.section-label::after {
  content: "";
  height: 1px;
  flex: 0 0 56px;
  background: var(--line);
}

.section-head { max-width: 46em; margin-bottom: 54px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lede { font-size: 1.1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--teal);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
}
.main-nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 14px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 1px 2px rgba(8, 70, 54, 0.25), 0 10px 22px -10px rgba(8, 70, 54, 0.55);
}
.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 3px rgba(8, 70, 54, 0.25), 0 16px 28px -12px rgba(8, 70, 54, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); transform: translateY(-1px); }
.btn-light {
  background: var(--dark-text);
  color: var(--dark);
}
.btn-light:hover { background: #fff; color: var(--dark); transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; border-radius: 9px; }
.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(2px); }

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.link-arrow:hover { text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding: 104px 0; scroll-margin-top: 84px; }
.section.tint { background: var(--paper-2); }
.section.dark {
  background: var(--dark);
  color: var(--dark-text);
}
.section.dark h2, .section.dark h3 { color: var(--dark-text); }
.section.dark .lede { color: var(--dark-dim); }
.section.dark .section-label { color: var(--dark-dim); }
.section.dark .section-label::after { background: var(--dark-line); }
.section.dark .section-label .no, .cohort-card .section-label .no { color: #d9a84e; }
.section.dark :focus-visible, .site-footer :focus-visible,
.cohort-card :focus-visible, .article-cta :focus-visible { outline-color: #8fd0a8; }

.hairline-top { border-top: 1px solid var(--line-soft); }

/* ---------- Reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--teal-deep);
  background: var(--teal-tint);
  border: 1px solid rgba(11, 93, 75, 0.18);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: italic;
  color: var(--teal);
}
.hero .lede { margin-bottom: 34px; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}
.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.hero-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-assurance svg { color: var(--teal); flex: none; }

/* ---------- App mockups (product visuals) ---------- */

.mock {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.5;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #fbf8f1;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ddd3bf;
}
.mock-url {
  font-size: 0.74rem;
  font-weight: 550;
  color: var(--ink-3);
  background: var(--paper-2);
  border-radius: 6px;
  padding: 3px 10px;
  letter-spacing: 0.01em;
}
.mock-body { padding: 20px 22px 22px; }
.mock-title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mock-sub { font-size: 0.78rem; color: var(--ink-3); margin-top: 2px; }

.hero-visual { position: relative; padding-bottom: 64px; }
.hero-visual .mock-main { position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.mock-tutor {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: 0;
  width: min(78%, 380px);
  box-shadow: var(--shadow-lg);
}
.mock-chip {
  position: absolute;
  z-index: 4;
  left: -16px;
  bottom: 118px;
  background: var(--dark);
  color: var(--dark-text);
  border-radius: 13px;
  padding: 13px 17px;
  box-shadow: var(--shadow-lg);
  max-width: 250px;
}
.mock-chip .chip-k {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dark-dim);
  margin-bottom: 3px;
}
.mock-chip .chip-v { font-size: 0.92rem; font-weight: 600; line-height: 1.4; }
.mock-chip .chip-v b { color: #8fd0a8; font-weight: 700; }

.concept-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.concept-row:last-child { border-bottom: none; padding-bottom: 2px; }
.concept-main { flex: 1; min-width: 0; }
.concept-name { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.concept-meta { font-size: 0.75rem; color: var(--ink-3); }
.page-cite {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--teal-tint);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mastery { width: 86px; flex: none; }
.mastery-track {
  height: 5px;
  border-radius: 99px;
  background: var(--paper-2);
  overflow: hidden;
}
.mastery-fill { height: 100%; border-radius: 99px; background: var(--teal); }
.mastery-fill.low { background: var(--accent); }
.mastery-pct {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 4px;
  text-align: right;
}

.tutor-q {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.tutor-a { color: var(--ink-2); font-size: 0.86rem; }
.tutor-a strong { color: var(--ink); }
.grounded-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid rgba(23, 102, 63, 0.25);
  padding: 5px 11px;
  border-radius: 999px;
  margin-top: 13px;
}
.grounded-src {
  display: block;
  margin-top: 9px;
  font-size: 0.76rem;
  color: var(--ink-3);
}
.grounded-src b { color: var(--ink-2); font-weight: 600; }

/* Analytics mock */
.pattern-row { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.pattern-row:last-of-type { border-bottom: none; }
.pattern-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 7px;
}
.pattern-name { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.pattern-pct { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pattern-track { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.pattern-fill { height: 100%; background: var(--accent); border-radius: 99px; }
.pattern-fill.teal { background: var(--teal); }
.next-session {
  margin-top: 16px;
  background: var(--teal-tint);
  border: 1px solid rgba(11, 93, 75, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
}
.next-session .ns-k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.next-session .ns-v { font-weight: 600; color: var(--ink); font-size: 0.9rem; line-height: 1.45; }

/* ---------- Spec strip ---------- */

.spec-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.spec {
  padding: 30px 28px 30px 0;
  border-right: 1px solid var(--line-soft);
}
.spec:last-child { border-right: none; padding-right: 0; }
.spec + .spec { padding-left: 28px; }
.spec-value {
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 7px;
}
.spec-label { font-size: 0.88rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 36px 34px 8px 0;
  border-right: 1px solid var(--line-soft);
}
.step:last-child { border-right: none; padding-right: 0; }
.step + .step { padding-left: 34px; }
.step-no {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 0.98rem; }
.step .step-detail {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.feature-card p { color: var(--ink-2); font-size: 0.95rem; }
.feature-card .fc-tag {
  display: inline-block;
  margin-top: 15px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.split-diag {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}

/* ---------- Dark moat section ---------- */

.moat-statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 560;
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 22em;
  margin-bottom: 56px;
}
.moat-statement em { font-style: italic; color: #8fd0a8; }
.moat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.moat-card {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  background: var(--dark-2);
}
.moat-card.hero-card {
  background: var(--dark-text);
  color: var(--ink);
  border-color: transparent;
}
.moat-card .mc-k {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-dim);
  margin-bottom: 14px;
}
.moat-card.hero-card .mc-k { color: var(--teal); }
.moat-card h3 { margin-bottom: 12px; }
.moat-card.hero-card h3 { color: var(--ink); }
.moat-card p { font-size: 0.97rem; color: var(--dark-dim); }
.moat-card.hero-card p { color: var(--ink-2); }
.moat-list { list-style: none; margin-top: 18px; }
.moat-list li {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  border-top: 1px solid var(--dark-line);
  font-size: 0.94rem;
}
.moat-card.hero-card .moat-list li { border-top-color: var(--line-soft); }
.moat-list svg { flex: none; margin-top: 4px; }

/* ---------- Contrast table ---------- */

.spec-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
table.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  min-width: 620px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: #fbf8f1;
  border-bottom: 1px solid var(--line);
}
.spec-table thead th.col-product { color: var(--teal-deep); }
.spec-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 30%;
}
.spec-table tbody td { color: var(--ink-2); }
.spec-table tbody td.col-product { color: var(--ink); font-weight: 550; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.cell-note { display: block; font-size: 0.83rem; color: var(--ink-3); font-weight: 400; margin-top: 3px; }

/* ---------- Cohort ---------- */

.cohort-card {
  background: var(--dark);
  color: var(--dark-text);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cohort-card h2 { color: var(--dark-text); margin-bottom: 16px; }
.cohort-card p { color: var(--dark-dim); max-width: 32em; }
.cohort-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 26px 0 6px;
}
.cohort-price .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cohort-price .per { color: var(--dark-dim); font-size: 1rem; }
.cohort-price .was { color: var(--dark-dim); text-decoration: line-through; font-size: 1.05rem; }
.seat-meter { margin-top: 28px; max-width: 420px; }
.seat-meter .sm-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark-dim);
  margin-bottom: 8px;
}
.seat-meter .sm-head b { color: var(--dark-text); }
.cohort-form-box {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.cohort-form-box h3 { color: var(--dark-text); font-size: 1.2rem; margin-bottom: 8px; }
.cohort-form-box p { font-size: 0.9rem; margin-bottom: 20px; }
.cohort-form { display: flex; flex-direction: column; gap: 12px; }
.cohort-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-dim);
  letter-spacing: 0.03em;
}
.cohort-form input[type="email"] {
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--dark-line);
  background: var(--dark);
  color: var(--dark-text);
  width: 100%;
}
.cohort-form input[type="email"]::placeholder { color: #5f7268; }
.cohort-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.form-note { font-size: 0.8rem; color: var(--dark-dim); }
.form-success {
  display: none;
  background: rgba(23, 102, 63, 0.25);
  border: 1px solid rgba(143, 208, 168, 0.45);
  color: #bfe6cd;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.94rem;
  font-weight: 550;
}
.cohort-form.sent .form-success { display: block; }
.cohort-form.sent input, .cohort-form.sent button, .cohort-form.sent label { display: none; }

/* ---------- Pricing ---------- */

.pricing-hero { padding: 76px 0 20px; text-align: left; }
.pricing-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 18px; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 48px;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan-card.featured {
  background: var(--dark);
  color: var(--dark-text);
  border-color: var(--dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.plan-card.featured .plan-name { color: #8fd0a8; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.price-amount {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}
.price-per { color: var(--ink-2); font-size: 0.94rem; }
.plan-card.featured .price-per { color: var(--dark-dim); }
.plan-equiv { font-size: 0.86rem; color: var(--ink-3); margin-top: 7px; min-height: 1.3em; }
.plan-card.featured .plan-equiv { color: var(--dark-dim); }
.plan-desc { font-size: 0.93rem; color: var(--ink-2); margin: 16px 0 20px; }
.plan-card.featured .plan-desc { color: var(--dark-dim); }
.plan-features { list-style: none; margin: 0 0 26px; flex: 1; }
.plan-features li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  padding: 6px 0;
  color: var(--ink-2);
}
.plan-card.featured .plan-features li { color: var(--dark-text); }
.plan-features svg { flex: none; margin-top: 4px; color: var(--teal); }
.plan-card.featured .plan-features svg { color: #8fd0a8; }
.plan-card .btn { width: 100%; }
.plan-card.featured .btn-primary { background: var(--dark-text); color: var(--dark); box-shadow: none; }
.plan-card.featured .btn-primary:hover { background: #fff; }

.plan-grid.teaser { grid-template-columns: repeat(3, 1fr); max-width: 1020px; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.trust-item {
  display: flex;
  gap: 15px;
  padding: 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.trust-item svg { flex: none; color: var(--teal); margin-top: 2px; }
.trust-item h3 { font-size: 1rem; font-family: var(--font-ui); font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.trust-item p { font-size: 0.88rem; color: var(--ink-2); }

.founding-band {
  margin-top: 64px;
  border: 1px solid rgba(185, 122, 29, 0.4);
  background: var(--accent-tint);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.founding-band h3 { margin-bottom: 6px; }
.founding-band p { color: var(--ink-2); font-size: 0.95rem; max-width: 44em; }
.founding-band .fb-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  white-space: nowrap;
}
.founding-band .fb-price small { font-size: 0.95rem; font-family: var(--font-ui); color: var(--ink-2); font-weight: 500; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: transform 0.25s ease;
}
.faq-item[open ] summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 4px 26px; color: var(--ink-2); max-width: 44em; }
.faq-item .faq-body p + p { margin-top: 10px; }

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
  padding: 110px 0;
}
.final-cta h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 16em; margin: 0 auto 20px; }
.final-cta .lede { margin: 0 auto 36px; text-align: center; }
.final-cta .hero-assurance { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--dark-dim);
  padding: 76px 0 0;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--dark-line);
}
.footer-brand .logo { color: var(--dark-text); }
.footer-brand .logo:hover { color: var(--dark-text); }
.footer-blurb {
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 30em;
}
.footer-contact { margin-top: 20px; font-size: 0.92rem; }
.footer-contact a { color: var(--dark-text); font-weight: 600; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-text);
  margin-bottom: 16px;
  font-family: var(--font-ui);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--dark-dim);
  text-decoration: none;
  font-size: 0.94rem;
}
.footer-col a:hover { color: var(--dark-text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 24px 0 30px;
  font-size: 0.83rem;
  color: #8fa69a;
}
.footer-bottom .fb-publisher { color: var(--dark-dim); }

/* ---------- Prose (legal + articles) ---------- */

.prose-wrap { max-width: 760px; }
.prose-head { padding: 72px 0 8px; }
.prose-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin: 14px 0 12px; }
.article-meta {
  font-size: 0.9rem;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.prose { padding: 26px 0 90px; font-size: 1.045rem; }
.prose p { margin-bottom: 20px; color: #26332d; }
.prose h2 {
  font-size: 1.65rem;
  margin: 46px 0 16px;
  line-height: 1.2;
}
.prose h3 { margin: 34px 0 12px; }
.prose ul, .prose ol { margin: 0 0 22px 22px; color: #26332d; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--ink); }
.prose a { font-weight: 550; }
.prose .updated-line { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 30px; }
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}
.article-cta {
  margin-top: 54px;
  background: var(--dark);
  color: var(--dark-text);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
}
.article-cta h2 { color: var(--dark-text); font-size: 1.55rem; margin: 0 0 10px; }
.article-cta p { color: var(--dark-dim); margin-bottom: 22px; }

/* ---------- Blog index ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.post-card .pc-kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.post-card h3 { font-size: 1.3rem; margin-bottom: 11px; line-height: 1.28; }
.post-card p { color: var(--ink-2); font-size: 0.94rem; flex: 1; }
.post-card .pc-meta {
  margin-top: 20px;
  font-size: 0.83rem;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.post-card .pc-meta .read { font-weight: 600; color: var(--teal); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; }
  .cohort-card { grid-template-columns: 1fr; gap: 40px; padding: 44px 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .wrap { padding-inline: 20px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 2px; border-bottom: 1px solid var(--line-soft); }
  .main-nav a.btn { border-bottom: none; margin-top: 12px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec { padding: 22px 18px 22px 0; }
  .spec + .spec { padding-left: 18px; }
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(1), .spec:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line-soft); padding: 28px 0 26px; }
  .step + .step { padding-left: 0; }
  .step:last-child { border-bottom: none; }
  .feature-grid, .blog-grid { grid-template-columns: 1fr; }
  .split-diag { grid-template-columns: 1fr; gap: 30px; }
  .moat-grid { grid-template-columns: 1fr; }
  .plan-grid, .plan-grid.teaser { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-visual { padding-bottom: 88px; }
  .mock-tutor { right: 0; width: 88%; }
  .mock-chip { left: 0; bottom: 150px; }
  .cohort-card { padding: 38px 26px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .founding-band { padding: 28px 24px; }
  .faq-item summary { font-size: 1.06rem; }
}
