:root {
  color-scheme: light;
  --ink: #171816;
  --muted: #62645f;
  --line: #d9d9d2;
  --paper: #f3f2ed;
  --surface: #faf9f5;
  --white: #ffffff;
  --signal: #c7ff54;
  --signal-dark: #4f7011;
  --danger: #bd4635;
  --radius: 18px;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--signal-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(23, 24, 22, 0.09);
  background: rgba(243, 242, 237, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  width: max-content;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand span {
  color: var(--signal-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.header-cta,
.text-link {
  text-decoration: none;
}

.nav a:hover,
.header-cta:hover,
.text-link:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 720;
}

.hero,
.section,
.definition,
.rule,
.apply,
.site-footer {
  padding-right: max(24px, calc((100vw - var(--content)) / 2));
  padding-left: max(24px, calc((100vw - var(--content)) / 2));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-top: clamp(64px, 9vw, 128px);
  padding-bottom: clamp(72px, 10vw, 136px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #4f5c2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 710;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(52px, 7.5vw, 94px);
  line-height: 0.96;
}

h2 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.22;
}

.hero-lede,
.definition > p,
.section-heading > p:last-child,
.pilot-intro > p,
.apply > p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 24, 22, 0.16);
}

.text-link {
  padding: 10px 0;
  font-weight: 680;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 150ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.trust-line {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.receipt {
  position: relative;
  width: min(100%, 500px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(23, 24, 22, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(23, 24, 22, 0.13);
}

.receipt::before {
  display: block;
  width: 100%;
  height: 6px;
  background: var(--danger);
  content: "";
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.receipt-header strong {
  color: var(--danger);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.receipt-decision {
  padding: 28px 26px 24px;
}

.receipt-decision > span,
.receipt-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-decision p {
  margin: 8px 0 2px;
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.receipt-decision small,
.receipt-footnote {
  color: var(--muted);
}

.receipt-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0 26px 26px;
}

.receipt-facts div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.receipt-facts div:nth-child(odd) {
  padding-right: 16px;
}

.receipt-facts div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.receipt-facts dd {
  margin: 5px 0 0;
  font-weight: 680;
}

.receipt-footnote {
  margin: 0;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.definition,
.rule {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(72px, 10vw, 128px);
  background: var(--ink);
  color: var(--white);
}

.definition .section-kicker,
.rule .section-kicker,
.apply .section-kicker {
  color: var(--signal);
}

.definition > p,
.rule > p,
.apply > p {
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(72px, 10vw, 132px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.problem .section-heading {
  margin-bottom: 0;
}

.problem-copy > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

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

.check-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 15px;
  left: 2px;
  color: var(--signal-dark);
  font-weight: 900;
  content: "✓";
}

.steps,
.role-grid,
.distinction-grid,
.layer-grid,
.sovereignty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
  list-style: none;
}

.steps li,
.role-grid article,
.distinction-grid article,
.layer-grid article,
.sovereignty-grid article {
  min-height: 250px;
  padding: 28px;
  background: var(--surface);
}

.steps span,
.role-number {
  display: block;
  margin: 0 0 64px;
  color: var(--signal-dark);
  font-size: 12px;
  font-weight: 800;
}

.steps p,
.role-grid article > p:last-child,
.distinction-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.rule h2 {
  max-width: 1080px;
  font-size: clamp(42px, 7vw, 84px);
}

.rule > p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 19px;
}

.role-number {
  margin-bottom: 80px;
}

.distinction {
  background: var(--surface);
}

.distinction-grid article {
  background: var(--paper);
}

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

.sovereignty {
  background: #e9eee5;
}

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

.sovereignty-grid article {
  min-height: 220px;
}

.sovereignty-grid p {
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
}

.layer-grid article {
  background: var(--paper);
}

.layer-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.boundary-note {
  max-width: 820px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.resources {
  background: var(--surface);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-grid > a {
  min-height: 320px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.resource-grid > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(23, 24, 22, 0.1);
}

.resource-grid span {
  display: block;
  margin-bottom: 56px;
  color: var(--signal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-grid h3 {
  max-width: 520px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.resource-grid p {
  max-width: 560px;
  color: var(--muted);
}

.resource-grid strong {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
}

.guide-main {
  background: var(--surface);
}

.guide-hero,
.guide-content,
.guide-cta {
  padding-right: max(24px, calc((100vw - 860px) / 2));
  padding-left: max(24px, calc((100vw - 860px) / 2));
}

.guide-hero {
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.guide-hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 7vw, 78px);
}

.guide-meta {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.guide-content {
  padding-bottom: clamp(80px, 10vw, 140px);
}

.guide-content h2 {
  margin-top: 72px;
  font-size: clamp(30px, 4vw, 46px);
}

.guide-content h3 {
  margin-top: 38px;
  font-size: 23px;
}

.guide-content p,
.guide-content li {
  color: #454741;
  font-size: 18px;
  line-height: 1.72;
}

.guide-content ul,
.guide-content ol {
  padding-left: 24px;
}

.guide-content li {
  margin-bottom: 12px;
}

.answer-box {
  margin: 36px 0 52px;
  padding: 28px;
  border-left: 5px solid var(--signal-dark);
  background: var(--paper);
}

.answer-box p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
}

.guide-table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
}

.guide-table th,
.guide-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  font-size: 13px;
  text-transform: uppercase;
}

.guide-cta {
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--ink);
  color: var(--white);
}

.guide-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
}

.pilot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.pilot-card {
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.pilot-card h3 {
  margin-bottom: 22px;
}

.pilot-card .check-list li {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
}

.pilot-card .check-list li::before {
  color: var(--signal);
}

.pilot-rule {
  margin: 28px 0 0;
  padding: 18px;
  border-radius: 10px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 730;
}

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

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

.faq summary {
  position: relative;
  padding: 24px 52px 24px 0;
  cursor: pointer;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 680;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--muted);
  font-size: 25px;
  font-weight: 400;
  content: "+";
  transition: transform 150ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.apply {
  padding-top: clamp(80px, 11vw, 144px);
  padding-bottom: clamp(80px, 11vw, 144px);
  background: var(--ink);
  color: var(--white);
}

.apply h2 {
  max-width: 960px;
}

.apply .button {
  margin-top: 18px;
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.apply small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  min-height: 120px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero,
  .problem,
  .pilot {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .receipt {
    justify-self: start;
  }

  .steps,
  .role-grid,
  .distinction-grid,
  .layer-grid,
  .sovereignty-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .steps,
  .role-grid,
  .distinction-grid,
  .layer-grid,
  .sovereignty-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .steps li,
  .role-grid article,
  .distinction-grid article {
    min-height: auto;
  }

  .steps span,
  .role-number {
    margin-bottom: 36px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .receipt-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .receipt-facts {
    grid-template-columns: 1fr;
  }

  .receipt-facts div:nth-child(odd),
  .receipt-facts div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
