:root {
  color-scheme: light;
  --ink: #1d2930;
  --muted: #65727b;
  --line: #d4ded9;
  --paper: #ffffff;
  --canvas: #f4f8f7;
  --soft: #eaf4ef;
  --sage: #3f755d;
  --blue: #2d6077;
  --amber: #b47a24;
  --graphite: #132027;
  --shadow: 0 18px 42px rgba(29, 45, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(45, 96, 119, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(63, 117, 93, 0.05) 1px, transparent 1px),
    var(--canvas);
  background-size: 42px 42px;
  font-family: "Segoe UI", Arial, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.62;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(212, 222, 217, 0.95);
  backdrop-filter: blur(14px);
}

.site-header.inner {
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 2px solid var(--blue);
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 47%, var(--blue) 47% 53%, transparent 53%),
    linear-gradient(180deg, transparent 47%, var(--blue) 47% 53%, transparent 53%),
    #ffffff;
  box-shadow: inset 0 -5px 0 rgba(180, 122, 36, 0.2);
}

.brand-title,
.brand-caption {
  display: block;
}

.brand-title {
  font-weight: 850;
  line-height: 1.05;
}

.brand-caption {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #33434b;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  border-color: rgba(63, 117, 93, 0.22);
  background: #edf6f1;
  outline: none;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #ffffff;
  background: var(--graphite);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 28, 35, 0.94), rgba(17, 45, 48, 0.76) 44%, rgba(17, 45, 48, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 18, 23, 0.2), rgba(10, 18, 23, 0.78));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(28px, 6vw, 72px);
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  align-items: center;
  margin: 0 auto;
  padding: 72px 0 86px;
}

.hero-content {
  max-width: 760px;
  border-left: 6px solid var(--amber);
  padding-left: clamp(18px, 3vw, 30px);
}

.eyebrow,
.section-kicker,
.measure-kicker,
.tile-label {
  margin: 0 0 14px;
  color: #8ed1a9;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: 3.75rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 2.28rem;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: #071015;
  background: #f2bf52;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-measure {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hero-measure strong {
  display: block;
  margin-bottom: 16px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.hero-measure ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-measure li {
  padding: 10px 0 10px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(90deg, #f2bf52 0 14px, transparent 14px) 0 50% / 18px 2px no-repeat;
}

.topic-board {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.topic-board a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 820;
  text-decoration: none;
}

.topic-board a:last-child {
  border-right: 0;
}

.topic-board a:hover,
.topic-board a:focus-visible {
  background: #eef6f1;
  outline: none;
}

.topic-board span {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.section,
.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.intro {
  padding-top: 76px;
}

.section-lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-note {
  color: var(--muted);
}

.route-grid,
.scenario-grid,
.article-grid,
.related-grid {
  display: grid;
  gap: 18px;
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

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

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

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

.guide-tile,
.scenario-grid article,
.article-card,
.related-card,
.content-card,
.checklist,
.notice {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(27, 39, 45, 0.07);
}

.guide-tile,
.scenario-grid article,
.article-card,
.related-card,
.content-card {
  padding: 22px;
}

.guide-tile {
  min-height: 280px;
  border-top: 5px solid var(--sage);
}

.tile-label {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--amber);
}

.linked-card {
  display: flex;
  flex-direction: column;
}

.linked-card a,
.section-note a,
.crumbs a,
.body-copy a {
  color: var(--blue);
  font-weight: 820;
}

.linked-card a {
  margin-top: auto;
  padding-top: 18px;
  text-decoration: none;
}

.linked-card a:hover,
.section-note a:hover,
.crumbs a:hover,
.body-copy a:hover {
  text-decoration: underline;
}

.spec-band {
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(90deg, rgba(45, 96, 119, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 96, 119, 0.08) 1px, transparent 1px),
    #eef5f3;
  background-size: 28px 28px;
}

.comparison {
  overflow: hidden;
  border: 1px solid #c5d4cf;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 1.4fr;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row span:first-child {
  font-weight: 850;
}

.comparison-head {
  color: #ffffff;
  background: #21333b;
  font-weight: 850;
}

.measure-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 36px;
  align-items: start;
}

.checklist {
  margin: 0;
  padding: 22px 22px 22px 46px;
  background: #fffaf0;
  border-color: #ead7ae;
}

.checklist li + li {
  margin-top: 12px;
}

.page-hero {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(19, 32, 39, 0.98), rgba(45, 96, 119, 0.88)),
    #132027;
}

.page-hero .page-shell {
  padding: 76px 0 72px;
}

.crumbs {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.crumbs a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.body-copy {
  padding: 72px 0 92px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-card h2 {
  font-size: 1.72rem;
}

.content-card p:last-child,
.content-card ul:last-child {
  margin-bottom: 0;
}

.content-card ul {
  padding-left: 22px;
}

.content-card li + li {
  margin-top: 8px;
}

.aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.notice {
  padding: 18px;
  color: #33414a;
  background: #fffaf0;
  border-color: #ead7ae;
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  color: #66440e;
}

.toc {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--blue);
  font-weight: 760;
  text-decoration: none;
}

.related {
  padding-top: 38px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px clamp(20px, 5vw, 64px);
  color: #42525a;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-inner a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 720px;
    padding-top: 64px;
  }

  .hero-measure {
    max-width: 520px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .topic-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-board a {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .route-grid,
  .scenario-grid,
  .article-grid,
  .related-grid,
  .measure-panel,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-grid {
    width: calc(100% - 32px);
    min-height: 760px;
    padding: 42px 0 70px;
  }

  .hero-content {
    padding-left: 16px;
  }

  h1 {
    font-size: 2.36rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .topic-board {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    margin-top: -32px;
  }

  .topic-board a {
    min-height: auto;
    border-right: 0;
  }

  .section,
  .body-copy {
    width: calc(100% - 32px);
    padding: 62px 0;
  }

  .spec-band {
    padding: 62px 16px;
  }

  .comparison {
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 680px;
  }

  .page-hero .page-shell {
    padding: 52px 0;
  }
}
