/* The Wealth Journey — site styles
   Colors and type carried over from the original thewealthjourney.net design.
   Swap the tokens below when the brand guide arrives. */
:root {
  --green: #123d2c;
  --green-2: #1f5b43;
  --green-deep: #0a241a;
  --rule: #163a2b;
  --gold: #d7a62a;
  --gold-text: #9a6f0e;      /* gold dark enough for text on cream (AA) */
  --gold-italic: #b78b18;
  --yellow: #f4cf48;
  --bar: #e0b43d;
  --guide: #e3bd45;
  --cream: #f3efe3;
  --paper: #f8f5ed;
  --callout: #fff9e4;
  --ink: #172019;
  --muted: #56615a;
  --on-dark: #d9e5de;
  --line: #e8e1d2;
  --white: #fff;
  --error: #a3261b;

  --f-display: Newsreader, Georgia, "Times New Roman", serif;
  --f-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: min(1160px, 100% - 40px);
  --radius: 2px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; text-wrap: balance; margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Draft-only marker for content that still needs a real value */
.todo { background: #ffe58a; outline: 1px dashed #b78b18; padding: 0 4px; border-radius: 2px; }

/* ---------- Announcement bar ---------- */
.bar { background: var(--bar); color: #153a2b; text-align: center; padding: 10px 16px; font-size: 14px; line-height: 1.5; }
.bar strong { font-weight: 800; letter-spacing: .015em; }
.bar a { font-weight: 800; margin-left: 10px; text-underline-offset: 3px; }
.bar .countdown { font-variant-numeric: tabular-nums; margin-left: 8px; font-weight: 600; }
@media (max-width: 600px) { .bar strong { display: block; } .bar a { margin-left: 0; } }

/* ---------- Header / nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(243, 239, 227, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.navin { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; font-size: 24px; text-decoration: none; line-height: 1.05; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 700; }
.nav-links a:not(.btn) { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--gold); }
.menu-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: var(--radius); width: 44px; height: 44px; font-size: 20px; color: var(--green); cursor: pointer; }
.mobilemenu { border-top: 1px solid var(--line); background: var(--cream); padding: 8px 20px 18px; display: grid; gap: 4px; }
.mobilemenu[hidden] { display: none; }
.mobilemenu a { padding: 12px 4px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .navin { min-height: 66px; }
  .brand { font-size: 21px; }
}
@media (min-width: 901px) { .mobilemenu { display: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 22px; min-height: 48px; border-radius: var(--radius);
  font: 800 12.5px/1.2 var(--f-body); text-transform: uppercase; letter-spacing: .07em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-2); }
.btn.secondary { border-color: var(--green); color: var(--green); background: transparent; }
.btn.gold { background: var(--yellow); color: var(--green); }
.btn.block { width: 100%; }
.dark .btn.secondary { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Type helpers ---------- */
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 800; }
.eyebrow { color: var(--green-2); }
.kicker { color: var(--gold-text); }
.dark .kicker { color: var(--gold); }
.lead { font-size: 19px; color: #475249; max-width: 680px; }
.sub { max-width: 680px; color: var(--muted); font-size: 18px; }
.dark .sub { color: var(--on-dark); }
.micro { font-size: 13.5px; color: var(--muted); }
.dark .micro { color: var(--on-dark); }
h1 { font-size: clamp(50px, 8vw, 112px); line-height: .9; letter-spacing: -.055em; margin: 18px 0 28px; max-width: 820px; }
h1 em { font-weight: 400; color: var(--gold-italic); }
h2 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.045em; margin: 12px 0 18px; max-width: 920px; }
h2 em { color: var(--gold-italic); font-weight: 400; }
.dark h2 em { color: var(--yellow); }
h3 { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.tight { padding: 70px 0; }
.paper { background: var(--paper); }
.dark { background: var(--green); color: #fff; }
.ruled { border-top: 1px solid var(--rule); }
.dark .ruled, .dark.ruled { border-color: rgba(255,255,255,.25); }
@media (max-width: 900px) { .section { padding: 70px 0; } }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: stretch; }
.hero-copy { padding: 70px 6vw 80px 0; min-width: 0; }
.hero .lead { border-left: 2px solid var(--gold); padding-left: 22px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 16px; }
.hero-photo { position: relative; background: var(--green); min-height: 620px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-photo .pill { position: absolute; right: 22px; bottom: 26px; background: var(--cream); color: var(--green); padding: 8px 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.next-class { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; background: var(--callout); border: 1px solid var(--gold); border-left-width: 5px; border-radius: 9px; padding: 13px 16px; margin: 18px 0 8px; color: var(--green); max-width: 560px; }
.next-class .label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.next-class strong { font-size: 16px; }
.next-class a { font-weight: 800; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 0 50px; }
  .hero-photo { min-height: 460px; }
}
@media (max-width: 520px) { .hero-photo { min-height: 380px; } }

/* Page hero for inner pages */
.page-hero { padding: 70px 0 60px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(44px, 6.5vw, 88px); margin-bottom: 22px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-underline-offset: 3px; }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--rule); color: var(--green); font-weight: 800; padding: 16px 0; white-space: nowrap; font-size: 14px; letter-spacing: .12em; }
.ticker span { display: inline-block; animation: tick 28s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Quotes ---------- */
.quotes { margin-top: 46px; border-top: 1px solid var(--rule); }
.quote { border-bottom: 1px solid var(--rule); padding: 28px 0; font-family: var(--f-display); font-size: clamp(24px, 3vw, 38px); line-height: 1.2; max-width: 900px; margin: 0; }
.quote:nth-child(2) { margin-left: 12%; }
.quote:nth-child(3) { margin-left: 24%; }
@media (max-width: 900px) { .quote:nth-child(n) { margin-left: 0; } }

/* ---------- Learning path (interactive) ---------- */
.path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0 56px; margin-top: 50px; align-items: start; }
.path-list { border-top: 1px solid rgba(255,255,255,.25); list-style: none; margin: 0; padding: 0; }
.path-step {
  width: 100%; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px;
  padding: 20px 4px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.25);
  color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.path-step .num { color: var(--gold); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.path-step .name { font-family: var(--f-display); font-size: 30px; letter-spacing: -.02em; }
.path-step .arrow { opacity: 0; transition: opacity .2s, transform .2s; color: var(--yellow); }
.path-step:hover .arrow, .path-step[aria-selected="true"] .arrow { opacity: 1; transform: translateX(4px); }
.path-step[aria-selected="true"] .name { color: var(--yellow); }
.path-panel { background: var(--cream); color: var(--ink); padding: 34px; position: sticky; top: 110px; }
.path-panel h3 { margin-bottom: 10px; }
.path-panel ul { margin: 14px 0 22px; padding-left: 1.2em; display: grid; gap: 6px; }
.path-panel .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; gap: 24px; }
  .path-panel { position: static; padding: 26px 22px; }
  .path-step .name { font-size: 25px; }
}

/* ---------- Offers ---------- */
.offers { margin-top: 50px; border-top: 1px solid var(--rule); }
.offer { display: grid; grid-template-columns: 170px minmax(0, 1fr) 150px 220px; align-items: center; gap: 24px; border-bottom: 1px solid var(--rule); padding: 30px 0; }
.offer.featured { background: var(--green); color: #fff; padding: 30px 24px; }
.offer.featured .kicker { color: var(--gold); }
.offer h3 { font-size: 29px; margin-bottom: 6px; }
.offer p { margin: 0; }
.offer .price { font-family: var(--f-display); font-size: 34px; font-weight: 700; }
.offer .price small { display: block; font: 600 12px var(--f-body); letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.offer .btn { width: 100%; }
@media (max-width: 900px) {
  .offer, .offer.featured { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .offer.featured { padding: 28px 20px; }
}

/* ---------- Free guide block + forms ---------- */
.guide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; background: var(--guide); padding: 60px; }
.guide h2 { font-size: clamp(36px, 5vw, 62px); }
.guide ul { padding-left: 1.2em; margin: 18px 0 0; display: grid; gap: 6px; font-weight: 600; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; padding: 36px 22px; gap: 28px; } }
.form { background: var(--paper); padding: 26px; border: 1px solid var(--rule); display: grid; gap: 4px; }
.form label { font-weight: 700; font-size: 14px; margin-top: 10px; }
.form input[type="text"], .form input[type="email"] {
  width: 100%; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--rule); background: transparent; font: inherit; color: var(--ink);
}
.form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; background: #fff; }
.form .btn { margin-top: 16px; }
.form .hp { position: absolute; left: -9999px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 500; margin-top: 12px; }
.form .consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); }
.field-error { color: var(--error); font-size: 13px; font-weight: 600; min-height: 0; }

/* ---------- Quiz ---------- */
.quiz { max-width: 780px; margin-top: 36px; background: var(--cream); color: var(--ink); border: 1px solid var(--gold); padding: 34px; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.quiz-progress span { height: 4px; flex: 1; background: var(--line); transition: background .3s; }
.quiz-progress span.done { background: var(--gold); }
.quiz fieldset { border: 0; margin: 0; padding: 0; }
.quiz legend { font-family: var(--f-display); font-size: 28px; line-height: 1.2; margin-bottom: 18px; padding: 0; }
.quiz .choices { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: center; padding: 15px 16px; border: 1px solid #d9d2bf; background: #fff; cursor: pointer; font-weight: 600; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--green); }
.choice input { accent-color: var(--green); width: 18px; height: 18px; }
.choice:has(input:checked) { border-color: var(--green); background: #eef4ef; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.quiz-result { border-left: 4px solid var(--gold); padding: 4px 0 4px 20px; }
.quiz-result h3 { margin: 6px 0 10px; }
.quiz-result .actions { margin-bottom: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); margin-top: 40px; max-width: 920px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 400 30px var(--f-display); color: var(--gold-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; margin: 0; max-width: 70ch; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.portrait { background: #d8b74b; aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 30px; border-top: 1px solid var(--rule); }
.values div { padding: 22px 20px 0 0; }
.values strong { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .values { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.final { padding: 100px 0; }
.final h2 { max-width: 760px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; margin-top: 40px; background: var(--paper); border: 1px solid var(--rule); padding: 34px; }
.calc .controls { display: grid; gap: 22px; align-content: start; }
.calc label { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.calc output { font-variant-numeric: tabular-nums; color: var(--green); font-weight: 800; }
.calc input[type="range"] { width: 100%; accent-color: var(--green); }
.calc .totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.calc .totals div { border-top: 3px solid var(--line); padding-top: 8px; }
.calc .totals div:first-child { border-color: var(--green); }
.calc .totals div:nth-child(2) { border-color: var(--gold); }
.calc .totals span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.calc .totals strong { font-family: var(--f-display); font-size: clamp(22px, 3vw, 32px); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc svg { width: 100%; height: auto; display: block; }
.calc .legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.calc .legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; padding: 22px; } .calc .totals { grid-template-columns: 1fr 1fr; } }

/* ---------- Glossary ---------- */
.glossary-search { width: 100%; max-width: 520px; padding: 14px 16px; border: 1px solid var(--rule); background: #fff; font: inherit; margin-top: 24px; }
.glossary { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; border-top: 1px solid var(--rule); }
.glossary div { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.glossary dt { font-family: var(--f-display); font-size: 22px; margin-bottom: 4px; }
.glossary dd { margin: 0; color: var(--muted); font-size: 15.5px; }
.glossary-empty { color: var(--muted); margin-top: 18px; }

/* ---------- Article / prose ---------- */
.prose { max-width: 720px; font-size: 18px; }
.prose h2 { font-size: clamp(30px, 4vw, 42px); margin: 54px 0 14px; }
.prose h3 { font-size: 24px; margin: 34px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; margin: 0 0 1em; }
.prose a { color: var(--green-2); text-underline-offset: 3px; font-weight: 600; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.table-scroll { overflow-x: auto; margin: 18px 0 24px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); font-size: 14px; }
.callout { background: var(--callout); border-left: 4px solid var(--gold); padding: 18px 20px; margin: 24px 0; }
.meta-line { color: var(--muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.draft-banner { background: #fff1c2; border: 1px dashed var(--gold-text); padding: 14px 18px; margin-bottom: 30px; font-size: 15px; }

/* Cards for learn hub */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin-top: 40px; }
.steps-grid article { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 10px; }
.steps-grid .num { color: var(--gold-text); font-weight: 800; font-size: 14px; }
.steps-grid h3 { font-size: 30px; }
.steps-grid ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 15.5px; display: grid; gap: 4px; }
.steps-grid .status { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 700; }
.steps-grid .status a { color: var(--green-2); text-underline-offset: 3px; }
.steps-grid .soon { color: var(--muted); }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps-grid { grid-template-columns: 1fr; } }

/* Detail list (workshop page) */
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: 34px; }
.detail-grid div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); }
.detail-grid span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--gold-text); }
.detail-grid strong { font-family: var(--f-display); font-size: 22px; font-weight: 500; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
.two-col ul { padding-left: 1.2em; display: grid; gap: 10px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: var(--on-dark); padding: 56px 0 30px; border-top: 8px solid var(--bar); }
.footgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand { color: #fff; font-size: 26px; display: inline-block; margin-bottom: 10px; }
.footer h2 { font: 800 12px var(--f-body); text-transform: uppercase; letter-spacing: .16em; color: #fff; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { border-top: 1px solid #315044; margin-top: 36px; padding-top: 22px; font-size: 12.5px; color: #a9b8af; }
@media (max-width: 900px) { .footgrid { grid-template-columns: 1fr 1fr; } .footgrid > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 96px; }
@media (max-width: 900px) {
  .nav-links .btn { padding: 10px 12px; min-height: 40px; font-size: 11px; }
  .nav-links { gap: 10px; }
}
@media (max-width: 380px) { .nav-links .btn { display: none; } }

/* Shop */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; margin-top: 40px; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.product img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.product .body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.product .kicker { margin: 0; }
.product h3 { font-size: 24px; margin: 0; }
.product p { margin: 0; color: var(--muted); }
.product .price { font: 700 28px var(--f-display); color: var(--green); margin-top: auto; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
@media (min-width: 901px) and (max-width: 1140px) { .nav-links { gap: 16px; font-size: 13px; } }

.dark .quiz-result .micro { color: var(--muted); }
.product { scroll-margin-top: 24px; }
.product:target { outline: 3px solid var(--gold); outline-offset: 4px; }
.quiz-result .actions { align-items: center; }
.quiz-result a.linkbtn { display: inline-block; padding: 0; margin: 0; line-height: 1.4; font-size: inherit; }

/* Homepage guides strip */
.home-guides { padding: 44px 0 56px; background: var(--paper); border-top: 1px solid var(--line); }
.home-guides-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.home-guides h2 { font-size: clamp(32px, 4vw, 48px); margin: 4px 0 6px; }
.home-guides .sub { margin: 0; }
.home-guides .see-all { font-weight: 700; color: var(--green); white-space: nowrap; text-underline-offset: 3px; }
.guides-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); min-width: 0; }
.gcard-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--green); }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.gcard-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; flex: 1; }
.gcard-price { align-self: flex-start; font: 800 12px var(--f-body); letter-spacing: .08em; background: var(--green); color: #fff; padding: 4px 8px; }
.gcard-price.free { background: var(--yellow); color: var(--green); }
.gcard h3 { font-size: 19px; line-height: 1.2; margin: 0; }
.gcard h3 a { color: inherit; text-decoration: none; }
.gcard p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.gcard .btn { margin-top: auto; padding: 12px 10px; font-size: 12px; }
.swipe-hint { display: none; }
.hx-guides { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--green); text-underline-offset: 3px; }
@media (max-width: 1100px) and (min-width: 901px) { .guides-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .home-guides { padding: 34px 0 40px; }
  .home-guides-head { margin-bottom: 18px; }
  .home-guides .see-all { display: none; }
  /* Phones: stack the guides top to bottom as compact rows (no sideways scrolling) */
  .guides-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .gcard { flex-direction: row; align-items: stretch; }
  .gcard-img { flex: 0 0 104px; aspect-ratio: auto; display: flex; align-items: center; }
  .gcard-img img { height: auto; object-fit: contain; }
  .gcard-body { padding: 12px 14px; gap: 6px; }
  .gcard h3 { font-size: 18px; }
  .gcard p { font-size: 13.5px; margin: 0; }
  .gcard .btn { align-self: flex-start; width: auto; padding: 10px 18px; margin-top: 6px; }
  .swipe-hint { display: flex; justify-content: center; margin: 18px 0 0; font-size: 15px; font-weight: 700; }
  .swipe-hint > span { display: none; }
  .swipe-hint a { color: var(--green); text-underline-offset: 3px; }
}
/* Phones: compact hero so the guides show on the first screen */
@media (max-width: 900px) {
  .sc-home .hx { padding: 22px 0 6px; }
  .sc-home .hx .next-class { display: none; } /* the top bar already shows the workshop date */
  .sc-home .hx h1 { margin-bottom: 16px; }
  .sc-home .hx .lead { font-size: 16.5px; padding-left: 14px; }
  .sc-home .hx .actions { margin-top: 4px; }
  .sc-home .hx-rule { display: none; }
  .hx-guides { margin-top: 12px; }
  .home-guides { padding-top: 22px; }
  .home-guides h2 { font-size: 30px; }
  .home-guides .sub { font-size: 15px; }
}
