:root {
  --paper: #f0eee8;
  --paper-2: #e5e2d9;
  --ink: #131719;
  --ink-soft: #4d5657;
  --night: #0d1417;
  --night-2: #152126;
  --line: #aeb4ae;
  --line-dark: #354349;
  --cyan: #56d9e8;
  --cyan-dark: #087b8a;
  --amber: #f1a84b;
  --danger: #d75e4b;
  --max: 1240px;
  --read: 760px;
  --shadow: 0 18px 50px rgba(13, 20, 23, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(19, 23, 25, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 23, 25, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--cyan);
  color: var(--night);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--cyan-dark);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  color: #fff;
  background: rgba(13, 20, 23, .97);
  border-bottom: 1px solid #2d3c42;
}

.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .08em;
  clip-path: polygon(0 0, 88% 0, 100% 22%, 100% 100%, 12% 100%, 0 78%);
}

.brand small {
  display: block;
  color: #93a2a7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: #c7d0d2;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .02em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; background: #1d2b30; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  color: #fff;
  background: transparent;
  border: 1px solid #435158;
}

.status-bar {
  color: #131719;
  background: var(--amber);
  border-bottom: 1px solid #9d6622;
}

.status-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 38px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-inner span:last-child { font-weight: 650; letter-spacing: .02em; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--night);
  border-bottom: 1px solid #27373d;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(86, 217, 232, .055) 1px, transparent 1px),
    linear-gradient(rgba(86, 217, 232, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 72px 48px 72px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow { color: var(--cyan); }

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(46px, 6vw, 82px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 22px; }

.hero h1 { margin-bottom: 22px; max-width: 720px; }
.hero-deck {
  max-width: 630px;
  margin: 0;
  color: #c4ced1;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: var(--night);
  background: var(--cyan);
  border: 1px solid var(--cyan);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.button:hover { background: #9eeef6; }
.button.secondary { color: #fff; background: transparent; border-color: #63767c; }
.button.secondary:hover { background: #1d2b30; }

.hero-media { position: relative; min-width: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--night) 0, transparent 34%), linear-gradient(0deg, rgba(13,20,23,.45), transparent 45%);
}
.media-credit {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  padding: 5px 8px;
  color: #dce5e6;
  background: rgba(13, 20, 23, .76);
  font-size: 10px;
}

.fact-strip {
  position: relative;
  z-index: 3;
  margin-top: -38px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.fact { padding: 24px 28px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact span { display: block; color: var(--ink-soft); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.fact strong { display: block; margin-top: 4px; font-size: 19px; letter-spacing: -.02em; }

.section { padding: 100px 0; }
.section.compact { padding: 70px 0; }
.section.dark { color: #fff; background: var(--night); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head p { margin-bottom: 0; color: var(--ink-soft); font-size: 18px; }
.dark .section-head p { color: #aebbc0; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  color: #fff;
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  text-decoration: none;
  overflow: hidden;
}
.guide-card::before {
  content: attr(data-index);
  position: absolute;
  right: 22px;
  top: 15px;
  color: rgba(255,255,255,.07);
  font-size: 76px;
  font-weight: 950;
  line-height: 1;
}
.guide-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.guide-card .tag { color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.guide-card h3 { max-width: 430px; margin: auto 0 14px; font-size: clamp(28px, 4vw, 42px); }
.guide-card p { max-width: 530px; margin: 0; color: #b8c4c7; }
.guide-card .arrow { margin-top: 22px; color: var(--cyan); font-size: 24px; }

.ad-slot {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #667071;
  background: rgba(255,255,255,.36);
  border: 1px dashed #a6ada8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.dark .ad-slot { color: #86979c; background: #111c20; border-color: #3b4c51; }

.loop-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.loop-list { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: loop; }
.loop-list li {
  position: relative;
  min-height: 64px;
  padding: 0 0 28px 58px;
  counter-increment: loop;
}
.loop-list li::before {
  content: "0" counter(loop);
  position: absolute;
  left: 0;
  top: -4px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 950;
}
.loop-list li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 24px;
  bottom: 5px;
  width: 1px;
  background: var(--line);
}
.loop-list li:last-child::after { display: none; }
.loop-list strong { display: block; font-size: 18px; }
.loop-list span { color: var(--ink-soft); }

.framed-image { position: relative; margin: 0; background: var(--night); box-shadow: var(--shadow); }
.framed-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(86, 217, 232, .42);
  pointer-events: none;
}
.framed-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.framed-image figcaption { padding: 10px 14px; color: #aebbc0; background: var(--night); font-size: 11px; }

.video-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--cyan-dark); font-size: 26px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 740px; margin: 0 0 24px; color: var(--ink-soft); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 66px;
  color: #fff;
  background: var(--night);
}
.breadcrumbs { margin-bottom: 26px; color: #8da0a6; font-size: 12px; }
.breadcrumbs a { color: #c6d2d5; }
.page-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(44px, 6vw, 76px); }
.page-hero .hero-deck { max-width: 790px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.meta-chip { padding: 7px 10px; border: 1px solid #3d4d52; color: #b8c6c9; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.meta-chip.alert { color: var(--amber); border-color: #6d512d; }

.owner-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--read)) minmax(260px, 1fr);
  gap: 70px;
  align-items: start;
}
.article { min-width: 0; }
.article > *:first-child { margin-top: 0; }
.article h2 { margin-top: 72px; margin-bottom: 20px; }
.article h3 { margin-top: 38px; margin-bottom: 12px; }
.article p, .article li { font-size: 17px; }
.article a:not(.button) { color: #006c78; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article img { width: 100%; }

.direct-answer {
  position: relative;
  padding: 28px 30px 28px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan-dark);
  box-shadow: 0 8px 26px rgba(13, 20, 23, .07);
}
.direct-answer .label { color: var(--cyan-dark); font-size: 11px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.direct-answer p { margin: 8px 0 0; font-size: 19px; font-weight: 680; }

.sidebar { position: sticky; top: 28px; display: grid; gap: 18px; }
.side-panel { padding: 22px; background: #e4e4dd; border-top: 4px solid var(--ink); }
.side-panel h2, .side-panel h3 { margin-bottom: 12px; font-size: 16px; letter-spacing: -.01em; }
.side-panel p, .side-panel li { color: var(--ink-soft); font-size: 13px; }
.side-panel ul { margin: 0; padding-left: 18px; }
.side-panel .signal { color: var(--cyan-dark); font-weight: 850; }

.turn-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 30px 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.turn-step { min-height: 160px; padding: 24px; background: #fff; }
.turn-step span { color: var(--cyan-dark); font-size: 11px; font-weight: 950; letter-spacing: .12em; }
.turn-step strong { display: block; margin: 20px 0 6px; font-size: 19px; }
.turn-step p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.data-table { width: 100%; margin: 28px 0; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { padding: 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: #fff; background: var(--night-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.data-table td { font-size: 15px; }

.injury-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 28px 0; }
.injury-stage { padding: 18px; background: #fff; border: 1px solid var(--line); }
.injury-stage strong { display: block; margin-bottom: 8px; }
.injury-stage:nth-child(3) { border-color: var(--amber); }
.injury-stage:nth-child(4) { color: #fff; background: #3b1917; border-color: var(--danger); }

.note { padding: 20px 22px; margin: 28px 0; background: #ebe5d7; border-left: 4px solid var(--amber); }
.note strong { display: block; margin-bottom: 4px; }

.roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.role-card { position: relative; min-height: 220px; padding: 24px; background: #fff; border: 1px solid var(--line); }
.role-card::before { content: attr(data-code); position: absolute; right: 16px; top: 10px; color: #d8d9d3; font-size: 30px; font-weight: 950; }
.role-card .role-type { color: var(--cyan-dark); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.role-card h2 { margin: 28px 0 10px; font-size: 28px; }
.role-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.role-card .task { display: block; margin-top: 14px; color: var(--ink); font-size: 13px; font-weight: 800; }

.source-list { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.source-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

.site-footer { padding: 58px 0 34px; color: #aebbc0; background: #0a1012; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; }
.footer-brand { color: #fff; font-size: 21px; font-weight: 900; }
.footer-note { max-width: 700px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; }
.footer-links a { color: #dce4e6; font-size: 13px; }
.copyright { margin-top: 34px; padding-top: 22px; border-top: 1px solid #28363a; font-size: 11px; }

.not-found { min-height: 75vh; display: grid; place-items: center; padding: 80px 20px; color: #fff; background: var(--night); text-align: center; }
.not-found h1 { margin-bottom: 12px; font-size: clamp(70px, 15vw, 180px); color: var(--cyan); }

@media (max-width: 960px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 68px 0 44px; }
  .hero-media { height: 420px; margin-inline: -20px; }
  .hero-media::after { background: linear-gradient(180deg, var(--night), transparent 30%), linear-gradient(0deg, rgba(13,20,23,.5), transparent 40%); }
  .loop-grid { grid-template-columns: 1fr; }
  .owner-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .sidebar .ad-slot { min-height: 140px; }
}

@media (max-width: 720px) {
  .header-inner, .status-inner, .shell { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand > span:last-child { font-size: 14px; }
  .brand small { font-size: 8px; }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    background: var(--night);
    border-bottom: 1px solid #354349;
  }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { width: 100%; }
  .status-inner { min-height: 44px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; padding: 7px 0; line-height: 1.4; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  h2 { font-size: 34px; }
  .hero-copy { padding: 52px 0 34px; }
  .hero-media { height: 260px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .fact-strip { margin-top: 0; }
  .facts { grid-template-columns: 1fr; box-shadow: none; }
  .fact { padding: 17px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section.compact { padding: 52px 0; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 270px; padding: 26px; }
  .page-hero { padding: 48px 0 44px; }
  .page-hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .owner-layout { gap: 38px; }
  .direct-answer { padding: 22px 20px; }
  .direct-answer p { font-size: 17px; }
  .article p, .article li { font-size: 16px; }
  .article h2 { margin-top: 58px; }
  .turn-flow { grid-template-columns: 1fr; }
  .turn-step { min-height: 0; }
  .data-table { display: block; overflow-x: auto; }
  .injury-track { grid-template-columns: 1fr 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 410px) {
  .status-inner { font-size: 10px; }
  .hero-media { height: 228px; }
  .facts { margin-inline: -16px; }
  .guide-card h3 { font-size: 31px; }
  .injury-track { grid-template-columns: 1fr; }
  .media-credit { right: 8px; bottom: 8px; max-width: 80%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .status-bar, .ad-slot, .site-footer, iframe { display: none !important; }
  body { background: #fff; }
  .page-hero { color: #000; background: #fff; padding: 20px 0; }
  .owner-layout { display: block; }
  .sidebar { margin-top: 30px; }
}
