:root {
  --night: #0b0d12;
  --panel: #131720;
  --panel-hot: #191423;
  --text: #f5f7fb;
  --body: #e6ebf2;
  --muted: #aab4c5;
  --line: #303847;
  --pink: #ff2e88;
  --cyan: #22e6ff;
  --font: "Space Grotesk", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background-color: var(--night);
  background-image: linear-gradient(rgba(34, 230, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 230, 255, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 3px; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--pink); color: var(--night); }
.shell { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.shell-narrow { width: min(800px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; background: var(--cyan); color: var(--night); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 18, .96); border-bottom: 2px solid var(--pink); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 22px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; font-size: 25px; font-weight: 700; letter-spacing: -1.2px; }
.brand-mark { width: 34px; color: var(--pink); }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.tagline { color: var(--cyan); font-size: 13px; border-left: 1px solid var(--line); padding-left: 22px; }
.main-nav { margin-left: auto; display: flex; gap: 24px; font-size: 14px; font-weight: 600; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a:hover, .footer-links a:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }

.lead-story { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr); gap: 58px; align-items: center; padding-block: 52px 46px; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.category-chip { display: inline-flex; align-items: center; min-height: 29px; width: fit-content; background: var(--pink); color: var(--night); border: 1px solid var(--pink); border-radius: 4px; box-shadow: 3px 3px 0 var(--cyan); padding: 4px 10px; font-size: 12px; line-height: 1.2; font-weight: 700; transform: rotate(-1deg); }
.start-label { color: var(--cyan); font-weight: 600; }
.lead-copy h1 { font-size: clamp(40px, 4.5vw, 60px); line-height: 1.03; letter-spacing: -3px; margin: 0 0 20px; max-width: 650px; font-weight: 700; }
.lead-dek { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 540px; margin: 0 0 26px; }
.read-story { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--pink); color: var(--night); border: 2px solid var(--pink); box-shadow: 4px 4px 0 var(--cyan); border-radius: 5px; font-size: 15px; font-weight: 700; padding: 11px 18px; }
.read-story:hover { background: var(--cyan); border-color: var(--cyan); box-shadow: 2px 2px 0 var(--pink); transform: translate(2px, 2px); }
.lead-hero { margin: 0; }
.lead-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel); border: 2px solid var(--pink); border-radius: 7px; box-shadow: 9px 9px 0 var(--cyan); }
.lead-fallback { min-height: 280px; border: 2px solid var(--pink); border-radius: 7px; background: var(--panel); box-shadow: 9px 9px 0 var(--cyan); display: grid; place-items: center; color: var(--cyan); font-size: 28px; font-weight: 700; }
.lead-story--plain { grid-template-columns: 1fr; }
.lead-story--plain .lead-fallback { max-width: 560px; }

.editor-note { display: flex; justify-content: space-between; gap: 20px; border-block: 1px solid var(--line); padding-block: 17px; font-size: 14px; }
.editor-note span:first-child { color: var(--cyan); font-weight: 600; }
.editor-note span:last-child { color: var(--muted); }
.latest { padding-block: 35px 70px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 17px; }
.section-heading h2 { font-size: 31px; letter-spacing: -1.2px; margin: 0; }
.section-heading > span { color: var(--muted); font-size: 13px; }
.story-feed { display: grid; gap: 12px; }
.feed-story { margin: 0; }
.feed-item { min-height: 150px; display: grid; grid-template-columns: 150px minmax(0, 1fr) 96px; align-items: center; gap: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: rgba(19, 23, 32, .92); }
.feed-item:hover { border-color: var(--cyan); background: var(--panel-hot); }
.feed-thumb { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; }
.feed-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.feed-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 13px; color: var(--muted); font-size: 12px; }
.feed-copy h3 { font-size: clamp(21px, 2.2vw, 27px); letter-spacing: -.8px; line-height: 1.15; margin: 10px 0 8px; max-width: 760px; }
.feed-copy p { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 0; max-width: 720px; }
.feed-action { min-height: 48px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-left: 2px solid var(--pink); padding-left: 15px; color: var(--cyan); font-size: 13px; font-weight: 700; }
.feed-action small { color: var(--muted); font-size: 12px; font-weight: 500; }

.article-header { padding-top: 44px; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--cyan); font-weight: 600; margin: -10px 0; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-header h1, .static-page h1, .not-found h1 { font-size: clamp(40px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -2.6px; margin: 0 0 21px; font-weight: 700; }
.article-dek { color: var(--muted); font-size: 19px; line-height: 1.55; margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 13px; margin-top: 23px; }
.article-meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--pink); border-radius: 50%; margin: 0 9px 2px 0; }
.article-hero { margin-block: 31px 32px; }
.article-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel); border: 2px solid var(--line); border-radius: 6px; }

.key-facts { margin-block: 30px 38px; background: var(--panel); border: 2px solid var(--line); border-top: 6px solid var(--pink); border-radius: 6px; }
.facts-heading { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.facts-heading h2 { font-size: 18px; letter-spacing: -.4px; margin: 0; }
.facts-heading > span { color: var(--muted); font-size: 12px; }
.key-facts dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.key-facts dl > div { padding: 19px 20px 21px; }
.key-facts dl > div + div { border-left: 1px solid var(--line); }
.key-facts dt { color: var(--cyan); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.key-facts dd { color: #d9e1ec; font-size: 14px; line-height: 1.55; margin: 0; }

.article-body { color: var(--body); font-family: var(--font); font-size: 18px; line-height: 1.78; }
.article-body p { margin: 0 0 24px; }
.article-body h2 { scroll-margin-top: 100px; color: var(--text); font-family: var(--font); font-size: 27px; line-height: 1.2; letter-spacing: -.9px; margin: 43px 0 16px; padding-top: 14px; border-top: 2px solid var(--line); }
.article-body h2::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--pink); margin: 0 10px 2px 0; }
.article-body h3 { color: var(--text); font-family: var(--font); font-size: 22px; line-height: 1.3; letter-spacing: -.5px; margin: 34px 0 12px; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-body a:hover { color: var(--night); background: var(--cyan); }
.article-body ul, .article-body ol { margin: 0 0 25px; padding-left: 1.3em; }
.article-body li { margin-bottom: 10px; }
.article-body blockquote { margin: 30px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--pink); color: var(--muted); }
.article-body table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; margin: 25px 0 30px; font-family: var(--font); font-size: 14px; line-height: 1.45; }
.article-body th, .article-body td { min-width: 105px; padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--cyan); color: var(--night); }
.article-end { margin-top: 40px; border-top: 2px solid var(--line); padding-top: 22px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-list span { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); border-radius: 4px; padding: 6px 10px; font-size: 12px; font-weight: 600; }
.article-sources { margin-top: 21px; border-block: 1px solid var(--line); }
.article-sources summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.article-sources summary::-webkit-details-marker { display: none; }
.article-sources summary > span:last-child { color: var(--muted); font-size: 12px; font-weight: 500; }
.article-sources summary::after { content: "+"; color: var(--cyan); font-size: 22px; font-weight: 500; }
.article-sources[open] summary::after { content: "−"; }
.article-sources summary > span:first-child { margin-right: auto; }
.article-sources ul { margin: 0; padding: 0 0 13px; list-style: none; }
.article-sources li a { min-height: 44px; display: flex; align-items: center; color: var(--cyan); font-size: 14px; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.source-note { color: var(--muted); font-size: 12px; line-height: 1.5; margin-block: 16px 0; }

.read-next { margin-block: 38px 70px; background: var(--panel); color: var(--text); border: 2px solid var(--pink); border-radius: 7px; box-shadow: 7px 7px 0 var(--cyan); }
.read-next a { min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px 30px; }
.read-next a:hover { background: var(--panel-hot); }
.next-label { color: var(--cyan); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.read-next .category-chip { margin-bottom: 13px; }
.read-next h2 { font-size: clamp(25px, 3.5vw, 34px); line-height: 1.1; letter-spacing: -1.1px; margin: 0 0 11px; }
.read-next p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 20px; }
.next-action { min-height: 44px; display: inline-flex; align-items: center; background: var(--cyan); color: var(--night); border-radius: 4px; padding: 10px 15px; font-size: 14px; font-weight: 700; }

.static-page { padding-block: 55px 75px; }
.static-page h1 { margin-top: 20px; }
.static-page h2 { font-size: 25px; letter-spacing: -.8px; margin: 36px 0 12px; }
.static-page > p:not(.article-dek) { color: var(--body); font-family: var(--font); font-size: 18px; line-height: 1.75; }
.not-found { padding-block: 90px 120px; }
.not-found h1 { margin-top: 18px; }
.not-found p { color: var(--muted); line-height: 1.6; max-width: 540px; margin-bottom: 30px; }

.site-footer { background: #080a0e; color: var(--text); border-top: 5px solid var(--pink); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 50px; padding-block: 34px; }
.footer-brand { min-height: 44px; display: inline-flex; align-items: center; font-size: 23px; font-weight: 700; letter-spacing: -1px; }
.footer-inner p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 5px 0 0; max-width: 460px; }
.footer-links { display: flex; gap: 22px; align-items: start; font-size: 14px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-inner .copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 19px; margin: 0; max-width: none; font-size: 12px; }

@media (max-width: 900px) {
  .lead-story { grid-template-columns: 1fr; gap: 35px; padding-block: 44px; }
  .lead-copy h1 { max-width: 760px; }
  .lead-dek { max-width: 680px; }
  .lead-hero, .lead-fallback { max-width: 680px; }
  .feed-item { grid-template-columns: 130px minmax(0, 1fr) 90px; gap: 18px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 82px; }
  .shell, .shell-narrow { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand { font-size: 22px; gap: 7px; }
  .brand-mark { width: 28px; }
  .tagline { display: none; }
  .main-nav { gap: 15px; font-size: 13px; }
  .lead-story { padding-block: 30px 34px; gap: 30px; }
  .story-meta { margin-bottom: 16px; }
  .lead-copy h1 { font-size: clamp(37px, 10.5vw, 48px); letter-spacing: -2.1px; }
  .lead-dek { font-size: 17px; margin-bottom: 22px; }
  .lead-hero img { box-shadow: 6px 6px 0 var(--cyan); }
  .lead-fallback { min-height: 200px; font-size: 22px; }
  .editor-note { flex-direction: column; gap: 5px; padding-block: 14px; font-size: 13px; }
  .latest { padding-block: 28px 52px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .section-heading h2 { font-size: 28px; }
  .feed-item { min-height: 168px; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 14px; padding: 18px 12px; }
  .feed-thumb { margin-top: 2px; }
  .feed-thumb img { aspect-ratio: 1 / 1; }
  .feed-copy h3 { font-size: 21px; letter-spacing: -.6px; margin-top: 9px; }
  .feed-copy p { font-size: 13px; }
  .feed-action { grid-column: 2; min-height: 44px; flex-direction: row; align-items: center; gap: 10px; border-left: 0; border-top: 2px solid var(--pink); padding: 8px 0 0; }
  .article-header { padding-top: 32px; }
  .article-header h1, .static-page h1, .not-found h1 { font-size: 39px; letter-spacing: -1.9px; }
  .article-dek { font-size: 17px; }
  .article-hero { margin-block: 26px 28px; }
  .key-facts { margin-block: 26px 32px; }
  .facts-heading { align-items: flex-start; flex-direction: column; gap: 4px; padding: 14px 17px; }
  .key-facts dl { grid-template-columns: 1fr; }
  .key-facts dl > div { padding: 16px 17px; }
  .key-facts dl > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .article-body { font-size: 17px; line-height: 1.75; }
  .article-body h2 { font-size: 25px; margin-top: 37px; }
  .read-next { margin-block: 31px 55px; box-shadow: 5px 5px 0 var(--cyan); }
  .read-next a { min-height: 250px; padding: 24px 21px; }
  .static-page { padding-block: 42px 60px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .read-story:hover { transform: none; }
}
