:root {
  color-scheme: dark;
  --page: #07101d;
  --panel: #0d1828;
  --panel-2: #111f33;
  --ink: #f7f9fc;
  --muted: #9aa9bc;
  --line: rgba(148, 163, 184, 0.17);
  --accent: #60a5fa;
  --accent-2: #2dd4bf;
  --warm: #f7c66a;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Inter, system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
.skipLink { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 9px 13px; border-radius: 8px; background: white; color: #07101d; transform: translateY(-150%); }
.skipLink:focus { transform: translateY(0); }

.siteHeader { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: rgba(7, 16, 29, 0.88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: Archivo, sans-serif; letter-spacing: -0.02em; }
.brand > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(96, 165, 250, 0.45); border-radius: 10px; background: linear-gradient(145deg, rgba(96, 165, 250, 0.19), rgba(45, 212, 191, 0.08)); color: #dbeafe; font: 800 12px/1 Archivo, sans-serif; letter-spacing: 0.08em; }
.siteHeader nav, footer nav { display: flex; align-items: center; gap: 8px; }
.siteHeader nav a { padding: 8px 11px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.siteHeader nav a:hover, .siteHeader nav a:focus-visible, .siteHeader nav a.active { background: rgba(148, 163, 184, 0.08); color: var(--ink); }
.siteHeader nav .appLink { margin-left: 5px; border: 1px solid rgba(96, 165, 250, 0.28); background: rgba(96, 165, 250, 0.1); color: #dbeafe; }

main { overflow: hidden; }
.hero { position: relative; max-width: var(--max); margin: 0 auto; padding: 104px 24px 84px; text-align: center; }
.heroGlow { position: absolute; inset: -160px 10% auto; height: 490px; z-index: -1; background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 65%); filter: blur(14px); }
.eyebrow { margin: 0 0 12px; color: var(--accent-2); font: 700 11px/1.3 "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { max-width: 880px; margin: 0 auto; font: 900 clamp(48px, 8vw, 90px)/0.98 Archivo, sans-serif; letter-spacing: -0.055em; }
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg, #bfdbfe, #67e8f9 58%, #99f6e4); -webkit-background-clip: text; background-clip: text; }
.heroCopy { max-width: 650px; margin: 24px auto 34px; color: #bcc8d7; font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }
.searchBar { max-width: 720px; margin: 0 auto; text-align: left; }
.searchBar > label { display: block; margin-bottom: 8px; color: #d9e2ee; font-size: 12px; font-weight: 700; }
.searchInputWrap { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px; border: 1px solid rgba(96, 165, 250, 0.28); border-radius: 14px; background: rgba(13, 24, 40, 0.92); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24); }
.searchInputWrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12), 0 20px 60px rgba(0, 0, 0, 0.24); }
.searchInputWrap > span { color: var(--accent); font: 28px/1 Archivo, sans-serif; transform: rotate(-18deg); }
.searchInputWrap input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.searchInputWrap input::placeholder { color: #718096; }
.searchInputWrap button, .textButton { border: 0; background: transparent; color: #93c5fd; font-size: 12px; font-weight: 700; }
.heroMeta { display: flex; justify-content: center; gap: 30px; margin-top: 26px; color: var(--muted); font-size: 12px; }
.heroMeta strong { color: var(--ink); }

.explore, .storySection, .featuredStory, .editorialNote { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.explore { border-top: 1px solid var(--line); }
.sectionHeading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.sectionHeading h2, .editorialNote h2 { margin: 0; font: 800 clamp(27px, 4vw, 42px)/1.08 Archivo, sans-serif; letter-spacing: -0.035em; }
.sectionHeading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; }
.topicFilters { display: flex; flex-wrap: wrap; gap: 9px; }
.topicFilters button { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: rgba(13, 24, 40, 0.72); color: #b7c3d2; font-size: 12px; font-weight: 700; }
.topicFilters button:hover, .topicFilters button:focus-visible, .topicFilters button.active { border-color: rgba(96, 165, 250, 0.45); background: rgba(96, 165, 250, 0.14); color: #eaf2ff; }
.filterRow { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.filterRow label { color: var(--muted); font-size: 12px; font-weight: 700; }
.filterRow select { min-width: 220px; padding: 9px 34px 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--ink); }

.featuredStory { padding-top: 34px; }
.featuredCard { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr); min-height: 390px; overflow: hidden; border: 1px solid rgba(96, 165, 250, 0.21); border-radius: 22px; background: linear-gradient(135deg, #101f34, #0b1626 62%); }
.featuredCard::after { content: "ADY"; position: absolute; right: -22px; bottom: -68px; color: rgba(96, 165, 250, 0.055); font: 900 220px/1 Archivo, sans-serif; letter-spacing: -0.1em; }
.featuredCopy { position: relative; z-index: 1; align-self: end; padding: clamp(30px, 5vw, 58px); }
.storyKicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--accent-2); font: 700 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.storyKicker span + span::before { content: "/"; margin-right: 10px; color: #53657b; }
.featuredCopy h2 { max-width: 700px; margin: 0 0 18px; font: 800 clamp(32px, 5vw, 56px)/1.03 Archivo, sans-serif; letter-spacing: -0.045em; }
.featuredCopy > p { max-width: 670px; margin: 0 0 25px; color: #b4c1d1; font-size: 16px; }
.readButton { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 9px; padding: 11px 15px; background: #e8f2ff; color: #091321; font-weight: 800; }
.featuredIndex { position: relative; z-index: 1; display: grid; align-content: center; gap: 12px; padding: 42px; border-left: 1px solid var(--line); background: rgba(5, 12, 22, 0.3); }
.featuredIndex strong { color: #dce8f6; font: 700 13px/1.4 Archivo, sans-serif; }
.featuredIndex span { color: var(--muted); font-size: 12px; }

.storySection { padding-top: 72px; }
.activeFilters { display: flex; flex-wrap: wrap; gap: 8px; min-height: 1px; margin: -12px 0 20px; }
.filterPill { border: 1px solid rgba(45, 212, 191, 0.25); border-radius: 999px; padding: 5px 9px; background: rgba(45, 212, 191, 0.08); color: #99f6e4; font-size: 11px; }
.storyGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.storyCard { display: flex; min-height: 310px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(155deg, rgba(17, 31, 51, 0.82), rgba(10, 21, 36, 0.9)); transition: transform 160ms ease, border-color 160ms ease; }
.storyCard:hover { transform: translateY(-3px); border-color: rgba(96, 165, 250, 0.36); }
.storyCard h3 { margin: 8px 0 12px; font: 800 23px/1.15 Archivo, sans-serif; letter-spacing: -0.025em; }
.storyCard p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.tagRow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tagRow span { border-radius: 999px; padding: 4px 8px; background: rgba(148, 163, 184, 0.08); color: #aebccd; font-size: 10px; font-weight: 700; }
.storyCard .cardFooter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.storyCard .cardFooter span { color: #718096; font-size: 11px; }
.storyCard .cardFooter button { border: 0; background: transparent; color: #93c5fd; font-size: 12px; font-weight: 800; }
.emptyState { padding: 70px 20px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); }
.emptyState > span { color: var(--accent); font-size: 48px; }
.emptyState h3 { margin: 6px 0; color: var(--ink); font: 800 24px Archivo, sans-serif; }
.emptyState p { margin: 0 auto 20px; max-width: 540px; }
.emptyState button { border: 1px solid rgba(96, 165, 250, 0.35); border-radius: 8px; padding: 9px 13px; background: rgba(96, 165, 250, 0.11); color: #dbeafe; font-weight: 700; }

.editorialNote { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; margin-top: 50px; margin-bottom: 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.editorialPoints { display: grid; gap: 17px; }
.editorialPoints p { display: grid; grid-template-columns: 125px 1fr; gap: 20px; margin: 0; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.editorialPoints p:last-child { border: 0; }
.editorialPoints strong { color: #dbeafe; font: 700 13px Archivo, sans-serif; }
.editorialPoints span { color: var(--muted); font-size: 13px; }

.articleReader { position: fixed; z-index: 50; inset: 0; visibility: hidden; }
.articleReader.open { visibility: visible; }
.readerBackdrop { position: absolute; inset: 0; background: rgba(2, 6, 13, 0.76); opacity: 0; backdrop-filter: blur(5px); transition: opacity 180ms ease; }
.articleReader.open .readerBackdrop { opacity: 1; }
.readerPanel { position: absolute; top: 0; right: 0; width: min(760px, 100%); height: 100%; overflow: auto; padding: 72px clamp(24px, 6vw, 70px); background: #0a1422; box-shadow: -30px 0 80px rgba(0,0,0,.36); transform: translateX(100%); transition: transform 220ms ease; }
.articleReader.open .readerPanel { transform: translateX(0); }
.readerClose { position: absolute; top: 20px; right: 22px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: var(--panel); color: var(--ink); }
.readerPanel h2 { margin: 6px 0 18px; font: 900 clamp(34px, 6vw, 56px)/1.04 Archivo, sans-serif; letter-spacing: -0.045em; }
.readerDeck { color: #b8c6d6; font-size: 18px; line-height: 1.7; }
.readerMeta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 36px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.readerSection { margin: 34px 0; }
.readerSection h3 { margin: 0 0 8px; font: 800 23px Archivo, sans-serif; }
.readerSection p { margin: 0; color: #acbacb; }
.readerNotice { margin-top: 42px; padding: 18px; border: 1px solid rgba(247, 198, 106, 0.2); border-radius: 10px; background: rgba(247, 198, 106, 0.07); color: #dbc894; font-size: 13px; }
body.readerOpen { overflow: hidden; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; max-width: var(--max); min-height: 120px; margin: 0 auto; padding: 25px 24px; color: var(--muted); font-size: 11px; }
footer > p { margin: 0; text-align: center; }
footer nav { justify-content: flex-end; }
footer nav a { text-decoration: none; }

@media (max-width: 900px) {
  .siteHeader nav > a:not(.appLink):not(.active) { display: none; }
  .featuredCard { grid-template-columns: 1fr; }
  .featuredIndex { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 0; }
  .storyGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorialNote { grid-template-columns: 1fr; gap: 35px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 620px) {
  .siteHeader { min-height: 64px; padding-inline: 16px; }
  .brand strong { display: none; }
  .siteHeader nav .appLink { font-size: 12px; }
  .hero { padding: 72px 18px 58px; text-align: left; }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .heroCopy { margin-left: 0; }
  .heroMeta { justify-content: flex-start; gap: 15px; overflow: auto; white-space: nowrap; }
  .explore, .storySection, .featuredStory, .editorialNote { padding-right: 18px; padding-left: 18px; }
  .sectionHeading { display: block; }
  .sectionHeading > p { margin-top: 10px; }
  .filterRow { align-items: stretch; flex-wrap: wrap; }
  .filterRow select { flex: 1; min-width: 180px; }
  .featuredStory { padding-top: 20px; }
  .featuredCopy { padding: 29px 24px; }
  .featuredCopy h2 { font-size: 34px; }
  .featuredIndex { grid-template-columns: 1fr; padding: 24px; }
  .storyGrid { grid-template-columns: 1fr; }
  .storyCard { min-height: 275px; }
  .editorialPoints p { grid-template-columns: 1fr; gap: 5px; }
  footer { display: flex; align-items: flex-start; flex-direction: column; padding: 30px 18px; }
  footer nav { justify-content: flex-start; }
}

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