html {
  scroll-behavior: smooth;
}

:root {
  --bg: #06131a;
  --bg-soft: #0b1e27;
  --panel: rgba(10, 23, 31, 0.86);
  --panel-strong: rgba(13, 31, 40, 0.96);
  --line: rgba(164, 214, 207, 0.18);
  --text: #edf5f2;
  --muted: #9fb8b6;
  --accent: #67f4c7;
  --accent-deep: #0f5448;
  --gold: #f4c46a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(103, 244, 199, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(244, 196, 106, 0.12), transparent 22%),
    linear-gradient(180deg, #041017 0%, #07151c 48%, #051017 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 90%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.hero,
.featured-card,
.site-footer,
.news-card,
.story-article {
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(6, 19, 26, 0.75);
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #03221c;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--accent), #b5ffdc);
}

.brand-block h1,
.section-heading h2,
.featured-card h3,
.news-card h3,
.site-footer h2,
.hero h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-nav a,
.news-link,
.story-source {
  color: var(--text);
  text-decoration: none;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(10, 27, 35, 0.9), rgba(6, 18, 24, 0.84)),
    linear-gradient(180deg, rgba(103, 244, 199, 0.04), transparent);
  box-shadow: var(--shadow);
}

.hero h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-text,
.featured-summary,
.news-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.eyebrow,
.panel-label,
.meta-row,
.news-card time,
.pill {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.eyebrow,
.panel-label,
.meta-row,
.news-card time {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.news-card:hover,
.news-card:focus-within,
.story-trigger:hover,
.story-trigger:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #03221c;
  background: linear-gradient(135deg, var(--accent), #bdfed6);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero-panel {
  align-self: stretch;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(103, 244, 199, 0.15);
  background:
    radial-gradient(circle at top left, rgba(103, 244, 199, 0.12), transparent 40%),
    var(--panel-strong);
}

.signal-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.signal-grid article {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.signal-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.signal-grid strong {
  font-size: 1.08rem;
}

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

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(244, 196, 106, 0.07), transparent 44%),
    var(--panel);
}

.featured-story-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.04;
}

.featured-aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(244, 196, 106, 0.11);
}

.meta-panel {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-panel strong,
.meta-panel span {
  display: block;
}

.meta-panel span {
  color: var(--muted);
  margin-top: 8px;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--panel);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.news-card:hover,
.news-card:focus-within {
  border-color: rgba(103, 244, 199, 0.34);
  background: rgba(12, 28, 37, 0.95);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.category {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(103, 244, 199, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
}

.news-card h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.news-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--gold);
  font-weight: 700;
}

.news-link:hover,
.news-link:focus-visible {
  color: #ffe3ad;
}

.story-viewer {
  scroll-margin-top: 110px;
}

.story-article {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(103, 244, 199, 0.05), transparent 40%),
    var(--panel);
  box-shadow: var(--shadow);
}

.story-article h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.story-copy {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.story-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-source {
  color: var(--gold);
  font-weight: 700;
}

.story-trigger {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.story-trigger:hover,
.story-trigger:focus-visible {
  border-color: rgba(244, 196, 106, 0.35);
  background: rgba(244, 196, 106, 0.08);
}

.site-footer {
  margin-top: 42px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(103, 244, 199, 0.08), transparent 40%),
    var(--panel);
}

.footer-meta {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .featured-card,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .site-header,
  .hero,
  .featured-card,
  .site-footer,
  .news-card {
    border-radius: 22px;
  }

  .site-header,
  .hero,
  .featured-card,
  .story-article,
  .site-footer {
    padding: 20px;
  }

  .hero h2 {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }

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