:root {
  --hna-ink: #142433;
  --hna-muted: #556674;
  --hna-navy: #082d47;
  --hna-navy-deep: #041f33;
  --hna-teal: #087d78;
  --hna-teal-dark: #075e5d;
  --hna-mint: #dff5ef;
  --hna-sky: #e9f3f8;
  --hna-amber: #f0a638;
  --hna-amber-soft: #fff3d8;
  --hna-red: #a9473d;
  --hna-red-soft: #fff0ed;
  --hna-green: #1e704f;
  --hna-green-soft: #edf8f2;
  --hna-paper: #fbfcfd;
  --hna-line: #cfdae1;
}

.hna-page {
  color: var(--hna-ink);
  background: #fff;
  line-height: 1.72;
  scroll-behavior: smooth;
}

.hna-page *,
.hna-page *::before,
.hna-page *::after {
  box-sizing: border-box;
}

.hna-page a {
  color: #075d77;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.hna-page a:hover {
  color: #033e54;
}

.hna-page a:focus-visible,
.hna-page summary:focus-visible {
  outline: 3px solid var(--hna-amber);
  outline-offset: 4px;
}

.hna-page .wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hna-page .hna-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(56, 190, 174, 0.22), transparent 24rem),
    linear-gradient(132deg, var(--hna-navy-deep) 0%, #074867 58%, #087d78 120%);
}

.hna-page .hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
}

.hna-page .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hna-page .hna-hero::before,
.hna-page .hna-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hna-page .hna-hero::before {
  background:
    linear-gradient(90deg, rgba(4, 31, 51, 0.99) 0%, rgba(4, 31, 51, 0.93) 34%, rgba(4, 31, 51, 0.79) 56%, rgba(4, 31, 51, 0.54) 78%, rgba(4, 31, 51, 0.4) 100%),
    linear-gradient(180deg, rgba(4, 31, 51, 0.12), rgba(4, 31, 51, 0.34));
}

.hna-page .hna-hero::after {
  background:
    radial-gradient(circle at 82% 15%, rgba(240, 166, 56, 0.13), transparent 32rem),
    linear-gradient(180deg, transparent 68%, rgba(4, 31, 51, 0.26));
}

.hna-page .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 650px;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hna-page .eyebrow,
.hna-page .kicker {
  display: inline-block;
  color: #9fe3d8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hna-page .hna-hero h1 {
  max-width: 850px;
  margin: 0.55rem 0 1.35rem;
  color: #fff;
  font-size: clamp(2.75rem, 6.2vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hna-page .dek {
  max-width: 780px;
  margin: 0;
  color: #e9f7f7;
  font-size: clamp(1.1rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.hna-page .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin-top: 1.35rem;
  color: #cde6eb;
  font-size: 0.88rem;
  font-weight: 700;
}

.hna-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hna-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  color: #112a37;
  background: var(--hna-amber);
  border: 2px solid var(--hna-amber);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.hna-page .button:hover {
  color: #112a37;
  background: #ffc061;
  border-color: #ffc061;
  text-decoration: none;
}

.hna-page .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.68);
}

.hna-page .button.secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border-color: #fff;
}

.hna-page .evidence-path {
  position: relative;
  padding: 1.2rem;
  background: rgba(2, 26, 42, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 16, 27, 0.3);
  backdrop-filter: blur(8px);
}

.hna-page .evidence-path > strong {
  display: block;
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.05rem;
}

.hna-page .evidence-path ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hna-page .evidence-path li {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 3.3rem;
  padding: 0.58rem 0.72rem;
  color: #e9f7f7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  font-weight: 800;
}

.hna-page .evidence-path b {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--hna-navy-deep);
  background: #9fe3d8;
  border-radius: 50%;
  font-size: 0.78rem;
}

.hna-page .evidence-path .path-result {
  margin: 0.85rem 0 0;
  padding: 0.85rem 0.9rem;
  color: #1b2d36;
  background: var(--hna-amber);
  border-radius: 9px;
  font-weight: 900;
}

.hna-page .hero-note {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 2rem));
  margin: -2.7rem auto 0;
  padding: 1.25rem 1.4rem;
  color: #173141;
  background: #fff;
  border: 1px solid var(--hna-line);
  border-left: 6px solid var(--hna-amber);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(10, 43, 63, 0.14);
}

.hna-page .hero-note strong {
  display: block;
  color: var(--hna-navy);
}

.hna-page .layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-top: 5.6rem;
  padding-bottom: 5rem;
}

.hna-page .article {
  min-width: 0;
}

.hna-page .chapter,
.hna-page .inline-toc {
  scroll-margin-top: 7.5rem;
}

.hna-page .chapter {
  padding: 0 0 4.4rem;
}

.hna-page .chapter + .chapter {
  padding-top: 0.4rem;
}

.hna-page .chapter h2 {
  max-width: 900px;
  margin: 0.32rem 0 1rem;
  color: var(--hna-navy);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hna-page .chapter h3 {
  margin: 2rem 0 0.65rem;
  color: #123d54;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  line-height: 1.25;
}

.hna-page .chapter h4 {
  margin: 1.45rem 0 0.4rem;
  color: #184a60;
  font-size: 1.08rem;
}

.hna-page .chapter p,
.hna-page .chapter li {
  max-width: 880px;
}

.hna-page .lead {
  color: #2d4654;
  font-size: 1.17rem;
  line-height: 1.7;
}

.hna-page .definition {
  margin: 1.4rem 0;
  padding: 1.25rem 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--hna-navy), #0d5f6b);
  border-radius: 10px;
  font-size: 1.08rem;
}

.hna-page .source {
  font-weight: 800;
}

.hna-page .source::after {
  margin-left: 0.18em;
  content: "↗";
  font-size: 0.78em;
}

.hna-page .inline-toc {
  margin: 0 0 4rem;
  padding: 1.45rem 1.55rem;
  background: var(--hna-sky);
  border: 1px solid var(--hna-line);
  border-top: 6px solid var(--hna-teal);
  border-radius: 10px;
}

.hna-page .inline-toc h2 {
  margin: 0;
  color: var(--hna-navy);
  font-size: 1.5rem;
}

.hna-page .inline-toc > p {
  margin: 0.2rem 0 1rem;
  color: var(--hna-muted);
}

.hna-page .inline-toc ol {
  margin: 0;
  padding-left: 1.3rem;
  columns: 3;
  column-gap: 2rem;
  font-size: 0.91rem;
}

.hna-page .inline-toc li {
  padding: 0.16rem 0;
  break-inside: avoid;
}

.hna-page .inline-toc a {
  text-decoration: none;
}

.hna-page .toc {
  position: sticky;
  top: 6.6rem;
  padding: 1rem;
  background: var(--hna-paper);
  border: 1px solid var(--hna-line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(8, 45, 71, 0.07);
}

.hna-page .toc strong {
  color: var(--hna-navy);
  font-size: 1rem;
}

.hna-page .toc p {
  margin: 0.15rem 0 0.6rem;
  color: var(--hna-muted);
  font-size: 0.78rem;
}

.hna-page .toc ol {
  max-height: calc(100vh - 14rem);
  margin: 0;
  padding-left: 1.25rem;
  overflow: auto;
  font-size: 0.78rem;
  line-height: 1.35;
  scrollbar-gutter: stable;
}

.hna-page .toc li {
  padding: 0.16rem 0;
}

.hna-page .toc a {
  text-decoration: none;
}

.hna-page .toc .top-link {
  display: block;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--hna-line);
  font-weight: 900;
}

.hna-page .cards,
.hna-page .method-grid,
.hna-page .sector-grid,
.hna-page .deliverables,
.hna-page .failure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.35rem 0;
}

.hna-page .card,
.hna-page .method,
.hna-page .sector,
.hna-page .deliverable,
.hna-page .failure {
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--hna-line);
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(8, 45, 71, 0.05);
}

.hna-page .card h3,
.hna-page .method h3,
.hna-page .sector h3,
.hna-page .deliverable h3,
.hna-page .failure h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.hna-page .card p:last-child,
.hna-page .method p:last-child,
.hna-page .sector p:last-child,
.hna-page .deliverable p:last-child,
.hna-page .failure p:last-child {
  margin-bottom: 0;
}

.hna-page .decision-gate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.hna-page .decision-side {
  padding: 1.25rem;
  border: 1px solid;
  border-radius: 10px;
}

.hna-page .decision-side.go {
  background: var(--hna-green-soft);
  border-color: #afd6bf;
}

.hna-page .decision-side.stop {
  background: var(--hna-red-soft);
  border-color: #e3b8b0;
}

.hna-page .decision-side h3 {
  margin-top: 0;
}

.hna-page .decision-side.go h3 {
  color: var(--hna-green);
}

.hna-page .decision-side.stop h3 {
  color: var(--hna-red);
}

.hna-page .process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.hna-page .process-grid li {
  position: relative;
  min-height: 10rem;
  padding: 1rem;
  background: var(--hna-paper);
  border: 1px solid var(--hna-line);
  border-top: 5px solid var(--hna-teal);
  border-radius: 8px;
}

.hna-page .process-grid b {
  display: block;
  color: var(--hna-teal-dark);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hna-page .process-grid strong {
  display: block;
  margin: 0.3rem 0 0.35rem;
  color: var(--hna-navy);
  font-size: 1.05rem;
  line-height: 1.28;
}

.hna-page .process-grid span {
  color: var(--hna-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hna-page .callout {
  margin: 1.4rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--hna-amber-soft);
  border: 1px solid #e9ca8f;
  border-left: 6px solid var(--hna-amber);
  border-radius: 8px;
}

.hna-page .callout strong {
  color: #65400b;
}

.hna-page .callout.danger {
  background: var(--hna-red-soft);
  border-color: #dfb5ad;
  border-left-color: var(--hna-red);
}

.hna-page .callout.danger strong {
  color: #7f302b;
}

.hna-page .callout.safe {
  background: var(--hna-green-soft);
  border-color: #b4d9c4;
  border-left-color: var(--hna-green);
}

.hna-page .callout.safe strong {
  color: var(--hna-green);
}

.hna-page .table-wrap {
  max-width: 100%;
  margin: 1.4rem 0;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--hna-line);
  border-radius: 9px;
}

.hna-page table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.91rem;
  line-height: 1.5;
}

.hna-page caption {
  padding: 0.8rem;
  color: var(--hna-navy);
  font-weight: 900;
  text-align: left;
}

.hna-page th,
.hna-page td {
  padding: 0.78rem 0.82rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hna-line);
}

.hna-page th {
  color: #12384f;
  background: var(--hna-sky);
}

.hna-page tr:last-child td {
  border-bottom: 0;
}

.hna-page .checklist,
.hna-page .plain-list {
  padding-left: 0;
  list-style: none;
}

.hna-page .checklist li {
  position: relative;
  padding: 0.27rem 0 0.27rem 1.65rem;
}

.hna-page .checklist li::before {
  position: absolute;
  left: 0.1rem;
  color: var(--hna-green);
  content: "✓";
  font-weight: 900;
}

.hna-page .plain-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #e7edf0;
}

.hna-page .plain-list li:last-child {
  border-bottom: 0;
}

.hna-page .formula {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  color: #fff;
  background: var(--hna-navy);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.hna-page .evidence-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.4rem 0;
}

.hna-page .evidence-ladder div {
  padding: 0.9rem;
  background: var(--hna-sky);
  border: 1px solid var(--hna-line);
  border-radius: 8px;
}

.hna-page .evidence-ladder b {
  display: block;
  color: var(--hna-teal-dark);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hna-page .evidence-ladder span {
  display: block;
  margin-top: 0.2rem;
  color: var(--hna-navy);
  font-weight: 850;
}

.hna-page .field-pack {
  margin: 1.5rem 0;
  padding: 1.4rem;
  color: #eef8f7;
  background: linear-gradient(145deg, var(--hna-navy-deep), #075c68);
  border-radius: 12px;
}

.hna-page .field-pack h3,
.hna-page .field-pack h4 {
  color: #fff;
}

.hna-page .field-pack h3 {
  margin-top: 0;
}

.hna-page .field-pack p,
.hna-page .field-pack li {
  color: #eef8f7;
}

.hna-page .field-pack .checklist li::before {
  color: #9fe3d8;
}

.hna-page .glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.2rem;
  margin: 1.3rem 0;
}

.hna-page .glossary div {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--hna-line);
}

.hna-page .glossary dt {
  color: var(--hna-navy);
  font-weight: 900;
}

.hna-page .glossary dd {
  margin: 0.12rem 0 0;
  color: var(--hna-muted);
}

.hna-page .faq details {
  margin: 0.65rem 0;
  background: #fff;
  border: 1px solid var(--hna-line);
  border-radius: 8px;
}

.hna-page .faq summary {
  padding: 0.95rem 1.05rem;
  color: var(--hna-navy);
  cursor: pointer;
  font-weight: 900;
}

.hna-page .faq details > div {
  padding: 0 1.05rem 1rem;
}

.hna-page .faq details[open] summary {
  border-bottom: 1px solid var(--hna-line);
}

.hna-page .section-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px dashed #aebdc6;
  font-size: 0.88rem;
  font-weight: 900;
}

.hna-page .section-nav a {
  text-decoration: none;
}

.hna-page .byline {
  margin-top: 2rem;
  padding: 1.2rem;
  background: var(--hna-paper);
  border: 1px solid var(--hna-line);
  border-radius: 8px;
  font-size: 0.91rem;
}

.hna-page .reference-groups {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.hna-page .reference-group {
  padding: 1.1rem 1.2rem;
  background: var(--hna-paper);
  border: 1px solid var(--hna-line);
  border-radius: 8px;
}

.hna-page .reference-group h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.hna-page .reference-group ul {
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  .hna-page .layout {
    grid-template-columns: 1fr;
  }

  .hna-page .sidebar {
    display: none;
  }

  .hna-page .inline-toc ol {
    columns: 2;
  }
}

@media (max-width: 780px) {
  .hna-page .hero-media img {
    object-position: 64% center;
  }

  .hna-page .hna-hero::before {
    background:
      linear-gradient(100deg, rgba(4, 31, 51, 0.97) 0%, rgba(4, 31, 51, 0.88) 50%, rgba(4, 31, 51, 0.67) 100%),
      linear-gradient(180deg, rgba(4, 31, 51, 0.08), rgba(4, 31, 51, 0.42));
  }

  .hna-page .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4.5rem 0 6rem;
  }

  .hna-page .evidence-path {
    max-width: 34rem;
  }

  .hna-page .cards,
  .hna-page .method-grid,
  .hna-page .sector-grid,
  .hna-page .deliverables,
  .hna-page .failure-grid,
  .hna-page .decision-gate,
  .hna-page .glossary {
    grid-template-columns: 1fr;
  }

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

  .hna-page .evidence-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .breadcrumbs__list {
    flex-flow: row wrap;
    overflow-x: visible;
    white-space: normal;
  }

  .breadcrumbs__item {
    flex: 0 1 auto;
    white-space: normal;
  }

  .hna-page .wrap {
    width: min(100% - 1.25rem, 1180px);
  }

  .hna-page .hero-media img {
    object-position: 68% center;
  }

  .hna-page .hna-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .hna-page .hero-note {
    width: calc(100% - 1.25rem);
  }

  .hna-page .inline-toc ol {
    columns: 1;
  }

  .hna-page .process-grid,
  .hna-page .evidence-ladder {
    grid-template-columns: 1fr;
  }

  .hna-page .section-nav {
    flex-direction: column;
  }
}

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

@media print {
  .site-header,
  .breadcrumbs,
  .site-footer,
  .linkedin-prompt,
  .newsletter-section,
  .hna-page .hero-media,
  .hna-page .hero-actions,
  .hna-page .sidebar,
  .hna-page .section-nav {
    display: none !important;
  }

  .hna-page {
    color: #000;
    font-size: 10pt;
  }

  .hna-page .hna-hero {
    color: #000;
    background: #fff;
    border-bottom: 2px solid #000;
  }

  .hna-page .hna-hero::before,
  .hna-page .hna-hero::after {
    display: none;
  }

  .hna-page .hero-grid {
    display: block;
    min-height: auto;
    padding: 1rem 0;
  }

  .hna-page .hna-hero h1,
  .hna-page .dek,
  .hna-page .hero-meta,
  .hna-page .eyebrow {
    color: #000;
  }

  .hna-page .evidence-path,
  .hna-page .hero-note {
    box-shadow: none;
  }

  .hna-page .evidence-path {
    margin-top: 1rem;
    color: #000;
    background: #fff;
    border: 1px solid #000;
  }

  .hna-page .evidence-path > strong,
  .hna-page .evidence-path li {
    color: #000;
  }

  .hna-page .layout {
    display: block;
    padding: 1.5rem 0;
  }

  .hna-page .chapter {
    padding-bottom: 2rem;
    break-inside: auto;
  }

  .hna-page .chapter h2,
  .hna-page .chapter h3,
  .hna-page .card,
  .hna-page .method,
  .hna-page .sector,
  .hna-page .deliverable,
  .hna-page .failure,
  .hna-page tr {
    break-inside: avoid;
  }

  .hna-page .field-pack,
  .hna-page .definition,
  .hna-page .formula {
    color: #000;
    background: #fff;
    border: 1px solid #000;
  }

  .hna-page .field-pack h3,
  .hna-page .field-pack h4,
  .hna-page .field-pack p,
  .hna-page .field-pack li {
    color: #000;
  }

  .hna-page a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 7.5pt;
    word-break: break-all;
  }
}
