:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --ink: #162b25;
  --muted: #52655d;
  --line: #dce2d7;
  --forest: #143a30;
  --lime: #ddf68f;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #567b13; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header, main, footer { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header, footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px; }
.site-header a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.12rem; font-weight: 850; letter-spacing: -.04em; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--lime); background: var(--forest); letter-spacing: -.06em; }
.browse { font-size: .88rem; font-weight: 700; color: var(--muted); }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin: 8px 0 48px; padding: clamp(24px, 5.5vw, 68px); border-radius: 28px; background: var(--forest); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 95% 100%, #357054, transparent 64%); }
.eyebrow { margin: 0 0 9px; font-weight: 800; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.hero .eyebrow { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 12ch; margin-bottom: 18px; font: 700 clamp(3rem, 7vw, 6.3rem)/.98 Georgia, serif; letter-spacing: -.065em; }
h1 em { color: var(--lime); }
.hero-copy > p:not(.eyebrow) { color: #dfebe3; margin-bottom: 24px; }
.hero-art { display: grid; place-items: center; align-content: center; width: clamp(150px, 24vw, 290px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #a1c995; box-shadow: 0 0 0 16px #c9edaa17, 0 0 0 32px #c9edaa12; color: var(--lime); }
.hero-art span { font: 700 clamp(5rem, 14vw, 11rem)/.8 Georgia, serif; letter-spacing: -.1em; margin-left: -.1em; }
.hero-art small { font-size: clamp(.48rem, 1vw, .74rem); font-weight: 750; letter-spacing: .12em; margin-top: 18px; }
.search-field { display: flex; align-items: center; gap: 8px; max-width: 480px; background: white; border-radius: 14px; color: var(--ink); padding: 5px 6px 5px 12px; }
.search-field svg { width: 22px; flex: 0 0 22px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; color: inherit; padding: 8px 2px; }
.search-field button, .play { border: 0; border-radius: 9px; background: var(--lime); color: var(--ink); padding: 10px 14px; font-size: .85rem; font-weight: 800; }
.search-field button:hover, .play:hover { background: #c9e774; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font: 700 clamp(1.9rem, 4.6vw, 3.45rem)/1 Georgia, serif; letter-spacing: -.045em; }
.stat, .review-note, #status { margin: 0; font-size: .82rem; color: var(--muted); }
.stat { font-weight: 700; white-space: nowrap; }
.stat span { margin: 0 3px; }
#categories { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 4px 18px; }
#categories button, .tabs button { color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: .85rem; font-weight: 700; }
#categories button:hover, .tabs button:hover { border-color: #6c8c74; }
#categories button[aria-pressed=true], .tabs button[aria-pressed=true] { color: white; background: var(--forest); border-color: var(--forest); }
.results-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
#status { font-weight: 750; }
#results { display: grid; gap: 16px; }
article { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: clamp(14px, 2.5vw, 26px); }
article h3 { margin: 0; font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 Georgia, serif; letter-spacing: -.035em; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.tabs button { padding: 6px 11px; font-size: .76rem; }
.rows { list-style: none; padding: 0; margin: 0; counter-reset: skill; }
.rows li { counter-increment: skill; display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.rows li::before { content: counter(skill, decimal-leading-zero); color: var(--muted); font-size: .76rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.skill { display: grid; gap: 2px; overflow-wrap: anywhere; }
.skill strong { font-size: .98rem; }
.skill span { font-size: .8rem; color: var(--muted); }
.actions { display: flex; gap: 10px; align-items: center; }
.actions a, #player-link { font-size: .8rem; font-weight: 750; text-underline-offset: 3px; }
.empty { margin: 0; border-radius: 12px; padding: 16px; color: var(--muted); background: var(--paper); }
footer { margin-top: 36px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
dialog { width: min(760px, calc(100% - 24px)); border: 0; border-radius: 18px; padding: 14px; color: var(--ink); }
dialog::backdrop { background: #0c211cbd; }
.player-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.player-header h2 { margin: 0; font-size: 1.1rem; }
.close-player { border: 1px solid var(--line); border-radius: 9px; background: var(--paper); width: 44px; height: 44px; font-size: 1.5rem; }
#player-content iframe { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; border: 0; background: var(--forest); }
#player-link { display: inline-block; padding: 10px 0 2px; }
@media (max-width: 660px) {
  .site-header, main, footer { width: calc(100% - 28px); }
  .hero { grid-template-columns: 1fr; margin-bottom: 34px; border-radius: 20px; }
  .hero-art { display: none; }
  .section-heading { align-items: start; flex-direction: column; }
  .rows li { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .actions { grid-column: 2; }
  .actions a { padding-block: 10px; }
}
.collection-links { width: min(1160px, calc(100% - 48px)); margin: 24px auto; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .82rem; color: var(--muted); }
.skill .creator { font-size: .8rem; color: var(--muted); text-underline-offset: 3px; justify-self: start; }
.skill .editor-note { color: var(--ink); font-size: .83rem; }
.featured-creator { border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 36px); margin-bottom: 40px; background: #edf0e5; }
.creator-intro { max-width: 680px; }
.creator-intro h2 { margin: 0 0 12px; font: 700 clamp(2rem, 4vw, 3.1rem)/1.05 Georgia, serif; letter-spacing: -.04em; }
.creator-intro > p:not(.eyebrow) { color: var(--muted); }
.creator-channel { display: inline-block; font-weight: 750; text-underline-offset: 4px; }
.creator-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.creator-videos article { padding: 20px; display: flex; flex-direction: column; align-items: start; }
.creator-videos h3 { font: 750 1.1rem/1.3 system-ui, sans-serif; margin-bottom: 10px; letter-spacing: -.025em; }
.creator-videos article > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; }
.creator-videos a { margin-top: auto; font-size: .85rem; font-weight: 750; text-underline-offset: 4px; }
.creator-attribution { margin: 16px 0 0; font-size: .76rem; color: var(--muted); }
@media (max-width: 660px) { .creator-videos { grid-template-columns: 1fr; } }
.share-button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--ink); background: #fff; font-size: .8rem; font-weight: 750; }
.share-button:hover { background: #edf0e5; }
.results-heading { align-items: center; }
.breadcrumbs { color: var(--muted); font-size: .83rem; margin: 14px 0; }
.breadcrumbs a { text-underline-offset: 3px; }
.hero-copy > .collection-intro { max-width: 52ch; }
.header-links { display: flex; align-items: center; gap: 16px; }
.gear-main { max-width: 1000px; padding-bottom: 30px; }
.guide-title { max-width: 18ch; font-size: clamp(2.6rem, 6vw, 4.5rem); margin: 20px 0; }
.guide-intro { max-width: 70ch; font-size: 1.1rem; color: var(--muted); }
.gear-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.gear-grid article { display: flex; flex-direction: column; align-items: start; }
.gear-grid h3, .guide-index h2 { font: 750 1.2rem/1.3 system-ui, sans-serif; margin-bottom: 12px; }
.gear-grid p { color: var(--muted); }
.gear-grid a { margin-top: auto; font-weight: 750; font-size: .88rem; text-underline-offset: 4px; }
.guide-copy { max-width: 70ch; margin: 30px 0; }
.guide-copy h2 { font: 750 1.3rem/1.2 system-ui, sans-serif; margin: 22px 0 10px; }
.shopping-disclosure { border: 1px solid var(--line); background: #edf0e5; border-radius: 12px; padding: 14px; font-size: .87rem; }
.gear-callout { display: block; margin: 4px 0 16px; padding: 12px; border-radius: 10px; background: #edf0e5; font-size: .86rem; font-weight: 700; text-underline-offset: 3px; }
@media(max-width:660px) { .gear-grid { grid-template-columns: 1fr; } .header-links { gap: 10px; } .header-links a { font-size: .76rem; } }

.tutorial-disclosure { color: var(--muted); font-size: .8rem; }
.rows .tutorial-materials { grid-column: 2 / -1; }
.tutorial-materials summary { cursor: pointer; font-size: .87rem; font-weight: 700; }
.tutorial-materials .materials-group { margin: .6rem 0 .15rem; font-size: .85rem; font-weight: 700; }
.tutorial-materials ul { margin: 0; padding-inline-start: 1.2rem; }
.tutorial-materials li { font-size: .85rem; }
.rows .tutorial-materials li { display: list-item; padding: .15rem 0; border: 0; counter-increment: none; }
.rows .tutorial-materials li::before { content: none; }
.tutorial-materials li a { white-space: nowrap; }
.tutorial-materials .materials-source { margin: .55rem 0; color: var(--muted); font-size: .75rem; }
#player-content .tutorial-materials { margin-top: .6rem; }

/* Directory surfaces and tutorial cards */
body { background: #f5f7f2; }
.site-header { min-height: 72px; }
.hero {
  background: #112f27;
  border: 1px solid #315447;
  box-shadow: 0 16px 36px #17372a20;
}
.hero::before {
  background: radial-gradient(ellipse at 90% 75%, #376b52, transparent 63%),
    repeating-linear-gradient(125deg, transparent 0 31px, #ffffff09 31px 32px);
}
.hero-art { background: #ffffff08; }
.search-field { box-shadow: 0 4px 18px #081a1433; }
.stat { background: #e5eddf; border-radius: 999px; padding: 7px 12px; }
#categories { padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #edf1e8; }
#categories button, .tabs button { min-height: 38px; }
.results-heading { border: 0; margin-top: 8px; }
.review-note summary { cursor: pointer; font-weight: 700; }
.review-note p { max-width: 58ch; margin: 8px 0 0; }
#results { gap: 22px; }
#results > article, .gear-grid article, .creator-videos article {
  border-radius: 22px;
  box-shadow: 0 4px 16px #1b362509;
}
.tabs { margin-block: 15px 18px; }
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.rows > li {
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbf8;
}
.rows > li::before {
  display: grid;
  place-items: center;
  min-height: 2rem;
  background: #e6eee0;
  border-radius: 8px;
  color: #28513d;
}
.skill { gap: 4px; }
.skill strong { font-size: 1.04rem; line-height: 1.3; }
.actions { grid-column: 2; flex-wrap: wrap; }
.actions a { color: #305744; }
.play { background: var(--forest); color: #fff; }
.play:hover { background: #275443; }
.tutorial-materials {
  background: #edf3e9;
  border: 1px solid #d9e5d4;
  border-radius: 10px;
  padding: 8px 11px;
}
.creator-videos .tutorial-materials { width: 100%; margin-top: 12px; }
.tutorial-materials a { color: #244e38; font-weight: 750; }
:where(a, button, input, summary):focus-visible { outline: 3px solid #53815a; outline-offset: 3px; }
@media (max-width: 740px) {
  .rows { grid-template-columns: 1fr; }
  .site-header { min-height: 60px; }
  #categories { padding: 9px; gap: 6px; }
  #categories button { padding-inline: 10px; }
}
@media (max-width: 380px) {
  .rows > li { padding: 10px; gap: 8px; }
}

.tutorial-steps { grid-column: 1 / -1; width: 100%; border: 1px solid var(--line, #dce2d7); border-radius: 12px; background: #f4f7ef; overflow: hidden; }
.tutorial-steps summary { padding: 12px 16px; cursor: pointer; font-size: .88rem; font-weight: 750; color: var(--ink, #162b25); }
.tutorial-steps[open] summary { border-bottom: 1px solid var(--line, #dce2d7); }
.tutorial-steps > ol { display: block; list-style: decimal; padding: 8px 22px 0 42px; margin: 0; counter-reset: none; }
.tutorial-steps > ol > li { display: list-item; padding: 8px 0; border: 0; font-size: .94rem; line-height: 1.55; counter-increment: none; }
.tutorial-steps > ol > li::before { content: none; }
.steps-source { display: inline-block; margin: 10px 16px 16px; font-size: .8rem; font-weight: 650; text-underline-offset: 3px; }
#player-content .tutorial-steps { margin-top: 12px; }

/* Crawlable topic directory and focused tutorial pages */
.topic-directory { max-width:1160px; margin:3rem auto; padding:0 24px; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.5rem; }
.topic-directory > h2 { grid-column:1/-1; margin:0; }
.topic-directory h3 { margin:0 0 .6rem; font-size:1rem; }
.topic-directory div > a { display:block; margin:.5rem 0; font-size:.9rem; text-underline-offset:3px; }
.reading-main { max-width:900px; margin:2rem auto; padding:0 20px; }
.tutorial-page { padding:clamp(20px,4vw,48px); border:1px solid #dce2d7; border-radius:20px; background:#fff; }
.tutorial-page nav { display:flex; flex-wrap:wrap; gap:1rem; font-size:.85rem; margin-bottom:2rem; }
.tutorial-page h1 { font-size:clamp(2rem,5vw,3.5rem); line-height:1.1; }
.tutorial-page p { line-height:1.65; }
.tutorial-video { width:100%; aspect-ratio:16/9; border:0; border-radius:12px; margin-top:1rem; }
.direct-steps { padding-left:1.6rem; }
.direct-steps li { padding:.55rem 0; line-height:1.65; }
.guide-link { font-weight:650; font-size:.85rem; text-underline-offset:3px; }
.affiliate-note { font-size:.85rem; }

/* Companion-guide context stays within its disclosure. */
.steps-note{font-size:.88rem;line-height:1.55;color:#59636d;margin:0 0 .9rem}.steps-reference{font-size:.88rem;margin:.7rem 0 0}.tutorial-steps ol{padding-left:1.5rem}.tutorial-steps li{padding-left:.25rem}.tutorial-steps{overflow-wrap:anywhere}
