:root {
  color-scheme: dark;
  --bg: #050506;
  --bg-soft: #0b0c10;
  --panel: #121319;
  --panel-strong: #1a1c24;
  --text: #f8f8f8;
  --muted: #b4b7c2;
  --dim: #777d8d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --red: #e50914;
  --red-dark: #96050e;
  --cyan: #12d7ff;
  --lime: #8eea5a;
  --violet: #8b5cf6;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.54);
  --radius: 8px;
  --header-h: 72px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.12) 0%, rgba(5, 5, 6, 0) 420px),
    radial-gradient(circle at 80% 20%, rgba(18, 215, 255, 0.13), transparent 32rem),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

.static-page {
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.13) 0%, rgba(5, 5, 6, 0) 380px),
    radial-gradient(circle at 78% 14%, rgba(18, 215, 255, 0.14), transparent 34rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 44px;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.56));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(5, 5, 6, 0.94);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--red), #5a050c 72%);
  box-shadow: 0 0 28px rgba(229, 9, 20, 0.32);
  font-size: 0.74rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.header-action,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-action {
  padding: 0 16px;
  background: var(--text);
  color: #09090a;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding-top: var(--header-h);
  isolation: isolate;
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-ai-command-center.png");
  background-size: cover;
  background-position: center;
  z-index: -3;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.74) 42%, rgba(5, 5, 6, 0.32) 68%, rgba(5, 5, 6, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.1) 0%, var(--bg) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0), var(--bg));
  z-index: -1;
}

.hero-content {
  width: min(1450px, calc(100% - 64px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.66fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 790px;
  padding-top: 44px;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: 5.25rem;
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 900;
  overflow-wrap: break-word;
}

.hero p {
  margin: 24px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.22rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-cta {
  gap: 10px;
  padding: 0 20px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 44px rgba(229, 9, 20, 0.28);
}

.primary-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.secondary-cta {
  padding: 0 20px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.primary-cta:hover,
.secondary-cta:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.72);
}

.signal-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.79rem;
  font-weight: 700;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    linear-gradient(140deg, rgba(18, 215, 255, 0.18), rgba(229, 9, 20, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.feature-card.lead {
  min-height: 230px;
}

.feature-card:hover {
  transform: translate3d(0, -5px, 0);
  border-color: rgba(255, 255, 255, 0.35);
}

.feature-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.feature-card span,
.card-meta,
.poster-meta,
.video-meta,
.gate-item span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.feature-card strong {
  max-width: 420px;
  font-size: 1.28rem;
  line-height: 1.14;
}

.feature-card small {
  color: var(--muted);
  font-weight: 700;
}

.filter-band,
.rail-section,
.story-stage,
.hardware-stage,
.comparison-stage,
.adsense-stage,
.publisher-stage,
.sources-stage,
.site-footer {
  width: min(1450px, calc(100% - 64px));
  margin: 0 auto;
}

.filter-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.74fr) minmax(0, 1.26fr);
  gap: 24px;
  align-items: center;
  padding: 4px 0 38px;
}

.filter-band > *,
.section-heading > *,
.adsense-stage > *,
.story-layout > * {
  min-width: 0;
}

.filter-band h2,
.section-heading h2,
.adsense-copy h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.filter-band p,
.section-heading p,
.adsense-copy p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
}

.filter-chip,
.price-tab,
.rail-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  font-weight: 800;
  font-size: 0.84rem;
}

.filter-chip.is-active,
.price-tab.is-active {
  background: var(--text);
  color: #08090d;
  border-color: var(--text);
}

.rail-section,
.story-stage,
.hardware-stage,
.comparison-stage,
.adsense-stage,
.publisher-stage,
.sources-stage {
  padding: 38px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.rail-actions {
  display: flex;
  gap: 8px;
}

.rail-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.rail-button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.rail-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 360px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 6px 0 20px;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.poster-rail {
  grid-auto-columns: minmax(240px, 290px);
}

.video-rail {
  grid-auto-columns: minmax(270px, 330px);
}

.news-card,
.poster-card,
.video-card,
.hardware-card,
.source-card,
.gate-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}

.news-card,
.poster-card,
.video-card {
  scroll-snap-align: start;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.news-card:hover,
.poster-card:hover,
.video-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--panel-strong);
}

.news-visual,
.poster-visual {
  min-height: 174px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72)),
    var(--card-image),
    var(--fallback-bg, linear-gradient(145deg, #232633, #08090c));
  background-size: cover;
  background-position: center;
}

.poster-visual {
  min-height: 340px;
}

.tone-red .poster-visual {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78)),
    var(--card-image),
    linear-gradient(145deg, #251015, #08090c);
  background-size: cover;
  background-position: center;
}

.tone-cyan .poster-visual {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78)),
    var(--card-image),
    linear-gradient(145deg, #0c1f27, #08090c);
  background-size: cover;
  background-position: center;
}

.tone-violet .poster-visual {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78)),
    var(--card-image),
    linear-gradient(145deg, #1a1430, #08090c);
  background-size: cover;
  background-position: center;
}

.tone-gold .poster-visual {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78)),
    var(--card-image),
    linear-gradient(145deg, #2a1907, #08090c);
  background-size: cover;
  background-position: center;
}

.news-visual::after,
.poster-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 32px);
  pointer-events: none;
}

.visual-index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.card-body,
.poster-body,
.video-body {
  padding: 16px;
}

.card-body h3,
.poster-body h3,
.video-body h3,
.hardware-card h3,
.source-card h3,
.gate-item h3 {
  margin: 9px 0 0;
  font-size: 1.12rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.card-body p,
.poster-body p,
.video-body p,
.hardware-card p,
.source-card p,
.gate-item p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.45;
  font-size: 0.92rem;
}

.card-link,
.poster-link,
.source-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--text);
  font-weight: 900;
  font-size: 0.86rem;
}

.poster-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.poster-kpis span {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.poster-link {
  min-height: 36px;
  align-items: center;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.52fr);
  gap: 16px;
  align-items: start;
}

.story-panel,
.story-side-card,
.trust-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}

.story-panel {
  overflow: hidden;
}

.story-visual {
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78)),
    var(--story-image),
    var(--story-fallback, linear-gradient(145deg, #232633, #08090c));
  background-size: cover;
  background-position: center;
}

.story-copy {
  padding: 24px;
}

.story-kicker-row,
.story-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story-kicker,
.story-source,
.story-meta-row span,
.story-side-card small,
.trust-card small {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.story-source,
.story-meta-row span {
  color: var(--muted);
}

.story-meta-row {
  margin-top: 9px;
}

.story-copy h3 {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 2.4vw, 2.6rem);
  line-height: 1.02;
}

.story-deck {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  line-height: 1.55;
}

.story-body {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.story-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.story-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.story-fact {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 15px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-fact span {
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.story-fact strong {
  font-size: 0.95rem;
  line-height: 1.4;
}

.story-sidebar {
  display: grid;
  gap: 12px;
}

.story-side-card {
  padding: 18px;
}

.story-side-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
  line-height: 1.5;
}

.story-actions,
.trust-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.story-action,
.trust-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.story-action:hover,
.trust-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.story-queue {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.story-pill {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.story-pill span {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
}

.story-pill strong {
  font-size: 0.9rem;
  line-height: 1.4;
}

.story-pill:hover,
.story-pill.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hardware-card {
  position: relative;
  min-height: 300px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82)),
    var(--card-image),
    var(--panel);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hardware-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.hardware-card > * {
  position: relative;
  z-index: 1;
}

.hardware-card .chip {
  width: 54px;
  height: 54px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(142, 234, 90, 0.85), rgba(18, 215, 255, 0.55)),
    #182014;
  box-shadow: 0 0 38px rgba(142, 234, 90, 0.16);
}

.hardware-card a {
  color: var(--lime);
  font-weight: 900;
  font-size: 0.86rem;
}

.comparison-stage {
  position: relative;
}

.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.price-tab {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  font-weight: 900;
  font-size: 0.84rem;
}

.price-board {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.74), rgba(5, 5, 6, 0.88)),
    url("assets/generated/price-board-bg.jpg"),
    var(--panel);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  line-height: 1.35;
}

th {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
}

td:first-child {
  font-weight: 900;
  color: var(--text);
}

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

.adsense-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}

.adsense-copy {
  min-height: 360px;
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(5, 5, 6, 0.74), rgba(5, 5, 6, 0.82)),
    url("assets/generated/news-adsense.jpg"),
    var(--panel);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-strong);
}

.adsense-copy .secondary-cta {
  margin-top: 24px;
}

.gate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gate-item {
  padding: 18px;
}

.video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #14161c;
}

.video-frame {
  position: relative;
  overflow: hidden;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.play-dot {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

.play-dot svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.video-stats {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  color: var(--dim);
  font-size: 0.8rem;
  font-weight: 800;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.source-card {
  padding: 18px;
}

.trust-card {
  padding: 18px;
}

.source-card small {
  color: var(--cyan);
  font-weight: 900;
}

.source-card a {
  color: var(--text);
}

.trust-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 0 60px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.site-footer strong {
  color: var(--text);
}

.site-footer a {
  color: var(--text);
  font-weight: 900;
}

.page-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 74px) 0 34px;
}

.page-hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.96), rgba(5, 5, 6, 0.64)),
    url("assets/hero-ai-command-center.png"),
    var(--panel);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.96), rgba(5, 5, 6, 0.64)),
    url("assets/generated/news-creator-feed.jpg"),
    var(--panel);
  background-size: cover;
  background-position: center;
}

.page-kicker {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 900px;
  margin: 12px 0 0;
  font-size: 3.5rem;
  line-height: 0.98;
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.6;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.page-card,
.page-panel,
.policy-section {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.page-card small {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.page-card h2,
.page-panel h2,
.policy-section h2 {
  margin: 10px 0 0;
  font-size: 1.34rem;
  line-height: 1.12;
}

.page-card p,
.page-panel p,
.policy-section p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.page-panel {
  margin-top: 14px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.compact-actions {
  margin-top: 16px;
}

.policy-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.policy-section a {
  color: var(--text);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .site-header {
    padding: 0 26px;
    gap: 18px;
  }

  .main-nav {
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: end;
    padding: 64px 0 70px;
  }

  .feature-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card,
  .feature-card.lead {
    min-height: 180px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-facts,
  .hardware-grid,
  .source-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content,
  .filter-band,
  .rail-section,
  .story-stage,
  .hardware-stage,
  .comparison-stage,
  .adsense-stage,
  .publisher-stage,
  .sources-stage,
  .site-footer {
    width: calc(100% - 30px);
    max-width: 1450px;
  }

  .hero-content {
    min-height: 700px;
    gap: 28px;
    padding: 54px 0 60px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: 3rem;
    line-height: 1;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .feature-stack,
  .filter-band,
  .adsense-stage {
    grid-template-columns: 1fr;
  }

  .feature-stack {
    display: none;
  }

  .filter-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .filter-chip,
  .signal-strip span {
    width: 100%;
  }

  .signal-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: flex-start;
  }

  .rail-actions {
    display: none;
  }

  .media-rail,
  .poster-rail,
  .video-rail {
    grid-auto-columns: minmax(240px, 82vw);
  }

  .hardware-grid,
  .gate-list,
  .source-grid,
  .trust-grid,
  .story-facts {
    grid-template-columns: 1fr;
  }

  .adsense-copy {
    min-height: 280px;
    padding: 22px;
  }

  .story-visual {
    min-height: 240px;
  }

  .story-copy {
    padding: 20px;
  }

  .story-copy h3 {
    font-size: 1.8rem;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }

  .page-main {
    width: calc(100% - 30px);
    padding-top: calc(var(--header-h) + 48px);
  }

  .page-hero {
    min-height: 440px;
    padding: 28px;
  }

  .page-hero h1 {
    font-size: 2.45rem;
    line-height: 1.04;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .main-nav a {
    font-size: 0.78rem;
  }

  .hero p,
  .hero-actions,
  .signal-strip,
  .filter-controls,
  .filter-band p,
  .section-heading p,
  .adsense-copy p {
    max-width: 330px;
  }

  .hero h1 {
    max-width: 312px;
    font-size: 2.25rem;
    line-height: 1.05;
  }

  .filter-controls,
  .signal-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .filter-band h2,
  .section-heading h2,
  .adsense-copy h2 {
    font-size: 1.55rem;
  }

  .poster-visual {
    min-height: 300px;
  }

  .page-hero {
    padding: 22px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .hero p,
  .hero-actions,
  .signal-strip,
  .filter-controls,
  .filter-band p,
  .section-heading p,
  .adsense-copy p {
    max-width: 300px;
  }

  .hero h1 {
    max-width: 286px;
    font-size: 2rem;
  }
}
