/* PFAS Desk — clean corporate. Tokens and rules: design-system/MASTER.md */

@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0e2238;
  --ink-2: #3a4b5e;
  --blue: #1f55c7;
  --blue-deep: #173f96;
  --blue-wash: #eaf0fb;
  --paper: #f6f8fb;
  --white: #ffffff;
  --rule: #d5dde7;
  --rule-strong: #7d8da0;
  --amber: #9a4a00;
  --amber-wash: #fff1dc;
  --red: #b42318;
  --red-wash: #fdecea;
  --green: #1d6b43;
  --green-wash: #e5f4ec;
  --slate-wash: #eceff3;
  --ochre: #b26a1e;
  --ochre-deep: #8a4b0f;
  --ochre-light: #e9a55c;
  --ink-raised: #18324f;
  --on-dark: #ffffff;
  --on-dark-2: #c9d6e8;

  --font-display: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.25rem;
  --step-3: 1.5625rem;
  --step-4: clamp(1.75rem, 1.35rem + 1.4vw, 2.375rem);
  --step-5: clamp(2.5rem, 1.8rem + 3vw, 4.25rem);
  --step-display: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(14, 34, 56, 0.06), 0 8px 24px rgba(14, 34, 56, 0.06);
  --container: 1200px;
  --narrow: 760px;
  --gutter: 24px;
  --section: clamp(64px, 8vw, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-sticky: 20;
  --z-menu: 30;
  --z-skip: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-1);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
@media (max-width: 480px) { body { font-size: var(--step-0); } :root { --gutter: 16px; } }

img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--step-4); letter-spacing: -0.02em; font-weight: 650; }
h3 { font-size: var(--step-2); line-height: 1.3; }
h4 { font-size: var(--step-1); line-height: 1.35; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 650; }
small { font-size: var(--step--1); }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }

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

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: var(--z-skip);
  background: var(--ink); color: var(--white); padding: var(--s3) var(--s4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s4); color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container-narrow { width: min(var(--narrow), 100% - var(--gutter) * 2); margin-inline: auto; }

.tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.lede { font-size: var(--step-2); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.4) blur(10px); }
}
.header-inner { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; margin-right: -2px; }
.brand-word { font-weight: 400; letter-spacing: -0.02em; }
.brand-word b { font-weight: 700; }

.nav-list { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3);
  color: var(--ink-2); font-size: var(--step-0); font-weight: 500; text-decoration: none; border-radius: var(--radius-sm);
}
.nav-list a:not(.btn):hover { color: var(--ink); background: var(--slate-wash); }
.nav-list a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }

.menu-toggle {
  display: none; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3);
  font: inherit; font-size: var(--step-0); font-weight: 600; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: var(--z-menu);
    background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow);
    display: none; max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s3) var(--gutter) var(--s5); }
  .nav-list a:not(.btn) { min-height: 48px; font-size: var(--step-1); padding: 0 var(--s2); }
  .nav-list a[aria-current="page"] { box-shadow: none; background: var(--blue-wash); color: var(--blue-deep); border-radius: var(--radius-sm); }
  .nav-list .nav-cta { margin-top: var(--s3); }
  .nav-list .nav-cta a { justify-content: center; }
}
@media (min-width: 1024px) { .nav-list .nav-cta { display: none; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 8px 22px; text-align: center;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 650; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
  touch-action: manipulation;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); text-decoration: none; }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-wash); color: var(--blue-deep); text-decoration: none; }
.btn-on-dark { background: var(--white); color: var(--blue-deep); }
.btn-on-dark:hover { background: var(--blue-wash); color: var(--blue-deep); text-decoration: none; }
.btn-ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }
.btn-sm { min-height: 44px; padding: 0 16px; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section-white { background: var(--white); border-block: 1px solid var(--rule); }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head p { margin-top: var(--s4); color: var(--ink-2); font-size: var(--step-2); line-height: 1.55; }
.section-head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s5); margin-bottom: var(--s7); }
.section-head-split .section-head { margin-bottom: 0; }

/* page header for inner pages */
.page-head { padding-block: clamp(48px, 7vw, 80px) clamp(40px, 5vw, 56px); background: var(--white); border-bottom: 1px solid var(--rule); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0 0 var(--s5); font-size: var(--step--1); color: var(--ink-2); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s2); color: var(--rule-strong); }
.breadcrumb a { color: var(--ink-2); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: var(--s5); }
.page-meta { margin-top: var(--s5); font-size: var(--step--1); color: var(--ink-2); }

/* ---------- home hero ---------- */

.hero { background: var(--white); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: var(--s5); }
.hero .btn-row { margin-top: var(--s6); }
.hero-note { margin-top: var(--s4); font-size: var(--step--1); color: var(--ink-2); }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10;
  background: #c9852f;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .ledger { position: relative; margin: -120px 0 0 -32px; width: calc(100% + 8px); }
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual .ledger { margin: -80px var(--s4) 0; width: auto; }
}

/* ---------- home hero: a woven care label stitched onto treated fabric ---------- */

.label-hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-start;
  min-height: clamp(600px, 86vh, 820px);
  padding-block: 0 clamp(48px, 7vh, 80px);
  background: #6b4416;
}
.label-hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.label-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }

.care-label {
  position: relative;
  width: min(600px, 100%);
  padding: 50px 46px 28px;
  background-color: var(--white);
  /* the weave: two hairline grids at very low contrast */
  background-image:
    repeating-linear-gradient(0deg, rgba(14, 34, 56, 0.022) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(14, 34, 56, 0.018) 0 1px, transparent 1px 3px);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 1px 1px rgba(40, 22, 4, 0.18), 0 22px 48px -12px rgba(40, 22, 4, 0.45);
  transform-origin: top center;
  animation: label-drop 480ms var(--ease) both;
}
/* folded top edge, sewn into the seam under the header */
.care-label::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px;
  background: #e9edf2; border-bottom: 1px solid rgba(14, 34, 56, 0.12);
  box-shadow: inset 0 6px 6px -6px rgba(14, 34, 56, 0.35);
}
/* the stitch line */
.care-label::after {
  content: ""; position: absolute; inset: 26px 10px 10px; pointer-events: none;
  border: 1.5px dashed rgba(14, 34, 56, 0.3); border-radius: 2px;
}
.care-brand {
  display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s5);
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); color: var(--ink);
}
.care-brand svg { width: 30px; height: 30px; }
.care-label h1 { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); max-width: 13ch; letter-spacing: -0.025em; }
.care-lede { margin-top: var(--s4); font-size: var(--step-2); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }

.care-symbols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3);
  list-style: none; margin: var(--s5) 0 0; padding: var(--s5) 0 0; border-top: 1px solid var(--rule);
}
.care-symbols li { margin: 0; display: grid; justify-items: center; text-align: center; gap: 2px; }
.care-box {
  display: grid; place-items: center; width: 100%; max-width: 76px; aspect-ratio: 1; margin-bottom: var(--s2);
  border: 2px solid var(--ink); border-radius: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.01em; color: var(--ink);
}
.care-box.is-now { background: var(--ink); color: var(--white); }
.care-date { font-weight: 650; font-size: var(--step-0); line-height: 1.3; font-variant-numeric: tabular-nums; }
.care-count { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.3; }
.care-symbols li { animation: label-settle 420ms var(--ease) both; }
.care-symbols li:nth-child(1) { animation-delay: 180ms; }
.care-symbols li:nth-child(2) { animation-delay: 220ms; }
.care-symbols li:nth-child(3) { animation-delay: 260ms; }
.care-symbols li:nth-child(4) { animation-delay: 300ms; }

.care-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s5); }
.care-link { font-weight: 650; font-size: var(--step-0); }
.care-fine { margin-top: var(--s4); font-size: 0.8125rem; color: var(--ink-2); max-width: 52ch; }

@keyframes label-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes label-settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .label-hero { display: block; min-height: 0; padding: 0 0 var(--s7); background: var(--white); }
  .label-hero-photo { position: relative; inset: auto; height: 240px; }
  .care-label { margin-top: -64px; padding: 40px 24px 24px; border-radius: 3px; animation-name: label-settle; }
  .care-symbols { gap: var(--s2); }
  .care-box { font-size: 1.125rem; }
  .care-count { font-size: 0.75rem; }
}

/* ---------- supplier thread ---------- */

.thread-section { padding-block: var(--section); background: var(--white); border-bottom: 1px solid var(--rule); }
.thread-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.thread-copy h2 { max-width: 16ch; font-size: var(--step-display); letter-spacing: -0.025em; }
.thread-copy .lede { margin: var(--s5) 0 var(--s4); }
.thread-copy p { color: var(--ink-2); }
.thread-made-for { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--rule); font-size: var(--step-1); color: var(--ink) !important; }
.thread-made-for span { font-family: var(--font-display); font-weight: 600; box-shadow: inset 0 -0.38em 0 rgba(233, 165, 92, 0.35); }

.thread { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.thread-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); padding: var(--s4) var(--s5); background: var(--white); border-bottom: 1px solid var(--rule); }
.thread-subject { font-weight: 650; }
.thread-meta { font-size: var(--step--1); color: var(--ink-2); }
.thread-list { list-style: none; margin: 0; padding: var(--s5); display: grid; gap: var(--s3); }
.msg { position: relative; margin: 0; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--s3); align-items: start; }
.msg p {
  margin: 0; padding: var(--s3) var(--s4); font-size: var(--step-0); line-height: 1.5;
  background: var(--white); border: 1px solid var(--rule); border-radius: 10px 10px 10px 3px;
}
.msg-day { padding-top: var(--s3); font-size: var(--step--1); font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.msg-cc p { border-style: dashed; }
.msg-in p { background: var(--blue-wash); border-color: #c6d5f3; border-radius: 10px 10px 3px 10px; }
.msg-filed p { background: var(--ink); color: var(--on-dark-2); border-color: var(--ink); }
.msg-filed strong { color: var(--white); }
.filed-stamp {
  position: absolute; right: 14px; bottom: -14px; transform: rotate(-6deg);
  padding: 2px 10px; border: 2px solid var(--ochre-light); border-radius: 4px; background: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ochre-light);
}
.thread figcaption { padding: var(--s4) var(--s5); font-size: 0.8125rem; color: var(--ink-2); border-top: 1px solid var(--rule); background: var(--white); }

.thread.is-armed .msg { opacity: 0; transform: translateY(8px); }
@media print { .thread.is-armed .msg { opacity: 1; transform: none; } }
.thread.is-playing .msg { animation: settle 320ms var(--ease) both; }
.thread.is-playing .msg:nth-child(2) { animation-delay: 120ms; }
.thread.is-playing .msg:nth-child(3) { animation-delay: 240ms; }
.thread.is-playing .msg:nth-child(4) { animation-delay: 360ms; }
.thread.is-playing .msg:nth-child(5) { animation-delay: 520ms; }
.thread.is-playing .msg:nth-child(6) { animation-delay: 680ms; }
.thread.is-playing .filed-stamp { animation: stamp 260ms var(--ease) 900ms both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(1.2); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }

@media (max-width: 960px) { .thread-layout { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .msg { grid-template-columns: 1fr; gap: 4px; }
  .msg-day { padding-top: 0; }
  .thread-list { padding: var(--s4); }
}

/* ---------- tile map ---------- */

.map-section { padding-block: var(--section); background: var(--ink); color: var(--on-dark-2); }
.map-head { max-width: 680px; margin-bottom: var(--s6); }
.map-head h2 { color: var(--white); font-size: var(--step-display); letter-spacing: -0.025em; }
.map-head p { margin-top: var(--s4); font-size: var(--step-2); line-height: 1.55; }
.map-switch { display: flex; flex-wrap: wrap; gap: var(--s2); border: 0; padding: 0; margin: 0 0 var(--s6); }
.map-switch label { position: relative; }
.map-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.map-switch span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s5); cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-sm); color: var(--white); font-weight: 600;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.map-switch span:hover { border-color: var(--white); }
.map-switch input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); }
.map-switch input:focus-visible + span { outline: 3px solid var(--ochre-light); outline-offset: 3px; }

.map-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.map-figure { margin: 0; position: sticky; top: 96px; }
@media (max-width: 960px) { .map-figure { position: static; } }
.us-map { display: block; width: 100%; height: auto; overflow: visible; }
.us-map path {
  fill: var(--ink-raised); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round;
  transition: stroke 160ms var(--ease);
}
.us-map path[data-status="file"] { fill: #6e9bf0; }
.us-map path[data-status="ban"] { fill: url(#ban-stripes); }
.us-map path[data-status="label"] { fill: var(--ink-raised); stroke: var(--ochre-light); stroke-width: 2; }
.us-map .ban-base { fill: var(--ochre-light); }
.us-map .ban-stripe { fill: rgba(14, 34, 56, 0.2); }
.us-map path.is-hot { stroke: var(--white); stroke-width: 2.5; }
.map-states path:hover { cursor: default; }
.map-label {
  font-family: var(--font-display); font-weight: 600; font-size: 17px; text-anchor: middle;
  fill: #8ea3bb; pointer-events: none;
}
.map-label[data-status="file"], .map-label[data-status="ban"] { fill: var(--ink); }
.map-label[data-status="label"] { fill: var(--ochre-light); }
.map-label-out { text-anchor: start; }
.map-label-out[data-status="file"] { fill: #9dbdf6; }
.map-label-out[data-status="ban"] { fill: var(--ochre-light); }
.map-label.is-hot { fill: var(--white); }
.map-leader { stroke: rgba(201, 214, 232, 0.45); stroke-width: 1; }
.map-list li.is-hot { background: rgba(255, 255, 255, 0.06); }
.map-list li { padding-inline: var(--s2); }
.map-legend { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: var(--s2); font-size: var(--step-0); }
.map-legend li { margin: 0; display: flex; align-items: flex-start; gap: var(--s3); }
.map-legend li > span { flex: 1; }
.map-legend li::before { content: ""; width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; background: var(--ink-raised); }
.map-legend li[data-status="file"]::before { background: #6e9bf0; }
.map-legend li[data-status="ban"]::before { background-color: var(--ochre-light); background-image: repeating-linear-gradient(135deg, rgba(14, 34, 56, 0.16) 0 3px, transparent 3px 8px); }
.map-legend li[data-status="label"]::before { background: transparent; box-shadow: inset 0 0 0 2px var(--ochre-light); }
.map-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.map-list li { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s3); font-size: var(--step--1); line-height: 1.45; }
.map-list strong { color: var(--white); font-weight: 600; font-size: var(--step-0); }
.map-list li[data-status="file"] strong { color: #9dbdf6; }
.map-list li[data-status="ban"] strong { color: var(--ochre-light); }
.map-note, .map-noscript { margin-top: var(--s6); font-size: var(--step--1); color: #a9b8ca; max-width: 80ch; }
.map-section a { color: var(--white); }
@media (max-width: 960px) { .map-body { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .map-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- hang tags (pricing) ---------- */

.tag-rack { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 56px var(--s5); align-items: start; padding-top: 34px; }
.tag-body .check-list { margin: var(--s2) 0 0; font-size: var(--step--1); text-align: left; }
.hang-tag.is-main .check-list li::before { border-color: var(--ochre-light); }
.hang-tag {
  position: relative; margin: 0;
  filter: drop-shadow(0 0 0.5px rgba(14, 34, 56, 0.55)) drop-shadow(0 10px 18px rgba(14, 34, 56, 0.1));
}
/* the string */
.hang-tag::after {
  content: ""; position: absolute; top: -34px; left: 50%; width: 2px; height: 56px; margin-left: -1px;
  background: var(--ochre); transform: rotate(7deg); transform-origin: bottom center; z-index: 1;
}
.tag-body {
  position: relative; display: flex; flex-direction: column; gap: var(--s3);
  padding: 54px var(--s5) var(--s5); background: var(--white); color: var(--ink);
  clip-path: polygon(26px 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%, 0 26px);
}
/* the punched hole */
.tag-body::before {
  content: ""; position: absolute; top: 16px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--rule-strong);
}
.hang-tag h3 { font-size: var(--step-1); text-align: center; }
.tag-price {
  margin: 0; text-align: center; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.75rem, 2rem + 2vw, 3.5rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.tag-for { margin: var(--s2) 0 0; font-size: var(--step-0); color: var(--ink-2); text-align: center; }
.tag-small { margin: 0; font-size: var(--step--1); color: var(--ink-2); text-align: center; padding-top: var(--s3); border-top: 1px dashed var(--rule-strong); }
.hang-tag .btn { margin-top: var(--s3); }
.hang-tag.is-main .tag-body { background: var(--ink); color: var(--white); }
.hang-tag.is-main .tag-for, .hang-tag.is-main .tag-small { color: var(--on-dark-2); }
.hang-tag.is-main .tag-small { border-top-color: rgba(255, 255, 255, 0.3); }
.hang-tag.is-main .tag-body::before { background: var(--white); box-shadow: inset 0 0 0 2px var(--white); }

.plain-list { list-style: none; padding: 0; margin: var(--s5) 0 0; border-top: 1px solid var(--rule); }
.plain-list li { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.doc-large { padding: var(--s7) var(--s6); font-size: var(--step-0); }

/* ---------- filing ledger ---------- */

.ledger {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.ledger-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4);
  padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule); background: var(--paper);
}
.ledger-title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); margin: 0; }
.ledger-sub { font-size: var(--step--1); color: var(--ink-2); margin: 0; }
.ledger-rows { list-style: none; margin: 0; padding: 0; }
.ledger-row {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: var(--s2) var(--s4);
  align-items: start; padding: var(--s4) var(--s5); margin: 0; border-bottom: 1px solid var(--rule);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-code {
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--ink);
  padding-top: 1px;
}
.ledger-main .ledger-row-title { font-size: var(--step-0); font-family: var(--font-body); font-weight: 650; line-height: 1.35; }
.ledger-main .ledger-row-title { margin: 0; max-width: none; color: var(--ink); }
.ledger-main p { margin: var(--s1) 0 0; font-size: var(--step--1); line-height: 1.5; color: var(--ink-2); }
.ledger-main .ledger-notes { margin-top: var(--s2); padding-left: 1.1em; font-size: var(--step--1); color: var(--ink-2); }
.ledger-main .ledger-notes li { margin-bottom: 0.25em; }
.ledger-when { text-align: right; display: grid; justify-items: end; gap: 6px; }
.ledger-date { font-size: var(--step--1); color: var(--ink-2); white-space: nowrap; }
.ledger-foot { padding: var(--s3) var(--s5); border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--ink-2); background: var(--paper); }
.ledger-foot p { max-width: none; }
@media (max-width: 560px) {
  .ledger-row { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .ledger-when { grid-column: 2; justify-items: start; text-align: left; }
  .ledger-head, .ledger-row, .ledger-foot { padding-inline: var(--s4); }
}

.stamp {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.4;
  border-radius: var(--radius-sm); border: 1px solid currentColor; white-space: nowrap;
}
.stamp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stamp-due { color: var(--amber); background: var(--amber-wash); }
.stamp-late { color: var(--red); background: var(--red-wash); }
.stamp-ban { color: var(--ink); background: var(--slate-wash); }
.stamp-none { color: var(--green); background: var(--green-wash); }

.ledger-row.is-entering { animation: ledger-in 160ms ease-out both; }
@keyframes ledger-in { from { opacity: 0; } }
@keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- deadline strip ---------- */

.deadlines { background: var(--blue-deep); color: var(--on-dark); }
.deadline-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0;
}
.deadline-list li { margin: 0; padding: var(--s5) var(--s5) var(--s5) 0; border-right: 1px solid rgba(255,255,255,0.18); }
.deadline-list li + li { padding-left: var(--s5); }
.deadline-list li:last-child { border-right: 0; }
.deadline-date { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); }
.deadline-what { display: block; color: var(--on-dark-2); font-size: var(--step-0); line-height: 1.4; }
.deadline-count { display: block; margin-top: var(--s2); font-size: var(--step--1); color: var(--white); font-weight: 600; }
@media (max-width: 900px) {
  .deadline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deadline-list li { padding: var(--s4) var(--s4) var(--s4) 0; }
  .deadline-list li:nth-child(2n) { border-right: 0; padding-left: var(--s4); }
  .deadline-list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.18); }
  .deadline-list li:nth-child(3) { padding-left: 0; }
}

/* ---------- split / media blocks ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.split-photo-tall img { aspect-ratio: 4 / 5; }
.aside-title { font-size: var(--step-3); }
.split-photo figcaption { font-size: 0.8125rem; color: var(--ink-2); padding-top: var(--s2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: var(--s3); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px;
  border-left: 2px solid var(--ochre); border-bottom: 2px solid var(--ochre); transform: rotate(-45deg);
}

/* product categories */
.category-list { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: var(--s5) 0 0; }
.category-list li {
  margin: 0; padding: 8px 14px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-sm);
  font-size: var(--step-0); font-weight: 500;
}

/* ---------- steps (a real sequence) ---------- */

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.steps > li {
  counter-increment: step; margin: 0;
  display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s5);
  padding: var(--s6) 0; border-bottom: 1px solid var(--rule);
}
.steps > li::before {
  content: counter(step); font-family: var(--font-display); font-weight: 600; font-size: var(--step-4);
  color: var(--blue); line-height: 1;
}
.steps h3 { font-size: var(--step-3); }
.steps .step-time { display: block; margin-top: var(--s2); font-size: var(--step--1); color: var(--ink-2); font-weight: 500; }
.steps p { color: var(--ink-2); }
@media (max-width: 760px) {
  .steps > li { grid-template-columns: 3rem minmax(0, 1fr); }
  .steps > li > :last-child { grid-column: 2; }
}

/* ---------- state overview ---------- */

.state-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--s4); }
.state-card {
  display: flex; flex-direction: column; gap: var(--s3);
  padding: var(--s5); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.state-card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.state-card-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.state-card .state-abbr { font-family: var(--font-display); font-weight: 700; font-size: var(--step-4); line-height: 1; color: var(--blue); }
.state-card h3 { font-size: var(--step-2); }
.state-card p { font-size: var(--step-0); color: var(--ink-2); margin: 0; }
.state-card dl { margin: auto 0 0; padding-top: var(--s3); border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; gap: 4px var(--s4); font-size: var(--step--1); }
.state-card dt { color: var(--ink-2); }
.state-card dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- comparison table ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--step-0); min-width: 640px; }
.compare th, .compare td { padding: var(--s4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); background: var(--paper); }
.compare tbody th { font-weight: 600; width: 24%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .is-us { background: var(--blue-wash); }
.compare thead .is-us { background: var(--blue); color: var(--white); }

.data-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.data-table th, .data-table td { padding: var(--s3) var(--s4); text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data-table thead th { font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); color: var(--ink-2); background: var(--paper); }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- pricing ---------- */

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s4); align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; padding: var(--s6) var(--s5); background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius);
}
.price-card.is-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.price-flag {
  position: absolute; top: -13px; left: var(--s5); padding: 2px 10px; border-radius: var(--radius-sm);
  background: var(--blue); color: var(--white); font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
}
.price-card h3 { font-size: var(--step-2); }
.price-for { margin-top: var(--s2); font-size: var(--step-0); color: var(--ink-2); }
.price-amount { margin-top: var(--s5); font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-unit { display: block; margin-top: var(--s2); font-family: var(--font-body); font-size: var(--step--1); color: var(--ink-2); font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.field ::placeholder { color: #5f6e80; opacity: 1; }
.price-card .check-list { font-size: var(--step-0); margin-bottom: var(--s5); }
.price-card .btn { margin-top: auto; }

/* ---------- callouts, faq ---------- */

.callout {
  padding: var(--s5); border-radius: var(--radius); background: var(--blue-wash); border: 1px solid #c6d5f3;
  max-width: 760px;
}
.callout h2, .callout h3 { font-size: var(--step-1); margin-bottom: var(--s2); }
.callout-warn { background: var(--amber-wash); border-color: #f2d3a6; }

.faq { border-top: 1px solid var(--rule); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 56px; padding: var(--s4) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%231f55c7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 var(--s5); color: var(--ink-2); }
.faq-group + .faq-group { margin-top: var(--s7); }
.faq-group > h2 { font-size: var(--step-3); margin-bottom: var(--s4); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: var(--on-dark); }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s6); align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: var(--white); max-width: 22ch; }
.cta-band p { color: var(--on-dark-2); margin-top: var(--s4); line-height: 1.65; }
@media (max-width: 860px) { .cta-band-inner { grid-template-columns: 1fr; } }

/* ---------- states page ---------- */

.jump-nav { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); list-style: none; padding: 0; }
.jump-nav li { margin: 0; }
.jump-nav a {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: var(--white);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--step-0);
}
.jump-nav a:hover { border-color: var(--blue); color: var(--blue); }
.state-section { padding-block: var(--section); border-bottom: 1px solid var(--rule); }
.state-section:nth-of-type(even) { background: var(--white); }
.state-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.state-layout h2 { margin-bottom: var(--s4); }
.state-layout h3 { margin: var(--s6) 0 var(--s3); font-size: var(--step-2); }
.facts {
  position: sticky; top: 96px; padding: var(--s5); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
}
.state-section:nth-of-type(even) .facts { background: var(--paper); }
.facts h3 { margin: 0 0 var(--s4) !important; font-size: var(--step-1) !important; }
.facts dl { margin: 0; display: grid; gap: var(--s3); }
.facts dt { font-size: var(--step--1); color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: var(--step-0); line-height: 1.4; }
.sources { font-size: var(--step--1); color: var(--ink-2); margin-top: var(--s5); }
.sources a { word-break: break-word; }
@media (max-width: 960px) { .state-layout { grid-template-columns: 1fr; } .facts { position: relative; top: auto; } }

/* ---------- checker ---------- */

.checker { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.checker-panel { padding: var(--s6) var(--s5); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.checker fieldset { border: 0; padding: 0; margin: 0 0 var(--s6); }
.checker fieldset:last-child { margin-bottom: 0; }
.checker legend { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); margin-bottom: var(--s2); padding: 0; }
.checker .hint { font-size: var(--step--1); color: var(--ink-2); margin: 0 0 var(--s3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: var(--white);
  font-size: var(--step-0); font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
}
.chip span::before {
  content: ""; width: 16px; height: 16px; border: 1.5px solid var(--rule-strong); border-radius: 3px; background: var(--white);
}
.chip input:checked + span { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-deep); }
.chip input:checked + span::before {
  border-color: var(--blue);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.checker-result .ledger { position: sticky; top: 96px; }
.checker-empty { padding: var(--s6) var(--s5); color: var(--ink-2); }
.checker-cta { padding: var(--s4) var(--s5); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; }
.checker-cta p { margin: 0; font-size: var(--step-0); font-weight: 600; }
@media (max-width: 960px) { .checker { grid-template-columns: 1fr; } .checker-result .ledger { position: static; } }

/* ---------- forms ---------- */

.form-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form { padding: var(--s6); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
@media (max-width: 480px) { .form { padding: var(--s5) var(--s4); } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 650; font-size: var(--step-0); margin-bottom: 6px; padding: 0; }
.field .optional { font-weight: 400; color: var(--ink-2); }
.field .help { display: block; font-size: var(--step--1); color: var(--ink-2); margin: -2px 0 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: var(--step-0); color: var(--ink);
  background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius-sm);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 85, 199, 0.25); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field .chips { margin-top: 2px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { display: none; margin-top: 6px; font-size: var(--step--1); color: var(--red); font-weight: 600; }
.field.has-error .field-error { display: block; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }
.form-foot small { color: var(--ink-2); max-width: 42ch; }
.form-status { margin-top: var(--s5); padding: var(--s4); border-radius: var(--radius-sm); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: var(--red-wash); color: var(--red); border: 1px solid #f3c1bc; }
.form-success { padding: var(--s6); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.form-success h2 { font-size: var(--step-3); margin-bottom: var(--s3); }
.next-steps { list-style: none; counter-reset: next; padding: 0; margin: var(--s5) 0 0; }
.next-steps li { counter-increment: next; position: relative; padding-left: 40px; margin-bottom: var(--s5); }
.next-steps li::before {
  content: counter(next); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-wash); color: var(--blue-deep);
  font-family: var(--font-display); font-weight: 600; font-size: var(--step--1);
}
.next-steps strong { display: block; }

/* ---------- prose (legal pages, about) ---------- */

.prose h2 { font-size: var(--step-3); margin: var(--s7) 0 var(--s3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--s5) 0 var(--s2); }
.prose p, .prose li { color: var(--ink); }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s7); }
.principles h3 { font-size: var(--step-2); margin-bottom: var(--s2); }
.principles p { color: var(--ink-2); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* evidence pack mock */
.doc {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: var(--s6) var(--s5); font-size: var(--step--1);
}
.doc-head { display: flex; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s4); border-bottom: 2px solid var(--ink); margin-bottom: var(--s4); }
.doc-head strong { font-family: var(--font-display); font-size: var(--step-0); }
.doc table { width: 100%; border-collapse: collapse; margin-bottom: var(--s4); }
.doc th, .doc td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th { color: var(--ink-2); font-weight: 600; }
.doc-label { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; margin: var(--s4) 0 var(--s2); }
.doc-filed {
  display: inline-block; transform: rotate(-4deg); margin-top: var(--s2);
  padding: 4px 12px; border: 2px solid var(--green); border-radius: var(--radius-sm);
  color: var(--green); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; font-size: var(--step--1);
}

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark-2); padding-block: var(--s8) var(--s6); font-size: var(--step-0); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s6); }
.site-footer .brand { color: var(--white); }
.site-footer h2 { font-family: var(--font-display); font-size: var(--step-0); color: var(--white); margin-bottom: var(--s3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--s2); }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--white); }
.footer-about { margin-top: var(--s4); max-width: 36ch; }
.footer-legal { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,0.15); font-size: var(--step--1); display: grid; gap: var(--s2); }
.footer-legal p { max-width: 90ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- utilities ---------- */

.mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); } .mt-7 { margin-top: var(--s7); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  ::view-transition-group(*) { animation-duration: 0.01ms !important; }
}

/* ======================================================================
   Revision 3: inner pages share the apparel language
   ====================================================================== */

/* ---------- inner page header: ink band, breadcrumb as a woven tab sewn into the seam ---------- */
.page-head { background: var(--ink); color: var(--on-dark-2); border-bottom: 0; padding-top: 0; }
.page-head h1 { color: var(--white); }
.page-head .lede { color: var(--on-dark-2); }
.page-head .page-meta { color: #a9b8ca; }
.page-head a:not(.btn) { color: var(--white); }
.page-head .breadcrumb {
  position: relative; display: inline-flex; margin: 0 0 clamp(32px, 5vw, 56px);
  padding: 22px 16px 10px; background: var(--white); color: var(--ink-2);
  border-radius: 0 0 3px 3px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}
.page-head .breadcrumb::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: #e9edf2; border-bottom: 1px solid rgba(14, 34, 56, 0.12);
}
.page-head .breadcrumb::after {
  content: ""; position: absolute; inset: 16px 5px 5px; border: 1px dashed rgba(14, 34, 56, 0.3); border-radius: 2px; pointer-events: none;
}
.page-head .breadcrumb a { color: var(--ink-2); }
.page-head .breadcrumb li[aria-current] { color: var(--ink); font-weight: 600; }
.page-head > .container > h1:first-child, .page-head > .container-narrow > h1:first-child { padding-top: clamp(48px, 7vw, 80px); }
.page-head .jump-nav a { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.page-head .jump-nav a:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.08); }
.page-head :focus-visible { outline-color: var(--ochre-light); }

/* ---------- stitched label (shared) ---------- */
.stitched {
  position: relative; background-color: var(--white);
  background-image:
    repeating-linear-gradient(0deg, rgba(14, 34, 56, 0.022) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(14, 34, 56, 0.018) 0 1px, transparent 1px 3px);
  border: 0; border-radius: 3px;
  box-shadow: 0 1px 1px rgba(14, 34, 56, 0.12), 0 18px 36px -16px rgba(14, 34, 56, 0.35);
  padding-top: 40px;
}
.stitched::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px;
  background: #e9edf2; border-bottom: 1px solid rgba(14, 34, 56, 0.12); border-radius: 3px 3px 0 0;
}
.stitched::after {
  content: ""; position: absolute; inset: 24px 9px 9px; pointer-events: none;
  border: 1.5px dashed rgba(14, 34, 56, 0.28); border-radius: 2px;
}
.facts.facts-label {
  padding: 42px var(--s5) var(--s5); border: 0; border-radius: 3px; background-color: var(--white);
  background-image:
    repeating-linear-gradient(0deg, rgba(14, 34, 56, 0.022) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(14, 34, 56, 0.018) 0 1px, transparent 1px 3px);
  box-shadow: 0 1px 1px rgba(14, 34, 56, 0.12), 0 18px 36px -16px rgba(14, 34, 56, 0.35);
}
.facts.facts-label::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px;
  background: #e9edf2; border-bottom: 1px solid rgba(14, 34, 56, 0.12); border-radius: 3px 3px 0 0;
}
.facts.facts-label::after {
  content: ""; position: absolute; inset: 24px 9px 9px; pointer-events: none;
  border: 1.5px dashed rgba(14, 34, 56, 0.28); border-radius: 2px;
}
.state-section:nth-of-type(even) .facts.facts-label { background-color: var(--white); }
.facts-label dl > div { padding-bottom: var(--s3); border-bottom: 1px solid var(--rule); }
.facts-label dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.next-label { padding: 44px var(--s6) var(--s6); }

/* ---------- state guide: map band + state outlines ---------- */
.map-band { padding-block: clamp(48px, 6vw, 80px); }
.map-band-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.map-band h2 { color: var(--white); }
.map-band p { margin: var(--s4) 0 var(--s5); font-size: var(--step-1); line-height: 1.6; }
.map-band .map-figure { position: static; }
.us-map path.is-link { cursor: pointer; }
.us-map path.is-link:hover, .us-map path.is-link:focus-visible { fill: #9dbdf6; outline: none; stroke: var(--white); stroke-width: 2; }
@media (max-width: 960px) { .map-band-grid { grid-template-columns: 1fr; } }

.state-title { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s4); }
.state-title h2 { margin: 0 !important; }
.state-shape { width: 64px; height: 64px; flex-shrink: 0; }
.state-shape path { fill: var(--blue); stroke: none; }

/* ---------- light map variant (scope checker) ---------- */
.map-light { margin-bottom: var(--s5); padding: var(--s4); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); position: static; }
.map-light .us-map path { fill: #e3e8ef; stroke: var(--white); }
.map-light .us-map path[data-status="file"] { fill: var(--blue); }
.map-light .us-map path[data-status="ban"] { fill: url(#ban-stripes); }
.map-light .map-label { fill: #7d8da0; font-size: 15px; }
.map-light .map-label[data-status="file"] { fill: var(--white); }
.map-light .map-label[data-status="ban"] { fill: var(--ink); }
.map-light .map-label-out { fill: #7d8da0; }
.map-light .map-label-out[data-status="file"] { fill: var(--blue); }
.map-light .map-label-out[data-status="ban"] { fill: var(--ochre-deep); }
.map-light .map-leader { stroke: #b9c4d1; }
.checker-result .ledger { position: static; }

/* ---------- timeline ---------- */
.gantt-wrap { position: relative; overflow-x: auto; padding-bottom: var(--s2); }
.gantt { min-width: 760px; display: grid; gap: var(--s2); }
.gantt-row {
  display: grid; grid-template-columns: 12rem repeat(30, minmax(0, 1fr)); align-items: center;
  min-height: 44px; border-bottom: 1px solid var(--rule);
}
.gantt-row > * { grid-row: 1; }
.gantt-label { grid-column: 1; font-weight: 650; font-size: var(--step-0); padding: 6px var(--s4) 6px 0; line-height: 1.3; }
.gantt-label small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--ink-2); }
.gantt-scale { min-height: 28px; border-bottom: 2px solid var(--ink); }
.gantt-scale .gantt-label { font-weight: 600; font-size: var(--step--1); color: var(--ink-2); }
.gantt-tick { font-size: var(--step--1); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gantt-bar {
  grid-column: 2 / -1; height: 28px; border-radius: 4px; display: flex; align-items: center; padding: 0 10px;
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bar-blue { background: var(--blue); color: var(--white); }
.bar-ochre { background: var(--ochre-light); color: var(--ink); }
.bar-ink { background: var(--ink); color: var(--white); }
.bar-green { background: var(--green); color: var(--white); }
.gantt-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); justify-self: center; position: relative; z-index: 1; box-shadow: 0 0 0 2px var(--ochre-light); }
.gantt-note { margin-top: var(--s4); font-size: var(--step--1); color: var(--ink-2); }

/* ---------- SKU grouping demo ---------- */
.grouping { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.grouping-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5); border-bottom: 1px solid var(--rule); background: var(--paper); }
.grouping-status { margin: 0; font-weight: 600; max-width: 62ch; }
.sku-wall { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--s5); }
.sku-wall[hidden], .group-list[hidden] { display: none; }
.sku {
  display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 0.8125rem; font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
  animation: settle 300ms var(--ease) both;
}
.sku-0 { background: #e6edfb; color: #1b3f8f; }
.sku-1 { background: #fbeedd; color: #7a420c; }
.sku-2 { background: #e5f4ec; color: #1d6b43; }
.sku-3 { background: #eceff3; color: var(--ink); }
.sku-4 { background: #fdecea; color: #8f1d13; }
.sku-5 { background: #f0eafa; color: #4b2c8a; }
.group-list { list-style: none; margin: 0; padding: 0; }
.group-row {
  margin: 0; display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto; gap: var(--s3) var(--s5);
  align-items: center; padding: var(--s3) var(--s5); border-bottom: 1px solid var(--rule);
  animation: settle 220ms var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms);
}
.group-skus .sku { animation: none; }
::view-transition-group(*) { animation-duration: 420ms; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
.group-row:last-child { border-bottom: 0; }
.group-name { display: grid; }
.group-name span { font-size: var(--step--1); color: var(--ink-2); }
.group-skus { display: flex; flex-wrap: wrap; gap: 4px; }
.group-result { font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); padding: 3px 10px; border-radius: 4px; background: var(--ink); color: var(--white); white-space: nowrap; }
.group-row.is-skipped .group-result { background: var(--green-wash); color: var(--green); white-space: normal; max-width: 15rem; }
.group-row.is-skipped .sku { opacity: 0.55; }
@media (max-width: 760px) {
  .group-row { grid-template-columns: 1fr; }
  .group-result { justify-self: start; }
}

/* ---------- content label (about) ---------- */
.content-label { width: min(420px, 100%); margin-inline: auto; padding: 48px 36px 32px; font-size: var(--step-0); }
.cl-brand { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); text-align: center; margin: 0 0 var(--s4); letter-spacing: -0.01em; }
.cl-head { margin: var(--s5) 0 var(--s2); padding-top: var(--s3); border-top: 1px solid var(--ink); font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; }
.cl-rows { list-style: none; margin: 0; padding: 0; }
.cl-rows li { margin: 0 0 4px; display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--s3); }
.cl-rows li span { font-weight: 650; font-variant-numeric: tabular-nums; }
.cl-donts li { display: block; position: relative; padding-left: 26px; }
.cl-donts li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%;
  background: linear-gradient(45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%);
}

/* ---------- FAQ layout ---------- */
.faq-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-index { position: sticky; top: 96px; }
.faq-search input {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: var(--step-0);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
}
.faq-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 85, 199, 0.25); }
.faq-search input::placeholder { color: #5f6e80; }
.faq-index ul { list-style: none; padding: 0; margin: var(--s5) 0 0; border-top: 1px solid var(--rule); }
.faq-index li { margin: 0; border-bottom: 1px solid var(--rule); }
.faq-index li a { display: block; padding: var(--s3) 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.faq-index li a:hover { color: var(--blue); }
.faq-count { margin-top: var(--s3); font-size: var(--step--1); color: var(--ink-2); }
.faq-empty { color: var(--ink-2); }
.faq-group[hidden], .faq details[hidden] { display: none; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-index { position: static; } }

@media (max-width: 600px) {
  .us-map .map-label[data-status="none"], .us-map .map-leader { display: none; }
  .us-map .map-label-out[data-status="file"], .us-map .map-label-out[data-status="ban"], .us-map .map-label-out[data-status="label"] { display: none; }
  .us-map .map-label { font-size: 26px; }
}

@media (max-width: 700px) {
  .gantt-wrap { overflow: visible; }
  .gantt { min-width: 0; }
  .gantt-row { grid-template-columns: 0 repeat(30, minmax(0, 1fr)); grid-template-rows: auto auto; row-gap: 6px; padding: 8px 0; }
  .gantt-label { grid-column: 1 / -1 !important; grid-row: 1; padding: 0; }
  .gantt-row > :not(.gantt-label) { grid-row: 2; }
  .gantt-scale { padding-top: 0; }
  .gantt-scale .gantt-label { display: none; }
  .gantt-scale > :not(.gantt-label) { grid-row: 1; }
  .gantt-bar { height: 20px; padding: 0; }
  .gantt-dot { width: 9px; height: 9px; }
}
.gantt-legend { margin-top: var(--s3); font-size: var(--step--1); color: var(--ink-2); display: flex; align-items: center; gap: var(--s2); }
.gantt-legend .gantt-dot { display: inline-block; }

.callout > :first-child, .facts > :first-child { margin-top: 0 !important; }

.panel-note { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--rule); }
.panel-note h2, .panel-note h3 { font-size: var(--step-1); margin-bottom: var(--s2); }
.panel-note p { color: var(--ink-2); }

.dont-list { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.dont-list li { position: relative; padding-left: 30px; margin-bottom: var(--s3); }
.dont-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%;
  background: linear-gradient(45deg, transparent 44%, var(--ink) 44%, var(--ink) 56%, transparent 56%);
}
.dont-list li.is-do::before { border-color: var(--ochre); background: none; }
.dont-list li.is-do::after { content: ""; position: absolute; left: 6px; top: calc(0.3em + 4px); width: 7px; height: 4px; border-left: 2px solid var(--ochre); border-bottom: 2px solid var(--ochre); transform: rotate(-45deg); }
.prose-narrow { max-width: 68ch; }

.price-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 30px; }
.price-layout .hang-tag { max-width: 380px; width: 100%; justify-self: center; }
.price-layout .tag-price { font-size: clamp(3.5rem, 2.6rem + 3vw, 4.5rem); }
.ticket { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: var(--s5) var(--s6); position: relative; }
.ticket::before { content: ""; position: absolute; left: var(--s6); right: var(--s6); top: 0; border-top: 2px dashed var(--rule-strong); transform: translateY(-1px); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding-bottom: var(--s3); border-bottom: 2px solid var(--ink); }
.ticket-head h3 { font-size: var(--step-1); }
.ticket-head span { font-size: var(--step--1); color: var(--ink-2); }
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-item { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--s5); padding: var(--s4) 0; border-bottom: 1px dashed var(--rule-strong); }
.ticket-item:last-child { border-bottom: 0; }
.ticket-item h4 { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.ticket-item p { grid-column: 1; margin: 0; font-size: var(--step-0); color: var(--ink-2); }
.ticket-item a { grid-column: 1; font-weight: 650; font-size: var(--step-0); justify-self: start; margin-top: 2px; }
.ticket-price { grid-column: 2; grid-row: 1 / span 3; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.ticket-price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--step--1); color: var(--ink-2); letter-spacing: 0; }
.ticket-foot { margin-top: var(--s3); font-size: var(--step--1); color: var(--ink-2); }
@media (max-width: 860px) { .price-layout { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ticket { padding: var(--s5) var(--s4); } .ticket::before { left: var(--s4); right: var(--s4); } }

.page-end { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); background: var(--white); }
.page-end-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); }
.page-end p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); max-width: 40ch; }

.page-head-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.page-head-split .map-figure { position: static; margin-top: var(--s5); }
.page-head-map-note { margin-top: var(--s3); font-size: var(--step--1); color: #a9b8ca; }
@media (max-width: 960px) { .page-head-split { grid-template-columns: 1fr; } }

.ruled-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); max-width: 820px; }
.ruled-list li { margin: 0; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--s2) var(--s6); padding: var(--s5) 0; border-bottom: 1px solid var(--rule); }
.ruled-list h3 { font-size: var(--step-1); }
.ruled-list p { color: var(--ink-2); margin: 0; }
@media (max-width: 700px) { .ruled-list li { grid-template-columns: 1fr; } }
.care-brand-text { font-family: var(--font-display); font-size: var(--step--1); color: var(--ink-2); margin: 0 0 var(--s4); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.gantt-legend .gantt-dot { flex-shrink: 0; width: 10px; height: 10px; }
@media (min-width: 861px) { .price-layout .hang-tag { position: sticky; top: 110px; } }

/* ---------- accessibility pass (UI/UX audit) ---------- */
.map-section :focus-visible, .cta-band :focus-visible, .hang-tag.is-main :focus-visible, .site-footer :focus-visible, .page-head :focus-visible { outline-color: var(--ochre-light); }
.page-head .breadcrumb :focus-visible { outline-color: var(--blue); }
main:focus { outline: none; }
.site-footer li a { display: inline-block; padding-block: 10px; }
.site-footer li { margin-bottom: 0; }
.care-link { display: inline-flex; align-items: center; min-height: 44px; }
.brand { min-height: 44px; }
.us-map[role="group"] path.is-link { stroke-width: 1; }
@media (max-width: 760px) { .us-map path.is-link { pointer-events: none; } }

/* ---------- care label, refined: a sewn-in woven label, not a dashed card ---------- */
.care-label {
  padding: 58px 44px 30px;
  border-radius: 0 0 4px 4px;
  background-color: #fbfcfd;
  background-image:
    linear-gradient(112deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.75) 46%, rgba(255,255,255,0) 62%),
    repeating-linear-gradient(0deg, rgba(14, 34, 56, 0.028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(14, 34, 56, 0.02) 0 1px, transparent 1px 3px);
  box-shadow: 0 1px 1px rgba(40, 22, 4, 0.2), 0 28px 44px -20px rgba(40, 22, 4, 0.6), 22px 26px 34px -26px rgba(40, 22, 4, 0.45);
}
/* folded top: shaded where it turns into the seam, stitched once across */
.care-label::before {
  height: 26px; border-radius: 0;
  background: linear-gradient(180deg, #c9d1db 0%, #e4e8ee 38%, #f4f6f9 100%);
  border-bottom: 1px solid rgba(14, 34, 56, 0.14);
  box-shadow: none;
}
/* woven selvage edges down both sides, and the seam stitch under the fold */
.care-label::after {
  inset: 26px 0 0; border: 0; border-radius: 0;
  background:
    repeating-linear-gradient(90deg, rgba(14, 34, 56, 0.55) 0 7px, transparent 7px 12px) left 14px top 8px / calc(100% - 28px) 1.5px no-repeat,
    repeating-linear-gradient(180deg, rgba(14, 34, 56, 0.07) 0 2px, transparent 2px 4px) left top / 5px 100% no-repeat,
    repeating-linear-gradient(180deg, rgba(14, 34, 56, 0.07) 0 2px, transparent 2px 4px) right top / 5px 100% no-repeat;
}
.care-brand-text { display: flex; align-items: center; gap: 14px; margin: 0 0 var(--s5); color: var(--ink); font-size: 0.8125rem; letter-spacing: 0.22em; }
.care-brand-text::before, .care-brand-text::after { content: ""; flex: 1; border-top: 1px solid rgba(14, 34, 56, 0.25); }
.care-heading { margin: var(--s6) 0 var(--s2); font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.care-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1.5px solid var(--ink); }
.care-strip li { margin: 0; padding: 14px 6px 12px; display: grid; gap: 2px; justify-items: center; text-align: center; border-left: 1px solid rgba(14, 34, 56, 0.18); animation: label-settle 420ms var(--ease) both; }
.care-strip li:first-child { border-left: 0; }
.care-strip li:nth-child(2) { animation-delay: 60ms; } .care-strip li:nth-child(3) { animation-delay: 120ms; } .care-strip li:nth-child(4) { animation-delay: 180ms; }
.cs-code { font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; line-height: 1.1; letter-spacing: 0.02em; color: var(--ink); }
.cs-date { font-weight: 650; font-size: var(--step-0); line-height: 1.25; font-variant-numeric: tabular-nums; }
.cs-note { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.3; }
.care-strip li.is-now .cs-date { color: var(--ochre-deep); }
.care-strip li.is-now .cs-code { position: relative; }
.care-strip li.is-now .cs-code::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 18px; margin-left: -9px; border-bottom: 3px solid var(--ochre); }
.care-actions { margin-top: var(--s6); }
@media (max-width: 760px) {
  .care-label { padding: 50px 22px 22px; }
  .cs-code { font-size: 1.25rem; }
  .cs-note { font-size: 0.75rem; }
}
.cs-code { padding-bottom: 6px; }
.care-strip li.is-now .cs-code::after { bottom: 1px; }

/* ---------- scope checker: detail answers, recommendation ---------- */
.chips-stack { flex-direction: column; align-items: stretch; }
.chips-stack .chip span { width: 100%; min-height: 44px; padding-block: 8px; line-height: 1.35; }
.stamp-filed { color: var(--green); background: var(--green-wash); }
.stamp-label { color: var(--ochre-deep); background: transparent; }
.checker-rec { padding: var(--s5); border-top: 1px solid var(--rule); background: var(--paper); }
.rec-label { margin: 0 0 var(--s2); font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.rec-line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); }
.rec-name { font-family: var(--font-display); font-weight: 650; font-size: var(--step-2); }
.rec-price { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); font-variant-numeric: tabular-nums; }
.rec-why { margin: var(--s2) 0 0; font-size: var(--step-0); color: var(--ink-2); max-width: none; }
.rec-fees { margin: var(--s2) 0 0; font-size: var(--step--1); color: var(--ink-2); max-width: none; }
.rec-fees:empty { display: none; }
.checker-cta { justify-content: flex-start; }
.ledger-main .ledger-rule { font-weight: 600; }

/* ---------- the law, quoted: excerpts, stakes ---------- */
.law-proof { max-width: 760px; margin-top: var(--s6); }
.law-proof h3.law-stakes-title { margin: var(--s6) 0 var(--s3); font-size: var(--step-2); }
.law-quote {
  margin: 0; padding: var(--s5); background: var(--white); border: 1px solid var(--rule);
  border-left: 3px solid var(--ink); border-radius: 0 var(--radius) var(--radius) 0;
}
.state-section:nth-of-type(even) .law-quote { background: var(--paper); }
.law-quote + .law-quote, .law-stakes + .law-quote { margin-top: var(--s5); }
.law-quote figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s1) var(--s4);
  padding-bottom: var(--s3); margin-bottom: var(--s3); border-bottom: 1px dashed var(--rule-strong);
}
.law-kind { font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ochre-deep); }
.law-cite { font-family: var(--font-display); font-style: normal; font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.law-quote blockquote { margin: 0; }
.law-quote blockquote p { margin: 0; font-size: var(--step-1); line-height: 1.6; color: var(--ink); max-width: none; }
.law-quote blockquote p + p { margin-top: var(--s2); }
.law-note { margin: var(--s3) 0 0; font-size: var(--step--1); color: var(--ink-2); max-width: none; }
.law-link { display: inline-block; margin-top: var(--s3); font-size: var(--step--1); font-weight: 600; }
.law-link::after { content: " ↗"; }
.law-stakes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s3); }
.law-stakes li {
  margin: 0; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s1);
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--red); border-radius: var(--radius-sm);
}
.state-section:nth-of-type(even) .law-stakes li { background: var(--paper); }
.law-stakes strong { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.2; color: var(--red); font-variant-numeric: tabular-nums; }
.law-stakes span { font-size: var(--step--1); line-height: 1.45; color: var(--ink); }
.law-stakes a { margin-top: auto; padding-top: var(--s2); font-size: 0.8125rem; color: var(--ink-2); }
.law-stakes a:hover { color: var(--blue); }
.section-tight { padding-block: var(--s7) 0; }
.law-section { border-bottom: 1px solid var(--rule); }
.facts-more { display: inline-block; margin-top: var(--s4); font-size: var(--step--1); font-weight: 600; }
.check-steps { margin: var(--s5) 0; padding-left: 1.25em; display: grid; gap: var(--s3); }
.check-steps li { padding-left: var(--s2); }

@media print {
  .site-header, .site-footer, .skip-link, .jump-nav, .btn-row, .page-end, .breadcrumb, .page-head-map-note { display: none !important; }
  body { background: #fff; }
  .page-head, .state-section, .section { background: #fff !important; color: var(--ink); padding-block: 12px; }
  .page-head h1, .page-head .lede, .page-head .page-meta { color: var(--ink) !important; }
  .law-section { break-before: page; }
  .state-layout { grid-template-columns: 1fr; }
  .law-quote, .law-stakes li { break-inside: avoid; background: #fff !important; }
  .law-link::after { content: " (" attr(href) ")"; font-weight: 400; word-break: break-all; }
  .law-stakes a::after { content: ""; }
  .facts { display: none; }
  @page { margin: 12mm 14mm; }
  .page-head, .state-section, .section { padding-block: 0; border: 0; }
  .law-proof { margin-top: 10px; max-width: none; }
  .law-quote { padding: 10px 14px; }
  .law-quote blockquote p { font-size: 0.9375rem; line-height: 1.45; }
  .law-quote + .law-quote, .law-stakes + .law-quote { margin-top: 10px; }
  .law-proof h3.law-stakes-title { margin: 12px 0 8px; font-size: 1rem; }
  .law-stakes { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .law-stakes li { padding: 8px 10px; }
  .law-stakes strong { font-size: 1rem; }
  .state-title svg { width: 32px; height: 32px; }
  #check-it { break-before: page; padding-top: 0; }
  .print-only { display: block !important; margin-top: 8px; font-weight: 600; color: var(--ink); }
}
.state-layout h3 + .law-proof { margin-top: 0; }
.print-only { display: none; }

/* ---------- scope checker: all states ---------- */
.chips-label { margin: var(--s4) 0 var(--s2); font-size: var(--step--1); font-weight: 600; color: var(--ink-2); }
.chips-tools { display: flex; gap: var(--s4); margin-top: var(--s3); }
.link-button { padding: 0; border: 0; background: none; font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.link-button:hover { color: var(--blue-deep); }
.stamp-soon { color: var(--ochre-deep); background: var(--amber-wash); border-style: dashed; }
.ledger-quiet { display: block; }
.ledger-quiet p { margin: 0; font-size: var(--step--1); color: var(--ink-2); max-width: none; }
.us-map path[data-status="soon"] { fill: url(#ban-stripes); opacity: 0.5; }
.map-label[data-status="soon"] { fill: var(--ink); }
.map-label-out[data-status="soon"] { fill: var(--ochre-deep); }

/* ---------- state guide: ban and label states ---------- */
.watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: var(--s5); align-items: start; }
.watch-card { padding: var(--s5); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); scroll-margin-top: 96px; }
.state-section:nth-of-type(even) .watch-card { background: var(--paper); }
.watch-card h3 { display: flex; align-items: baseline; gap: var(--s3); margin: 0 0 var(--s2); font-size: var(--step-2); }
.watch-code { font-family: var(--font-display); font-weight: 700; font-size: var(--step-0); color: var(--blue); letter-spacing: 0.04em; }
.watch-summary { margin: 0 0 var(--s4); color: var(--ink-2); max-width: none; }
.watch-rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.watch-rules li { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.watch-rule-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.watch-rule-head strong { font-size: var(--step-0); }
.watch-rules p { margin: var(--s1) 0 0; font-size: var(--step--1); color: var(--ink-2); max-width: none; }
.watch-none { margin: 0; padding: var(--s3) 0; border-block: 1px solid var(--rule); font-size: var(--step--1); color: var(--ink-2); max-width: none; }
.watch-facts { margin: var(--s4) 0 0; display: grid; gap: var(--s2); }
.watch-facts div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--s3); }
.watch-facts dt { font-size: var(--step--1); color: var(--ink-2); }
.watch-facts dd { margin: 0; font-size: var(--step--1); font-weight: 600; }
.watch-law { margin-top: var(--s4); }
.watch-law summary { cursor: pointer; font-size: var(--step--1); font-weight: 600; color: var(--blue); min-height: 32px; display: flex; align-items: center; }
.watch-law .law-quote { margin-top: var(--s2); }
.watch-law .law-quote blockquote p { font-size: var(--step-0); }
