:root {
  --nav: 72px;
  --g-main: #f7f4ed;
  --g-alt: #ecefe9;
  --g-paper: #fffdf8;
  --g-dark: #112f31;
  --g-dark-2: #0b2325;
  --ink: #172629;
  --muted: #52676a;
  --line: rgba(23, 38, 41, .14);
  --action: #bd4f34;
  --action-hover: #a53f28;
  --warm: #e9b66d;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --shadow-soft: 0 20px 60px rgba(17, 47, 49, .08);
  --display: Cambria, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --page-gutter: 80px;
  --page-width: 1280px;
  --reading-width: 72ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: var(--nav); }
body {
  background: var(--g-main);
  color: var(--ink);
  font: 400 16px/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { padding-top: var(--nav); }
.wrap { width: min(calc(100% - (2 * var(--page-gutter))), var(--page-width)); margin-inline: auto; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3.25rem, 5.15vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(2.25rem, 3.5vw, 3.25rem); line-height: 1.08; }
h3 { font-size: 1.55rem; line-height: 1.2; }
p { max-width: 64ch; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}
.eyebrow, .panel-kicker, .guide-card > span, .name-case > span {
  color: var(--action);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.4;
  margin-bottom: 16px;
}
.eyebrow.dark { color: var(--action); }

/* Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav);
  background: var(--g-dark);
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: #fff;
}
.header-inner { height: var(--nav); gap: 28px; }
.brand-logo { display: block; width: 152px; height: auto; }
.brand { flex: none; }
.header-inner nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.header-inner nav a {
  position: relative;
  color: #d9e5e2;
  font-size: .94rem;
  font-weight: 500;
  line-height: var(--nav);
}
.header-inner nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--warm);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.header-inner nav a:hover::after,
.header-inner nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-sm);
  background: var(--action);
  color: #fff;
  font-weight: 600;
  transition: background .18s ease, transform .18s ease;
}
.nav-action:hover { background: var(--action-hover); transform: translateY(-2px); }
.nav-action:active { transform: translateY(0); }
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  top: 10px;
  left: 10px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip-path: none;
  background: #fff;
  color: var(--ink);
}

/* Buttons and links */
.button {
  min-height: 48px;
  padding: 0 22px;
  gap: 12px;
  border-radius: var(--r-sm);
  box-shadow: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.primary { background: var(--action); color: #fff; }
.button.primary:hover { background: var(--action-hover); }
.button.ghost { border-color: rgba(255,255,255,.42); background: transparent; color: #fff; }
.button.ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.button.outline { border-color: var(--line); background: transparent; color: var(--ink); }
.button.outline:hover { border-color: var(--action); color: var(--action); }
.text-link, .catalog-heading a, .sidebar a, .guide-case a, .guide-lab-entry a, .method-link a {
  color: var(--action);
  font-weight: 600;
  text-underline-offset: 4px;
}
.text-link:hover, .catalog-heading a:hover, .sidebar a:hover, .guide-case a:hover, .guide-lab-entry a:hover { text-decoration: underline; }

/* Homepage hero: product first */
.hero {
  min-height: calc(100svh - var(--nav));
  overflow: hidden;
  background: var(--g-dark);
  color: #fff;
}
.hero-shell { min-height: calc(100svh - var(--nav)); display: grid; grid-template-rows: 1fr auto; }
.hero-grid {
  min-height: 0;
  padding: 64px 0 48px;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: 80px;
}
.hero-copy { align-self: center; }
.hero h1 { max-width: 700px; margin-bottom: 24px; color: #fff; }
.hero h1 em { color: inherit; font-style: normal; }
.hero p { color: #d2dfdc; font-size: 1.12rem; line-height: 1.65; }
.hero-actions { margin: 32px 0 24px; }
.hero-notes { gap: 0; color: #bed0cc; font-size: .9rem; }
.hero-notes span { display: inline-flex; align-items: center; }
.hero-notes span + span::before { margin: 0 12px; color: #718d88; content: "·"; }
.hero-product {
  align-self: center;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg);
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(0,0,0,.2);
  color: var(--ink);
}
.hero-product-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hero-product-head span:first-child { font-family: var(--display); font-size: 1.3rem; }
.hero-product-head span:last-child { color: var(--muted); font-size: .82rem; }
.hero-product-controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; }
.hero-product-controls span { padding: 7px 10px; border-radius: 999px; background: var(--g-alt); color: #365154; font-size: .8rem; }
.hero-product ul { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.hero-product li { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 58px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.hero-product li span { font-family: var(--display); font-size: 1.05rem; }
.hero-product li small { color: var(--muted); font-size: .78rem; }
.hero-product > a { color: var(--action); font-weight: 600; }
.home-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
}
.home-facts-grid > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 22px 24px; border-left: 1px solid rgba(255,255,255,.13); }
.home-facts-grid > div:first-child { padding-left: 0; border-left: 0; }
.home-facts-grid > div:last-child { padding-right: 0; }
.home-facts-grid strong { color: var(--warm); font: 400 2rem/1 var(--display); }
.home-facts-grid span { color: #c8d7d4; font-size: .82rem; line-height: 1.35; }

/* Page rhythm */
.section { padding: 112px 0 96px; }
.section.light { background: var(--g-paper); }
.section-head { align-items: end; margin-bottom: 48px; }
.section-head > div { max-width: 780px; }
.section-head p { margin-bottom: 0; color: var(--muted); font-size: 1.04rem; }
.home-intro, .home-uses, .guides-promo { background: var(--g-main); }
.home-example, .categories { background: var(--g-dark); color: #fff; }
.home-example h2, .categories h2 { color: #fff; }
.home-example .eyebrow, .categories .eyebrow { color: var(--warm); }
.how, .method-promo, .catalog-help, .guide-index-intro, .category-intro { background: var(--g-alt); }
.method-promo .wrap { max-width: none; }
.method-promo p { color: var(--muted); }
.value-grid { gap: 0 64px; border-top-color: var(--line); }
.value-grid article { padding: 36px 0; }
.value-grid article > span { color: var(--action); }
.value-grid h3 { font-size: 1.45rem; font-weight: 400; }
.value-grid p { color: var(--muted); }
.example-grid { gap: 96px; }
.home-samples li { padding: 28px 0; }
.home-samples strong { color: var(--warm); font-weight: 400; }
.use-grid, .catalog-help-grid, .category-spotlights, .guide-grid { gap: 24px; }
.use-grid article, .catalog-help-grid article, .category-spotlights article {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--g-paper);
  box-shadow: none;
}
.use-grid article, .category-spotlights article { transition: transform .2s ease, border-color .2s ease; }
.use-grid article:hover, .category-spotlights article:hover { transform: translateY(-2px); border-color: rgba(189,79,52,.45); }
.steps > div { padding: 22px 0; border-color: var(--line); }
.steps b { color: var(--action); font-weight: 400; }

/* Cards and directories */
.cards { gap: 24px; }
.tool-card, .guide-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--g-paper);
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.tool-card:hover, .guide-card:hover { transform: translateY(-2px); border-color: rgba(189,79,52,.5); background: #fff; }
.tool-card strong, .guide-card strong { font: 400 1.22rem/1.35 var(--display); letter-spacing: -.02em; }
.tool-card > span:nth-of-type(2), .guide-card small { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 10px; background: #f7e7df; color: var(--action); }
.card-arrow, .guide-card b { color: var(--action); font-size: .88rem; font-weight: 600; }
.category-grid { gap: 12px 24px; }
.category-pill { min-height: 72px; padding: 14px 18px; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.045); border-radius: var(--r-sm); transition: transform .18s ease, background .18s ease; }
.category-pill:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); }
.category-pill strong { margin-right: auto; font-weight: 500; }
.catalog { padding: 96px 0; }
.catalog-section { padding-bottom: 72px; margin-bottom: 72px; }
.catalog-heading h2 { font-size: 2.15rem; }
.link-list { gap: 10px 16px; }
.link-list a { min-height: 52px; padding: 13px 15px; border-color: var(--line); border-radius: var(--r-sm); background: var(--g-paper); font-size: .93rem; font-weight: 500; transition: transform .18s ease, border-color .18s ease; }
.link-list a:hover { transform: translateY(-2px); border-color: rgba(189,79,52,.5); }

/* Interior page headers */
.page-top, .tool-top { padding: 72px 0 80px; background: var(--g-dark); }
.page-top h1, .tool-top h1 { max-width: 920px; margin-bottom: 22px; color: #fff; font-size: clamp(3rem, 4.6vw, 4.5rem); }
.page-top p, .tool-top p { max-width: 800px; color: #cbd9d6; font-size: 1.1rem; }
.tool-top .tool-heading p { max-width: 900px; }
.tool-story { max-width: 920px; }
.tool-story p { max-width: none; margin: 0; }
.tool-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.tool-value-strip > div { min-width: 0; padding: 22px 26px; border-left: 1px solid rgba(255,255,255,.16); }
.tool-value-strip > div:first-child { padding-left: 0; border-left: 0; }
.tool-value-strip > div:last-child { padding-right: 0; }
.tool-value-strip span { display: block; margin-bottom: 7px; color: var(--warm); font-size: .75rem; font-weight: 600; letter-spacing: .03em; }
.tool-value-strip strong { display: block; color: #edf4f2; font-size: .94rem; font-weight: 500; line-height: 1.55; }
.breadcrumbs { margin-bottom: 32px; color: #9fb6b2; font-size: .84rem; }
.breadcrumbs a { text-decoration-thickness: 1px; }
.search { height: 54px; border-color: rgba(255,255,255,.32); border-radius: var(--r-sm); }
.search-label { font-size: .9rem; }

/* Generator product UI */
.tool-body { padding: 80px 0 112px; }
.two-col { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.generator-panel {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--g-paper);
  box-shadow: var(--shadow-soft);
}
.panel-head h2 { font-size: 2rem; }
.generator-choices { gap: 16px; }
.generator-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 4px; }
.generator-story p { margin: 0; color: var(--muted); }
.candidate-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 12px; }
.candidate-preview__head { grid-column: 1 / -1; margin-bottom: 4px; }
.candidate-preview__head span { display: block; margin-bottom: 5px; color: var(--action); font-size: .75rem; font-weight: 600; letter-spacing: .03em; }
.candidate-preview__head strong { font: 400 1.3rem/1.35 var(--display); }
.candidate-preview__item { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--g-paper); }
.candidate-preview__item strong { display: block; margin-bottom: 8px; font: 400 1.05rem/1.35 var(--display); }
.candidate-preview__item span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.generator-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 30px; }
.generator-benefits > div { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #f4f6f1; }
.generator-benefits strong { display: block; margin-bottom: 7px; font-size: .9rem; }
.generator-benefits span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.motif-select { width: 100%; min-height: 50px; border-color: var(--line); border-radius: var(--r-sm); background: #fff; }
.advanced-settings { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.advanced-settings summary { padding: 16px 18px; font-weight: 600; }
.axis-grid { padding: 0 18px 18px; }
.results { gap: 12px; }
.results li { min-height: 78px; padding: 14px 16px; border-color: var(--line); border-radius: var(--r-sm); background: #f4f6f1; }
.results button { color: var(--action); }
#results > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
}
.result-reading {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 400;
}
.result-reading summary { cursor: pointer; color: var(--action); font-weight: 700; }
.result-reading p {
  max-width: none;
  margin: 9px 0;
  color: #3f5558;
  font-size: .85rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.sidebar { gap: 20px; }
.sidebar-box { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--g-alt); }
.sidebar-box:nth-child(2) { background: #f5ebdf; }
.editorial { padding: 72px 0 0; }
.editorial > p, .editorial section p { color: #40575a; font-size: 1.02rem; line-height: 1.78; }
.editorial h2 { font-size: 2.5rem; }
.editorial h3 { margin-top: 48px; font-size: 1.65rem; }
.name-case, .guide-case, .method-worked, .category-case {
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--g-paper);
  box-shadow: none;
}
.tool-learning { border: 1px solid var(--line); background: var(--g-alt); }

/* Long-form reading */
.guide-article, .method-article, .prose { max-width: none; }
.guide-article, .method-article, .prose { font-size: 1.02rem; line-height: 1.78; }
.guide-article h2, .method-article > h2, .prose h2 { font-size: 2rem; }
.guide-article h3, .method-article h3, .prose h3 { font-size: 1.38rem; }
.category-intro > .wrap { max-width: none; }
.category-intro > .wrap > p { max-width: var(--reading-width); }
.category-case { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.category-case > div { min-width: 0; }
.category-case > div > h3:first-child { margin-top: 0; }
.guide-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.guide-principle { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--g-paper); }
.guide-principle h2 { margin: 0 0 14px; font-size: 1.6rem; }
.guide-principle p { margin-bottom: 0; }
.guide-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.guide-actions .guide-note, .guide-actions .guide-exercise { height: 100%; margin-top: 0; }
.guide-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.guide-case-grid > div { min-width: 0; }
.guide-case-grid h2, .guide-case-grid h3 { margin-top: 0; }
.guide-room--cases { background: var(--g-main); }
.guide-room--cases .guide-case:first-of-type { margin-top: 32px; }
.guide-room--matrix .guide-matrix,
.guide-room--workbook .guide-lab { margin: 0; }
.guide-room--matrix .guide-matrix > h2,
.guide-room--workbook .guide-lab > h2 { max-width: 900px; margin-bottom: 20px; font-size: clamp(2.15rem, 3vw, 3rem); }
.guide-room--matrix .guide-matrix ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-lab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.guide-lab > h2, .guide-lab > p { grid-column: 1 / -1; }
.guide-lab > p { max-width: var(--reading-width); margin-bottom: 32px; }
.method-grid { display: grid; gap: 24px; }
.method-grid--steps, .method-grid--evaluation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.method-grid--worked { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.method-grid .method-step { min-width: 0; padding: 28px 0; }
.method-grid .method-worked { min-width: 0; height: 100%; margin: 0; }
.method-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 64px; margin-bottom: 48px; }
.method-intro h2 { margin: 0; font-size: clamp(2.15rem, 3vw, 3rem); }
.method-intro .method-lead { max-width: 58ch; margin: 0; }
.method-room .section-head p { max-width: 68ch; }
.method-room--worked { background: var(--g-main); }
.method-room--worksheet { background: var(--g-main); }
.worksheet-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 72px; }
.worksheet-layout > div:first-child > p:not(.guide-disclaimer) { max-width: 52ch; }
.worksheet-layout h2 { margin-top: 0; font-size: clamp(2.15rem, 3vw, 3rem); }
.worksheet-layout .method-worksheet { margin: 0; }
.prose > p, .prose > ul, .prose > ol { max-width: var(--reading-width); }

body[data-page="sobre"] .prose > :is(p, ul, ol) { max-width: 100ch; }
body[data-page="sobre"] .section:has(> .prose) { padding-block-start: clamp(40px, 5vw, 76px); }
.guide-principle { padding: 28px; border-color: var(--line); }
.guide-note, .guide-exercise { padding: 30px; border-radius: var(--r-md); background: var(--g-alt); }
.guide-case { margin: 40px 0; }
.guide-lab-entry { padding: 32px 0; }
.guide-candidates { padding: 20px; border-radius: var(--r-sm); background: var(--g-alt); }
.guide-matrix ul { gap: 12px; }
.guide-matrix li { border-color: var(--line); border-radius: var(--r-sm); background: var(--g-paper); }
.policy-table { border-color: var(--line); }
.policy-table th { background: var(--g-alt); }

/* Footer */
footer.closing { padding: 0 0 24px; background: var(--g-dark-2); color: #c9d7d4; }
.footer-cta { display: flex; align-items: end; justify-content: space-between; gap: 48px; padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-cta span { color: var(--warm); font-size: .88rem; font-weight: 600; }
.footer-cta h2 { max-width: 760px; margin: 12px 0 0; color: #fff; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding-top: 64px; }
.footer-grid strong { color: #fff; font-weight: 600; }
.footer-grid a:not(.brand) { color: #c9d7d4; font-size: .91rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-grid p { max-width: 34ch; color: #9fb4b0; font-size: .9rem; }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; color: #8fa6a2; }

@media (max-width: 1100px) {
  :root { --page-gutter: 48px; }
  .header-inner nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 820px) {
  :root { --nav: 64px; --page-gutter: 24px; }
  .header-inner { height: var(--nav); }
  .brand-logo { width: 136px; }
  .header-inner nav {
    position: fixed;
    inset: var(--nav) 0 0;
    z-index: 49;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 28px 24px 112px;
    background: var(--g-dark);
  }
  .header-inner nav.open { display: flex; }
  .header-inner nav a { min-height: 58px; border-bottom: 1px solid rgba(255,255,255,.12); font: 400 1.45rem/58px var(--display); }
  .header-inner nav a::after { display: none; }
  .nav-action { margin-left: auto; min-height: 40px; padding: 0 15px; font-size: .88rem; }
  .menu-button { position: relative; display: block; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-sm); background: transparent; }
  .menu-button span, .menu-button::before, .menu-button::after { position: absolute; left: 11px; width: 20px; height: 2px; background: #fff; content: ""; transition: transform .2s ease, opacity .2s ease; }
  .menu-button::before { top: 13px; }
  .menu-button span { top: 20px; }
  .menu-button::after { top: 27px; }
  .menu-button[aria-expanded="true"]::before { top: 20px; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] span { opacity: 0; }
  .menu-button[aria-expanded="true"]::after { top: 20px; transform: rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  .hero-shell { min-height: calc(100svh - var(--nav)); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 40px; }
  .hero-copy { align-self: start; }
  .hero-product { max-width: 620px; }
  .home-facts-grid { display: none; }
  .two-col, .how-grid, .example-grid { grid-template-columns: 1fr; gap: 48px; }
  .tool-heading .tool-emblem { display: none; }
  .generator-story { grid-template-columns: 1fr; gap: 14px; }
  .tool-value-strip { grid-template-columns: 1fr; }
  .tool-value-strip > div { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .tool-value-strip > div:first-child { border-top: 0; }
  .category-case, .guide-principles, .guide-actions, .guide-case-grid, .guide-lab,
  .method-grid--steps, .method-grid--worked, .method-grid--evaluation { grid-template-columns: 1fr; }
  .guide-room--matrix .guide-matrix ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-intro, .worksheet-layout { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { display: grid; grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: 1fr; }
  .footer-cta { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Visible ownership and review information for editorial and tool pages. */
.content-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  width: fit-content;
  max-width: 100%;
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.72) !important;
  font: 600 .76rem/1.55 var(--sans) !important;
  letter-spacing: .02em;
}
.content-byline a {
  color: #f3c979;
  text-decoration: underline;
  text-decoration-color: rgba(243,201,121,.48);
  text-underline-offset: 3px;
}
.content-byline time { color: inherit; }

@media (max-width: 600px) {
  .nav-action { display: none; }
  h1 { font-size: 2.55rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.35rem; }
  .section { padding: 80px 0 64px; }
  .section-head { display: block; margin-bottom: 32px; }
  .section-head .text-link { display: inline-block; margin-top: 12px; white-space: normal; }
  .hero { min-height: calc(100svh - var(--nav)); }
  .hero-grid { display: grid; gap: 20px; padding: 20px 0 18px; }
  .hero h1 { font-size: 2.65rem; line-height: 1.02; }
  .hero p { font-size: 1rem; }
  .hero-actions { display: grid; gap: 10px; margin: 26px 0 18px; }
  .hero-actions .button { width: 100%; }
  .hero-product { padding: 18px; border-radius: var(--r-md); }
  .hero-product-head span:last-child, .hero-product-controls { display: none; }
  .hero-product li { min-height: 50px; padding: 10px 12px; }
  .hero-product li:nth-child(3) { display: none; }
  .hero-product > a { font-size: .9rem; }
  .cards, .guide-grid, .use-grid, .catalog-help-grid, .category-spotlights, .value-grid { grid-template-columns: 1fr; }
  .tool-card, .guide-card { min-height: 210px; padding: 24px; }
  .category-pill { min-height: 66px; }
  .category-pill .category-count { font-size: .75rem; }
  .page-top, .tool-top { padding: 52px 0 60px; }
  .tool-top { padding-top: 32px; padding-bottom: 24px; }
  .page-top h1, .tool-top h1 { font-size: 2.65rem; }
  .tool-body { padding: 56px 0 80px; }
  .generator-panel { padding: 22px; border-radius: var(--r-md); }
  .candidate-preview { grid-template-columns: 1fr; }
  .generator-benefits { grid-template-columns: 1fr; }
  .generator-actions .button { width: 100%; }
  .sidebar { grid-template-columns: 1fr; }
  .editorial { padding-top: 56px; }
  .editorial h2 { font-size: 2rem; }
  .name-case, .guide-case, .method-worked, .category-case { padding: 22px; }
  .guide-room--matrix .guide-matrix ul { grid-template-columns: 1fr; }
  .footer-cta { padding-top: 56px; padding-bottom: 56px; }
  .footer-cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; }
  .foot-bottom { align-items: flex-start; flex-direction: column; }
  .content-byline { display: grid; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.practical-note {
  margin-block: 1.5rem;
  padding-inline-start: clamp(.85rem, 2vw, 1.5rem);
  border-inline-start: 3px solid #b65e46;
}
.practical-note h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.practical-note p { max-width: var(--reading-width); }
.practical-note p:last-child { margin-bottom: 0; }
.tool-comparison { overflow-wrap: anywhere; }
