/* Ported from the Claude artifact "Wolfe Handouts". Fonts are self-hosted (OFL, see assets/fonts/LICENSE-*). */
@font-face { font-family: 'Comfortaa'; src: url('/assets/fonts/comfortaa-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
img { max-width: 100%; }
[hidden]:not([hidden=until-found i]) { display: none !important; }
/* Layout: one mobile column; teal header with jump links, then one section per kind of material. Single light look, per the Wolfe Presentations system. */
:root {
  --teal: #0097a7;
  --teal-dark: #00838f;
  --teal-tint: #e6f5f6;
  --violet: #67597a;
  --orange: #ffab40;
  --ink: #212121;
  --body: #595959;
  --white: #ffffff;
  --grey: #eeeeee;
  --grey-soft: #f5f5f5;
  --grey-mid: #bdbdbd;
  --font: Comfortaa, Quicksand, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, 0, 0, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 680px; margin: 0 auto; padding-inline: 20px; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Header */
.hero { background: var(--teal); color: var(--white); padding-block: 36px 32px; }
.brand { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .9; margin: 0; }
.hero h1 { font-size: clamp(40px, 12vw, 60px); line-height: 1.05; letter-spacing: -0.01em; font-weight: 500; margin: 20px 0 0; color: var(--white); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-block; color: var(--white); text-decoration: none; font-size: 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 6px 14px; transition: background 200ms var(--ease); }
.jump a:hover, .jump a:focus-visible { background: rgba(255,255,255,.16); }

/* Sections */
section { padding-block: 32px; scroll-margin-top: 12px; }
section.alt { background: var(--grey); }
h2 { font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; font-weight: 500; color: var(--ink); margin: 0 0 16px; text-wrap: balance; }
.lede { margin: -6px 0 20px; font-size: 15px; }
h3.sub { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); font-weight: 500; margin: 24px 0 10px; }
h2 + h3.sub { margin-top: 0; }

/* Link rows */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 16px; text-decoration: none; background: var(--white); border: 1px solid var(--grey); border-radius: 4px; padding: 16px; color: inherit; transition: background 200ms var(--ease), box-shadow 200ms var(--ease); }
section.alt .row { border-color: var(--grey-mid); }
.row:hover { background: var(--grey-soft); box-shadow: 0 1px 2px rgba(33,33,33,.06); }
.row:hover .arrow { transform: translateX(4px); }
.row-text { flex: 1; min-width: 0; }
.row-title { display: block; color: var(--ink); font-size: 18px; line-height: 1.3; }
.row-sub { display: block; font-size: 14px; margin-top: 4px; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--grey-mid); border-radius: 2px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; color: var(--body); }
.arrow { color: var(--teal); font-size: 22px; flex: none; transition: transform 200ms var(--ease); }

/* Collapsible sections */
.sec-toggle { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; background: var(--white); border: 1px solid var(--grey-mid); border-radius: 6px; padding: 16px; cursor: pointer; color: inherit; transition: background 200ms var(--ease); }
.sec-toggle:hover { background: var(--grey-soft); }
.sec-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.sec-title { font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
.sec-sub { font-size: 14px; }
.sec-toggle .chev { color: var(--teal); font-size: 14px; flex: none; transition: transform 200ms var(--ease); }
.sec-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sec-body { padding-top: 20px; }
.peek { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.peek[hidden] { display: none; }
.peek button { font-size: 13px; color: var(--ink); background: transparent; border: 1px solid var(--grey-mid); border-radius: 999px; padding: 4px 11px; cursor: pointer; transition: border-color 160ms var(--ease), color 160ms var(--ease); }
.peek button:hover { border-color: var(--teal); color: var(--teal-dark); }
.peek .more-n { font-size: 13px; color: var(--body); padding: 4px 4px; }

/* Chips (filters, pickers) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chip { font-size: 14px; color: var(--ink); background: var(--white); border: 1px solid var(--grey-mid); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); background: var(--white); border: 1px solid var(--grey-mid); border-radius: 4px; padding: 8px 12px; cursor: pointer; text-decoration: none; transition: background 160ms var(--ease); }
.btn:hover { background: var(--grey-soft); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn.primary:hover { background: var(--teal-dark); }
.btn svg { width: 16px; height: 16px; flex: none; }
.feedback { font-size: 13px; color: var(--teal-dark); min-height: 1em; }

/* Pre Prompt */
.pre { background: var(--teal-tint); border-radius: 6px; padding: 20px; margin-bottom: 24px; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 4px; }
.pre h3 { font-size: 22px; font-weight: 500; color: var(--ink); margin: 0 0 8px; }
.pre p { margin: 0 0 16px; font-size: 15px; }
.pick { display: grid; gap: 14px; margin-bottom: 16px; }
.pick-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin-bottom: 6px; }
.pre .chip { font-size: 13px; padding: 6px 12px; }

/* Prompt cards */
.filters { margin-bottom: 16px; }
.cards { display: grid; gap: 12px; }
.card { background: var(--white); border: 1px solid var(--grey-mid); border-radius: 6px; scroll-margin-top: 12px; }
.card[hidden] { display: none; }
.card-head { padding: 16px 16px 12px; display: grid; gap: 4px; }
.card-cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.card h4 { font-size: 20px; line-height: 1.25; font-weight: 500; color: var(--ink); margin: 0; }
.card .use { font-size: 15px; margin: 0; }
.card-actions { padding: 0 16px 14px; display: grid; gap: 6px; }
details.more { border-top: 1px solid var(--grey); }
details.more > summary { list-style: none; cursor: pointer; padding: 12px 16px; font-size: 14px; color: var(--teal-dark); display: flex; align-items: center; gap: 8px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary .chev { display: inline-block; transition: transform 200ms var(--ease); font-size: 11px; }
details.more[open] > summary .chev { transform: rotate(180deg); }
.more-body { padding: 0 16px 16px; display: grid; gap: 14px; }
.technique { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--body); }
.technique b { color: var(--orange); font-weight: 700; }
.ptext { font-family: var(--mono); font-size: 13px; line-height: 1.7; white-space: pre-wrap; background: var(--grey-soft); border: 1px solid var(--grey); border-radius: 4px; padding: 14px; color: var(--ink); overflow-wrap: anywhere; min-width: 0; }
.ptext strong { color: var(--teal-dark); font-weight: 500; }
.why { font-size: 14px; line-height: 1.6; }
.why b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.full-toggle { justify-self: start; background: none; border: none; padding: 0; color: var(--teal-dark); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Shortcuts */
.controls { display: grid; gap: 14px; margin-bottom: 20px; }
.controls .pick-label { margin-bottom: 6px; }
.client-note { font-size: 14px; background: var(--white); border-left: 3px solid var(--orange); padding: 10px 12px; margin: 0 0 20px; }
.method { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.step { background: var(--white); border: 1px solid var(--grey-mid); border-radius: 6px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; }
.step-name { font-size: 18px; color: var(--ink); }
.step-desc { grid-column: 1 / -1; font-size: 14px; }
.step .keys { grid-row: 1; grid-column: 2; justify-self: end; text-align: right; }
.side { grid-column: 1 / -1; font-size: 13px; color: var(--violet); }
.side::before { content: "Note "; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.tables { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ktable { background: var(--white); border: 1px solid var(--grey-mid); border-radius: 6px; padding: 14px 16px; min-width: 0; }
.ktable h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); font-weight: 500; }
.krow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--grey); flex-wrap: wrap; }
.krow:first-of-type { border-top: none; }
.krow .act { color: var(--ink); font-size: 15px; }
.krow .side { flex-basis: 100%; }
.keys { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; justify-content: flex-end; }
kbd { font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--ink); background: var(--white); border: 1px solid var(--grey-mid); border-bottom-width: 3px; border-radius: 5px; padding: 2px 7px; min-width: 26px; text-align: center; line-height: 1.4; white-space: nowrap; }
.keys .j { font-size: 12px; color: var(--body); }
.dl { margin-top: 24px; display: grid; gap: 6px; }
.dl p { margin: 0; font-size: 13px; }

footer { border-top: 1px solid var(--grey); padding-block: 20px 36px; font-size: 13px; }
footer p { margin: 0; }
.textlink { color: var(--teal); text-decoration: none; font-size: 17px; }
.textlink:hover { text-decoration: underline; }

@media (max-width: 420px) {
  .step { grid-template-columns: 1fr; }
  .step .keys { grid-row: auto; grid-column: 1; justify-self: start; text-align: left; }
}
@media print {
  .hero .jump, #prompts, #slides, #books, #youtube, #contact, .controls, .dl, footer { display: none !important; }
  section.alt { background: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* Former inline styles (the site CSP allows no inline styles) */
details.pre-show { border-top: none; margin: 0 -4px 12px; }
details.pre-show > summary { padding: 4px; }
#pre-text { margin-top: 8px; background: var(--white); }
.contact-li { margin: 24px 0 0; }
.full-box { display: grid; gap: 8px; }
.brand a { color: inherit; text-decoration: none; }
.brand a:hover { text-decoration: underline; }
footer a { color: var(--teal-dark); }

/* Visuals: deck thumbnails and channel avatars */
.thumb { flex: none; width: 128px; aspect-ratio: 16 / 9; height: auto; border-radius: 4px; border: 1px solid var(--grey); object-fit: cover; background: var(--white); }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
@media (max-width: 420px) { .thumb { width: 96px; } .avatar { width: 48px; height: 48px; } }
