/* MakerPath Academy — public site. Same tokens as the course pages (brand/README.md). */
@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:wght@400;600;700&family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700&display=swap");

:root {
  --paper: #F5F7FB; --surface: #FFFFFF; --ink: #18213D; --ink-2: #4A5573; --line: #D9E0EE;
  --path: #2B56E3; --done: #178A5E; --mark: #FFC93C; --mark-soft: #FFF4CF;
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
a { color: var(--path); }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.3rem/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 40px; height: 27px; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { padding: 8px 12px; color: var(--ink-2); font-weight: 600; text-decoration: none; border-radius: 6px; }
.top nav a:hover { color: var(--ink); background: var(--surface); }

/* opening: the claim, set large, and the offer beside it */
.open { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; padding-top: clamp(36px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); }
.open h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 700; }
.open .lead { margin-top: 26px; max-width: 34em; font-size: 1.25rem; color: var(--ink-2); }
.offer { background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; padding: 28px; }
.offer .status { display: inline-block; background: var(--mark-soft); border: 2px solid var(--mark); border-radius: 999px; padding: 2px 14px; font-weight: 700; }
.offer .price { margin-top: 18px; font: 700 3.4rem/1 var(--display); letter-spacing: -0.03em; }
.offer .price small { font: 600 1rem/1.4 var(--body); letter-spacing: 0; color: var(--ink-2); display: block; margin-top: 8px; }
.offer ul { margin: 20px 0 0; padding: 0; list-style: none; }
.offer li { padding: 9px 0; border-top: 1px solid var(--line); }
.btn { display: inline-block; margin-top: 22px; background: var(--path); color: #fff; font-weight: 700; text-decoration: none; padding: 14px 22px; border-radius: 12px; }
.btn:hover { background: #2046C4; }
.offer .fine { margin-top: 12px; font-size: 0.95rem; color: var(--ink-2); }

/* the path: nine stops on one line, from the green dot to the yellow dot */
.path { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0; }
.path h2, .plain h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.path .intro { margin-top: 14px; max-width: 36em; color: var(--ink-2); }
.stops { list-style: none; margin: 44px 0 0; padding: 0; position: relative; }
.stops::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 4px; background: var(--ink); border-radius: 2px; }
.stops li { position: relative; padding: 0 0 26px 56px; display: grid; grid-template-columns: minmax(150px, 15rem) 1fr; gap: 6px 28px; align-items: baseline; }
.stops li:last-child { padding-bottom: 0; }
.stops li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 4px solid var(--ink); }
.stops li:first-child::before { background: var(--done); }
.stops li:last-child::before { background: var(--mark); }
.stops h3 { font-size: 1.3rem; }
.stops .n { font: 600 0.95rem/1 var(--body); color: var(--ink-2); display: block; margin-bottom: 4px; letter-spacing: 0; }
.stops p { color: var(--ink-2); }
.stops p strong { color: var(--ink); font-weight: 600; }

/* plain sections */
.plain { padding: clamp(40px, 6vw, 80px) 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 44px; margin-top: 30px; }
.cols h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cols p { color: var(--ink-2); }
.cols > div { border-top: 4px solid var(--ink); padding-top: 16px; }

/* text pages */
.doc { max-width: 44rem; padding-top: clamp(28px, 5vw, 56px); padding-bottom: 72px; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.doc .date { margin-top: 12px; color: var(--ink-2); }
.doc h2 { font-size: 1.4rem; margin: 38px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin: 10px 0 0; }
.doc li { margin-top: 6px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 48px; color: var(--ink-2); font-size: 1rem; }
footer .row { display: flex; gap: 12px 28px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

@media (max-width: 800px) {
  .open { grid-template-columns: 1fr; align-items: start; }
  .stops li { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.plain.flush { padding-top: 0; }
