/* ClearRecourse.com — local review draft,
25 Sep 2026.
   Palette,
type,
mark,
and wordmark follow BRAND.md. No scripts,
trackers,
or remote assets. */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/SourceSerif4-latin.woff2") format("woff2"),
       url("/fonts/SourceSerif4-variable.ttf") format("truetype");
  font-weight: 500 660;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3-latin.woff2") format("woff2"),
       url("/fonts/SourceSans3-variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --evergreen: #0b4f4a;
  --evergreen-deep: #083e3a;
  --ink: #172321;
  --stone: #f3f0e9;
  --mist: #dde7e3;
  --amber: #c9822b;
  --amber-soft: #f3e2c7;
  --white: #ffffff;
  --muted: #45524f;
  --line: rgba(23, 35, 33, 0.14);
  --line-strong: rgba(23, 35, 33, 0.26);
  --on-dark: #f3f0e9;
  --on-dark-soft: #cfe0da;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem;
  --radius: 14px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--stone);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 420;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--evergreen);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--evergreen);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--stone);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-200%);
  background: var(--white);
  color: var(--evergreen);
  padding: 0.55rem 0.9rem;
  font-weight: 650;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(23, 35, 33, 0.18);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 560;
  color: inherit;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--evergreen);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 580;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  margin-right: auto;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
}

.brand-name .tld {
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.6rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 520;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--evergreen);
  border-bottom-color: var(--line-strong);
}

.nav a[aria-current="page"] {
  color: var(--evergreen);
  border-bottom-color: var(--evergreen);
  font-weight: 650;
}

.header-cta {
  flex: none;
}

.header-cta .label-short {
  display: none;
}

.home .header-cta {
  display: none;
}

.menu {
  display: none;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.btn-primary {
  background: var(--evergreen);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(11, 79, 74, 0.22);
}

.btn-primary:hover {
  background: var(--evergreen-deep);
}

.btn-small {
  min-height: 2.6rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.98rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  color: var(--evergreen);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  padding: 0.35rem 0;
}

.link-arrow .icon {
  width: 1em;
  height: 1em;
  transition: transform 0.15s ease;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.on-dark .link-arrow {
  color: var(--on-dark);
}

/* ---------- Eyebrows and chips ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--evergreen);
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 3px;
  background: var(--amber);
  flex: none;
}

.on-dark .eyebrow {
  color: var(--on-dark-soft);
}

.eyebrow .nw {
  white-space: nowrap;
}

.eyebrow .sep {
  margin-inline: -0.4rem;
}

.eyebrow:has(.nw) {
  flex-wrap: wrap;
  row-gap: 0.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.5;
  white-space: nowrap;
}

.chip-current {
  background: var(--amber-soft);
  color: #5c3a0f;
}

.chip-current::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--amber);
}

.chip-off {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-strong);
}

.chip-today {
  background: var(--mist);
  color: var(--evergreen-deep);
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 36rem at 92% -10%, rgba(221, 231, 227, 0.12), transparent 60%),
    linear-gradient(160deg, var(--evergreen) 0%, var(--evergreen-deep) 100%);
  color: var(--on-dark);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas:
    "intro panel"
    "meta panel";
  grid-template-rows: auto 1fr;
  column-gap: 3.5rem;
  row-gap: 0;
  align-items: start;
  padding: 4.25rem 0 4.5rem;
}

.hero-intro { grid-area: intro; }
.start-panel { grid-area: panel; }
.hero-meta { grid-area: meta; }

.hero h1 {
  color: var(--stone);
  max-width: none;
}

.hero h1 .h1-line {
  display: block;
}

@media (min-width: 64.01rem) {
  .hero h1 {
    font-size: clamp(2.6rem, 3.6vw, 3.15rem);
  }

  .hero .eyebrow {
    font-size: 1rem;
    color: var(--on-dark);
  }
}

.hero-lede {
  text-wrap: pretty;
  margin: 1.2rem 0 1.4rem;
  font-size: clamp(1.2rem, 1.8vw, 1.42rem);
  line-height: 1.45;
  color: var(--on-dark);
  max-width: 33rem;
}

.hero-role {
  color: var(--on-dark-soft);
  max-width: 33rem;
  margin: 0.4rem 0 1.1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(243, 240, 233, 0.18);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-role strong {
  color: var(--on-dark);
  font-weight: 650;
}

.hero-role a {
  color: var(--stone);
  font-weight: 600;
  white-space: nowrap;
}

.sample-notes {
  margin: 1.4rem 0 0;
  max-width: 33rem;
  padding: 1.1rem 1.25rem 1rem;
  border: 1px solid rgba(243, 240, 233, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(243, 240, 233, 0.06);
}

.sample-notes figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--on-dark);
}

.sample-tag {
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #5c3a0f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sample-notes dl {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.sample-notes dl > div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0.75rem;
}

.sample-notes dt {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--on-dark-soft);
}

.sample-notes dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--on-dark);
}

.sample-foot {
  margin: 0.8rem 0 0;
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

/* Start panel: "What brings you here?" */

.start-panel {
  background: var(--stone);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.35rem;
  box-shadow: 0 24px 60px rgba(3, 25, 23, 0.38);
  scroll-margin-top: 1.25rem;
}

.start-panel :focus-visible {
  outline-color: var(--evergreen);
}

.start-panel:target,
.not-listed:target,
.not-listed li:target {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.not-listed li:target {
  border-radius: 4px;
}

.start-panel h2 {
  font-size: 1.62rem;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.start-panel .panel-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.55rem;
}

.group-head h3 {
  font-size: 1.12rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
}

.doors {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.start-panel .door:not(.door-more) {
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(23, 35, 33, 0.06);
}

.start-panel .door:not(.door-more):hover {
  border-color: var(--evergreen);
  background: var(--white);
}

.start-panel .door-more {
  min-height: 2.9rem;
  padding: 0.35rem 0.3rem;
}

.door {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.4rem;
  padding: 0.8rem 0.3rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 620;
  line-height: 1.35;
  border-radius: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.door:hover {
  color: var(--evergreen);
  background: rgba(11, 79, 74, 0.06);
}

.door .door-arrow {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--white);
  flex: none;
  transition: transform 0.15s ease;
}

.door:hover .door-arrow {
  transform: translateX(3px);
}

.door .door-arrow svg {
  width: 1rem;
  height: 1rem;
}

.door-more {
  font-weight: 560;
  color: var(--evergreen);
}

.door-more .door-arrow {
  background: transparent;
  color: var(--evergreen);
  border: 1.5px solid var(--evergreen);
}

.door small {
  display: block;
  font-weight: 450;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.panel-else {
  list-style: none;
  margin: -0.55rem 0 0.6rem;
  padding: 0;
  font-size: 0.96rem;
  font-weight: 400;
}

.panel-else a {
  display: inline-block;
  padding: 0.55rem 0;
}

.panel-else a {
  color: var(--muted);
}

.panel-note {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.95rem;
  color: var(--muted);
}

.panel-note strong {
  color: var(--ink);
  font-weight: 650;
}

.panel-note a {
  color: var(--muted);
  font-weight: 450;
  white-space: nowrap;
}

/* ---------- Pillars strip ---------- */

.pillars {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding: 2.6rem 0 2.5rem;
}

.pillar::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  background: var(--amber);
  margin-bottom: 1rem;
}

.pillar h3 {
  font-size: 1.38rem;
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- Sections ---------- */

.section {
  padding: 5rem 0;
}

.section-tint {
  background: var(--mist);
}

.section-white {
  background: var(--white);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.4rem;
}

.section-head p {
  margin: 0.9rem 0 0;
  font-size: 1.14rem;
  color: var(--muted);
}

/* Situations (home) */

.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.situation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.8rem 1.6rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.situation-card:hover {
  border-color: var(--evergreen);
  box-shadow: 0 14px 34px rgba(11, 79, 74, 0.12);
  transform: translateY(-2px);
}

.situation-card:focus-within {
  border-color: var(--evergreen);
  box-shadow: 0 0 0 3px var(--evergreen);
  outline: 3px solid transparent;
}

.situation-card .card-kicker {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--evergreen);
  margin-bottom: 0.7rem;
}

.situation-card h3 {
  font-size: 1.42rem;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.situation-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.situation-card h3 a::after {
  /* whole card is the link target */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.situation-card h3 a:focus-visible {
  outline: none;
}

.situation-card .for-example {
  margin: 0 0 0.35rem;
  font-weight: 650;
  font-size: 0.98rem;
}

.ticks {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 1.55rem;
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  line-height: 1.5;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 0.7rem;
  height: 2px;
  background: var(--evergreen);
}

.card-notes {
  margin: -0.4rem 0 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.card-notes strong {
  color: var(--ink);
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 680;
  color: var(--evergreen);
}

.card-link .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s ease;
}

.situation-card:hover .card-link .icon {
  transform: translateX(3px);
}

.more-line {
  margin: 1.6rem 0 0;
  color: var(--muted);
  max-width: 52rem;
}

.not-listed {
  margin: 1.8rem 0 0;
  max-width: 52rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1.25rem;
}

.not-listed h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.not-listed p {
  margin: 0;
  font-size: 1rem;
}

.not-listed .ticks {
  margin: 0.5rem 0 0.7rem;
}

.not-listed .ticks li {
  font-size: 1rem;
  scroll-margin-top: 8rem;
}

.written-note {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 48rem;
}

.written-note strong {
  color: var(--ink);
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.7rem 1.6rem 1.5rem;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--mist);
  color: var(--evergreen);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 620;
}

.step.is-today .step-num {
  background: var(--evergreen);
  color: var(--white);
}

.step h3 {
  margin-bottom: 0.55rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.steps-note {
  margin: 1.6rem 0 0;
  color: var(--muted);
  max-width: 44rem;
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
}

@media (min-width: 64.01rem) {
  .faq-aside {
    position: sticky;
    top: 1.5rem;
    align-self: start;
  }
}

.faq-intro {
  max-width: 40rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.faq-group-title {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--evergreen);
  margin: 0 0 0.6rem;
}

.faq-list + .faq-group-title {
  margin-top: 2.2rem;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.6rem;
  padding: 1rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 680;
  font-size: 1.1rem;
  line-height: 1.35;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--evergreen);
  background:
    linear-gradient(var(--evergreen), var(--evergreen)) center / 0.75rem 2px no-repeat,
    linear-gradient(var(--evergreen), var(--evergreen)) center / 2px 0.75rem no-repeat;
}

.faq-list details[open] summary::after {
  background:
    linear-gradient(var(--evergreen), var(--evergreen)) center / 0.75rem 2px no-repeat;
}

.faq-list summary:hover {
  color: var(--evergreen);
}

.faq-list .answer {
  padding: 0 0.25rem 1.2rem;
  max-width: 40rem;
}

.faq-list .answer p:last-child {
  margin-bottom: 0;
}

/* Closing */

.closing {
  background: var(--evergreen);
  color: var(--on-dark);
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 4rem;
  align-items: center;
  padding: 4.25rem 0;
}

.closing h2 {
  color: var(--stone);
}

.closing p {
  color: var(--on-dark-soft);
  margin: 0.9rem 0 0;
  max-width: 30rem;
}

.closing-link {
  margin: 1.1rem 0 0;
}

.closing .doors {
  margin: 0;
  gap: 0;
  border-top: 1px solid rgba(243, 240, 233, 0.22);
}

.closing .doors li {
  border-bottom: 1px solid rgba(243, 240, 233, 0.22);
}

.closing .door {
  color: var(--stone);
}

.closing .door:hover {
  color: var(--white);
  background: rgba(243, 240, 233, 0.08);
}

.closing .door .door-arrow {
  background: var(--stone);
  color: var(--evergreen);
}

.closing .door-more .door-arrow {
  background: transparent;
  color: var(--stone);
  border-color: var(--stone);
}

/* ---------- Inner pages ---------- */

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 0 3.4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--muted);
  display: inline-block;
  padding: 0.2rem 0;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  max-width: 17em;
}

.page-hero .lede {
  margin: 1.2rem 0 1.7rem;
  font-size: 1.24rem;
  line-height: 1.5;
  max-width: 38rem;
  color: var(--ink);
}

.page-hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.6rem;
}

.fine {
  margin: 1.2rem 0 0;
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 38rem;
}

.fine strong {
  color: var(--ink);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 0 0 1rem;
}

.prose h2:not(:first-child) {
  margin-top: 2.8rem;
}

.prose h3 {
  margin: 1.8rem 0 0.5rem;
}

.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.examples {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.9rem 1.5rem;
}

.examples h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.examples .ticks {
  margin-bottom: 0.6rem;
}

.examples .aside {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--muted);
}

.notes {
  counter-reset: note;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.notes li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.25rem 4.4rem;
}

.notes li::before {
  counter-increment: note;
  content: counter(note);
  position: absolute;
  left: 1.3rem;
  top: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 620;
  font-size: 1.1rem;
}

.notes h3 {
  margin-bottom: 0.35rem;
  font-size: 1.22rem;
}

.notes p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.callout {
  border-left: 4px solid var(--amber);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.35rem;
  margin: 1.5rem 0 0;
  font-size: 1.02rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.options li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
}

.options h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.options p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 1rem;
}

.options p:last-child {
  margin-bottom: 0;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
}

.related h2 {
  font-size: 1.35rem;
  width: 100%;
  margin-bottom: 0.2rem;
}

.situation-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
}

.situation-map > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.35rem;
}

.situation-map dt {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.situation-map dd {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Draft blocks */

.draft {
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.45rem 1.1rem;
  margin: 1.4rem 0 0;
}

.draft-label {
  margin: 0 0 0.6rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--evergreen);
}

.draft h3 {
  margin-top: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  padding: 3.6rem 0 2.8rem;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr) minmax(0, 0.6fr);
  gap: 2.5rem 3rem;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 580;
  color: var(--stone);
  margin-bottom: 1rem;
}

.footer-brand .tld {
  font-size: 0.62em;
  font-weight: 500;
}

.footer-title {
  color: var(--stone);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.site-footer p {
  max-width: 36rem;
  margin-bottom: 0.7rem;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--on-dark);
  display: inline-block;
  padding: 0.45rem 0;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .footer-base {
  max-width: none;
}

.footer-base {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(243, 240, 233, 0.16);
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "panel"
      "meta";
    grid-template-rows: auto;
    row-gap: 2rem;
    padding: 3.25rem 0 3.5rem;
  }

  .situation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start-panel {
    max-width: 38rem;
  }

  .faq-layout,
  .closing-grid,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .options {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 52rem) {
  .site-header {
    position: relative;
  }

  .header-inner {
    gap: 0.75rem;
    min-height: 3.75rem;
    padding: 0.5rem 0;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu {
    display: block;
  }

  .menu > summary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    color: var(--evergreen);
    font-weight: 650;
    cursor: pointer;
    list-style: none;
  }

  .menu > summary::-webkit-details-marker {
    display: none;
  }

  .menu > summary::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    margin-top: -0.2rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .menu[open] > summary::after {
    margin-top: 0.2rem;
    transform: rotate(-135deg);
  }

  .menu-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    padding: 0.25rem 1rem 1rem;
    background: var(--stone);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 14px 24px rgba(23, 35, 33, 0.12);
  }

  .menu-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
  }

  .menu-nav a[aria-current="page"] {
    color: var(--evergreen);
    font-weight: 700;
  }

  .menu-nav .menu-cta {
    justify-self: start;
    margin: 0.6rem 0 0.4rem;
    padding: 0.6rem 1.1rem;
    border: 0;
    border-radius: 999px;
    background: var(--evergreen);
    color: var(--stone);
    font-weight: 700;
  }

  .pillars-grid,
  .steps,
  .situation-grid,
  .situation-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillars-grid {
    gap: 1.6rem;
    padding: 2.2rem 0;
  }
}

@media (max-width: 40rem) {
  body {
    font-size: 1.0625rem;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 2rem));
  }

  .brand {
    font-size: 1.28rem;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .header-cta {
    min-height: 2.5rem;
    padding: 0.45rem 0.95rem;
    font-size: 0.95rem;
  }

  .header-cta .label-wide {
    display: none;
  }

  .header-cta .label-short {
    display: inline;
  }

  .hero-grid {
    padding: 1.25rem 0 2.6rem;
    row-gap: 1.15rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.85rem;
  }

  .hero-lede {
    margin-top: 1.05rem;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .sample-notes dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero h1 .h1-line {
    display: inline;
  }

  .panel-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero-lede {
    margin: 0.9rem 0 0.2rem;
    font-size: 1.06rem;
  }

  .start-panel h2 {
    font-size: 1.45rem;
  }

  .start-panel .panel-sub {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }

  .start-panel .door:not(.door-more) {
    padding: 0.55rem 0.6rem 0.55rem 0.8rem;
    font-size: 1rem;
    min-height: 3.1rem;
  }

  .doors {
    gap: 0.4rem;
  }

  .start-panel {
    padding: 1.1rem 1.15rem 1.1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .situation-card,
  .examples {
    padding: 1.4rem 1.25rem 1.3rem;
  }

  .notes li {
    padding: 1.2rem 1.15rem 1.15rem 3.7rem;
  }

  .notes li::before {
    left: 1rem;
    top: 1.15rem;
    width: 2rem;
    height: 2rem;
  }

  .page-hero {
    padding: 1.8rem 0 2.6rem;
  }

  .page-hero .actions .btn {
    width: 100%;
  }

  .closing-grid {
    padding: 3.25rem 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 24.5rem) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .brand {
    font-size: 1.14rem;
    gap: 0.5rem;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .header-cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.88rem;
  }

  .eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    gap: 0.6rem;
  }

  .eyebrow::before {
    width: 1.6rem;
  }
}

@media (max-width: 24rem) {
  .panel-sub .sub-extra,
  .start-panel .door small {
    display: none;
  }

  .hero-grid {
    padding-top: 1rem;
  }

  .hero-lede {
    font-size: 1rem;
  }
}

@media (max-width: 21rem) {
  .header-cta {
    display: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .btn,
  .skip {
    display: none !important;
  }

  body,
  .hero,
  .section-tint,
  .page-hero {
    background: #fff !important;
    color: #000 !important;
  }
}
