:root {
  --ink: #132017;
  --forest: #07140d;
  --forest-2: #10251a;
  --paper: #fffdf7;
  --warm: #f5f0e5;
  --mist: #e7eee5;
  --muted: #5d6a60;
  --orange: #ff6816;
  --orange-dark: #d74600;
  --green: #43cf46;
  --green-dark: #167c2c;
  --yellow: #ffd229;
  --line: rgba(19, 32, 23, 0.17);
  --line-light: rgba(255, 255, 255, 0.18);
  --display: "Avenir Next", "Arial Black", system-ui, sans-serif;
  --body: "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  color-scheme: light;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(19, 32, 23, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 32, 23, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--yellow); color: var(--forest); }
a { color: inherit; text-underline-offset: 0.2em; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 15px;
  background: var(--yellow);
  color: var(--forest);
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 16px auto 0;
  padding: 8px 10px 8px 17px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(67, 207, 70, 0.32);
  border-radius: 999px;
  background: rgba(7, 20, 13, 0.95);
  color: white;
  box-shadow: 0 18px 60px rgba(7, 20, 13, 0.16);
  backdrop-filter: blur(16px);
}
.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(255, 104, 22, 0.18));
}
.brand-note {
  color: #9daf9f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a {
  color: #bdc9bf;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--green); }
.site-header > .button { justify-self: end; }

.button {
  min-height: 50px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-small {
  min-height: 44px;
  padding: 11px 17px;
  border-color: rgba(255, 104, 22, 0.7);
  color: #ff9a5d;
  font-size: 12px;
}
.button-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 16px 36px rgba(255, 104, 22, 0.22);
}
.button-primary:hover { background: #ff7d35; }
.button-secondary { border-color: rgba(255,255,255,.42); color: white; }
.button-secondary:hover { border-color: var(--green); color: var(--green); }
.button-light { background: white; color: var(--forest); }
.button-light:hover { background: var(--yellow); }
.button-green { background: var(--green); color: var(--forest); }
.button-green:hover { background: #64e466; }
.text-link { color: var(--green); font-size: 14px; font-weight: 900; }
.text-link:hover { color: white; }

.eyebrow, .section-label, .kicker, .source-date, .tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow, .section-label, .kicker { color: var(--orange); }
.eyebrow, .section-label { margin-bottom: 18px; }

.hero {
  width: min(1280px, calc(100% - 32px));
  min-height: 680px;
  margin: 20px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  overflow: hidden;
  border: 1px solid rgba(67, 207, 70, 0.34);
  border-radius: 42px 14px 42px 42px;
  background:
    radial-gradient(circle at 77% 23%, rgba(67, 207, 70, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 90%, rgba(255, 104, 22, 0.13), transparent 24rem),
    var(--forest);
  color: white;
  box-shadow: 0 36px 100px rgba(7, 20, 13, 0.24);
}
.hero::before, .page-hero::before {
  content: "";
  width: 48%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  opacity: .16;
  background:
    linear-gradient(30deg, transparent 49.5%, rgba(255,255,255,.35) 50%, transparent 50.5%) 0 0 / 74px 74px,
    radial-gradient(circle, var(--green) 0 3px, transparent 4px) 0 0 / 74px 74px;
  mask-image: linear-gradient(to left, black, transparent);
}
.hero-copy {
  padding: clamp(46px, 5.4vw, 78px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 950;
  letter-spacing: -0.067em;
  line-height: 0.92;
}
h1 .accent { display: block; margin-top: 12px; color: var(--green); font-size: .58em; line-height: 1.05; }
.hero-lead {
  max-width: 64ch;
  margin-bottom: 28px;
  color: #c2cec5;
  font-size: clamp(17px, 1.55vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-disclosure {
  max-width: 69ch;
  margin: 24px 0 0;
  padding: 13px 16px;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 210, 41, 0.07);
  color: #aebbb1;
  font-size: 13px;
}
.hero-disclosure strong { color: white; }
.hero-art {
  min-width: 0;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-logo {
  width: min(94%, 600px);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 34px 45px rgba(0,0,0,.36));
  animation: float 7s ease-in-out infinite;
}
.route-orbit {
  width: 74%;
  aspect-ratio: 1;
  position: absolute;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 50%;
  transform: rotate(-17deg);
}
.route-orbit::before, .route-orbit::after {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  border: 4px solid var(--forest);
  border-radius: 50%;
  background: var(--yellow);
}
.route-orbit::before { top: 12%; left: 7%; }
.route-orbit::after { right: 7%; bottom: 12%; background: var(--green); }
@keyframes float { 50% { transform: translateY(-10px) rotate(1deg); } }

.notice-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--warm);
}
.notice-icon { color: var(--orange); font-family: var(--mono); font-weight: 900; }
.notice-strip p { max-width: 88ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.notice-strip strong { color: var(--ink); }
.source-domain {
  padding: .08em .34em;
  border-radius: .35em;
  background: rgba(67, 207, 70, .11);
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: .9em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.fact-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact-strip div { padding: 23px 28px; display: flex; flex-direction: column; gap: 3px; }
.fact-strip div + div { border-left: 1px solid var(--line); }
.fact-strip strong { color: var(--orange-dark); font-family: var(--display); font-size: 16px; }
.fact-strip span { color: var(--muted); font-size: 13px; }

.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 100px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading h2, .split-copy h2, .cta-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 61px);
  font-weight: 950;
  letter-spacing: -0.058em;
  line-height: .98;
}
.section-heading > p:last-child, .split-copy > p, .cta-panel p { color: var(--muted); line-height: 1.72; }
.section-heading strong, .split-copy strong { color: var(--ink); }
.section-compact { padding-top: 0; }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.route-card {
  min-height: 318px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px 8px 28px 28px;
  background: rgba(255,255,255,.72);
  text-decoration: none;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}
.route-card::after {
  content: attr(data-step);
  position: absolute;
  right: 14px;
  top: -28px;
  color: rgba(67, 207, 70, .11);
  font-family: var(--display);
  font-size: 130px;
  font-weight: 950;
  line-height: 1;
}
.route-card:hover { transform: translateY(-5px); border-color: var(--green); box-shadow: 0 25px 48px rgba(19,32,23,.09); }
.route-card .kicker { display: block; margin-bottom: 58px; position: relative; z-index: 1; }
.route-card h3 { margin-bottom: 12px; position: relative; z-index: 1; font-size: 25px; line-height: 1.05; }
.route-card p { position: relative; z-index: 1; color: var(--muted); font-size: 16px; line-height: 1.62; }
.route-card .card-link { margin-top: auto; position: relative; z-index: 1; color: var(--green-dark); font-weight: 900; }

.split-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(48px, 8vw, 110px); }
.split-copy { max-width: 72ch; }
.split-copy p + p { margin-top: 18px; }
.source-date { color: var(--green-dark) !important; }
.definition-list { margin: 0; border-top: 1px solid var(--line); }
.definition-list div { padding: 19px 0; border-bottom: 1px solid var(--line); }
.definition-list dt { color: var(--muted); font-size: 13px; }
.definition-list dd { margin: 5px 0 0; font-family: var(--display); font-size: 17px; line-height: 1.35; }

.steps, .check-list, .plain-list { margin: 0; padding: 0; list-style: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps li { min-height: 250px; padding: 28px 34px 20px 0; }
.steps li + li { padding-left: 34px; border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 48px; color: var(--orange); font-family: var(--mono); font-size: 12px; font-weight: 900; }
.steps h3, .check-list h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.18; }
.steps p, .check-list p { color: var(--muted); font-size: 16px; line-height: 1.65; }

.check-list { counter-reset: check; border-top: 1px solid var(--line); }
.check-list li {
  min-height: 120px;
  padding: 25px 0 25px 76px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.check-list li::before {
  counter-increment: check;
  content: counter(check, decimal-leading-zero);
  width: 48px;
  height: 48px;
  position: absolute;
  left: 0;
  top: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}
.check-list h3 { margin-bottom: 6px; }
.check-list p { margin: 0; max-width: 76ch; }

.decision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.decision-card {
  padding: 29px;
  border: 1px solid var(--line);
  background: white;
}
.decision-card:nth-child(1) { border-top: 5px solid var(--orange); }
.decision-card:nth-child(2) { border-top: 5px solid var(--green); }
.decision-card h3 { margin-bottom: 10px; font-size: 24px; }
.decision-card p { margin-bottom: 18px; color: var(--muted); line-height: 1.68; }
.decision-card .button { width: fit-content; }
.decision-card .button-secondary { border-color: var(--line); color: var(--ink); }
.decision-card .button-secondary:hover { border-color: var(--orange); color: var(--orange-dark); }

.cta-panel {
  min-height: 350px;
  padding: clamp(42px, 6vw, 74px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 46px;
  overflow: hidden;
  border: 1px solid var(--green);
  border-radius: 40px 40px 10px 40px;
  background:
    radial-gradient(circle at 90% 18%, rgba(67, 207, 70, .28), transparent 20rem),
    var(--forest);
  color: white;
}
.cta-panel::after {
  content: "P";
  position: absolute;
  right: .02em;
  top: -.25em;
  color: rgba(255,255,255,.045);
  font-family: var(--display);
  font-size: 360px;
  font-weight: 950;
  line-height: 1;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 740px; color: white; }
.cta-panel p { max-width: 70ch; color: #b9c8bd; }
.cta-panel .section-label { color: var(--orange); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  padding: 24px 48px 24px 0;
  position: relative;
  cursor: pointer;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.28;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 18px; color: var(--orange); font-size: 30px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 72ch; padding: 0 46px 24px 0; color: var(--muted); line-height: 1.72; }
.faq-list a { color: var(--green-dark); font-weight: 900; }

.page-hero {
  width: min(1280px, calc(100% - 32px));
  min-height: 540px;
  margin: 20px auto 0;
  padding: clamp(48px, 7vw, 88px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(67, 207, 70, 0.34);
  border-radius: 42px 14px 42px 42px;
  background: var(--forest);
  color: white;
}
.page-hero > div { max-width: 860px; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(48px, 7.2vw, 102px); }
.page-hero .hero-lead { margin-bottom: 0; }
.page-hero .tag-row { margin-bottom: 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 999px;
  color: #b9c8bd;
}
.tag-active { border-color: var(--orange); color: #ffa675; }

.contents {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.contents a { min-height: 98px; padding: 22px 25px; display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; }
.contents li + li { border-left: 1px solid var(--line); }
.contents span { color: var(--orange); font-family: var(--mono); font-size: 11px; }
.contents a:hover { background: var(--warm); }

.comparison { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.comparison th, .comparison td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.comparison td:first-child { font-family: var(--display); font-weight: 850; }
.comparison td { color: var(--muted); line-height: 1.58; }
.comparison td strong { color: var(--ink); }

.callout {
  padding: 28px;
  border-left: 5px solid var(--orange);
  background: var(--warm);
}
.callout-green { border-color: var(--green); }
.callout h3 { margin-bottom: 8px; font-size: 23px; }
.callout p { max-width: 64ch; line-height: 1.7; }
.callout p:last-child { margin-bottom: 0; color: var(--muted); }

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line);
}
.site-footer .brand { color: var(--ink); }
.site-footer .brand img { width: 40px; height: 40px; }
.site-footer p { max-width: 640px; margin: 0; color: var(--muted); font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; }
.footer-nav a { color: var(--muted); font-size: 12px; font-weight: 800; }
.footer-nav a:hover { color: var(--orange-dark); }

.not-found { min-height: calc(100vh - 40px); display: grid; place-items: center; padding: 24px; background: var(--forest); color: white; }
.not-found-card { width: min(680px, 100%); padding: 50px; border: 1px solid rgba(67,207,70,.4); border-radius: 36px 10px 36px 36px; background: var(--forest-2); }
.not-found-code { margin-bottom: 16px; color: var(--orange); font-family: var(--mono); font-size: 13px; font-weight: 900; }
.not-found h1 { margin-bottom: 18px; font-size: clamp(48px, 9vw, 90px); }
.not-found p { color: #b9c8bd; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; border-radius: 28px; }
  .header-nav { grid-column: 1 / -1; grid-row: 2; padding: 2px 4px 8px; overflow-x: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { min-height: 480px; border-top: 1px solid var(--line-light); }
  .hero::before { width: 100%; }
  .split-section { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .route-grid .route-card:last-child { grid-column: 1 / -1; }
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { width: calc(100% - 20px); margin-top: 10px; padding: 7px 8px 7px 12px; gap: 12px; }
  .brand { font-size: 14px; }
  .brand img { width: 42px; height: 42px; }
  .brand-note { display: none; }
  .site-header > .button { min-height: 42px; padding: 10px 13px; font-size: 11px; }
  .header-nav { gap: 18px; scrollbar-width: none; }
  .header-nav::-webkit-scrollbar { display: none; }
  .header-nav a { font-size: 12px; }
  .hero, .page-hero { width: calc(100% - 20px); margin-top: 12px; border-radius: 30px 8px 30px 30px; }
  .hero-copy { padding: 42px 25px 34px; }
  h1 { font-size: clamp(46px, 15vw, 70px); }
  h1 .accent { font-size: .61em; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .hero-art { min-height: 350px; }
  .hero-logo { width: min(95%, 390px); }
  .notice-strip { width: calc(100% - 20px); grid-template-columns: auto 1fr; }
  .fact-strip { width: calc(100% - 20px); grid-template-columns: 1fr; }
  .fact-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section { width: calc(100% - 32px); padding: 72px 0; }
  .section-heading h2, .split-copy h2, .cta-panel h2 { font-size: clamp(35px, 11vw, 50px); }
  .route-grid, .decision-grid { grid-template-columns: 1fr; }
  .route-grid .route-card:last-child { grid-column: auto; }
  .route-card { min-height: 275px; }
  .route-card .kicker { margin-bottom: 42px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; padding: 24px 0; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step-number { margin-bottom: 22px; }
  .cta-panel { width: calc(100% - 20px); min-height: 420px; padding: 38px 24px; border-radius: 30px 30px 8px 30px; }
  .cta-panel .button { width: 100%; }
  .page-hero { min-height: 480px; padding: 42px 24px; }
  .page-hero h1 { font-size: clamp(45px, 15vw, 72px); }
  .contents { grid-template-columns: 1fr; }
  .contents li + li { border-left: 0; border-top: 1px solid var(--line); }
  .contents a { min-height: 76px; padding: 17px 12px; }
  .comparison { display: block; overflow-x: auto; white-space: normal; }
  .comparison th, .comparison td { min-width: 165px; }
  .site-footer { width: calc(100% - 32px); gap: 20px; }
  .not-found-card { padding: 34px 24px; }
}

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