/* self-hosted fonts (SIL Open Font License) — no requests to Google */
@font-face{font-family:"Lora";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/lora-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Lora";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/lora-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/source-sans-3-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/source-sans-3-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/source-sans-3-latin-600-normal.woff2) format("woff2")}
/* Steady Minds Learning — sage and cream */
:root {
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --sage: #8fa58f;
  --sage-deep: #4d6652;
  --sage-pale: #e6ece2;
  --ink: #2c3530;
  --muted: #5d6a61;
  --line: #d9dfd3;
  --note: #fff4c7;
  --radius: 14px;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 18px/1.65 "Source Sans 3", system-ui, sans-serif;
}
h1, h2, h3, h4 { font-family: "Lora", Georgia, serif; font-weight: 600; line-height: 1.25; color: var(--sage-deep); margin: 1.6em 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: .3em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; margin-top: .2em; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
section, .article { padding: 56px 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Lora", serif; font-weight: 600; color: var(--sage-deep); font-size: 1.1rem; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 16px; left: 16px; top: 64px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: grid; gap: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.menu nav a { padding: 8px 10px; text-decoration: none; border-radius: 8px; }
.menu nav a:hover, .menu nav a[aria-current] { background: var(--sage-pale); }
.desk-nav { display: none; }
@media (min-width: 1200px) {
  .menu { display: none; }
  .desk-nav { display: flex; align-items: center; gap: 2px; }
  .desk-nav a { padding: 8px 10px; text-decoration: none; border-radius: 8px; font-size: .95rem; }
  .desk-nav a:hover, .desk-nav a[aria-current] { background: var(--sage-pale); }
}

/* buttons */
.btn { display: inline-block; background: var(--sage-deep); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 600; border: 2px solid var(--sage-deep); cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { background: #3c5241; }
.btn-ghost { background: transparent; color: var(--sage-deep); }
.btn-ghost:hover { background: var(--sage-pale); }
nav .btn-small { color: #fff; padding: 8px 16px; margin-left: 6px; }
nav a.btn-small:hover { background: #3c5241; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

/* hero */
.hero { padding: 64px 0 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 600; color: var(--muted); margin: 0; }
.lede { font-size: 1.2rem; }
.small { font-size: .95rem; color: var(--muted); }
.strong-line { font-weight: 600; font-size: 1.15rem; }
.price-strip { list-style: none; padding: 0; margin: 32px 0 12px; display: grid; gap: 12px; }
.price-strip li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; }
.price-strip span { color: var(--muted); }
@media (min-width: 760px) { .price-strip { grid-template-columns: repeat(3, 1fr); } }

/* cards and grids */
.cards { list-style: none; padding: 0; display: grid; gap: 16px; counter-reset: c; }
.cards > li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; counter-increment: c; }
.cards > li::before { content: counter(c); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sage-pale); color: var(--sage-deep); font-weight: 600; }
.cards h3 { margin-top: .6em; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards:has(> li:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.card h2, .card h3 { margin-top: 0; }
.card-feature { border: 2px solid var(--sage); }
.price { font-weight: 600; color: var(--sage-deep); margin: 0; }
.two-col, .three-col { display: grid; gap: 20px; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .three-col { grid-template-columns: repeat(3, 1fr); } }
.fine-print { font-size: .95rem; color: var(--muted); margin-top: 24px; }
.steps { padding-left: 1.2em; }
.steps li { margin-bottom: 12px; }
.plain-list { padding-left: 1.1em; }
.plain-list li { margin-bottom: 6px; }

/* quotes */
.quote { margin: 32px 0 0; padding: 20px 24px; border-left: 4px solid var(--sage); background: var(--sage-pale); border-radius: 0 var(--radius) var(--radius) 0; }
.quote blockquote { margin: 0; font-family: "Lora", serif; font-size: 1.1rem; font-style: italic; }
.quote figcaption { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* forms */
.stack { display: grid; gap: 8px; margin-top: 16px; }
.stack input, .stack textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.stack .btn { justify-self: start; margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: auto; margin-top: 6px; }
.hidden { display: none; }

/* faq */
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; }

/* help hub and articles */
.article-list, .link-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.article-list a { display: grid; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; text-decoration: none; color: var(--ink); }
.article-list a strong { color: var(--sage-deep); font-family: "Lora", serif; font-size: 1.15rem; }
.article-list a span { color: var(--muted); }
.crumbs { font-size: .95rem; color: var(--muted); }
.byline { color: var(--muted); }
.next-step { margin-top: 40px; background: var(--paper); border: 2px solid var(--sage); border-radius: var(--radius); padding: 22px 24px; }
.next-step h2 { margin-top: 0; font-size: 1.4rem; }
.placeholder { color: var(--muted); background: #eeece6; border-radius: 8px; padding: 12px 14px; }
.portrait { border-radius: 50%; object-fit: cover; display: block; margin: 16px 0; background: var(--sage-pale); }

/* draft notes — delete before launch */
.draft-note { background: var(--note); border: 1px dashed #c9a400; border-radius: 10px; padding: 10px 14px; font-size: .95rem; color: #5a4a00; }

/* footer */
.site-footer { background: var(--sage-deep); color: #eef2ec; padding: 40px 0 24px; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 24px; }
.footer-inner nav { display: grid; gap: 6px; align-content: start; }
.footer-brand { font-family: "Lora", serif; font-size: 1.2rem; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.footer-brand img { background: var(--paper); border-radius: 10px; padding: 4px; }
.brand img { display: block; height: 44px; width: auto; }
.fine { font-size: .9rem; opacity: .8; margin-top: 24px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

.paper-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.paper-list li { padding-left: 16px; border-left: 3px solid var(--sage); }

.tile-callout { background: var(--sage-pale); border-radius: 10px; padding: 14px 16px; margin: 4px 0 16px; }
.tile-callout p { margin: 0; }
.tile-callout p + p { margin-top: 6px; }
.callout-title { font-family: "Lora", serif; font-weight: 600; font-size: 1.15rem; color: var(--sage-deep); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.price-big { font-size: 1.2rem; margin-bottom: 4px; }
.price-pair { margin: 24px 0 8px; }
.price-pair h2 { font-size: 1.35rem; }
.sample { margin: 16px 0 24px; }
.sample img { border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.08); max-height: 640px; width: auto; background: var(--paper); }
.sample figcaption { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.price-strip a { text-decoration: none; }

/* How I help dropdown */
.has-sub { position: relative; }
.has-sub > a { display: block; }
.sub { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.08); z-index: 6; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; gap: 2px; }
.desk-nav .sub a { display: block; }
.msub { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--sage-pale); margin: 0 0 4px 10px; }
.msub a { font-size: .95rem; }
.sample-pages { display: grid; gap: 16px; }
@media (min-width: 640px) { .sample-pages { grid-template-columns: 1fr 1fr; } }
.sample-pages img { max-height: none; width: 100%; height: auto; display: block; }
.one-col { max-width: 560px; }
.price-strip .strip-note { font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.article-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.article-list li > a { display: inline; padding: 0; border: 0; background: none; font-family: "Lora", serif; font-size: 1.15rem; font-weight: 600; color: var(--sage-deep); }
.article-list li p { margin: 4px 0 0; color: var(--muted); }
.desk-nav a { white-space: nowrap; }
/* article cards: whole card clickable via stretched title link */
.article-card { position: relative; transition: border-color .15s, box-shadow .15s; }
.article-card h2 { margin: 0; font-size: 1.25rem; }
.article-card h2 a { text-decoration: none; color: var(--sage-deep); }
.article-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.article-card:hover { border-color: var(--sage); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.article-card:focus-within { outline: 3px solid var(--sage-deep); outline-offset: 3px; }
.article-card h2 a:focus { outline: none; }
.read-more { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--sage-deep); }
.article-card:hover .read-more { text-decoration: underline; }
.hub-app { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .article-card { transition: none; } }
.article-card h2 a { display: inline; background: none; border: 0; padding: 0; font-family: "Lora", serif; }
/* first-step reassurance */
.first-step { background: var(--paper); border: 2px solid var(--sage); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0 16px; max-width: 760px; }
.first-step p { margin: 0 0 8px; }
.first-step .cta-row { margin: 16px 0 8px; }
.first-step-title { font-family: "Lora", serif; font-size: 1.3rem; font-weight: 600; color: var(--sage-deep); }
.topics { border: 0; padding: 0; margin: 8px 0; display: grid; gap: 4px; }
.topics legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.contact-other { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); } .contact-other h2 { font-size: 1.3rem; margin-top: 0; }
/* compact two-column hero */
.hero { padding: 40px 0 36px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 2.7rem); }
.hero .lede { font-size: 1.12rem; }
.hero-grid { display: grid; gap: 20px; align-items: center; }
.first-step { margin: 0; padding: 18px 20px; max-width: none; }
.first-step-title { font-size: 1.2rem; }
.first-step .cta-row { gap: 10px; margin: 12px 0 8px; }
.first-step .btn { padding: 10px 18px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
.hero .lede { max-width: 760px; }
.hero .cta-row { margin: 20px 0 8px; }
.hero-note { font-weight: 600; color: var(--sage-deep); margin: 0 0 12px; }
.hero-cred { margin: 0; }
/* tighter hero on phones */
@media (max-width: 600px) {
  .hero { padding: 24px 0 28px; }
  .hero .eyebrow { font-size: .78rem; }
  .hero h1 { font-size: 1.85rem; margin: .25em 0 .4em; }
  .hero .lede { font-size: 1.02rem; line-height: 1.55; margin: 0 0 .6em; }
  .hero .cta-row { margin: 14px 0 8px; gap: 10px; }
  .hero .btn { padding: 11px 18px; }
}
/* bigger tap targets on form tick-boxes */
.stack .check { min-height: 44px; align-items: center; padding: 6px 10px; margin: 0; border-radius: 10px; cursor: pointer; }
.stack .check:hover { background: var(--sage-pale); }
.stack .check input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--sage-deep); }
.topics { gap: 2px; }
.form-note { margin: 16px 0 4px; padding: 10px 14px; background: var(--sage-pale); border-radius: 10px; font-size: .98rem; }
.newsletter { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-error { background: #fbeaea; border: 1px solid #d9a3a3; color: #5c2121; border-radius: 10px; padding: 12px 16px; }
.form-error p { margin: 0 0 6px; } .form-error a { color: #5c2121; }
.stack .check input[type=radio] { width: 22px; height: 22px; }
button[disabled] { opacity: .7; cursor: wait; }
.kit-sample { display: block; margin: -4px 0 6px; }
.kit-sample img { width: 100%; height: 180px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.kit-sample-cap { font-size: .85rem; color: var(--muted); margin: 0 0 8px; }
.sample-pages img { background: var(--sage-pale); aspect-ratio: 760 / 1075; }
.jump { font-weight: 600; } html { scroll-padding-top: 80px; }

/* homepage article card (h3 variant) + hero explore link */
.article-card h3 { margin: 0; font-size: 1.2rem; }
.article-card h3 a { display: inline; background: none; border: 0; padding: 0; font-family: "Lora", serif; text-decoration: none; color: var(--sage-deep); }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.article-card h3 a:focus { outline: none; }
.hero-explore { margin-top: 6px; }
.hero-explore a { font-weight: 600; color: var(--sage-deep); }

/* policy pages */
.policy h2 { margin-top: 2rem; font-size: 1.3rem; }
.policy h3 { margin-top: 1.2rem; font-size: 1.05rem; }
.policy ul, .policy ol { padding-left: 1.3rem; }
.policy li { margin: .3rem 0; }
.policy ol.alpha { list-style: lower-alpha; }
.fee-table { width: 100%; border-collapse: collapse; margin: .6rem 0 1rem; font-size: .97rem; }
.fee-table th, .fee-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.fee-table th { color: var(--sage-deep); font-weight: 600; }
@media (max-width: 560px) { .fee-table { font-size: .9rem; } .fee-table th, .fee-table td { padding: 6px; } }
.article-note, .scope-note { color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 18px; }
/* a11y fixes: 24px targets (WCAG 2.2 2.5.8), long words wrap at 320px */
.stack .check input, .stack .check input[type=radio] { width: 24px; height: 24px; flex: 0 0 24px; }
a[href$=".pdf"] { display: inline-block; padding: 4px 0; }
.policy, .policy a { overflow-wrap: anywhere; }

/* Two-colour headlines, matching the resources site */
h1 { color: var(--ink); }
h1 em { font-style: normal; color: var(--sage-deep); }
