/* mattymoe.ai · "Southbeam Light", calm edition
   Grounds: lilac (hero/page heads), cream and white (content), purple (Southbeam band only).
   Type: Anton caps for headings, one Instrument Serif italic word per section at most,
   Caveat once per page at most, Inter for everything else.
   Buttons: filled ink (primary), outlined ink (secondary). Lime is the top-bar CTA only.
   Chips: series labels on cards only. */

:root {
  --lilac: #EEEAFE;
  --cream: #FAFAF7;
  --purple: #6F5EF2;
  --purple-ink: #4B3BC9;
  --lime: #E2F49C;
  --ink: #20212B;
  --ink-2: #4A4B5A;
  --white: #FFFFFF;
  --line: rgba(32, 33, 43, .14);
  --line-2: rgba(32, 33, 43, .28);

  --f-display: 'Anton', 'Oswald', 'Arial Narrow', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-hand: 'Caveat', 'Bradley Hand', cursive;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 16px;
  --max: 1160px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 18px 32px -24px rgba(32, 33, 43, .55);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.band--purple :focus-visible { outline-color: var(--lime); }
input, button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
code { font-size: .92em; background: var(--lilac); padding: 1px 6px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 200; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.band { position: relative; padding-block: var(--s8); }
@media (min-width: 900px) { .band { padding-block: var(--s9); } }
.band--lilac { background: var(--lilac); }
.band--cream { background: var(--cream); }
.band--white { background: var(--white); }
.band--purple { background: var(--purple); color: var(--white); }
.band--edge { border-top: 1.5px solid var(--line); }
.band--purple.band--edge { border-top: 0; }
.pagehead { padding-block: var(--s6) var(--s7); }
@media (min-width: 900px) { .pagehead { padding-block: var(--s7) var(--s8); } }

/* ---------- type ---------- */
.display { font-family: var(--f-display); text-transform: uppercase; line-height: .95; letter-spacing: .005em; text-wrap: balance; }
.display--xl { font-size: clamp(2.6rem, 11vw, 5.2rem); }
.display--lg { font-size: clamp(2.2rem, 8.4vw, 3.9rem); }
.display--md { font-size: clamp(1.9rem, 6.6vw, 2.9rem); }
.display--sm { font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1; }
.acc { font-family: var(--f-serif); font-style: italic; text-transform: none; color: var(--purple); font-size: 1.1em; line-height: .8; letter-spacing: -.01em; padding-right: .03em; }
.band--purple .acc { color: var(--lime); }
.note { font-family: var(--f-hand); font-weight: 600; color: var(--purple); font-size: 1.55rem; line-height: 1; display: inline-flex; align-items: flex-end; gap: 6px; transform: rotate(-2deg); }
.note svg { width: 40px; height: 32px; flex: none; }
.lede { font-size: clamp(1.05rem, 3.4vw, 1.2rem); line-height: 1.55; max-width: 36em; color: var(--ink-2); margin: var(--s4) 0 0; }
.lede p { margin: 0 0 .8em; }
.band--purple .lede { color: var(--white); }
.eyebrow { margin: 0 0 var(--s3); font: 600 15px/1.3 var(--f-body); color: var(--ink-2); }
.meta { margin: var(--s4) 0 0; font: 500 14px/1.5 var(--f-body); color: var(--ink-2); }
.meta b { color: var(--ink); font-weight: 700; }
.counter { margin: var(--s3) 0 0; font: 600 15px/1.4 var(--f-body); color: var(--ink-2); }

/* ---------- chips (series labels on cards) ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font: 800 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); }
.new { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--purple-ink); color: var(--white); font: 800 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.label { font: 700 12px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--cream); font: 700 16px/1.15 var(--f-body); text-align: center; text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--white); }
.band--purple .btn { border-color: var(--ink); }
.band--purple .btn--ghost { border-color: var(--white); color: var(--white); }
.band--purple .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--line-2); }
.textlink svg { width: 16px; height: 16px; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); transition: background-color .2s; }
.iconbtn svg { width: 18px; height: 18px; }
.iconbtn:hover { background: var(--lilac); }
.iconbtn[disabled] { opacity: .35; cursor: default; }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font: 700 13px/1 var(--f-body); transition: background-color .2s; }
.copy svg { width: 15px; height: 15px; }
.copy:hover, .copy.is-done { background: var(--lilac); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--top-bg, var(--lilac)); padding-block: 8px; }
body[data-top="cream"] { --top-bg: var(--cream); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .sticker { width: 38px; height: 38px; transform: rotate(-8deg); }
.wordmark { font: 400 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.wordmark em { font: italic 400 24px/1 var(--f-serif); text-transform: none; color: var(--purple); }
.pill-cta { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); font: 700 14px/1 var(--f-body); text-decoration: none; white-space: nowrap; transition: transform .3s var(--ease-out); }
.pill-cta:hover { transform: translateY(-1px); }
.when-open { display: none !important; }
.mm-open .when-open { display: revert !important; }
.mm-open .when-locked { display: none !important; }

/* ---------- home hero ---------- */
.hero { background: var(--lilac); padding: var(--s5) 0 var(--s7); }
.hero__grid { display: grid; gap: var(--s6); align-items: center; }
.hero__h { font-size: clamp(2.6rem, 11.5vw, 5rem); max-width: 12ch; }
.hero__body { margin: var(--s4) 0 0; font-size: clamp(1.05rem, 3.6vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.hero__ctas { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s5); }
.hero__proof { display: flex; align-items: center; gap: 10px; margin: var(--s4) 0 0; font: 600 15px/1.35 var(--f-body); }
.hero__proof svg { width: 22px; height: 22px; flex: none; }
.hero__photo { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.hero__photo img, .hero__photo picture { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
@media (min-width: 560px) { .hero__ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .hero { padding: var(--s8) 0 var(--s9); }
  .hero__grid { grid-template-columns: 1.35fr .65fr; gap: var(--s8); }
  .hero__photo { max-width: none; justify-self: end; }
}

/* ---------- section heads ---------- */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s6); }
.head p { margin: var(--s3) 0 0; max-width: 34em; color: var(--ink-2); }

/* ---------- start cards ---------- */
.starts { display: grid; gap: var(--s4); }
@media (min-width: 800px) { .starts { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.start {
  display: flex; flex-direction: column; gap: var(--s2); min-height: 170px; padding: var(--s5);
  border: 1.5px solid var(--ink); border-radius: var(--r-lg); text-decoration: none; color: var(--ink);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.start:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.start { background: var(--white); border-top-width: 6px; }
.start--biz { border-top-color: var(--purple); } .start--learn { border-top-color: var(--lime); } .start--post { border-top-color: var(--ink); }
.start__h { font: 400 1.75rem/1 var(--f-display); text-transform: uppercase; }
.start p { margin: 0; color: var(--ink-2); }
.start__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.start__go svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.start:hover .start__go svg { transform: translateX(3px); }

/* ---------- guide cards ---------- */
.gcards { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .gcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gcards { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.gcard {
  display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5);
  background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-lg);
  text-decoration: none; color: var(--ink); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gcard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 24px; }
.gcard__title { font: 700 1.12rem/1.3 var(--f-body); }
.gcard p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gcard__foot { margin-top: auto; padding-top: var(--s2); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); font: 600 13px/1.3 var(--f-body); color: var(--ink-2); }
.gcard__foot svg { width: 16px; height: 16px; color: var(--ink); }

/* ---------- play cards ---------- */
.card { display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1.5px solid var(--ink); background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card--lilac .card__media { background: var(--lilac); } .card--lime .card__media { background: var(--lime); } .card--purple .card__media { background: var(--purple); }
.card__body { padding: var(--s4) var(--s5) var(--s5); display: grid; gap: var(--s2); justify-items: start; }
.card__title { font: 700 1.12rem/1.3 var(--f-body); }
.card__meta { margin: 0; font: 600 14px/1.3 var(--f-body); color: var(--ink-2); }
.grid { display: grid; gap: var(--s4); }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }

/* ---------- library section ---------- */
.lib { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 900px) { .lib { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
@media (min-width: 1100px) { .lib--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- email form ---------- */
.gate { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: var(--s5); }
@media (min-width: 620px) { .gate { padding: var(--s6); } }
.gate h2, .gate h3 { margin-bottom: var(--s2); }
.gate > p { color: var(--ink-2); margin: 0; }
.gate form { display: grid; gap: var(--s3); margin-top: var(--s4); }
.field { display: grid; gap: 6px; }
.field label { font: 700 14px/1.2 var(--f-body); }
.field label span { font-weight: 500; color: var(--ink-2); }
.field input { height: 52px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--cream); font-size: 17px; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #6E6F7C; }
.field input:focus { outline: none; background: var(--white); border-color: var(--purple); box-shadow: 0 0 0 4px rgba(111, 94, 242, .2); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.gate .btn { width: 100%; margin-top: var(--s1); }
.gate__fine { margin: var(--s1) 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.gate__msg { margin: 0; font: 600 14px/1.4 var(--f-body); color: #B42318; }
.gate__msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gate--open { background: var(--lilac); }
.gate--open .btn { width: auto; margin-top: var(--s4); }

/* ---------- post rows ---------- */
.rows { display: grid; gap: var(--s3); }
.row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s4);
  padding: 10px 14px 10px 10px; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-md);
  text-decoration: none; color: var(--ink); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); scroll-margin-top: 80px;
}
.row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.row:target { outline: 3px solid var(--purple); outline-offset: 2px; }
.row__thumb { width: 60px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: var(--cream); }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row__body { display: grid; gap: 5px; min-width: 0; }
.row__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.row__title { margin: 0; font: 700 16px/1.3 var(--f-body); }
.row__meta { font: 500 13px/1.35 var(--f-body); color: var(--ink-2); }
.row__go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ink); }
.row__go svg { width: 15px; height: 15px; }
.row--guide { grid-template-columns: 1fr auto; padding: var(--s4) var(--s4) var(--s4) var(--s5); }
.latest__note { margin-top: var(--s2); }
.latest__foot { margin-top: var(--s5); }

/* ---------- drops + receipts ---------- */
.drops { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .drops { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .drops { grid-template-columns: repeat(3, 1fr); } }
.drop { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: var(--s5); scroll-margin-top: 80px; }
.drop__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.drop__date { font: 600 13px/1 var(--f-body); color: var(--ink-2); }
.drop__tool { font: 700 1.2rem/1.2 var(--f-body); margin-bottom: var(--s2); }
.drop__tool span { font-weight: 500; font-size: 14px; color: var(--ink-2); }
.drop p { color: var(--ink-2); font-size: 15px; }
.drop__biz { background: var(--lilac); color: var(--ink) !important; border-radius: var(--r-sm); padding: 10px 12px; }
.drop__foot { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; font: 700 14px/1.3 var(--f-body); color: var(--ink) !important; }
.drop__foot a { display: inline-flex; align-items: center; gap: 4px; }
.drop__foot svg { width: 14px; height: 14px; }
.verdict { display: inline-flex; height: 26px; align-items: center; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--ink); font: 800 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.verdict--try { background: var(--lime); } .verdict--watch { background: var(--lilac); } .verdict--skip { background: var(--white); }
.receipts { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .receipts { grid-template-columns: repeat(3, 1fr); } }
.receipt { background: var(--white); border: 1.5px dashed var(--ink); border-radius: 6px; padding: var(--s5); font-variant-numeric: tabular-nums; scroll-margin-top: 80px; }
.receipt__title { font: 700 17px/1.3 var(--f-body); }
.receipt__date { font-size: 13px; color: var(--ink-2); margin: 4px 0 var(--s3); }
.receipt__lines { margin: 0 0 var(--s3); }
.receipt__lines div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--line-2); font-size: 15px; }
.receipt__lines dt { color: var(--ink-2); } .receipt__lines dd { margin: 0; font-weight: 700; }
.receipt__total { border-bottom: 1.5px solid var(--ink) !important; }

/* ---------- Southbeam band ---------- */
.dfy { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .dfy { grid-template-columns: 1.2fr .8fr; align-items: end; gap: var(--s7); } }
.dfy__cta { display: grid; gap: var(--s4); justify-items: start; }
@media (min-width: 900px) { .dfy__cta { justify-items: end; } }
.dfy__alt { color: var(--white); font-weight: 600; text-decoration-color: rgba(255, 255, 255, .5); }
.built { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; border: 1.5px solid var(--line); border-radius: 999px; font: 500 13px/1 var(--f-body); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.built img { width: 22px; height: 22px; }
.built b { color: var(--ink); font-weight: 700; }
.built:hover { border-color: var(--ink); }
.built--onpurple { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.built--onpurple b { color: var(--white); }
.built--onpurple:hover { border-color: var(--white); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; gap: var(--s8); } }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1.5px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 18px 0; font: 700 17px/1.3 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { margin: -4px 0 18px; color: var(--ink-2); max-width: 40em; }
.faq a { color: var(--purple-ink); }

/* ---------- footer ---------- */
.foot { background: var(--white); border-top: 1.5px solid var(--line); padding-block: var(--s8) var(--s6); }
.foot__top { display: grid; gap: var(--s6); }
.foot__big { display: flex; align-items: center; gap: var(--s3); }
.foot__big .sticker { width: 56px; height: 56px; transform: rotate(-8deg); }
.foot__big .wordmark { font-size: 30px; }
.foot__big .wordmark em { font-size: 32px; }
.foot__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); }
.foot h3 { font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s3); color: var(--ink-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.foot a { font-weight: 600; font-size: 15px; }
.foot__base { margin-top: var(--s7); padding-top: var(--s4); border-top: 1.5px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); font-size: 14px; color: var(--ink-2); }
@media (min-width: 900px) { .foot__top { grid-template-columns: 1fr 1.4fr; } .foot__cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- play page ---------- */
.crumbs { display: flex; align-items: center; gap: 10px; font: 600 14px/1 var(--f-body); margin-bottom: var(--s5); }
.crumbs a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs svg { width: 16px; height: 16px; }
.playhead h1 { margin: var(--s3) 0 0; max-width: 16ch; }
.playhead__top { display: grid; gap: var(--s4); }
@media (min-width: 1000px) { .playhead__top { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: end; } .playhead__top .lede { margin-top: 0; } }
.reel { margin-top: var(--s7); }
.reel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 330px); gap: var(--s3);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.reel__track::-webkit-scrollbar { height: 6px; }
.reel__track::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 99px; }
@media (min-width: 1240px) { .reel__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.slide { scroll-snap-align: start; margin: 0; }
.slide__frame { position: relative; aspect-ratio: 3 / 4; border: 1.5px solid var(--ink); border-radius: var(--r-md); overflow: hidden; background: var(--cream); }
.slide__frame video, .slide__frame img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.slide figcaption b { color: var(--ink); }
.reel__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s2); }
.reel__ctrls { display: flex; align-items: center; gap: var(--s2); }
.reel__count { font: 700 14px/1 var(--f-body); font-variant-numeric: tabular-nums; margin-right: var(--s1); }
.setup { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .setup { grid-template-columns: .85fr 1.15fr; gap: var(--s8); align-items: start; } .setup__side { position: sticky; top: 80px; } }
.toc { list-style: none; margin: var(--s5) 0 0; padding: 0; counter-reset: s; border-top: 1.5px solid var(--ink); }
.toc li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.toc li::before { content: counter(s); font: 400 1.2rem/1 var(--f-display); color: var(--purple); min-width: 1.2em; }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; }
.locked-note { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.3 var(--f-body); color: var(--ink-2); margin-top: var(--s4); }
.locked-note svg { width: 18px; height: 18px; }
.steps { display: grid; gap: var(--s5); }
.step { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: var(--s5); scroll-margin-top: 80px; }
@media (min-width: 620px) { .step { padding: var(--s6); } }
.step__top { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.step__n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); border: 1.5px solid var(--ink); font: 400 1.2rem/1 var(--f-display); }
.step h3 { font: 700 1.2rem/1.25 var(--f-body); }
.step p, .step li { color: var(--ink-2); }
.step p:last-child { margin-bottom: 0; }
.step .tip { font-size: 15px; background: var(--lilac); border-radius: var(--r-sm); padding: 12px 16px; color: var(--ink); }
.tpl { margin: var(--s4) 0; border: 1.5px solid var(--ink); border-radius: var(--r-md); overflow: hidden; background: var(--cream); }
.tpl__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 8px 8px 8px 16px; border-bottom: 1.5px solid var(--ink); background: var(--white); }
.tpl__label { font: 700 14px/1.3 var(--f-body); }
.tpl pre { margin: 0; padding: var(--s4); white-space: pre-wrap; word-break: break-word; font: 500 15px/1.6 var(--f-body); color: var(--ink); }

/* ---------- list pages ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: var(--s5); border-bottom: 1.5px solid var(--line-2); }
.filters a, .filters button { background: none; border: 0; padding: 10px 0; margin-bottom: -1.5px; border-bottom: 2.5px solid transparent; font: 600 15px/1.2 var(--f-body); color: var(--ink-2); text-decoration: none; }
.filters a:hover, .filters button:hover { color: var(--ink); }
.filters .is-on { color: var(--ink); border-bottom-color: var(--ink); }
.weekgroup + .weekgroup { margin-top: var(--s7); }
.weekgroup__h { font: 600 15px/1.4 var(--f-body); margin-bottom: var(--s4); color: var(--ink-2); }
.weekgroup__h span { font: 400 1.5rem/1 var(--f-display); text-transform: uppercase; color: var(--ink); margin-right: 6px; }
.empty { border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: var(--s6) var(--s5); display: grid; gap: var(--s3); justify-items: start; background: var(--white); }
.empty__h { font: 700 1.1rem/1.3 var(--f-body); }
.empty p { margin: 0; color: var(--ink-2); max-width: 36em; }
.empty a:not(.textlink) { color: var(--purple-ink); }
.stackgroup + .stackgroup { margin-top: var(--s7); }
.stackgroup__h { font: 400 clamp(1.7rem, 6vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; }
.stackgroup__line { margin: var(--s2) 0 var(--s4); color: var(--ink-2); max-width: 40em; }
.stack { border-top: 1.5px solid var(--ink); }
.stackrow { display: grid; gap: 4px var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .stackrow { grid-template-columns: 200px 1fr auto; align-items: baseline; } }
.stackrow__name { font: 700 1.05rem/1.3 var(--f-body); }
.stackrow__name a { text-decoration: none; } .stackrow__name a:hover { text-decoration: underline; }
.stackrow__maker { font-size: 13px; color: var(--ink-2); }
.stackrow p { margin: 0; color: var(--ink-2); }
.stackrow__cost { font-weight: 700; color: var(--ink) !important; }
.stack__note { margin-top: var(--s5); font-size: 14px; color: var(--ink-2); }
.stack__note a { color: var(--purple-ink); }
.logs { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.log { padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.log h2 { font: 600 15px/1.4 var(--f-body); color: var(--ink-2); margin-bottom: 6px; }
.log h2 span { font: 400 1.4rem/1 var(--f-display); text-transform: uppercase; color: var(--ink); margin-right: 6px; }
.log p { margin: 0; font-size: 1.05rem; }

/* ---------- guides ---------- */
.guide h1 { margin: 0; max-width: 20ch; }
.guide__label { margin: var(--s4) 0 0; font-size: 14px; color: var(--ink-2); }
.guide__label a { color: var(--purple-ink); }
.shipped { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--s3); padding: 6px 12px; border-radius: var(--r-sm); background: var(--white); border: 1.5px solid var(--ink); font: 700 14px/1.2 var(--f-body); }
.shipped i { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.guide-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: 220px 1fr; gap: var(--s8); align-items: start; } .guide__toc { position: sticky; top: 80px; } }
.guide__toc h2 { font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s3); color: var(--ink-2); }
.guide__toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 14px; }
.guide__toc a { text-decoration: none; } .guide__toc a:hover { text-decoration: underline; }
.prose { max-width: 68ch; font-size: 17px; }
.prose h2 { font: 400 clamp(1.5rem, 5vw, 1.9rem)/1.05 var(--f-display); text-transform: uppercase; margin: var(--s7) 0 var(--s3); scroll-margin-top: 80px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 700 19px/1.3 var(--f-body); margin: var(--s5) 0 var(--s2); }
.prose h4 { font: 700 16px/1.3 var(--f-body); margin: var(--s4) 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose ol li::marker { color: var(--purple); font-weight: 700; }
.prose ul li::marker { color: var(--purple); }
.prose a { color: var(--purple-ink); }
.prose blockquote { margin: var(--s4) 0; padding: 14px 18px; background: var(--lilac); border-radius: var(--r-md); }
.prose blockquote p { color: var(--ink); margin: 0; }
.prose hr { border: 0; border-top: 1.5px solid var(--line-2); margin: var(--s6) 0; }
.sources { font-size: 15px; }
.sources li { margin-bottom: 6px; }

/* ---------- legal ---------- */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: var(--s3); }
.legal h2 { font: 400 1.6rem/1.05 var(--f-display); text-transform: uppercase; margin: var(--s7) 0 var(--s3); }
.legal h3 { font: 700 13px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin: var(--s5) 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal ul { padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--purple); }
.legal strong { color: var(--ink); }
.legal a { color: var(--purple-ink); }
.legal .effective { font: 600 14px/1.4 var(--f-body); color: var(--ink-2); }
.callout { background: var(--lilac); border-radius: var(--r-md); padding: 18px 20px; margin: var(--s5) 0; color: var(--ink); }
.callout p { color: var(--ink); margin: 0; }
.legal-card { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: var(--s6) var(--s5) var(--s7); }
@media (min-width: 700px) { .legal-card { padding: 44px 52px 56px; } }
.gcard[hidden] { display: none; }
/* one max-width everywhere: narrow content stays left-aligned with the page heads */
.narrow { max-width: var(--max); }
.narrow > * { max-width: 820px; }

/* top bar text link */
.topnav { display: flex; align-items: center; gap: var(--s4); }
.topnav__link { font: 600 15px/1 var(--f-body); text-decoration: none; padding: 12px 2px; }
.topnav__link:hover { text-decoration: underline; }
/* mobile: headline, copy and CTAs first, then a full-width face-and-shoulders photo, then the proof line.
   The text column becomes display:contents so its children and the photo share one grid order. */
@media (max-width: 899px) {
  .hero__grid { gap: 0; }
  .hero__grid > div:first-child { display: contents; }
  .hero__h { order: 1; }
  .hero__body { order: 2; }
  .hero__ctas, .hero__biz { order: 3; }
  .hero__photo { order: 4; max-width: none; aspect-ratio: 4 / 3; border-radius: var(--r-lg); margin-top: var(--s5); }
  .hero__photo img { object-position: center 18%; }
  .hero__proof { order: 5; margin-top: var(--s4); }
}
@media (max-width: 699px) {
  body::after { display: none; }
  .gcards--shelf > .gcard:nth-child(n+4) { display: none; }
}
.brand .sticker { flex: none; }
/* quiet Southbeam credit */
.built--top { background: rgba(255, 255, 255, .6); }
.built--top img { width: 22px; height: 22px; }
.endcredit { margin-top: var(--s7); }
.band--cream .endcredit, .band--white .endcredit { display: flex; }
@media (max-width: 699px) {
  .topnav { gap: var(--s2); }
  .topnav__link { display: none; }
  .built--top { padding: 5px; }
  .built--top .built__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* home hero: buttons only; "Get the free library" opens the signup popup, after signup it swaps to library buttons */
.hero__biz { display: inline-flex; margin-top: var(--s4); }
@media (max-width: 899px) {
  .hero__biz { display: block; justify-self: start; }
  .hero__biz svg { display: inline-block; vertical-align: -2px; margin-left: 4px; }
}
.mm-open .hero__ctas.when-open { display: flex !important; }
@media (max-width: 559px) { .mm-open .hero__ctas.when-open { flex-direction: column; } }


/* first-visit signup popup */
.gate-pop { width: min(30rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: var(--s6) var(--s5) var(--s5); border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--white); color: var(--ink); }
.gate-pop::backdrop { background: rgba(32, 33, 43, .55); }
.gate-pop p { margin: var(--s3) 0; }
.gate-pop__x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.gate-pop__later { display: block; margin: var(--s3) auto 0; border: 0; background: none; color: var(--ink-2); text-decoration: underline; font: inherit; cursor: pointer; padding: 10px; }

/* library vault */
.vlede { margin: var(--s2) 0 var(--s4); color: var(--ink-2); max-width: 60ch; }
.vlist { grid-template-columns: 1fr !important; }
.vcard__hook { font-style: italic; -webkit-line-clamp: 2 !important; }
.vcard__go { display: inline-flex; align-items: center; gap: 6px; }
.vgroup { margin-top: var(--s5); }
.vgroup__head { margin-bottom: var(--s3); }
.vgroup__head p { margin: 4px 0 0; color: var(--ink-2); }
@media (min-width: 900px) { .lib__side { position: sticky; top: 96px; } }
