/* Hallmark · genre: modern-minimal · macrostructure: Narrative Workflow · theme: adaptive Ghost · enrichment: source-rendered workflow records · nav: N11 · footer: Ft3 · tone: direct, technical · pre-emit critique: P5 H5 E4 S5 R5 V4 · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · icons: pass (30) · mobile: browser pass (34, 49–57) · contrast: inherited audited tokens (40–41) */
.gw-page {
  --gw-paper: var(--fp-color-paper);
  --gw-surface: var(--fp-color-paper-2);
  --gw-panel: var(--fp-color-paper-3);
  --gw-rule: var(--fp-color-rule);
  --gw-ink: var(--fp-color-ink);
  --gw-muted: var(--fp-color-muted);
  --gw-accent: var(--fp-color-accent-strong);
  --gw-success: var(--fp-color-success);
  --gw-display: clamp(2.55rem, 4.6vw + 0.4rem, 4.8rem);
  --gw-heading: clamp(1.75rem, 3vw, 2.75rem);
  --gw-section: clamp(4.75rem, 9vw, 8rem);
  background: var(--gw-paper);
  color: var(--gw-ink);
  font-family: var(--fp-font-body);
}
.gw-page main { padding-top: 3.75rem; }
.gw-page section[id], .gw-page h2[id] { scroll-margin-top: 5.5rem; }
.gw-page h1, .gw-page h2, .gw-page h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--gw-ink);
  font-style: normal;
  text-wrap: balance;
}
.gw-page :is(a, summary):focus-visible {
  outline: 3px solid var(--fp-color-focus);
  outline-offset: 4px;
}
.gw-skip {
  position: fixed;
  inset: var(--fp-space-xs) auto auto var(--fp-space-md);
  z-index: calc(var(--fp-z-sticky) + 1);
  padding: var(--fp-space-sm) var(--fp-space-md);
  background: var(--gw-ink);
  color: var(--gw-paper);
  transform: translateY(-200%);
}
.gw-skip:focus { transform: none; }
.gw-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fp-space-sm);
  color: var(--gw-muted);
  font-size: var(--fp-text-sm);
}
.gw-breadcrumbs a, .gw-breadcrumbs span { display: inline-flex; align-items: center; min-height: 2.75rem; white-space: nowrap; }
.gw-breadcrumbs span[aria-current] { color: var(--gw-accent); }
.gw-hero { padding-block: clamp(3rem, 7vw, 6rem) var(--gw-section); }
.gw-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-2xl); align-items: start; }
.gw-hero h1 {
  margin: var(--fp-space-md) 0 var(--fp-space-lg);
  max-width: 15ch;
  font-size: var(--gw-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.gw-hero__lede { margin: 0; max-width: 59ch; color: var(--gw-muted); font-size: 1.125rem; line-height: 1.65; }
.gw-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--fp-space-md) var(--fp-space-lg); margin-top: var(--fp-space-xl); }
.gw-link { display: inline-flex; align-items: center; gap: var(--fp-space-xs); min-height: 2.75rem; color: var(--gw-accent); font-weight: 650; white-space: nowrap; }
.gw-link:hover { color: var(--gw-ink); text-decoration-thickness: 2px; }
.gw-answer {
  margin: 0;
  padding: var(--fp-space-lg) 0 0;
  border-top: 1px solid var(--gw-rule);
}
.gw-answer dt { margin: 0 0 var(--fp-space-sm); color: var(--gw-accent); font-family: var(--fp-font-outlier); font-size: var(--fp-text-sm); }
.gw-answer dd { margin: 0; max-width: 56ch; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; letter-spacing: -0.018em; }
.gw-section { padding-block: var(--gw-section); }
.gw-section--surface { background: var(--gw-surface); }
.gw-section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.gw-section__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-lg); margin-bottom: var(--fp-space-2xl); }
.gw-section__head h2 { margin: 0; max-width: 20ch; font-size: var(--gw-heading); line-height: 1.12; letter-spacing: -0.035em; }
.gw-section__head p { margin: 0; max-width: 65ch; color: var(--gw-muted); font-size: 1.0625rem; line-height: 1.65; }
.gw-example { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-lg); padding-block: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--gw-rule); }
.gw-example h2 { margin: 0; max-width: 18ch; font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.2; letter-spacing: -0.03em; }
.gw-example p { margin: 0; max-width: 67ch; color: var(--gw-muted); font-size: 1.0625rem; line-height: 1.7; }
.gw-roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-xl); }
.gw-role { padding-top: var(--fp-space-lg); border-top: 1px solid var(--gw-rule); }
.gw-role h3 { margin: 0 0 var(--fp-space-sm); font-size: var(--fp-text-md); line-height: 1.3; letter-spacing: -0.025em; }
.gw-role p { margin: 0; max-width: 54ch; color: var(--gw-muted); line-height: 1.65; }
.gw-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-2xl); }
.gw-flow__intro { align-self: start; }
.gw-flow__intro h2 { margin: 0 0 var(--fp-space-lg); max-width: 16ch; font-size: var(--gw-heading); line-height: 1.1; letter-spacing: -0.04em; }
.gw-flow__intro p { margin: 0; max-width: 47ch; color: var(--gw-muted); line-height: 1.65; }
.gw-steps { margin: 0; padding: 0; list-style: none; counter-reset: workflow-step; }
.gw-steps li {
  counter-increment: workflow-step;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: var(--fp-space-md);
  padding-block: var(--fp-space-xl);
  border-top: 1px solid var(--gw-rule);
}
.gw-steps li:last-child { border-bottom: 1px solid var(--gw-rule); }
.gw-steps li::before { content: counter(workflow-step, decimal-leading-zero); padding-top: var(--fp-space-3xs); color: var(--gw-accent); font-family: var(--fp-font-outlier); font-size: var(--fp-text-sm); font-variant-numeric: tabular-nums; }
.gw-steps h3 { margin: 0 0 var(--fp-space-xs); font-size: var(--fp-text-md); line-height: 1.3; letter-spacing: -0.02em; }
.gw-steps p { margin: 0; max-width: 59ch; color: var(--gw-muted); line-height: 1.65; }
.gw-boundaries { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-xl); }
.gw-boundaries li { padding-top: var(--fp-space-lg); border-top: 1px solid var(--gw-rule); color: var(--gw-muted); line-height: 1.65; }
.gw-boundaries li::before { content: "Check"; display: block; margin-bottom: var(--fp-space-sm); color: var(--gw-success); font-family: var(--fp-font-outlier); font-size: var(--fp-text-sm); }
.gw-related { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gw-rule); }
.gw-related li { border-bottom: 1px solid var(--gw-rule); }
.gw-related a { display: flex; align-items: center; justify-content: space-between; gap: var(--fp-space-md); min-height: 4.75rem; color: var(--gw-ink); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 650; letter-spacing: -0.02em; white-space: nowrap; }
.gw-related a span { color: var(--gw-accent); font-family: var(--fp-font-outlier); font-size: var(--fp-text-sm); }
.gw-related a:hover { color: var(--gw-accent); }
.gw-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-2xl); }
.gw-faq h2 { margin: 0; max-width: 15ch; font-size: var(--gw-heading); line-height: 1.1; letter-spacing: -0.035em; }
.gw-faq details { border-top: 1px solid var(--gw-rule); }
.gw-faq details:last-child { border-bottom: 1px solid var(--gw-rule); }
.gw-faq summary { position: relative; padding: var(--fp-space-lg) var(--fp-space-xl) var(--fp-space-lg) 0; cursor: pointer; list-style: none; color: var(--gw-ink); font-weight: 650; line-height: 1.5; }
.gw-faq summary::-webkit-details-marker { display: none; }
.gw-faq summary::after { content: "+"; position: absolute; inset: var(--fp-space-lg) 0 auto auto; color: var(--gw-accent); }
.gw-faq details[open] summary::after { content: "−"; }
.gw-faq details p { margin: 0 0 var(--fp-space-lg); max-width: 62ch; padding-inline-end: var(--fp-space-md); color: var(--gw-muted); line-height: 1.65; }
.gw-cta { padding-block: clamp(2rem, 5vw, 4rem) var(--gw-section); }
.gw-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-lg); padding-top: var(--fp-space-2xl); border-top: 1px solid var(--gw-rule); }
.gw-cta h2 { margin: 0; max-width: 20ch; font-size: var(--gw-heading); line-height: 1.12; letter-spacing: -0.035em; }
.gw-cta__copy p { margin: 0 0 var(--fp-space-lg); max-width: 55ch; color: var(--gw-muted); }
.gw-directory-hero h1 { max-width: 13ch; }
.gw-directory { margin: 0; padding: 0; list-style: none; }
.gw-directory__group { padding-block: var(--fp-space-2xl); border-top: 1px solid var(--gw-rule); }
.gw-directory__group:first-child { border-top: 0; padding-top: 0; }
.gw-directory__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-md); margin-bottom: var(--fp-space-xl); }
.gw-directory__head h2 { margin: 0; font-size: var(--fp-text-lg); letter-spacing: -0.025em; }
.gw-directory__head p { margin: 0; max-width: 57ch; color: var(--gw-muted); }
.gw-directory__links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gw-rule); }
.gw-directory__links li { border-bottom: 1px solid var(--gw-rule); }
.gw-directory__links a { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fp-space-xs); padding-block: var(--fp-space-lg); color: var(--gw-ink); text-decoration: none; }
.gw-directory__links strong { font-size: var(--fp-text-md); letter-spacing: -0.02em; }
.gw-directory__links small { max-width: 65ch; color: var(--gw-muted); font-size: var(--fp-text-base); line-height: 1.55; }
.gw-directory__links a:hover strong { color: var(--gw-accent); }
@media (max-width: 22rem) {
  .gw-related a { font-size: var(--fp-text-base); }
}
@media (min-width: 40rem) {
  .gw-roles { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); }
  .gw-role:first-child { grid-row: span 2; }
  .gw-boundaries { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .gw-boundaries li:last-child { grid-column: 2; }
  .gw-directory__links a { grid-template-columns: minmax(12rem, 0.72fr) minmax(0, 1.28fr); gap: var(--fp-space-xl); align-items: baseline; }
}
@media (min-width: 60rem) {
  .gw-hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(4rem, 8vw, 7rem); }
  .gw-section__head, .gw-example, .gw-cta__inner, .gw-directory__head { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(3rem, 7vw, 6rem); }
  .gw-flow { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(3rem, 7vw, 6rem); }
  .gw-flow__intro { position: sticky; top: 7rem; }
  .gw-faq { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(3rem, 7vw, 6rem); }
  .gw-boundaries { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr) minmax(0, 0.95fr); }
  .gw-boundaries li:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .gw-page *, .gw-page *::before, .gw-page *::after { scroll-behavior: auto; animation: none; transition: none; }
}
