:root {
  --ink: #16221b;
  --muted: #5f685f;
  --orange: #ff6b35;
  --orange-soft: #ffe1d4;
  --lime: #b8f34a;
  --paper: #f4eddf;
  --cream: #fffaf1;
  --mint: #d7f0dd;
  --line: #16221b;
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.58; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 10px; }
.topline { min-height: 34px; padding: 8px max(4vw, 22px); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: var(--ink); font: 700 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.topline a { color: var(--lime); }
.site-header { min-height: 78px; padding: 10px max(4vw, 22px); display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; border-bottom: 2px solid var(--ink); background: var(--cream); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 21px; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand b { color: var(--orange); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--lime); font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: 3px 3px 0 var(--ink); }
.desktop-nav { display: flex; justify-content: center; gap: clamp(12px, 2vw, 30px); }
.desktop-nav a, .lang { font-size: 12px; font-weight: 800; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a:focus { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.method-button { padding: 11px 16px; border: 2px solid var(--ink); color: #fff; background: var(--ink); font-size: 11px; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { padding: 9px 12px; border: 2px solid var(--ink); cursor: pointer; font-weight: 800; list-style: none; }
.mobile-menu nav { width: min(280px, calc(100vw - 32px)); padding: 16px; position: absolute; right: 0; top: 48px; z-index: 20; display: grid; gap: 12px; border: 2px solid var(--ink); background: var(--cream); box-shadow: 5px 5px 0 var(--ink); }
.mobile-menu nav a { font-weight: 800; text-decoration: none; }

.hero-shell { padding: 72px max(4vw, 22px); background-color: var(--paper); background-image: linear-gradient(rgba(22,34,27,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(22,34,27,.08) 1px, transparent 1px); background-size: 32px 32px; }
.hero { max-width: 1360px; min-height: 610px; margin: auto; display: grid; grid-template-columns: 1.13fr .87fr; border: 3px solid var(--ink); background: var(--cream); box-shadow: 12px 12px 0 var(--orange); }
.hero-copy { padding: clamp(44px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow, .category-label, .ticket-top, .topic-chip, .diagnostic-head, .source-hold span, .step-no, .byline, .hub-count { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { color: #b53b13; font-size: 11px; }
.hero h1 { max-width: 780px; margin: 22px 0; font-size: clamp(49px, 6vw, 91px); line-height: .91; letter-spacing: -.075em; }
.hero-copy > p { max-width: 690px; margin: 0; color: var(--muted); font-size: 18px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }
.primary-button, .secondary-button { min-height: 48px; padding: 12px 19px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); font-size: 12px; font-weight: 900; text-decoration: none; }
.primary-button { color: var(--ink); background: var(--lime); box-shadow: 4px 4px 0 var(--ink); }
.secondary-button { background: var(--cream); }
.primary-button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.source-hold { margin-top: 36px; padding: 13px 16px; display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; border: 2px solid var(--ink); background: var(--orange-soft); }
.source-hold span { font-size: 9px; }
.source-hold strong { padding: 3px 7px; color: #fff; background: var(--ink); font: 900 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.source-hold p { margin: 0; color: #71452f; font-size: 11px; font-weight: 700; }
.diagnostic { padding: clamp(36px, 4vw, 62px); display: flex; flex-direction: column; justify-content: center; border-left: 3px solid var(--ink); color: #fff; background: var(--ink); }
.diagnostic-head { padding-bottom: 18px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.3); color: var(--lime); font-size: 10px; }
.diagnostic ol { margin: 0; padding: 0; list-style: none; }
.diagnostic li { padding: 30px 0; display: grid; grid-template-columns: 58px 1fr; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.diagnostic li > span { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--lime); color: var(--lime); font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.diagnostic strong { font-size: 22px; }
.diagnostic p { margin: 4px 0 0; color: #cbd2cc; font-size: 13px; }
.desk-stop { margin-top: 30px; padding: 13px; border: 2px solid var(--orange); color: #fff; background: #47241b; font: 800 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.trust-strip { max-width: 1360px; margin: 16px auto 0; padding: 18px max(4vw, 22px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border: 2px solid var(--ink); background: var(--lime); font: 800 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.legal-alert { max-width: 1260px; margin: 58px auto 0; padding: 26px; display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; border: 2px solid var(--ink); background: #fff; box-shadow: 7px 7px 0 var(--ink); }
.alert-mark { width: 64px; height: 64px; display: grid; place-items: center; color: #fff; background: var(--orange); font: 900 12px/1.15 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.legal-alert strong { font-size: 18px; }
.legal-alert p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.legal-alert a { font-size: 12px; font-weight: 900; }

.section { max-width: 1400px; margin: auto; padding: 110px max(4vw, 22px); }
.section--mint { max-width: none; background: var(--mint); }
.section--mint > * { max-width: 1260px; margin-left: auto; margin-right: auto; }
.section-heading { margin-bottom: 42px; display: grid; grid-template-columns: 1fr minmax(260px, .6fr); gap: 60px; align-items: end; }
.section-heading h2, .method-section h2 { margin: 13px 0 0; font-size: clamp(39px, 5vw, 68px); line-height: .96; letter-spacing: -.06em; }
.section-heading p { margin: 0; color: var(--muted); }
.filter-bar { margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar button { min-height: 39px; padding: 8px 15px; border: 2px solid var(--ink); color: var(--ink); background: var(--cream); cursor: pointer; font: 800 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.filter-bar button.active { background: var(--orange); color: #fff; }
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.task-card { min-height: 390px; padding: 0 25px 25px; display: flex; flex-direction: column; border: 2px solid var(--ink); background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.task-card[hidden] { display: none; }
.ticket-top { margin: 0 -25px 26px; padding: 11px 14px; display: flex; justify-content: space-between; border-bottom: 2px dashed var(--ink); background: var(--paper); font-size: 9px; }
.category-label { color: #b53b13; font-size: 9px; }
.task-card h3 { margin: 22px 0 13px; font-size: 22px; line-height: 1.15; letter-spacing: -.035em; }
.task-card h3 a { text-decoration: none; }
.task-card p { margin: 0; color: var(--muted); font-size: 14px; }
.task-card footer { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; align-items: center; border-top: 1px solid #c9c1b3; }
.task-card footer a { font-size: 12px; font-weight: 900; }
.topic-chip { padding: 5px 8px; color: var(--ink); background: var(--lime); font-size: 9px; }
.method-section { max-width: 1260px; margin: 0 auto 110px; padding: 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; border: 3px solid var(--ink); color: #fff; background: var(--ink); box-shadow: 10px 10px 0 var(--orange); }
.method-section .eyebrow { color: var(--lime); }
.method-section p { color: #cad2cc; }
.method-section a { color: var(--lime); font-weight: 900; }
.method-section ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
.method-section li { min-height: 82px; padding: 18px; border: 1px solid #657068; font-size: 13px; font-weight: 800; }
.method-section li span { margin-right: 10px; color: var(--orange); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.source-table { border: 2px solid var(--ink); background: #fff; box-shadow: 7px 7px 0 var(--ink); }
.source-table > div, .source-table > a { min-height: 69px; padding: 17px 21px; display: grid; grid-template-columns: 230px 1fr 24px; gap: 22px; align-items: center; }
.source-table > a { border-top: 1px solid var(--ink); text-decoration: none; }
.source-table > a span { color: var(--muted); font-size: 13px; }
.source-head { color: #fff; background: var(--ink); font: 800 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.faq { max-width: 1050px; }
.faq details, .article-faq details { border-top: 2px solid var(--ink); }
.faq details:last-child, .article-faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary, .article-faq summary { padding: 23px 0; cursor: pointer; font-weight: 900; }
.faq details p, .article-faq details p { margin: -6px 0 24px; color: var(--muted); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { text-decoration: none; }
.page-hero { min-height: 390px; padding: 80px max(6vw, 28px); position: relative; overflow: hidden; border-bottom: 3px solid var(--ink); background-color: var(--paper); background-image: linear-gradient(rgba(22,34,27,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(22,34,27,.08) 1px, transparent 1px); background-size: 32px 32px; }
.page-hero > * { max-width: 1150px; margin-left: auto; margin-right: auto; }
.page-hero .eyebrow { margin-top: 55px; display: block; }
.page-hero h1 { margin-top: 15px; margin-bottom: 18px; font-size: clamp(49px, 7vw, 92px); line-height: .93; letter-spacing: -.07em; }
.page-hero > p { color: var(--muted); font-size: 18px; }
.hub-count { width: fit-content; margin-top: 26px; padding: 9px 12px; border: 2px solid var(--ink); background: var(--lime); font-size: 10px; }
.article-wrap { padding-bottom: 110px; }
.article-header { padding: 70px max(5vw, 24px) 60px; border-bottom: 3px solid var(--ink); background: var(--paper); }
.article-header > * { max-width: 1060px; margin-left: auto; margin-right: auto; }
.article-header .eyebrow { margin-top: 55px; display: block; }
.article-header h1 { margin-top: 16px; margin-bottom: 20px; font-size: clamp(45px, 6.3vw, 82px); line-height: .94; letter-spacing: -.07em; }
.lead { color: var(--muted); font-size: 19px; }
.byline { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 10px; }
.article-layout { max-width: 1140px; margin: auto; padding: 75px max(4vw, 22px); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 78px; }
.prose { font-size: 17px; }
.prose > section { position: relative; padding-left: 58px; }
.prose > section + section { margin-top: 48px; }
.prose h2, .article-faq h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.13; letter-spacing: -.04em; }
.prose p { margin-top: 0; color: #4f5a51; }
.step-no { position: absolute; left: 0; top: 2px; width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--lime); font-size: 9px; }
.task-signal { margin-bottom: 50px; padding: 22px; border: 2px solid var(--ink); background: var(--orange-soft); }
.task-signal p { margin: 5px 0 0; }
.article-side { align-self: start; position: sticky; top: 110px; padding: 26px; border: 2px solid var(--ink); color: #fff; background: var(--ink); box-shadow: 7px 7px 0 var(--orange); }
.article-side > span { color: var(--lime); font: 800 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.article-side > strong { margin: 13px 0; display: block; font-size: 22px; line-height: 1.2; }
.article-side p { color: #cad2cc; font-size: 13px; }
.article-side a { color: var(--lime); font-size: 12px; font-weight: 900; }
.side-stop { margin-top: 26px; padding-top: 16px; border-top: 1px solid #657068; color: #ffad8d; font: 800 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.editor-note { margin: 48px 0 0; padding: 22px; border: 2px solid var(--ink); background: var(--mint); }
.editor-note p { margin-bottom: 0; }
.article-sources { margin-top: 55px; }
.article-sources ul { padding-left: 23px; }
.article-sources a { font-weight: 800; }
.article-faq { max-width: 900px; margin: auto; padding: 0 max(4vw, 22px); }
.policy-prose { max-width: 900px; margin: 70px auto 0; padding: 0 max(4vw, 22px); }
.policy-prose > section { padding-left: 0; }

.boundary-band { padding: 25px max(4vw, 22px); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: var(--orange-soft); }
.boundary-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--orange); font-weight: 900; }
.boundary-band p { margin: 2px 0 0; color: #71452f; font-size: 12px; }
.boundary-band a { font-size: 12px; font-weight: 900; }
.site-footer { padding: 70px max(4vw, 22px) 35px; color: #fff; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; }
.brand--footer { color: #fff; }
.footer-grid p { max-width: 590px; color: #bdc7bf; font-size: 13px; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.footer-grid nav a { color: #e6ece7; font-size: 13px; }
.copyright { margin-top: 50px; padding-top: 24px; border-top: 1px solid #58625a; color: #aab6ac; font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }

@media (max-width: 1120px) {
  .desktop-nav, .nav-actions { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; }
  .diagnostic { border-left: 0; border-top: 3px solid var(--ink); }
  .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topline { font-size: 8px; }
  .topline a { display: none; }
  .site-header { min-height: 66px; padding: 8px 15px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 35px; height: 35px; }
  .hero-shell { padding: 18px 10px 30px; }
  .hero { min-height: 0; box-shadow: 7px 7px 0 var(--orange); }
  .hero-copy { padding: 44px 22px; }
  .hero h1 { font-size: 49px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { display: grid; }
  .primary-button, .secondary-button { width: 100%; }
  .source-hold { grid-template-columns: auto auto; }
  .source-hold p { grid-column: 1 / -1; }
  .diagnostic { padding: 34px 22px; }
  .diagnostic li { padding: 22px 0; }
  .trust-strip { margin: 12px 10px 0; grid-template-columns: 1fr 1fr; }
  .legal-alert { margin: 34px 15px 0; padding: 18px; grid-template-columns: auto 1fr; box-shadow: 5px 5px 0 var(--ink); }
  .legal-alert a { grid-column: 2; }
  .section { padding: 80px 16px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2, .method-section h2 { font-size: 42px; }
  .task-grid { grid-template-columns: 1fr; }
  .task-card { min-height: 370px; }
  .method-section { margin: 0 9px 80px; padding: 44px 20px; grid-template-columns: 1fr; gap: 35px; box-shadow: 6px 6px 0 var(--orange); }
  .method-section ol { grid-template-columns: 1fr; }
  .source-table > div, .source-table > a { grid-template-columns: 1fr auto; gap: 5px 14px; }
  .source-table > a span { grid-column: 1; }
  .source-head span:last-child { display: none; }
  .page-hero { min-height: 340px; padding: 55px 16px; }
  .page-hero h1 { font-size: 50px; }
  .article-header { padding: 52px 16px 42px; }
  .article-header h1 { font-size: 46px; }
  .article-layout { padding: 55px 16px; grid-template-columns: 1fr; gap: 38px; }
  .prose > section { padding-left: 0; padding-top: 50px; }
  .step-no { top: 0; }
  .article-side { position: static; }
  .boundary-band { grid-template-columns: auto 1fr; }
  .boundary-band a { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid nav { grid-template-columns: 1fr; }
}

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