/* course.css — internal course MVP pages (course.html, course-*.html).
   Loaded after global.css + theme-botanical.css and before paper.css,
   on <body class="paper">, light theme only. Uses paper.css tokens
   (--hp-*) with plain fallbacks. Pages are generated by
   tools/course/build-course-pages.mjs. */

.internal-bar {
  position: relative; z-index: 5;
  background: #F3C85A; color: #3b2f0b; font: 600 13px/1.3 "Inter", system-ui, sans-serif;
  text-align: center; padding: 7px 16px;
}

/* Slim course nav (replaces the site's app-nav on course pages) */
.course-nav {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 2px 14px; margin-bottom: 8px;
  border-bottom: 1px solid var(--hp-rule, var(--line-soft));
}
.course-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.course-brand img { height: 40px; width: auto; display: block; }
.course-brand span { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 22px; color: var(--hp-ink, var(--text)); }
.course-nav-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  font: 600 14px/1 "Inter", system-ui, sans-serif; text-decoration: none; color: var(--hp-ink-2, var(--text-2));
  border: 1px solid transparent;
}
.course-nav-link:hover { background: rgba(255, 250, 242, 0.7); border-color: var(--hp-edge, var(--line)); }
.course-nav-link.is-active {
  background: var(--hp-card-bg, var(--bg-panel)); color: var(--hp-ink, var(--text));
  border-color: var(--hp-edge, var(--line)); box-shadow: var(--hp-lift);
}
.crumbs { font-size: 13px; font-weight: 600; color: var(--hp-muted, var(--text-3)); margin: 6px 0 0; }
.crumbs a { color: var(--hp-clay, var(--accent)); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Hero */
.course-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 46px); line-height: 1.08; }
.hero .lede { max-width: 56ch; }

/* Facts row — plain text, deliberately nothing that looks tappable. */
.stats { display: flex; flex-wrap: wrap; row-gap: 12px; margin: 20px 0 24px; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; padding: 0 18px; border-left: 1px solid var(--hp-rule, var(--line)); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats strong { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 26px; line-height: 1.1; color: var(--hp-ink, var(--text)); }
.stats span { font-size: 13px; color: var(--hp-muted, var(--text-3)); }
@media (max-width: 480px) {
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .stats li { padding: 0; border-left: 0; }
  .stats strong { font-size: 22px; }
}

/* Buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 11px 22px; border-radius: 999px;
  font: 700 15px/1.25 "Inter", system-ui, sans-serif; text-decoration: none; text-align: center;
  transition: filter .15s ease, transform .1s ease;
}
.pill:hover { filter: brightness(1.07); }
.pill:active { transform: scale(0.98); }
.pill-green { background: var(--hp-btn-green, #1F4430); color: #fff; box-shadow: var(--hp-btn-lift); border: 1px solid rgba(40,20,8,0.22); }
.pill-clay  { background: var(--hp-btn-clay, #A9573A);  color: #fff; box-shadow: var(--hp-btn-lift); border: 1px solid rgba(40,20,8,0.22); }
.pill-sage  { background: var(--hp-btn-sage, #3F6E4C);  color: #fff; box-shadow: var(--hp-btn-lift); border: 1px solid rgba(40,20,8,0.22); }
.pill-paper {
  background: var(--hp-card-bg, var(--bg-panel)); color: var(--hp-ink, var(--text));
  border: 1px solid var(--hp-edge, var(--line)); box-shadow: var(--hp-lift);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections */
.block { margin-top: 38px; }
.block-title {
  font-family: "Playfair Display", Georgia, serif; font-weight: 600;
  font-size: 26px; line-height: 1.15; color: var(--hp-ink, var(--text)); margin: 6px 0 10px;
}
.block-lede { color: var(--hp-ink-2, var(--text-2)); margin: 0 0 16px; font-size: 16px; }

.outcomes { margin: 0; padding: 0; list-style: none; counter-reset: o; }
.outcomes li {
  counter-increment: o; position: relative; padding: 10px 0 10px 40px; font-size: 16px;
  border-top: 1px solid var(--hp-rule, var(--line-soft)); color: var(--hp-ink-2, var(--text));
}
.outcomes li:first-child { border-top: 0; }
.outcomes li::before {
  content: counter(o); position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
  color: #fff; background: var(--hp-btn-clay, #A9573A);
}

.rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.rhythm .card { margin: 0; padding: 14px; }
.rhythm strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 17px; color: var(--hp-ink, var(--text)); }
.rhythm span { font-size: 13px; color: var(--hp-muted, var(--text-3)); }
@media (max-width: 640px) { .rhythm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Free start badges (module 1, conversations 1-2). */
.free-badge { display: inline-block; vertical-align: middle; margin: 0 0 4px; padding: 2px 8px; border-radius: 6px; font: 600 11.5px/1.4 Inter, system-ui, sans-serif; letter-spacing: .02em; color: #1F4430; background: rgba(44, 90, 62, .12); border: 1px solid rgba(44, 90, 62, .28); white-space: nowrap; }
.free-badge--free-account { color: #6B4A1E; background: rgba(200, 150, 80, .14); border-color: rgba(160, 110, 50, .3); }
.lesson-name .free-badge { margin: 0 0 0 6px; font-size: 11px; }
.card-title + .free-badge, div > .free-badge { display: table; }
/* What it costs (home + course map). */
.price-steps { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.price-steps .card { margin: 0; padding: 14px; }
.price-steps strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 17px; color: var(--hp-ink, var(--text)); margin-bottom: 2px; }
.price-steps span { font-size: 13.5px; line-height: 1.45; color: var(--hp-muted, var(--text-3)); }
.price-steps .price-full { border-color: var(--hp-rule-strong, rgba(45,93,58,.35)); }
.price-steps .price-full strong s { opacity: .6; font-weight: 500; }
@media (max-width: 640px) { .price-steps { grid-template-columns: 1fr; } }

/* Conversation cards (module pages) */
.lesson { padding: 20px; margin-bottom: 16px; }
.lesson:hover { transform: none; }
.lesson-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.lesson-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 700 16px/1 "Inter", system-ui, sans-serif; color: #fff;
  background: var(--hp-btn-green, #1F4430); box-shadow: var(--hp-btn-lift);
}
.lesson.done .lesson-num { background: var(--hp-btn-sage, #3F6E4C); }
.lesson .card-title { margin: 0; }
.lesson-who { margin: 2px 0 0; font-size: 13.5px; color: var(--hp-muted, var(--text-3)); }
.lesson-done-note { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--hp-sage, var(--text-2)); display: none; }
.lesson.done .lesson-done-note { display: inline; }
.lesson .card-desc { font-size: 16.5px; margin: 0 0 14px; color: var(--hp-ink-2, var(--text-2)); }

.skill-banner {
  background: var(--bg-panel-2); border: 1px solid var(--accent-line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 10px 16px; display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px;
}
.skill-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.skill-text { font-family: "Playfair Display", Georgia, serif; font-size: 15.5px; font-weight: 500; color: var(--text); line-height: 1.3; }

.practice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.practice-row .pill { flex-direction: column; gap: 2px; padding: 10px 14px; }
.practice-row .pill small { font-weight: 500; font-size: 12px; opacity: 0.85; }

.resources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.resources a {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  text-decoration: none; color: var(--hp-ink, var(--text));
  background: rgba(255, 250, 242, 0.7); border: 1px solid var(--hp-edge, var(--line));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.resources a:hover { border-color: rgba(169, 87, 58, 0.4); }
.res-kind { flex: none; width: 82px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hp-clay, var(--accent)); }
.res-title { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.35; }
.res-arrow { flex: none; color: var(--hp-muted, var(--text-3)); }
@media (max-width: 480px) {
  .res-kind { width: 66px; font-size: 9.5px; letter-spacing: 0.06em; }
  .resources a { gap: 8px; padding: 10px 12px; }
}

/* Previous / next module */
.module-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 38px; }
.module-pager a {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: var(--hp-card-bg, var(--bg-panel)); border: 1px solid var(--hp-edge, var(--line)); box-shadow: var(--hp-lift);
  color: var(--hp-ink, var(--text));
}
.module-pager a:hover { border-color: rgba(169, 87, 58, 0.4); }
.module-pager .next { text-align: right; grid-column: 2; }
.module-pager small { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hp-clay, var(--accent)); }
.module-pager span { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 17px; line-height: 1.25; }

/* Course map */
.progress-card { padding: 18px 20px; margin: 0; }
.progress-card:hover { transform: none; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.progress-name { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 19px; color: var(--hp-ink, var(--text)); }
.progress-count { font-size: 14px; color: var(--hp-muted, var(--text-3)); white-space: nowrap; }
.bar {
  height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 16px;
  background: rgba(120, 88, 52, 0.12); box-shadow: inset 0 1px 2px rgba(80, 50, 20, 0.18);
}
.bar-fill { height: 100%; width: 0; border-radius: 5px; background: var(--hp-btn-sage, #3F6E4C); transition: width .3s ease; }

.module { padding: 0; margin-bottom: 12px; overflow: hidden; }
.module:hover { transform: none; }
.module summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; min-height: 68px;
}
.module summary::-webkit-details-marker { display: none; }
.module summary:focus-visible { outline: 2px solid var(--hp-clay, var(--accent)); outline-offset: -3px; border-radius: 16px; }
.mod-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 700 16px/1 "Inter", system-ui, sans-serif; color: #fff;
  background: var(--hp-btn-green, #1F4430); box-shadow: var(--hp-btn-lift);
}
.module.current .mod-num { background: var(--hp-btn-clay, #A9573A); }
.module.current { border-color: rgba(169, 87, 58, 0.45); }
.mod-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mod-title { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 19px; line-height: 1.2; color: var(--hp-ink, var(--text)); }
.mod-meta { font-size: 13px; color: var(--hp-muted, var(--text-3)); }
.mod-count { flex: none; font-size: 13px; font-weight: 600; color: var(--hp-muted, var(--text-3)); }
.chev { flex: none; color: var(--hp-ink-2, var(--text-2)); transition: transform .2s ease; }
.module[open] .chev { transform: rotate(180deg); }
.mod-body { padding: 0 18px 18px 72px; }
.mod-goal { margin: 0 0 12px; color: var(--hp-ink-2, var(--text-2)); }
.lesson-list { list-style: none; margin: 0 0 14px; padding: 0; }
.lesson-list li {
  display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px;
  border-top: 1px solid var(--hp-rule, var(--line-soft)); color: var(--hp-ink, var(--text));
}
.lesson-list li:first-child { border-top: 0; }
.tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(120, 88, 52, 0.35); background: rgba(255, 250, 242, 0.8);
  display: flex; align-items: center; justify-content: center;
}
.tick svg { display: none; }
.lesson-list li.done .tick { background: var(--hp-btn-sage, #3F6E4C); border-color: transparent; box-shadow: var(--hp-btn-lift); }
.lesson-list li.done .tick svg { display: block; }
.lesson-list li.done .lesson-name { color: var(--hp-muted, var(--text-3)); }
.lesson-list .lesson-who { color: var(--hp-muted, var(--text-3)); font-size: 13px; }
.start-links { display: flex; flex-wrap: wrap; gap: 8px; }
.start-links a {
  font-size: 14px; font-weight: 600; text-decoration: none; padding: 9px 14px; border-radius: 12px;
  color: var(--hp-ink, var(--text)); background: rgba(255, 250, 242, 0.7);
  border: 1px solid var(--hp-edge, var(--line)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.start-links a:hover { border-color: rgba(169, 87, 58, 0.4); }
/* Same sky-blue as the Home quiz button (index.html .home-quiz-btn). */
.start-links a.quiz-link { background: #E1EEF4; border: 1px solid #B5D3E2; color: #1D4A5E; }
.start-links a.quiz-link:hover { background: #D3E6EF; border-color: #9CC4D8; }
@media (max-width: 480px) {
  .mod-body { padding-left: 18px; }
  .mod-count { display: none; }
}

.bonus { padding: 22px; }
.bonus:hover { transform: none; }
.bonus .card-desc { margin: 0 0 16px; }
.not-list { margin: 0; padding-left: 20px; color: var(--hp-ink-2, var(--text-2)); }
.not-list li { margin-bottom: 6px; }
.course-foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--hp-rule, var(--line-soft)); font-size: 13px; color: var(--hp-muted, var(--text-3)); }

/* ---- Per-module identity (--mod = the module's accent, set on <main>
   of a module page and on each module row of the course map) ---- */
.mod-page { --mod-ink: color-mix(in srgb, var(--mod) 78%, #000); }
/* (.page::before/::after are the paper sheet — the band sits on .hero.) */
.mod-page .hero::before {      /* thin band in the module's color */
  content: ""; display: block; height: 5px; width: 72px; border-radius: 3px;
  margin: 0 0 14px; background: var(--mod);
}
/* paper.css colors every .eyebrow clay at high specificity; match it. */
:root:not([data-theme="dark"]) body.paper .mod-page :is(.hero, .block) .course-eyebrow { color: var(--mod-ink); }
:root:not([data-theme="dark"]) body.paper .mod-page .hero .mod-hook,
.mod-hook {
  font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(21px, 3.2vw, 26px); line-height: 1.3; color: var(--mod-ink);
  margin: 0 0 10px; max-width: 30ch;
}
.mod-cast { display: grid; gap: 10px; margin: 20px 0 4px; }
.mod-cast-1 { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
.mod-cast-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mod-cast-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mod-cast-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mod-cast figure { margin: 0; }
.mod-cast img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--hp-edge, var(--line)); box-shadow: var(--hp-lift);
}
.mod-cast figcaption { margin-top: 5px; font-size: 12.5px; font-weight: 600; color: var(--hp-muted, var(--text-3)); }
@media (max-width: 640px) {
  .mod-cast-3, .mod-cast-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.mod-page .lesson-num { background: var(--mod); }
.mod-page .lesson.done .lesson-num { background: var(--hp-btn-sage, #3F6E4C); }
.mod-page .lesson { border-top: 3px solid color-mix(in srgb, var(--mod) 55%, transparent); }
.lesson-thumb { position: relative; flex: none; width: 120px; }
.lesson-thumb img {
  display: block; width: 120px; height: 80px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--hp-edge, var(--line));
}
.lesson-thumb .lesson-num {
  position: absolute; left: -8px; top: -8px; width: 30px; height: 30px; font-size: 14px;
  border: 2px solid var(--hp-card-bg, #fff);
}
@media (max-width: 480px) {
  .lesson-thumb, .lesson-thumb img { width: 92px; }
  .lesson-thumb img { height: 62px; }
}
.mod-bonus-line { margin: 26px 0 0; font-size: 15px; color: var(--hp-ink-2, var(--text-2)); }
.mod-bonus-line a { color: var(--hp-clay, var(--accent)); font-weight: 600; }

/* Course map: each module row carries its color */
.module[style*="--mod"] .mod-num { background: var(--mod); }
.module[style*="--mod"].current { border-color: color-mix(in srgb, var(--mod) 55%, transparent); }
.mod-page .outcomes li::before { background: var(--mod); }

/* ---- Course home (course-home.html) ---- */
.home-course .hero h1 { font-size: clamp(36px, 6.4vw, 56px); }
.home-note { margin: 10px 0 0; font-size: 13.5px; color: var(--hp-muted, var(--text-3)); }
.home-by { margin: 14px 0 0; font-size: 14px; color: var(--hp-muted, var(--text-3)); }
.home-by a { color: var(--hp-clay, var(--accent)); font-weight: 600; text-decoration: none; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise {
  display: flex; gap: 16px; align-items: flex-start; padding: 14px; border-radius: 16px;
  background: var(--hp-card-bg, var(--bg-panel)); border: 1px solid var(--hp-edge, var(--line));
  border-left: 4px solid var(--mod); box-shadow: var(--hp-lift);
}
.promise img { flex: none; width: 132px; height: 88px; object-fit: cover; border-radius: 10px; border: 1px solid var(--hp-edge, var(--line)); }
.promise-mod { margin: 0 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--mod) 78%, #000); }
.promise-now { margin: 0 0 6px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 18px; line-height: 1.35; color: var(--hp-ink, var(--text)); }
.promise-then { margin: 0; font-size: 15px; line-height: 1.5; color: var(--hp-ink-2, var(--text-2)); }
.promise-then strong { color: var(--hp-ink, var(--text)); }
@media (max-width: 520px) {
  .promise { flex-direction: column; gap: 10px; }
  .promise img { width: 100%; height: auto; aspect-ratio: 3 / 1.4; }
}
.home-quiz { margin: 14px 0 0; }
.home-quiz .quiz-link {
  display: inline-block; font-size: 14.5px; font-weight: 600; text-decoration: none; padding: 10px 16px; border-radius: 999px;
  background: #E1EEF4; border: 1px solid #B5D3E2; color: #1D4A5E;
}
.home-quiz .quiz-link:hover { background: #D3E6EF; border-color: #9CC4D8; }
.fit-list { margin: 0 0 12px; padding-left: 20px; color: var(--hp-ink-2, var(--text-2)); }
.fit-list li { margin-bottom: 6px; }
.fit-not { margin: 0; font-size: 14.5px; color: var(--hp-muted, var(--text-3)); }
.home-final { padding: 24px; margin-top: 34px; text-align: center; }
.home-final:hover { transform: none; }
.home-final .card-desc { margin: 4px 0 16px; }
.home-foot a { color: inherit; }

/* Module pages: the search questions ("Sound familiar?") */
.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.questions li {
  padding: 10px 14px 10px 16px; border-radius: 12px; font-size: 15.5px; line-height: 1.4;
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  color: var(--hp-ink, var(--text)); background: rgba(255, 250, 242, 0.6);
  border: 1px solid var(--hp-edge, var(--line)); border-left: 3px solid var(--mod, var(--hp-clay));
}

/* ---- Course home: action tiles, copied from the Home page tiles
   (index.html .home-tile*) so the course looks like the product. ---- */
.home-tiles {
  --ht-veins-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='220'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='.006 .016' numOctaves='4' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .86 0 0 0 0 .95 0 0 0 0 .88 -5 0 0 0 .2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
  --ht-veins-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='.007 .014' numOctaves='4' seed='21' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .27 -2.4 0 0 0 .2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
  --ht-veins-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='.007 .014' numOctaves='4' seed='33' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 -3 0 0 0 .42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin: 22px 0 16px;
}
.home-tile {
  position: relative; display: flex; align-items: center; gap: 16px;
  min-height: 92px; padding: 16px 18px; border-radius: 22px;
  text-decoration: none; color: #1F4430;
  border: 1px solid rgba(120, 88, 52, 0.18);
  background-color: #F4EADB;
  background-image:
    var(--ht-veins-cream),
    radial-gradient(ellipse 90% 80% at 12% 0%, rgba(255, 255, 255, 0.8), transparent 62%),
    linear-gradient(160deg, #FBF6EC 0%, #EFE2CD 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(120, 88, 52, 0.10),
    0 1px 1px rgba(80, 50, 20, 0.10),
    3px 10px 18px -8px rgba(80, 50, 20, 0.32),
    6px 26px 40px -24px rgba(80, 50, 20, 0.42);
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.home-tile:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(120, 88, 52, 0.10),
    0 1px 1px rgba(80, 50, 20, 0.10),
    4px 14px 24px -8px rgba(80, 50, 20, 0.36),
    8px 32px 48px -24px rgba(80, 50, 20, 0.46);
}
.home-tile:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(120, 88, 52, 0.10),
    0 1px 1px rgba(80, 50, 20, 0.12),
    1px 4px 8px -4px rgba(80, 50, 20, 0.3);
}
.home-tile:focus-visible { outline: 2px solid #3A8DB0; outline-offset: 3px; }
.home-tile-ico {
  flex: none; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 14px;
  color: #B0643F;
  background: linear-gradient(160deg, #FFFBF3 0%, #EFE3D0 100%);
  border: 1px solid rgba(120, 88, 52, 0.12);
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 1px 1px rgba(80, 50, 20, 0.12),
    2px 6px 12px -4px rgba(80, 50, 20, 0.35);
}
.home-tile-ico svg { width: 26px; height: 26px; }
.home-tile-text {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
  padding-left: 16px; border-left: 1.5px solid rgba(31, 68, 48, 0.26);
}
.home-tile-title {
  font-family: "Playfair Display", Georgia, serif; font-weight: 700;
  font-size: 20px; line-height: 1.15; letter-spacing: -0.005em;
}
.home-tile-sub { font-size: 14px; line-height: 1.4; color: #34543F; }
.home-tile-arrow {
  flex: none; display: grid; place-items: center; margin-left: auto;
  width: 40px; height: 40px; border-radius: 50%;
  color: #1F4430;
  background: linear-gradient(180deg, #FFF8EC 0%, #EADBC3 100%);
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 1px 1px rgba(0, 0, 0, 0.2),
    2px 6px 12px -4px rgba(0, 0, 0, 0.45);
}
.home-tile-arrow svg { width: 20px; height: 20px; }

/* Primary: deep forest-green stone. */
.home-tile--primary {
  color: #FFF8EE;
  border-color: #163423;
  background-color: #1F4430;
  background-image:
    var(--ht-veins-green),
    linear-gradient(115deg, transparent 52%, rgba(190, 225, 195, 0.13) 64%, rgba(190, 225, 195, 0.04) 74%, transparent 84%),
    radial-gradient(ellipse 60% 140% at 88% 0%, rgba(150, 200, 160, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 90% at 8% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(160deg, #2F6043 0%, #1F4430 55%, #173624 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -3px 0 rgba(0, 0, 0, 0.20),
    0 1px 1px rgba(20, 40, 25, 0.30),
    4px 14px 24px -10px rgba(20, 50, 30, 0.55),
    8px 30px 46px -26px rgba(20, 50, 30, 0.60);
}
.home-tile--primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -3px 0 rgba(0, 0, 0, 0.20),
    0 1px 1px rgba(20, 40, 25, 0.30),
    5px 18px 30px -10px rgba(20, 50, 30, 0.6),
    10px 36px 54px -26px rgba(20, 50, 30, 0.62);
}
.home-tile--primary:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 1px 1px rgba(20, 40, 25, 0.3),
    2px 5px 10px -4px rgba(20, 50, 30, 0.5);
}
.home-tile--primary .home-tile-ico { color: #3F6E4C; }
.home-tile--primary .home-tile-text { border-left-color: rgba(255, 248, 238, 0.42); }
.home-tile--primary .home-tile-title { text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); }
.home-tile--primary .home-tile-sub { color: rgba(255, 248, 238, 0.88); }

/* Quiz: the original light sky blue, same stone treatment. */
.home-tile--sky {
  color: #1D4A5E;
  border-color: #B5D3E2;
  background-color: #DCEBF2;
  background-image:
    var(--ht-veins-sky),
    radial-gradient(ellipse 90% 80% at 12% 0%, rgba(255, 255, 255, 0.75), transparent 62%),
    linear-gradient(160deg, #EAF4F8 0%, #D1E5EE 100%);
}
.home-tile--sky .home-tile-ico {
  color: #2F6F86;
  background: linear-gradient(160deg, #F7FBFD 0%, #E0EDF3 100%);
  border-color: rgba(47, 111, 134, 0.14);
}
.home-tile--sky .home-tile-text { border-left-color: rgba(29, 74, 94, 0.26); }
.home-tile--sky .home-tile-sub { color: #2C5A6E; }

.home-tiles + .guest-reassurance,
.home-custom-line + .guest-reassurance { text-align: center; }
.home-custom-line { text-align: center; margin: -2px 0 10px; }
.home-custom-link {
  display: inline-block; padding: 8px 4px; font-size: 15px; font-weight: 600;
  color: #2F5D3E; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(47, 93, 62, 0.35);
}
.home-custom-link:hover { text-decoration-color: currentColor; }
.home-custom-link:focus-visible { outline: 2px solid #3A8DB0; outline-offset: 3px; border-radius: 4px; }

@media (max-width: 559px) {
  .home-tile { gap: 13px; padding: 15px 16px; }
  .home-tile-ico { width: 46px; height: 46px; border-radius: 13px; }
  .home-tile-ico svg { width: 24px; height: 24px; }
  .home-tile-text { padding-left: 13px; }
  .home-tile-title { font-size: 19px; }
  .home-tile-sub { font-size: 13.5px; }
  .home-tile--primary .home-tile-arrow { width: 36px; height: 36px; }
  .home-tile--primary .home-tile-arrow svg { width: 18px; height: 18px; }
}

@media (min-width: 560px) {
  .home-tiles { grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 18px; }
  .home-tile--primary { grid-column: 1 / -1; min-height: 116px; padding: 20px 24px; gap: 20px; }
  .home-tile--primary .home-tile-ico { width: 60px; height: 60px; border-radius: 16px; }
  .home-tile--primary .home-tile-ico svg { width: 30px; height: 30px; }
  .home-tile--primary .home-tile-text { padding-left: 20px; }
  .home-tile--primary .home-tile-title { font-size: 29px; }
  .home-tile--primary .home-tile-sub { font-size: 16px; }
  .home-tile--primary .home-tile-arrow { width: 46px; height: 46px; }
  .home-tile:not(.home-tile--primary) { min-height: 128px; padding: 18px 18px; }
  .home-tile:not(.home-tile--primary) .home-tile-title { font-size: 21px; }
}
@media (max-width: 359px) {
  .home-tile { gap: 12px; padding: 14px; }
  .home-tile-ico { width: 44px; height: 44px; }
  .home-tile-text { padding-left: 12px; }
  .home-tile-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-tile { transition: none; }
  .home-tile:hover, .home-tile:active { transform: none; }
}
.home-course .home-tiles { margin-top: 30px; }
.home-course .home-final .home-tiles { margin: 18px 0 0; text-align: left; }

/* Price + money-back guarantee lines on the course home (Nov 2026). */
.home-price-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--hp-muted, var(--text-3)); }
.home-price-note a, .price-guarantee a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.price-guarantee { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--hp-muted, var(--text-3)); }
.price-guarantee strong { color: var(--hp-ink, var(--text)); font-weight: 600; }
