:root {
  --ink: #16221b;
  --ink-2: #2b3a31;
  --muted: #5b685f;
  --paper: #f7f8f0;
  --white: #fff;
  --rule: #dde2d4;
  --rule-strong: #b9c2b2;
  --lime: #d9fa6a;
  --lime-2: #c7ed4f;
  --lime-soft: #eef7d4;
  --blue: #3358df;
  --violet: #6b4ef0;
  --orange: #e36a3f;
  --green: #1e7a4d;
  --font-display: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1000px 520px at 88% -12%, rgba(217, 250, 106, .3), transparent 62%),
    radial-gradient(700px 420px at -10% 8%, rgba(51, 88, 223, .05), transparent 60%),
    var(--paper);
}
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.045em;
}
h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.025em; }
p { margin: 0 0 1rem; }
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7em;
  padding: .12em .38em;
  border: 1px solid var(--rule-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: rgba(255,255,255,.75);
  color: var(--ink-2);
  font: 600 .72em/1.4 var(--font-mono);
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
::selection { color: var(--ink); background: var(--lime); }
.wrap, .nav-inner { width: min(1200px, 92%); margin-inline: auto; }
main.wrap { min-height: 62vh; }
.visually-hidden {
  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: -9999px; top: .5rem; z-index: 200;
  padding: .7rem 1rem; color: var(--ink); background: white;
  border: 1px solid var(--ink); border-radius: 7px;
}
.skip:focus { left: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(185, 194, 178, .6);
  background: rgba(247, 248, 240, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 74px; }
.logo {
  display: inline-flex; align-items: center; gap: .62rem;
  color: var(--ink); font: 800 1.4rem/1 var(--font-display);
  letter-spacing: -1.2px; text-decoration: none; white-space: nowrap;
}
.mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 34px; border-radius: 9px;
  color: var(--lime); background: var(--ink);
  font-size: .9rem; transform: rotate(-5deg);
}
.nav-main { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 1.8rem); margin-left: auto; }
.nav-link {
  position: relative; padding: .35rem 0;
  font-size: .9rem; font-weight: 650; text-decoration: none;
}
.nav-link::after {
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--ink); content: "";
  transition: right .2s ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] { font-weight: 750; }
.search-trigger {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 38px; padding: .4rem .55rem .4rem .7rem;
  border: 1px solid var(--rule-strong); border-radius: 9px;
  color: var(--ink-2); background: rgba(255,255,255,.7);
  font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.search-trigger:hover { border-color: var(--ink); background: white; transform: translateY(-1px); }
.search-trigger kbd { margin-left: .15rem; font-size: .66rem; }

/* Hero */
.hero {
  display: grid; grid-template-columns: .96fr 1.04fr;
  min-height: 560px; margin: 30px 0 0;
  overflow: hidden; border: 1px solid var(--ink);
  border-radius: 22px; background: var(--lime);
  box-shadow: 0 24px 60px -40px rgba(22,34,27,.45);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 4.8vw, 4.2rem); }
.eyebrow {
  display: flex; align-items: center; gap: .55rem;
  margin: 0 0 .8rem; color: #526147;
  font: 700 .7rem/1.4 var(--font-mono);
  letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 4px rgba(23,34,28,.1);
}
.hero h1 {
  max-width: 7ch; margin: .08em 0 .24em;
  font-size: clamp(3.4rem, 6.6vw, 6.2rem);
  line-height: .89; letter-spacing: -.07em; word-spacing: .09em;
}
.hero h1 em { font-style: normal; color: #3f5b1f; }
.hero-lead { max-width: 40ch; margin: .55rem 0 1.6rem; color: #2b3a2a; font-size: 1.04rem; line-height: 1.65; }
.hero-note { display: flex; align-items: center; gap: .55rem; margin: 1.45rem 0 0; color: #3d4d35; font-size: .78rem; font-weight: 600; }
.mini-mark {
  display: grid; place-items: center; width: 20px; height: 20px;
  border: 1px solid rgba(23,34,28,.35); border-radius: 50%; font-size: .68rem;
}
.hero-media { position: relative; min-height: 470px; margin: 0; overflow: hidden; background: #ba7552; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(18,24,19,.42)); content: ""; }
.hero-media figcaption {
  position: absolute; z-index: 2; right: 1.4rem; bottom: 1.15rem;
  color: white; font-size: .76rem; font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .55rem;
  padding: .7rem .9rem; border: 1px solid rgba(22,34,27,.18); border-radius: 12px;
  background: rgba(255,255,255,.93); box-shadow: 0 12px 30px -18px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-chip--a { top: 1.2rem; left: 1.2rem; }
.hero-chip--a strong { font: 800 1.5rem/1 var(--font-display); letter-spacing: -.05em; }
.hero-chip--a span { color: var(--muted); font: 600 .68rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.hero-chip--b { right: 1.2rem; top: 1.2rem; font-size: .74rem; font-weight: 650; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(30,122,77,.16); }

/* Actions */
.actions { display: flex; align-items: center; justify-content: flex-start; gap: .7rem; flex-wrap: wrap; }
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .72rem 1.05rem;
  border: 1px solid var(--ink); border-radius: 9px;
  color: white; background: var(--ink);
  font: inherit; font-size: .9rem; font-weight: 700; line-height: 1.3;
  cursor: pointer; text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover, button:hover { color: white; background: #2b4033; box-shadow: 0 4px 0 rgba(23,34,28,.16); transform: translateY(-1px); text-decoration: none; }
.btn.ghost, button.ghost { color: var(--ink); background: white; border-color: var(--rule-strong); }
.btn.ghost:hover, button.ghost:hover { color: var(--ink); background: var(--lime-soft); border-color: var(--ink); }
.plain { padding: .5rem .1rem; font-size: .9rem; font-weight: 700; text-decoration: none; }
.plain:hover { text-decoration: underline; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; padding-bottom: .22rem; font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: .3em; }

/* Quick start */
.quickbar {
  display: flex; align-items: center; gap: .55rem;
  margin: 0 0 0; padding: .9rem 0 1rem;
  overflow-x: auto; border-bottom: 1px solid var(--rule);
  scrollbar-width: none;
}
.quickbar::-webkit-scrollbar { display: none; }
.quickbar-label { flex: 0 0 auto; margin-right: .35rem; color: var(--muted); font: 600 .68rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; }
.quickbar a {
  flex: 0 0 auto; padding: .4rem .7rem;
  border: 1px solid var(--rule); border-radius: 999px;
  background: rgba(255,255,255,.6); color: var(--ink-2);
  font-size: .78rem; font-weight: 600; text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.quickbar a:hover { border-color: var(--ink); background: var(--lime); }

/* Stats */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 0 5rem; padding: 1.35rem 1.2rem;
  border: 1px solid var(--rule); border-top: 0;
  border-radius: 0 0 14px 14px;
  background: rgba(255,255,255,.55);
}
.stat-strip div { display: flex; align-items: center; justify-content: center; gap: .72rem; padding: .2rem .5rem; border-right: 1px solid var(--rule); }
.stat-strip div:last-child { border: 0; }
.stat-strip strong { font: 800 1.5rem/1 var(--font-display); letter-spacing: -.05em; }
.stat-strip span { color: var(--muted); font-size: .78rem; font-weight: 600; }

/* Sections */
.section { margin: 5.5rem 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.section-heading .eyebrow { margin-bottom: .5rem; }
.section-intro { max-width: 60ch; margin: .55rem 0 0; color: var(--muted); font-size: .95rem; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.workflow-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 258px; padding: 1.35rem 1.3rem 1.15rem;
  border: 1px solid var(--rule); border-radius: 14px;
  background: white; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.workflow-card:hover { border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); transform: translateY(-3px); text-decoration: none; }
.workflow-no { position: absolute; top: 1.25rem; right: 1.2rem; color: #8b958b; font: 600 .7rem var(--font-mono); }
.workflow-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.55rem; border-radius: 11px; color: var(--ink); background: var(--lime); font-size: 1.25rem; }
.workflow-card h3 { margin: 0 0 .5rem; font-size: 1.24rem; }
.workflow-card p { margin: 0 0 1rem; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.workflow-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font: 600 .72rem var(--font-mono); color: #4b594f; text-transform: uppercase; letter-spacing: .05em; }
.workflow-meta span { font-size: 1rem; }
.featured-section {
  padding: clamp(1.5rem, 3.4vw, 3rem);
  border: 1px solid #d8e4b8; border-radius: 22px;
  background: linear-gradient(180deg, #eef6d9, #f5f8ec);
}
.featured-section .card { background: rgba(255,255,255,.94); }
.new-section { position: relative; }
.new-section::before { position: absolute; left: -2%; top: 2rem; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: rgba(217,250,106,.5); filter: blur(2px); content: ""; z-index: -1; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  min-width: 0; min-height: 200px; padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid var(--rule); border-radius: 13px;
  background: white; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); transform: translateY(-2px); text-decoration: none; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.card h3 { margin: .7rem 0 .38rem; font-size: 1.18rem; }
.card p { margin: .15rem 0 .85rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.badge {
  display: inline-flex; align-items: center; align-self: flex-start;
  max-width: 100%; padding: .22rem .5rem; border-radius: 5px;
  color: #2d438f; background: #e9edff;
  font: 600 .64rem/1.45 var(--font-mono);
  letter-spacing: .02em; white-space: nowrap;
}
.card[data-group="On set"] .badge { color: #963d1a; background: #ffede3; }
.card[data-group="Edit & delivery"] .badge { color: #4d3ab3; background: #efecff; }
.card[data-group="Creator business"] .badge { color: #17643f; background: #e6f6ec; }
.new-tag {
  flex: 0 0 auto; padding: .18rem .4rem; border-radius: 4px;
  color: var(--ink); background: var(--lime);
  font: 700 .58rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
}
.card-arrow { position: absolute; right: 1rem; bottom: .8rem; color: #778278; font-size: 1rem; transition: transform .18s ease, color .18s ease; }
.card:hover .card-arrow { color: var(--ink); transform: translate(2px, -2px); }
.guide-card { border-top: 3px solid var(--blue); }
.read-meta { color: #647067; font: 600 .67rem/1.5 var(--font-mono); }
.guide-feature-cards .card { min-height: 225px; }

/* How it works */
.how-section {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 3rem; align-items: start;
  margin: 5.6rem 0; padding: clamp(1.8rem, 3.4vw, 3rem);
  border-radius: 22px; background: #14201a; color: white;
  box-shadow: 0 30px 60px -45px rgba(20,32,26,.8);
}
.how-section h2, .how-section h3 { color: white; }
.how-section .eyebrow { color: var(--lime); }
.how-intro h2 { margin: 0 0 .85rem; font-size: clamp(2.1rem, 3.8vw, 3.15rem); }
.how-intro p:last-child { max-width: 36ch; color: #c3cec4; font-size: .94rem; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.how-steps > div { padding-top: .2rem; }
.how-steps span { display: inline-block; margin-bottom: 2.2rem; color: var(--lime); font: 600 .75rem var(--font-mono); }
.how-steps h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.how-steps p { margin: 0; color: #bcc8bd; font-size: .8rem; line-height: 1.6; }

/* Standards */
.standards { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; margin: 5.6rem 0; padding: 2.6rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.standards-copy h2 { margin-bottom: .8rem; }
.standards-copy p { max-width: 42ch; color: var(--muted); }
.standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.standards-grid > div { padding: 1.2rem 1.1rem; border: 1px solid var(--rule); border-radius: 12px; background: rgba(255,255,255,.65); }
.standards-grid span { display: block; margin-bottom: 1.6rem; color: #8a968b; font: 600 .7rem var(--font-mono); }
.standards-grid h3 { margin: 0 0 .4rem; font-size: 1rem; }
.standards-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }

/* CTA band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  margin: 5rem 0; padding: clamp(1.6rem, 3.2vw, 2.8rem);
  border: 1px solid var(--ink); border-radius: 20px; background: var(--lime);
}
.cta-band .eyebrow { margin-bottom: .45rem; color: #40502f; }
.cta-band h2 { margin-bottom: .45rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-band p { max-width: 48ch; margin: 0; color: #33442c; font-size: .93rem; }
.btn-light { color: var(--ink); background: white; border-color: var(--ink); white-space: nowrap; }
.btn-light:hover { color: var(--ink); background: var(--ink); color: white; }

/* FAQ */
.home-faq { max-width: 880px; margin-inline: auto; }
.home-faq > h2 { margin-bottom: 1.4rem; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.faq-list summary { position: relative; padding-right: 2rem; color: var(--ink); font-weight: 650; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: .2rem; top: -.1rem; content: "+"; font-size: 1.35rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 74ch; margin: .7rem 0 .1rem; color: var(--muted); font-size: .92rem; line-height: 1.7; }
/* Page heads and breadcrumbs */
.page-head { max-width: 820px; margin: 2.6rem 0 2rem; }
.page-head .eyebrow { margin-bottom: .6rem; }
.page-head h1 { margin: .05em 0 .35em; font-size: clamp(2.7rem, 5.8vw, 4.9rem); }
.page-lead { max-width: 66ch; margin: .65rem 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.crumb { display: flex; align-items: center; gap: .6rem; margin: 1.8rem 0 1rem; color: #79847a; font: 600 .73rem/1.5 var(--font-mono); }
.crumb a { color: #536057; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.meta { color: #6b776d; font: 600 .68rem/1.5 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }

/* Directory */
.directory-summary {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem;
  padding: 1rem 1.2rem; border: 1px solid var(--rule); border-radius: 11px;
  background: rgba(255,255,255,.62); color: var(--muted); font-size: .8rem; font-weight: 600;
}
.directory-summary strong { color: var(--ink); font: 800 1.5rem/1 var(--font-display); letter-spacing: -.05em; }
.summary-divider { width: 1px; height: 24px; margin-inline: .25rem; background: var(--rule-strong); }
.directory-controls { display: grid; grid-template-columns: 1fr 220px; align-items: end; gap: .8rem; margin: 1.25rem 0 .7rem; }
.directory-controls label { display: block; color: #4c594f; font-size: .78rem; font-weight: 650; }
.directory-controls label span { display: block; margin-bottom: .35rem; }
input, select, textarea {
  display: block; width: 100%; min-width: 0;
  padding: .72rem .82rem; border: 1px solid #b7c1b4; border-radius: 8px;
  color: var(--ink); background: white; font-size: .9rem; line-height: 1.45;
}
input::placeholder, textarea::placeholder { color: #89948a; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #5b685f 50%), linear-gradient(135deg, #5b685f 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 .2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 34px; padding: .35rem .68rem;
  border: 1px solid var(--rule); border-radius: 999px;
  color: var(--ink-2); background: rgba(255,255,255,.6);
  font-size: .76rem; font-weight: 600; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.chip span { color: #879287; font: 600 .65rem var(--font-mono); }
.chip:hover { border-color: var(--ink); background: white; }
.chip.is-active { color: white; background: var(--ink); border-color: var(--ink); }
.chip.is-active span { color: var(--lime); }
.dir-count { margin: .85rem 0 1rem; }
.directory-grid .card { min-height: 198px; }
.empty-state { margin: 1.5rem 0; padding: 2rem; border: 1px dashed var(--rule-strong); border-radius: 12px; color: var(--muted); text-align: center; font-size: .9rem; }
.directory-bottom { max-width: 820px; margin: 4rem 0 2rem; padding: 2rem 0; border-top: 1px solid var(--rule); }
.directory-bottom h2 { font-size: 1.7rem; }
.directory-bottom p { max-width: 72ch; color: var(--muted); }

/* Tool pages */
.tool-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 .5rem; }
.tool-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.4rem; }
.tool-head h1 { margin: 0 0 .4rem; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.tool-head .page-lead { max-width: 62ch; margin: 0; font-size: 1rem; }
.tool-number { flex: 0 0 auto; color: #b7c0b3; font: 700 1.1rem/1 var(--font-mono); letter-spacing: .08em; }
.tool-explainer {
  display: flex; align-items: center; gap: .85rem;
  max-width: 860px; margin: .4rem 0 1.35rem; padding: .9rem 1rem;
  border: 1px solid #d8e4b8; border-radius: 10px; background: var(--lime-soft);
}
.tool-explainer p { margin: 0; color: #43523f; font-size: .84rem; }
.tool-explainer-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; background: var(--lime); font-size: 1.1rem; }
.bench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.panel { min-width: 0; padding: clamp(1.15rem, 2.4vw, 2rem); border: 1px solid var(--rule); border-radius: 16px; background: white; box-shadow: 0 1px 2px rgba(22,34,27,.03); }
.output-panel { position: sticky; top: 1.1rem; background: #f0f5e5; border-color: #d8e2c8; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.panel-heading .eyebrow { margin: 0 0 .32rem; font-size: .63rem; }
.panel h2 { margin: 0; font-size: 1.45rem; }
.panel-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px; color: var(--ink); background: var(--lime); font-size: 1.2rem; }
.field { display: block; margin: 0 0 .95rem; color: #35443a; font-size: .8rem; font-weight: 650; }
.field input, .field select, .field textarea { margin-top: .4rem; font-weight: 450; }
.field textarea { min-height: 110px; resize: vertical; }
.msg { min-height: 0; margin: .1rem 0 .7rem; color: #972f27; font-size: .82rem; font-weight: 650; }
.bench-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .2rem; }
.bench-actions button { min-height: 42px; padding: .6rem .9rem; font-size: .82rem; }
.field-hint { margin: .7rem 0 0; color: #7a867b; font: 500 .7rem/1.5 var(--font-mono); }
.result-status { min-height: 1.3em; margin: -.5rem 0 .65rem; color: #63715f; font: 600 .69rem/1.5 var(--font-mono); }
.output-panel pre {
  max-height: 58vh; min-height: 270px; margin: 0 0 .7rem; padding: .9rem 1rem;
  overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere;
  border: 1px solid #dbe4cc; border-radius: 10px; background: rgba(255,255,255,.55);
  color: #24352b; font: .84rem/1.7 var(--font-mono);
}
.output-stats { min-height: 1.2em; margin: 0 0 .65rem; color: #71806d; font: 500 .68rem/1.5 var(--font-mono); }
.output-panel .actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.output-panel button { min-height: 38px; padding: .5rem .75rem; font-size: .77rem; }
button.secondary { color: var(--ink); background: white; border-color: #aebba9; }
button.secondary:hover { color: var(--ink); background: var(--lime); border-color: var(--ink); }
.output-footnote { margin: .85rem 0 0; color: #657264; font-size: .71rem; }
.tool-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 2.4rem 0 0; }
.note-card { padding: 1.3rem 1.2rem; border: 1px solid var(--rule); border-radius: 13px; background: rgba(255,255,255,.65); }
.note-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .9rem; border-radius: 9px; background: var(--lime); font-size: .95rem; }
.note-card h3 { margin: 0 0 .4rem; font-size: 1rem; }
.note-card p { margin: 0; color: var(--muted); font-size: .81rem; line-height: 1.6; }
.tool-faq { max-width: 850px; margin: 3.6rem 0 0; }
.tool-faq .section-heading { margin-bottom: 1rem; }
.related-section { margin-top: 4.2rem; }

/* Guides */
.progress { position: fixed; left: 0; top: 0; z-index: 90; width: 0; height: 3px; background: var(--lime-2); transition: width .1s linear; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: .4rem; }
.read { max-width: 780px; margin: 0 auto 2.6rem; }
.article-topline { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1rem; }
.article-topline .read-meta { margin: 0; }
.read h1 { margin: .1em 0 .3em; font-size: clamp(2.35rem, 4.6vw, 4.05rem); line-height: 1.01; letter-spacing: -.055em; }
.read .lead { margin: .7rem 0 1rem; color: #4e5c53; font-size: 1.12rem; line-height: 1.68; }
.article-byline { display: flex; align-items: center; gap: .7rem; margin: 1.2rem 0 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule); }
.byline-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--lime); font: 700 .68rem var(--font-mono); }
.article-byline div { display: flex; flex-direction: column; line-height: 1.35; }
.article-byline strong { font-size: .8rem; }
.article-byline span { color: #758176; font-size: .7rem; }
.share-btn { margin-left: auto; min-height: 32px; padding: .3rem .55rem; border: 1px solid var(--rule-strong); border-radius: 7px; color: var(--ink-2); background: white; font-size: .7rem; font-weight: 600; cursor: pointer; }
.share-btn:hover { color: var(--ink); background: var(--lime-soft); border-color: var(--ink); box-shadow: none; transform: none; }
.takeaways { margin: 1.5rem 0; padding: 1.25rem 1.4rem; border: 1px solid #d8e4b8; border-left: 4px solid var(--lime-2); border-radius: 11px; background: var(--lime-soft); }
.takeaways .eyebrow { margin-bottom: .6rem; color: #4c5b35; }
.takeaways ul { display: grid; gap: .4rem; margin: 0; padding-left: 1.15rem; color: #3e4d39; font-size: .89rem; }
.toc { margin: 1.5rem 0 2.2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--rule); border-radius: 11px; background: white; }
.toc .eyebrow { margin-bottom: .4rem; }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc li { padding: .2rem 0; color: #66736a; font-size: .8rem; line-height: 1.45; }
.toc a { color: #33443a; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc-inline { display: none; }
.toc-aside { margin: 0; }
.guide-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1rem; }
.aside-card { padding: 1.1rem 1.15rem; border: 1px solid var(--rule); border-radius: 12px; background: rgba(255,255,255,.72); }
.aside-card .eyebrow { margin-bottom: .6rem; font-size: .62rem; }
.aside-tools { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.aside-tools a { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid rgba(221,226,212,.7); color: #33443a; font-size: .78rem; font-weight: 550; text-decoration: none; line-height: 1.4; }
.aside-tools li:last-child a { border-bottom: 0; }
.aside-tools a:hover { color: var(--blue); }
.aside-tools span { color: #8a958b; }
.aside-note p { margin: 0 0 .55rem; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.aside-note .text-link { font-size: .72rem; }
.article-section { margin: 2.1rem 0; scroll-margin-top: 2rem; }
.article-section h2, .faq-section h2 { margin: 0 0 .65rem; font-size: clamp(1.5rem, 2.6vw, 1.95rem); letter-spacing: -.035em; }
.article-section p { margin: 0; color: #3d4b42; font-size: 1.02rem; line-height: 1.88; }
.inline-link { text-decoration: underline; text-decoration-color: rgba(51,88,223,.4); text-decoration-thickness: 1.5px; }
.inline-link:hover { background: var(--lime-soft); text-decoration-color: var(--blue); }
.faq-section { margin: 3rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.faq-section > .eyebrow { margin-bottom: .5rem; }
.faq-section h2 { margin-bottom: .9rem; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 2.5rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.prevnext-link { display: flex; flex-direction: column; gap: .25rem; padding: .95rem 1rem; border: 1px solid var(--rule); border-radius: 11px; background: rgba(255,255,255,.6); text-decoration: none; }
.prevnext-link:hover { border-color: var(--ink); background: white; text-decoration: none; }
.prevnext-link span { color: #7b877c; font: 600 .64rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.prevnext-link strong { font-size: .86rem; line-height: 1.4; }
.prevnext-next { text-align: right; align-items: flex-end; }

/* About and 404 */
.about-read { margin-top: 2.6rem; }
.about-read > .eyebrow { margin-bottom: .55rem; }
.about-read > h1 { max-width: 14ch; }
.about-read .article-byline { max-width: 420px; }
.about-cta { margin-top: 2.8rem; padding: 1.6rem; border-radius: 14px; background: var(--lime); }
.about-cta h2 { margin: 0 0 .35rem; font-size: 1.65rem; }
.about-cta p { margin: 0 0 1rem; }
.not-found { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 760px; min-height: 58vh; margin: 1rem auto; }
.not-found h1 { max-width: 12ch; margin: 0 0 .5rem; font-size: clamp(2.8rem, 7vw, 5.2rem); }
.not-found > p:not(.eyebrow) { max-width: 55ch; margin: .5rem 0 1.4rem; color: var(--muted); font-size: 1.02rem; }
.not-found-hint { margin-top: 1.4rem !important; font-size: .8rem !important; }

/* Footer */
.site-footer { margin-top: 5rem; padding: 3.2rem 0 1.2rem; color: var(--paper); background: #14201a; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr 1fr .9fr; gap: 2rem; }
.footer-brand .logo { color: white; }
.footer-brand .mark { color: var(--ink); background: var(--lime); }
.footer-brand p { max-width: 34ch; margin: 1rem 0 0; color: #a9b6aa; font-size: .78rem; line-height: 1.65; }
.footer-badge { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.footer-col h3 { margin: 0 0 .9rem; color: white; font: 650 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.footer-col ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-flex; align-items: center; gap: .45rem; color: #c2cdc3; font-size: .78rem; text-decoration: none; }
.footer-col a:hover { color: white; text-decoration: underline; }
.footer-col a span { color: #7f8d81; font: 500 .65rem var(--font-mono); }
.footnote { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid #35443a; color: #8d9b8f; font-size: .68rem; }

/* Command palette */
.palette { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center; padding: 9vh 16px 16px; }
.palette-scrim { position: absolute; inset: 0; background: rgba(14,22,17,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.palette-panel { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(700px, 100%); max-height: min(72vh, 620px); overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: var(--paper); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.palette-field { display: flex; align-items: center; gap: .65rem; padding: .95rem 1rem; border-bottom: 1px solid var(--rule); background: white; }
.palette-field svg { flex: 0 0 auto; color: #6b776d; }
.palette-field input { flex: 1; padding: 0; border: 0; background: transparent; font-size: 1rem; }
.palette-field input:focus { outline: none; }
.palette-field kbd { flex: 0 0 auto; }
.palette-results { flex: 1; overflow-y: auto; padding: .45rem; }
.palette-group { margin: .5rem .55rem .3rem; color: #7a867b; font: 600 .62rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.palette-item { display: grid; grid-template-columns: 46px 1fr; gap: .1rem .6rem; padding: .6rem .65rem; border-radius: 9px; color: var(--ink); text-decoration: none; }
.palette-item:hover, .palette-item.is-active { background: var(--lime-soft); text-decoration: none; }
.palette-kind { grid-row: span 2; align-self: center; color: #7c887d; font: 600 .58rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.palette-name { font-size: .88rem; font-weight: 650; line-height: 1.35; }
.palette-desc { overflow: hidden; color: #6b776d; font-size: .72rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.palette-empty { padding: 2.2rem 1rem; color: var(--muted); text-align: center; font-size: .85rem; }
.palette-hint { display: flex; align-items: center; gap: 1rem; margin: 0; padding: .55rem .9rem; border-top: 1px solid var(--rule); background: rgba(255,255,255,.55); color: #748075; font-size: .64rem; }
.palette-hint span { display: inline-flex; align-items: center; gap: .25rem; }
.palette-note { margin-left: auto; }
body.palette-open { overflow: hidden; }

/* Entrance motion: content is always visible, even without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .55s cubic-bezier(.2,.7,.2,1); }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}
[hidden] { display: none !important; }

/* Responsive */
@media (max-width: 1080px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-aside { display: none; }
  .toc-inline { display: block; }
  .read { max-width: 760px; margin-inline: 0; }
  .tool-notes { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col:last-child { grid-column: span 3; }
  .footer-col:last-child ul { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; }
}
@media (max-width: 940px) {
  .hero { min-height: 500px; }
  .hero h1 { font-size: clamp(3.2rem, 6.8vw, 5rem); }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-section { padding: 2rem 1.6rem; }
  .how-section { grid-template-columns: 1fr; gap: 2rem; }
  .standards { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2rem 1.6rem 1.7rem; }
  .hero h1 { max-width: 8ch; }
  .hero-media { min-height: 320px; }
  .hero-chip--a { top: 1rem; left: 1rem; }
  .hero-chip--b { top: auto; bottom: 1rem; right: 1rem; }
  .bench { grid-template-columns: 1fr; }
  .output-panel { position: static; }
  .tool-head { align-items: flex-start; }
  .tool-number { display: none; }
  .tool-notes { grid-template-columns: 1fr; }
  .directory-controls { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: auto; }
  .footer-col:last-child ul { display: grid; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 680px) {
  .wrap, .nav-inner { width: min(100% - 32px, 580px); }
  .nav-inner { min-height: 64px; gap: .6rem; }
  .logo { gap: .45rem; font-size: 1.16rem; }
  .mark { width: 30px; height: 29px; font-size: .78rem; }
  .nav-main { gap: .7rem; }
  .nav-link { font-size: .78rem; }
  .search-trigger { padding: .35rem .45rem; }
  .search-trigger span { display: none; }
  .search-trigger kbd { display: none; }
  .hero { margin-top: 16px; border-radius: 16px; }
  .hero-copy { padding: 1.9rem 1.35rem 1.5rem; }
  .hero h1 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .hero-lead { font-size: .95rem; }
  .hero-media { min-height: 280px; }
  .hero-chip { padding: .55rem .7rem; }
  .hero-chip--a strong { font-size: 1.2rem; }
  .hero-chip--b { font-size: .66rem; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: .8rem 0; margin-bottom: 3.6rem; padding: 1rem .5rem; }
  .stat-strip div:nth-child(2) { border-right: 0; }
  .stat-strip div:nth-child(3), .stat-strip div:nth-child(4) { padding-top: .8rem; border-top: 1px solid var(--rule); }
  .stat-strip strong { font-size: 1.3rem; }
  .stat-strip span { font-size: .68rem; }
  .section { margin: 3.6rem 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
  .section-heading .text-link { align-self: flex-start; }
  .workflow-grid { gap: .65rem; }
  .workflow-card { min-height: 235px; padding: 1rem; }
  .workflow-icon { margin-bottom: 1.2rem; }
  .workflow-card p { font-size: .8rem; }
  .featured-section { margin-inline: -2px; padding: 1.6rem 1rem; border-radius: 15px; }
  .cards { grid-template-columns: 1fr; gap: .65rem; }
  .card { min-height: 0; padding: 1.1rem; }
  .card h3 { font-size: 1.12rem; }
  .guide-feature-cards .card { min-height: 0; }
  .how-section { margin: 3.8rem 0; padding: 1.4rem; border-radius: 15px; }
  .how-steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .how-steps > div { display: grid; grid-template-columns: 32px 1fr; column-gap: .7rem; }
  .how-steps span { grid-row: span 2; margin: .1rem 0 0; }
  .how-steps h3 { margin: 0 0 .25rem; }
  .standards { margin: 3.8rem 0; padding: 1.8rem 0; }
  .cta-band { margin: 3.6rem 0; padding: 1.4rem; border-radius: 15px; }
  .cta-band .btn { width: 100%; }
  .page-head { margin: 1.7rem 0 1.3rem; }
  .page-head h1 { font-size: clamp(2.5rem, 11vw, 3.7rem); }
  .page-lead { font-size: .98rem; }
  .directory-summary { flex-wrap: wrap; gap: .5rem; }
  .summary-divider { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .tool-head h1 { font-size: clamp(2rem, 9vw, 2.9rem); }
  .tool-explainer { align-items: flex-start; }
  .output-panel pre { max-height: 55vh; min-height: 220px; }
  .read { margin-top: 1.2rem; }
  .read h1 { font-size: clamp(2.2rem, 9.5vw, 3.3rem); }
  .read .lead { font-size: 1.02rem; }
  .article-section p { font-size: .97rem; line-height: 1.82; }
  .article-byline { flex-wrap: wrap; }
  .share-btn { margin-left: 0; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext-next { text-align: left; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-brand { grid-column: auto; }
  .footnote { flex-direction: column; gap: .35rem; }
  .palette { padding-top: 4vh; }
  .palette-panel { max-height: 86vh; }
  .palette-hint .palette-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .palette, .progress, .quickbar, .actions, .bench-actions, .tool-explainer, .tool-notes, .tool-faq, .related-section, .prevnext, .guide-aside, .share-btn, .chips, .directory-controls { display: none !important; }
  body { background: white; }
  .wrap { width: 100%; }
  .panel, .output-panel, .card, .takeaways, .toc { border-color: #999; box-shadow: none; background: white; }
  .bench, .guide-grid { display: block; }
  .output-panel pre { max-height: none; min-height: 0; border: 0; background: white; }
  a { text-decoration: none; }
}


/* Glossary, workflow hubs and policy pages */
.chips a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.glossary { display: grid; gap: .75rem; margin: 1.5rem 0 2rem; }
.gloss-item { padding: 1.1rem 1.25rem; border: 1px solid var(--rule); border-radius: 14px; background: rgba(255,255,255,.75); scroll-margin-top: 6rem; }
.gloss-item:target { border-color: var(--ink); background: var(--lime-soft); }
.gloss-item dt { margin: 0 0 .35rem; font: 700 1.1rem/1.3 var(--font-display); color: var(--ink); }
.gloss-item dd { margin: 0; }
.gloss-item p { margin: 0 0 .5rem; max-width: 70ch; color: var(--ink-2); }
.gloss-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
@media (min-width: 900px) { .glossary { grid-template-columns: 1fr 1fr; } }
