:root {
  --ink: #101828;
  --muted: #475467;
  --paper: #f7f8fb;
  --white: #ffffff;
  --navy-950: #061423;
  --navy-900: #0a1f35;
  --navy-800: #103353;
  --blue: #0b64d8;
  --blue-bright: #25a7ff;
  --cyan: #44d7ff;
  --red: #e51d2a;
  --red-dark: #a80817;
  --gold: #ffba3b;
  --green: #1b8b6b;
  --line: #d9e1ea;
  --radius: 24px;
  --shadow: 0 22px 70px rgba(4, 19, 34, 0.14);
  --content: 820px;
  --wide: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 9%, rgba(37, 167, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #eef4fa 0, var(--paper) 720px, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: #075bbf;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-dark);
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: -10rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: #000;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.reading-progress {
  position: fixed;
  z-index: 110;
  inset: 0 auto auto 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  box-shadow: 0 0 14px rgba(68, 215, 255, 0.8);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: #fff;
  background: rgba(6, 20, 35, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--wide));
  min-height: 72px;
  margin: 0 auto;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--red), #79000c);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(229, 29, 42, 0.3);
  font-size: 0.73rem;
  line-height: 1;
}

.brand span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand small {
  margin-top: 0.2rem;
  color: #9fc3df;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  gap: 0.48rem;
  color: #fff;
  background: var(--blue);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(11, 100, 216, 0.2);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  color: #fff;
  background: #084fa8;
  box-shadow: 0 12px 30px rgba(11, 100, 216, 0.3);
  transform: translateY(-2px);
}

.button--red {
  background: linear-gradient(135deg, #f12838, #b80717);
  box-shadow: 0 10px 28px rgba(229, 29, 42, 0.28);
}

.button--red:hover {
  background: linear-gradient(135deg, #d71223, #8e000d);
}

.button--ghost {
  color: #d7edff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button--light {
  color: var(--navy-950);
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.button--light:hover {
  color: var(--navy-950);
  background: #dff6ff;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 13% 20%, rgba(30, 155, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 83% 17%, rgba(229, 29, 42, 0.14), transparent 24rem),
    var(--navy-950);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(6, 20, 35, 0.82));
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 32px), var(--wide));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0 2rem;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  color: #fff;
  background: rgba(229, 29, 42, 0.17);
  border: 1px solid rgba(255, 92, 104, 0.6);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 5.7vw, 5.4rem);
  font-weight: 920;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.hero-deck {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: #c9ddef;
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  line-height: 1.52;
}

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

.hero-media {
  position: relative;
  align-self: start;
  margin-top: 0.35rem;
}

.hero-media::before {
  position: absolute;
  z-index: -1;
  inset: -12%;
  content: "";
  background: radial-gradient(circle, rgba(39, 172, 255, 0.25), transparent 58%);
  filter: blur(15px);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1122 / 1402;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.54);
}

.hero-media picture {
  display: block;
}

.resource-library {
  margin: 2.3rem 0 2.8rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: linear-gradient(145deg, #07192c, #10385a);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article .resource-library h2 {
  margin-top: 0;
  color: #fff;
}

.resource-library > p {
  color: #c7deef;
}

.download-grid {
  display: grid;
  margin-top: 1.25rem;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-card {
  display: flex;
  min-width: 0;
  padding: 1.15rem;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.article .download-card h3 {
  margin: 0.35rem 0 0;
  color: #102f4b;
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.25;
}

.download-card p {
  margin: 0.7rem 0 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.download-meta {
  color: var(--red-dark);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 32px), var(--wide));
  margin: 0 auto;
  padding: 0 0 3.4rem;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stat {
  min-height: 118px;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 0.55rem;
  color: #b6ccdf;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.action-zone {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 32px), var(--wide));
  margin: -1.4rem auto 2.2rem;
}

.action-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid rgba(7, 43, 75, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.action-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  content: "";
  background: var(--red);
}

.action-card--fcc::before {
  background: var(--blue);
}

.action-card h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.12;
}

.action-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.action-label {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.action-card--fcc .action-label {
  color: var(--blue);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.action-buttons .button {
  min-height: 42px;
}

.share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.75rem 0.95rem;
  color: #c7d6e5;
  background: var(--navy-900);
  border-radius: 16px;
  gap: 0.75rem;
}

.share-strip p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.share-button {
  padding: 0.48rem 0.72rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.share-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-shell {
  display: grid;
  width: min(calc(100% - 32px), var(--wide));
  margin: 0 auto;
  padding: 2rem 0 6rem;
  grid-template-columns: 250px minmax(0, var(--content));
  justify-content: center;
  gap: 3.5rem;
}

.toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  padding: 1rem 0.8rem 1rem 0;
  align-self: start;
  overflow: auto;
}

.toc-title {
  margin: 0 0 0.75rem;
  color: #667085;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.toc a {
  padding: 0.42rem 0.6rem;
  color: #526273;
  border-left: 2px solid transparent;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.28;
  text-decoration: none;
}

.toc a:hover,
.toc a.is-active {
  color: #0a4f9c;
  background: #e9f4ff;
  border-left-color: var(--blue-bright);
}

.article {
  min-width: 0;
}

.article > p:first-of-type {
  color: #19314a;
  font-size: 1.17rem;
  line-height: 1.68;
}

.article h2,
.article h3 {
  color: #0a2139;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.article h2 {
  margin: 4.6rem 0 1.2rem;
  padding-top: 0.3rem;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.06;
}

.article h2::before {
  display: block;
  width: 56px;
  height: 5px;
  margin-bottom: 1.1rem;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 99px;
}

.article h3 {
  margin: 2.6rem 0 0.7rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.article p {
  margin: 1.15rem 0;
}

.article strong {
  color: #09243d;
}

.article ul,
.article ol {
  margin: 1.35rem 0;
  padding-left: 1.4rem;
}

.article li {
  margin: 0.5rem 0;
  padding-left: 0.3rem;
}

.article li::marker {
  color: var(--red);
  font-weight: 900;
}

.article blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.45rem 1.55rem 1.45rem 1.8rem;
  color: #102f4b;
  background: linear-gradient(135deg, #edf8ff, #fff7f2);
  border: 1px solid #cfe3f3;
  border-left: 6px solid var(--red);
  border-radius: 0 18px 18px 0;
  box-shadow: 0 14px 35px rgba(10, 31, 53, 0.08);
}

.article blockquote p:first-child {
  margin-top: 0;
}

.article blockquote p:last-child {
  margin-bottom: 0;
}

.article blockquote blockquote {
  box-shadow: none;
}

.feature-figure {
  width: 100%;
  max-width: 100%;
  margin: 2.2rem 0 2.5rem;
}

.feature-figure img {
  width: 100%;
  background: var(--navy-900);
  border: 1px solid #b8c7d7;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(7, 25, 43, 0.2);
}

.feature-figure figcaption {
  max-width: 850px;
  margin: 0.8rem auto 0;
  color: #667085;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.thesis {
  margin: 2.2rem 0;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  color: #fff;
  background:
    radial-gradient(circle at 95% 0, rgba(37, 167, 255, 0.3), transparent 22rem),
    linear-gradient(145deg, #07192c, #10385a);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thesis .kicker {
  margin: 0 0 0.8rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.thesis h3 {
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.06;
}

.thesis p {
  color: #c7deef;
}

.thesis strong {
  color: #fff;
}

.evidence-grid,
.timing-grid,
.failure-grid {
  display: grid;
  margin: 1.65rem 0;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.evidence-card,
.timing-card,
.failure-card {
  padding: 1.15rem;
  background: #fff;
  border: 1px solid #d7e2ec;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(8, 35, 59, 0.06);
}

.timing-card strong,
.failure-card strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #0b579f;
  font-size: 1.05rem;
}

.timing-card span,
.failure-card span {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.principle-banner {
  margin: 2.2rem 0;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  color: #fff;
  background: linear-gradient(135deg, #ba0717, #65000a);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(168, 8, 23, 0.24);
  text-align: center;
}

.principle-banner p {
  margin: 0;
  color: #ffdfe2;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principle-banner strong {
  display: block;
  margin-top: 0.55rem;
  color: #fff;
  font-size: clamp(1.75rem, 4.4vw, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.copy-wrap {
  position: relative;
  margin: 2rem 0;
}

.copy-wrap blockquote {
  max-height: 640px;
  overflow: auto;
  background: #f7fbff;
  border-left-color: var(--blue);
}

.copy-toolbar {
  position: sticky;
  z-index: 2;
  top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  padding: 0.65rem 0.75rem;
  color: #d7e9f7;
  background: #0b2943;
  border-radius: 12px;
  gap: 0.75rem;
}

.copy-toolbar span {
  font-size: 0.74rem;
  font-weight: 750;
}

.copy-button {
  padding: 0.52rem 0.76rem;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
}

.copy-button:hover {
  background: #084fa8;
}

.source-list {
  column-count: 2;
  column-gap: 2.2rem;
}

.source-list li {
  break-inside: avoid;
  color: #526273;
  font-size: 0.78rem;
  line-height: 1.45;
}

.action-finale {
  margin-top: 4rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 0 0, rgba(68, 215, 255, 0.23), transparent 20rem),
    radial-gradient(circle at 100% 100%, rgba(229, 29, 42, 0.22), transparent 22rem),
    #07192c;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(6, 20, 35, 0.3);
  text-align: center;
}

.action-finale h2 {
  margin: 0 auto 1rem;
  color: #fff;
  font-family: inherit;
  font-weight: 900;
}

.action-finale h2::before {
  margin-right: auto;
  margin-left: auto;
}

.action-finale p {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  color: #c7ddec;
}

.finale-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.4rem;
  gap: 0.75rem;
}

.site-footer {
  padding: 2.5rem 1rem 5.5rem;
  color: #9eb4c6;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(100%, var(--wide));
  margin: 0 auto;
  gap: 2rem;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  max-width: 690px;
  margin: 0;
}

.mobile-action-bar {
  position: fixed;
  z-index: 90;
  inset: auto 0 0;
  display: none;
  padding: 0.65rem;
  background: rgba(6, 20, 35, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  gap: 0.55rem;
}

.mobile-action-bar .button {
  flex: 1;
  padding-right: 0.55rem;
  padding-left: 0.55rem;
  font-size: 0.72rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-media {
    max-width: 820px;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
  }

  .page-shell {
    grid-template-columns: minmax(0, var(--content));
  }

  .toc {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .nav-actions .button--ghost,
  .nav-actions .button--red {
    display: none;
  }

  .nav-shell {
    min-height: 62px;
  }

  .hero-shell {
    padding-top: 2.5rem;
  }

  .hero-meta,
  .action-grid,
  .evidence-grid,
  .timing-grid,
  .failure-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    min-height: 0;
  }

  .share-strip,
  .footer-shell {
    align-items: stretch;
    flex-direction: column;
  }

  .article h2 {
    margin-top: 3.6rem;
  }

  .feature-figure {
    margin-top: 1.6rem;
  }

  .source-list {
    column-count: 1;
  }

  .mobile-action-bar {
    display: flex;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
