/*
  TCM School Prep — stylesheet
  =============================
  Standalone static site. No CMS/theme underneath — this file is the
  entire style layer (base reset + brand tokens + components + sections).
*/

/* ── Self-hosted font (Inter) — no external request, no Google Fonts GDPR/IP
   concern) ────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype-variations"),
       url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Base reset (previously provided by the Kadence theme — now needed
   standalone) ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, picture { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }

/* ── Brand tokens ────────────────────────────────────────────────────── */
:root {
  --ink:        #1C1814;
  --cinnabar:   #C13728;
  --amber:      #C47A1A;
  --sage:       #4A7A6D;
  --stone:      #8C8478;
  --parchment:  #F2ECE0;
  --white:      #FFFFFF;
  --light-gray: #E8E4DC;
  --mid-gray:   #D0CBB8;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-layout: 1160px;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(28,24,20,0.07);
}

/* ── Global typography ───────────────────────────────────────────────── */
body {
  background-color: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
}
a         { color: var(--cinnabar); text-decoration: none; }
a:hover   { color: #a82e20; text-decoration: underline; }
p             { margin: 0 0 16px; }
p:last-child  { margin-bottom: 0; }

/* ── Shared layout ───────────────────────────────────────────────────── */
.tsp-landing        { width: 100%; overflow-x: hidden; }
.tsp-container      { max-width: var(--max-layout); margin: 0 auto; padding: 0 28px; }

/* ── Eyebrow label ───────────────────────────────────────────────────── */
.tsp-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin: 0 0 14px;
  display: block;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.tsp-btn-primary {
  display: inline-block;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 4px;
  border: none;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.tsp-btn-primary:hover {
  background: #a82e20;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.tsp-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 34px;
  border: 1px solid rgba(242,236,224,0.35);
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.tsp-btn-secondary:hover {
  border-color: var(--parchment);
  background: rgba(242,236,224,0.07);
  color: var(--parchment);
  text-decoration: none;
}
.tsp-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 34px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  transition: background 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.tsp-btn-outline:hover {
  background: var(--light-gray);
  color: var(--ink);
  text-decoration: none;
}
.tsp-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ── Badges ──────────────────────────────────────────────────────────── */
.tsp-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  line-height: 1.6;
}
.tsp-badge-foundations  { background: var(--parchment); color: var(--stone); border: 1px solid var(--mid-gray); }
.tsp-badge-prestudy     { background: var(--ink); color: var(--amber); }
.tsp-badge-students     { background: rgba(196,122,26,0.15); color: var(--amber); }

/* ════════════════════════════════════════════════════════════════════════
   SECTION 1 — HERO
════════════════════════════════════════════════════════════════════════ */
.tsp-hero {
  background: var(--ink);
  padding: 64px 0 88px;
  position: relative;
}
.tsp-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--cinnabar);
}
.tsp-hero-inner { max-width: 780px; }
.tsp-hero-logo { margin-bottom: 28px; margin-left: 0; }
.tsp-hero-logo img { height: 72px; width: auto; display: block; }
.tsp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--parchment);
  margin: 0 0 24px;
}
.tsp-hero-title em { font-style: italic; color: var(--parchment); }
.tsp-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--stone);
  max-width: 580px;
  margin: 0 0 40px;
}
.tsp-hero-mentorship {
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--stone);
}
.tsp-hero-mentorship a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,122,26,0.35);
  transition: border-color 0.2s ease;
}
.tsp-hero-mentorship a:hover {
  border-bottom-color: var(--amber);
  text-decoration: none;
}
.tsp-hero-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--stone);
}
.tsp-hero-note strong { color: var(--parchment); font-weight: 500; }
.tsp-hero-badge { margin-bottom: 18px; }

/* ── Chooser cards — hub page splits into /students/ and /patients/ ──── */
.tsp-chooser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
  margin: 18px 0 32px;
}
.tsp-chooser-card {
  display: block;
  padding: 28px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.tsp-chooser-card:hover { transform: translateY(-2px); text-decoration: none; }
.tsp-chooser-card h2 { font-size: 20px; margin: 14px 0 8px; line-height: 1.25; }
.tsp-chooser-card p { font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.tsp-chooser-arrow { font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

.tsp-chooser-card-student {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}
.tsp-chooser-card-student h2 { color: var(--parchment); }
.tsp-chooser-card-student p { color: var(--stone); }
.tsp-chooser-card-student .tsp-chooser-arrow { color: var(--amber); }
.tsp-chooser-card-student:hover { border-color: var(--amber); }

.tsp-chooser-card-patient {
  background: var(--parchment);
  border: 1px solid var(--mid-gray);
}
.tsp-chooser-card-patient h2 { color: var(--ink); }
.tsp-chooser-card-patient p { color: #5a534d; }
.tsp-chooser-card-patient .tsp-chooser-arrow { color: var(--cinnabar); }
.tsp-chooser-card-patient:hover { border-color: var(--cinnabar); }

/* ── Native signup form (replaces MailerLite embed) ─────────────────── */
.tsp-signup-form { display: flex; flex-direction: column; gap: 10px; }
.tsp-signup-form input[type="email"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--mid-gray);
  background: var(--white);
  color: var(--ink);
}
.tsp-signup-form button {
  background: var(--cinnabar);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.tsp-signup-form button:hover { background: #a82e20; }
.tsp-signup-form-centered { max-width: 380px; margin: 0 auto; }
/* Honeypot field — hidden from real users, catches simple bots */
.tsp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ════════════════════════════════════════════════════════════════════════
   SECTION 3 — ABOUT
════════════════════════════════════════════════════════════════════════ */
.tsp-about { background: var(--ink); padding: 88px 0; }
.tsp-about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  align-items: center;
}
.tsp-about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
}
.tsp-about-text .tsp-eyebrow { color: var(--cinnabar); }
.tsp-about-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--parchment);
  margin: 0 0 28px;
}
.tsp-about-text p { font-size: 16px; line-height: 1.75; color: var(--stone); max-width: 540px; }
.tsp-about-text .tsp-italic-quote { font-style: italic; color: var(--stone); }

/* ════════════════════════════════════════════════════════════════════════
   SECTION 4 — CLASSICAL QUOTE
════════════════════════════════════════════════════════════════════════ */
.tsp-quote-section {
  background: var(--parchment);
  padding: 80px 0;
  border-top: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}
.tsp-quote {
  border-left: 3px solid var(--cinnabar);
  padding: 6px 0 6px 40px;
  margin: 0 auto;
  max-width: 720px;
}
.tsp-quote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 14px;
}
.tsp-quote cite {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  color: var(--stone);
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════════════════════════════════
   SECTION 5 — SESSIONS
════════════════════════════════════════════════════════════════════════ */
.tsp-sessions { background: var(--white); padding: 88px 0; }
.tsp-sessions-header { margin-bottom: 48px; }
.tsp-sessions-header h2 { font-size: clamp(26px, 3.5vw, 40px); margin: 0; max-width: 560px; }
.tsp-sessions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.tsp-session { background: var(--white); padding: 30px 26px; }
.tsp-session-student-only { background: #faf9f7; }

/* ── Bonus callout — docked below sessions grid ──────────────────────── */
.tsp-bonus-callout {
  background: var(--parchment);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--amber);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.tsp-bonus-callout-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 3px;
}
.tsp-bonus-star {
  font-size: 22px;
  color: var(--amber);
  line-height: 1;
}
.tsp-bonus-callout-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}
.tsp-bonus-callout-body p {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.7;
  margin: 0;
  max-width: 580px;
}
@media (max-width: 640px) {
  .tsp-bonus-callout { flex-direction: column; gap: 14px; padding: 22px 18px; }
}
.tsp-session-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  color: var(--mid-gray);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.tsp-session h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.4;
}
.tsp-session p { font-size: 14px; line-height: 1.65; color: var(--stone); margin: 0; }
.tsp-session .tsp-badge { margin-bottom: 10px; }

/* ════════════════════════════════════════════════════════════════════════
   SECTION 5b — STUDENT ADVANTAGES
════════════════════════════════════════════════════════════════════════ */
.tsp-student-advantages { background: var(--ink); padding: 88px 0; }
.tsp-student-advantages-header { text-align: center; margin-bottom: 56px; }
.tsp-student-advantages-header h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  color: var(--parchment);
  margin: 0 0 16px;
}
.tsp-student-advantages-header .tsp-eyebrow { color: var(--amber); }
.tsp-student-advantages-header p { font-size: 16px; color: var(--stone); max-width: 520px; margin: 0 auto; }
.tsp-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tsp-advantage-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 26px;
  border-top: 3px solid var(--cinnabar);
}
.tsp-advantage-card-mentorship { border-top-color: var(--amber); }
.tsp-advantage-icon {
  font-size: 18px;
  color: var(--cinnabar);
  margin-bottom: 14px;
  line-height: 1;
}
.tsp-advantage-card-mentorship .tsp-advantage-icon { color: var(--amber); }
.tsp-advantage-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--parchment);
  margin: 0 0 10px;
  line-height: 1.4;
}
.tsp-advantage-card p {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.65;
  margin: 0;
}
.tsp-advantage-card a { color: var(--amber); text-decoration: none; }
.tsp-advantage-card a:hover { text-decoration: underline; }
@media (max-width: 960px) { .tsp-advantages-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tsp-advantages-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════
   SECTION 6 — TIERS
════════════════════════════════════════════════════════════════════════ */
.tsp-tiers { background: var(--parchment); padding: 88px 0; }
.tsp-tiers-header { text-align: center; margin-bottom: 56px; }
.tsp-tiers-header h2 { font-size: clamp(26px, 3.5vw, 42px); margin: 0 0 12px; }
.tsp-tiers-header p  { font-size: 16px; color: var(--stone); max-width: 480px; margin: 0 auto; }
.tsp-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tsp-tier-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tsp-tier-card.featured { border-color: var(--cinnabar); border-width: 2px; }
.tsp-tier-header { padding: 28px 28px 22px; border-bottom: 1px solid var(--light-gray); }
.tsp-tier-card.featured .tsp-tier-header { background: var(--cinnabar); border-bottom-color: transparent; }
.tsp-tier-card.mentorship-card .tsp-tier-header { background: var(--ink); border-bottom-color: transparent; }
.tsp-tier-name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.tsp-tier-card:not(.featured):not(.mentorship-card) .tsp-tier-name { color: var(--stone); }
.tsp-tier-card.featured       .tsp-tier-name { color: rgba(255,255,255,0.65); }
.tsp-tier-card.mentorship-card .tsp-tier-name { color: var(--amber); }
.tsp-tier-price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.tsp-tier-card:not(.featured):not(.mentorship-card) .tsp-tier-price { color: var(--ink); }
.tsp-tier-card.featured        .tsp-tier-price { color: #fff; }
.tsp-tier-card.mentorship-card .tsp-tier-price { color: var(--parchment); }
.tsp-tier-audience { font-size: 13px; }
.tsp-tier-card:not(.featured):not(.mentorship-card) .tsp-tier-audience { color: var(--stone); }
.tsp-tier-card.featured        .tsp-tier-audience { color: rgba(255,255,255,0.7); }
.tsp-tier-card.mentorship-card .tsp-tier-audience { color: var(--stone); }
.tsp-tier-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tsp-tier-features { list-style: none; padding: 0; margin: 0 0 28px; }
.tsp-tier-features li {
  font-size: 14px;
  color: var(--stone);
  padding: 7px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}
.tsp-tier-features li::before { content: '–'; color: var(--cinnabar); flex-shrink: 0; margin-top: 1px; }
.tsp-tier-features li:last-child { border-bottom: none; }
.tsp-tier-body .tsp-btn-primary,
.tsp-tier-body .tsp-btn-outline { width: 100%; text-align: center; box-sizing: border-box; margin-top: auto; }

/* ════════════════════════════════════════════════════════════════════════
   SECTION 7 — FAQ
════════════════════════════════════════════════════════════════════════ */
.tsp-faq { background: var(--white); padding: 88px 0; }
.tsp-faq-header { margin-bottom: 48px; }
.tsp-faq-header h2 { font-size: clamp(26px, 3.5vw, 40px); margin: 0; }
.tsp-faq-grid { display: grid; grid-template-columns: 1fr 1fr; }
.tsp-faq-item { padding: 28px 36px 28px 0; border-bottom: 1px solid var(--light-gray); }
.tsp-faq-item:nth-child(even) { padding: 28px 0 28px 36px; border-left: 1px solid var(--light-gray); }
.tsp-faq-item:nth-last-child(-n+2) { border-bottom: none; }
.tsp-faq-item h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.4;
}
.tsp-faq-item p { font-size: 14px; line-height: 1.65; color: var(--stone); margin: 0; }

/* ════════════════════════════════════════════════════════════════════════
   SECTION 8 — FOOTER CTA
════════════════════════════════════════════════════════════════════════ */
.tsp-footer-cta {
  background: var(--ink);
  padding: 88px 0;
  text-align: center;
  position: relative;
}
.tsp-footer-cta::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--cinnabar);
}
.tsp-footer-cta h2 { font-size: clamp(28px, 4vw, 50px); color: var(--parchment); margin: 0 0 16px; }
.tsp-footer-cta p  { font-size: 17px; color: var(--stone); margin: 0 0 36px; }
.tsp-footer-cta .tsp-cta-group { justify-content: center; }

/* ════════════════════════════════════════════════════════════════════════
   SITE FOOTER (plain — replaces Kadence's site-wide footer)
════════════════════════════════════════════════════════════════════════ */
.tsp-site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(242,236,224,0.1);
  padding: 24px 0;
  text-align: center;
}
.tsp-site-footer p { font-size: 12px; color: var(--stone); margin: 0; }
.tsp-site-footer a { color: var(--stone); }
.tsp-site-footer a:hover { color: var(--amber); }

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .tsp-tiers-grid         { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tsp-sessions-grid      { grid-template-columns: 1fr 1fr; }
  .tsp-about-grid         { grid-template-columns: 1fr; gap: 36px; }
  .tsp-about-image        { max-width: 240px; }
}
@media (max-width: 640px) {
  .tsp-hero               { padding: 36px 0 56px; }
  .tsp-hero-logo          { margin-left: 0; margin-bottom: 22px; }
  .tsp-hero-logo img      { height: 52px; }
  .tsp-chooser-grid       { grid-template-columns: 1fr; }
  .tsp-about, .tsp-sessions,
  .tsp-tiers, .tsp-faq,
  .tsp-footer-cta,
  .tsp-quote-section      { padding: 56px 0; }
  .tsp-sessions-grid      { grid-template-columns: 1fr; }
  .tsp-faq-grid           { grid-template-columns: 1fr; }
  .tsp-faq-item           { padding: 24px 0 !important; border-left: none !important; }
  .tsp-quote              { padding-left: 24px; }
  .tsp-cta-group          { flex-direction: column; align-items: stretch; }
  .tsp-cta-group a        { text-align: center; }
  .tsp-container          { padding: 0 18px; }
}
