:root {
  --ink: #111418;
  --ink-2: #1b2026;
  --paper: #f4f1eb;
  --white: #fff;
  --muted: #6f7378;
  --line: #d9d6d0;
  --red: #d71920;
  --red-dark: #9f1016;
  --soft-red: #f8e5e5;
  --shadow: 0 24px 70px rgba(17, 20, 24, .14);
  --radius: 18px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-180%); padding: 10px 16px; background: var(--white); color: var(--ink); }
.skip-link:focus { transform: none; }
.canada-line { height: 4px; background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--red) 66%); }

.site-header { position: relative; z-index: 20; color: #fff; background: rgba(17,20,24,.97); border-bottom: 1px solid rgba(255,255,255,.1); }
.header-row { min-height: 102px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 260px; text-decoration: none; }
.brand img { width: 112px; height: auto; padding: 6px 8px; background: #f4f1eb; filter: drop-shadow(0 5px 18px rgba(0,0,0,.25)); }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-size: 12px; letter-spacing: .15em; }
.brand small { margin-top: 5px; color: #aeb3ba; font-size: 10px; letter-spacing: .04em; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; }
.desktop-nav a { min-width: 88px; padding: 12px 10px; color: #d4d7da; text-decoration: none; text-align: center; font-size: 12px; line-height: 1.25; border-left: 1px solid rgba(255,255,255,.1); transition: color .2s, background .2s; }
.desktop-nav a span { display: block; margin-bottom: 3px; color: #777f87; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.desktop-nav a[aria-current="page"] span { color: #ff6970; }
.header-cta { display: flex; align-items: center; gap: 16px; padding: 14px 17px; color: #fff; background: var(--red); text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: background .2s, transform .2s; }
.header-cta:hover { background: #ee262d; transform: translateY(-2px); }
.header-cta b { font-size: 18px; }
.mobile-nav { display: none; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 36%, rgba(215,25,32,.21), transparent 27%), linear-gradient(115deg, transparent 54%, rgba(255,255,255,.025) 54% 54.2%, transparent 54.2%); }
.map-grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.19) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.19) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, #000, transparent 82%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(330px,.65fr); align-items: center; gap: 76px; min-height: 650px; padding-block: 90px; }
.eyebrow { margin: 0 0 18px; color: #8d939a; font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { color: var(--red); }
.hero h1, .plain-hero h1, .error-page h1 { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.2vw, 82px); line-height: .99; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; }
.hero-lead { max-width: 710px; margin: 28px 0 0; color: #c7cbd0; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 23px; text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { position: relative; color: #fff; background: var(--red); box-shadow: 0 14px 40px rgba(215,25,32,.25); }
.button-primary:hover { background: #ed262d; }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.25); }
.button-secondary:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.5); }
.pulse::after { content: ""; position: absolute; inset: -1px; border: 1px solid rgba(255,84,90,.7); animation: routePulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes routePulse { 0% { opacity: .8; transform: scale(1); } 70%,100% { opacity: 0; transform: scale(1.09,1.28); } }
.microcopy { margin: 17px 0 0; color: #777e86; font: 600 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .045em; text-transform: uppercase; }

.route-dossier { position: relative; padding: 26px; background: #f6f3ed; color: var(--ink); box-shadow: 18px 22px 0 rgba(255,255,255,.045), var(--shadow); transform: rotate(1.2deg); }
.route-dossier::before { content: ""; position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border: 2px solid rgba(215,25,32,.35); border-radius: 50%; }
.dossier-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.dossier-head b { color: var(--red); }
.dossier-logo { margin: 27px 0 25px; padding: 18px 15px 14px; background: #fff; border: 1px solid #e0dcd5; box-shadow: 0 10px 24px rgba(17,20,24,.08); }
.dossier-logo img { width: min(100%, 210px); height: auto; margin: 0 auto 12px; }
.dossier-logo span { display: block; color: var(--red); font: 800 9px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; text-align: center; }
.route-dossier dl { margin: 0; border-top: 1px solid var(--line); }
.route-dossier dl div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.route-dossier dt { color: var(--muted); font: 700 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.route-dossier dd { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.45; }

.answer-band { color: #fff; background: var(--red); }
.answer-band .shell { display: grid; grid-template-columns: 145px 1fr; gap: 36px; align-items: center; min-height: 116px; padding-block: 24px; }
.answer-band span { font: 800 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.answer-band p { margin: 0; font-size: 17px; line-height: 1.55; }

.registry, .evidence, .faq { padding-block: 110px; }
.section-head { max-width: 760px; margin-bottom: 50px; }
.section-head h2, .split h2, .final-row h2, .article-main h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 56px); line-height: 1.08; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.section-head > p:last-child, .split > div > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.task-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 50px rgba(17,20,24,.06); }
.task-card { min-height: 285px; display: flex; flex-direction: column; padding: 28px; text-decoration: none; border-right: 1px solid var(--line); transition: transform .24s, background .24s, color .24s; }
.task-card:last-child { border-right: 0; }
.task-card > span { color: var(--red); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.task-card h3 { margin: 46px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.1; font-weight: 500; }
.task-card p { margin: 0; color: var(--muted); font-size: 14px; }
.task-card b { margin-top: auto; padding-top: 26px; color: var(--red); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.task-card:hover { position: relative; z-index: 2; color: #fff; background: var(--ink); transform: translateY(-8px); }
.task-card:hover p { color: #bfc3c7; }

.jurisdiction { padding-block: 110px; color: #fff; background: var(--ink-2); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.boundary-list { border-top: 1px solid rgba(255,255,255,.15); }
.boundary-list article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.boundary-list article > span { color: var(--red); font: 800 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.boundary-list h3 { margin: 0 0 7px; font-size: 16px; }
.boundary-list p { margin: 0; color: #9ca2a8; font-size: 14px; }
.term-ledger { display: grid; grid-template-columns: repeat(4,1fr); color: #fff; background: var(--ink); }
.term-ledger > div { min-height: 185px; display: flex; flex-direction: column; padding: 26px; border-right: 1px solid rgba(255,255,255,.12); }
.term-ledger > div:last-child { border: 0; }
.term-ledger span { color: #7c838a; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.term-ledger b { margin-top: auto; font: 500 24px/1.15 Georgia, serif; }
.term-ledger small { margin-top: 9px; color: #91979d; }
.faq { padding-top: 20px; }
.faq-list { max-width: 920px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 25px 44px 25px 0; list-style: none; font: 500 22px/1.3 Georgia, serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--red); font: 400 26px/1 sans-serif; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 760px; margin: -5px 0 27px; color: var(--muted); }
.faq details a, .article-main a, .policy a { color: var(--red-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 88px; align-items: start; padding-block: 105px; }
.article-main { max-width: 760px; }
.article-main .kicker { margin: 0 0 28px; color: var(--red); font: 800 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.article-main h2 { margin-top: 58px; font-size: clamp(32px, 3.5vw, 47px); }
.article-main > h2:first-of-type { margin-top: 0; }
.article-main > p { font-size: 17px; color: #4e5358; }
.article-main > p + p { margin-top: 22px; }
.article-aside { position: sticky; top: 30px; background: var(--white); border-top: 4px solid var(--red); box-shadow: 0 18px 54px rgba(17,20,24,.08); }
.article-aside > span { display: block; padding: 18px 22px 15px; color: var(--muted); font: 800 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.article-aside > a { display: block; padding: 19px 22px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.article-aside > a:hover { color: #fff; background: var(--ink); }
.article-aside > a b, .article-aside > a small { display: block; }
.article-aside > a b { font-size: 14px; }
.article-aside > a small { margin-top: 5px; color: var(--red); font-size: 10px; text-transform: uppercase; }
.aside-note { padding: 22px; }
.aside-note b { font-size: 12px; text-transform: uppercase; }
.aside-note p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.notice { margin: 38px 0; padding: 24px 26px; background: var(--soft-red); border-left: 4px solid var(--red); }
.notice b { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.notice p { margin: 7px 0 0; color: #5f4b4c; }
.steps { padding: 0; margin: 30px 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--red); font: 800 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps h3 { margin: 0 0 5px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); }
.steps-large li { padding-block: 29px; }
.check-grid, .method-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin: 32px 0; background: var(--line); border: 1px solid var(--line); }
.check-grid article, .method-grid article { padding: 25px; background: var(--white); }
.check-grid span, .method-grid span { color: var(--red); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.check-grid h3, .method-grid h3 { margin: 28px 0 7px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.check-grid p, .method-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.final-band { padding-block: 78px; color: #fff; background: var(--red); }
.final-row { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.final-row .eyebrow, .final-row .eyebrow span { color: #fff; opacity: .76; }
.final-row h2 { max-width: 720px; }
.final-row p:last-child { margin: 15px 0 0; color: #ffd7d9; }
.final-row .button-primary { background: var(--ink); box-shadow: none; }
.final-row .button-primary:hover { background: #282d33; }

.site-footer { color: #c3c7ca; background: #0a0c0f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 62px; padding-block: 72px; }
.footer-brand img { width: 130px; filter: brightness(0) invert(1); opacity: .85; }
.footer-brand p { max-width: 300px; margin: 20px 0 0; color: #737a81; font-size: 13px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid > div > span { margin-bottom: 8px; color: #737a81; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { color: #c3c7ca; text-decoration: none; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-cta { color: #ff6268 !important; font-weight: 800; }
.footer-grid p { margin: 7px 0 0; color: #656c73; font-size: 11px; }
.footer-base { display: flex; justify-content: space-between; padding-block: 20px; color: #525960; border-top: 1px solid rgba(255,255,255,.08); font: 700 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }

.plain-hero { padding-block: 95px; color: #fff; background: var(--ink); }
.plain-hero h1 { font-size: clamp(44px, 5vw, 68px); }
.plain-hero p:last-child { max-width: 700px; color: #abb0b5; font-size: 18px; }
.policy { max-width: 800px; padding-block: 85px; }
.policy h2 { margin-top: 42px; font: 500 31px/1.2 Georgia, serif; }
.policy p { color: #50555a; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding-block: 60px; color: #fff; background: var(--ink); }
.error-page span { color: var(--red); font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.error-page h1 { max-width: 880px; margin-top: 22px; }
.error-page p { color: #aab0b5; font-size: 18px; }

.js .reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .mobile-nav { display: flex; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a { flex: 1 0 115px; padding: 12px; color: #b8bdc2; text-align: center; text-decoration: none; font-size: 11px; border-right: 1px solid rgba(255,255,255,.1); }
  .mobile-nav a span { margin-right: 6px; color: #6f777e; font: 700 8px/1 ui-monospace, monospace; }
  .mobile-nav a[aria-current="page"] { color: #fff; background: var(--red); }
  .mobile-nav a[aria-current="page"] span { color: #ffdadd; }
  .hero-grid { grid-template-columns: minmax(0,1fr) 330px; gap: 46px; }
  .task-grid, .term-ledger { grid-template-columns: repeat(2,1fr); }
  .task-card:nth-child(2) { border-right: 0; }
  .task-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .term-ledger > div:nth-child(2) { border-right: 0; }
  .term-ledger > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 30px, 1180px); }
  .header-row { min-height: 84px; gap: 12px; }
  .brand { min-width: 0; gap: 9px; }
  .brand img { width: 82px; }
  .brand strong { font-size: 9px; }
  .brand small { display: none; }
  .header-cta { gap: 7px; padding: 11px 12px; font-size: 10px; white-space: nowrap; }
  .header-cta b { font-size: 14px; }
  .hero-grid { display: block; min-height: auto; padding-block: 70px; }
  .hero h1 { font-size: clamp(43px, 13.7vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .route-dossier { margin: 58px 7px 5px; transform: rotate(.7deg); }
  .answer-band .shell { display: block; min-height: 0; padding-block: 26px; }
  .answer-band span { display: block; margin-bottom: 10px; }
  .answer-band p { font-size: 15px; }
  .registry, .evidence, .faq { padding-block: 76px; }
  .section-head { margin-bottom: 35px; }
  .section-head h2, .split h2, .final-row h2, .article-main h2 { font-size: clamp(33px, 10vw, 45px); }
  .task-grid, .term-ledger, .split, .article, .final-row, .footer-grid { grid-template-columns: 1fr; }
  .task-card { min-height: 245px; border-right: 0; border-bottom: 1px solid var(--line); }
  .task-card:last-child { border-bottom: 0; }
  .jurisdiction { padding-block: 76px; }
  .split { gap: 50px; }
  .term-ledger > div { min-height: 155px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .term-ledger > div:last-child { border-bottom: 0; }
  .article { gap: 55px; padding-block: 74px; }
  .article-aside { position: static; }
  .check-grid, .method-grid { grid-template-columns: 1fr; }
  .final-row { gap: 30px; }
  .footer-grid { gap: 38px; padding-block: 55px; }
  .footer-base { display: grid; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
