:root {
  --ink-strong: #0b1730;
  --ink: #1e3456;
  --muted: #5f7594;
  --paper: #eef4fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(15, 32, 58, 0.1);
  --brand: #0e7490;
  --brand-strong: #155e75;
  --accent: #06b6d4;
  --accent-soft: rgba(6, 182, 212, 0.16);
  --hospital: #2563eb;
  --diagnostics: #0f766e;
  --pharma: #ea580c;
  --shadow: 0 28px 60px rgba(11, 23, 48, 0.12);
  --shadow-soft: 0 18px 36px rgba(11, 23, 48, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 32%),
    radial-gradient(circle at 85% 8%, rgba(6, 182, 212, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(234, 88, 12, 0.08), transparent 24%),
    linear-gradient(180deg, #eff6ff 0%, #f7fbff 44%, #eef4fb 100%);
}

a { color: inherit; }

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
}

.page-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0f766e 0%, #06b6d4 52%, #2563eb 100%);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.4);
  transition: width 0.15s ease-out;
}

.page-shell {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 76px;
}

.hero {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 12px 0 30px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(12px);
}

.hero::before {
  top: -16px;
  right: 6%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 72%);
}

.hero::after {
  bottom: 20px;
  left: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 72%);
}

.hero__ribbon {
  position: relative;
  overflow: hidden;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b214a 0%, #163b74 100%);
  box-shadow: 0 26px 46px rgba(11, 33, 74, 0.22);
}

.hero__ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.hero__eyebrow,
.card__label,
.story-card__action-label {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.hero h1,
.hero h2,
.section-heading h2,
.story-card__title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink-strong);
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #ffffff;
  max-width: none;
  text-align: center;
}

.hero__meta {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero__meta-copy {
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
}

.hero__meta p,
.hero__deck,
.story-card__summary,
.story-card__source,
.footer p,
.section-copy,
.issue-picker span,
.story-card__action-copy,
.qa-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero__status {
  min-height: 1.6em;
  font-size: 0.94rem;
  color: var(--brand-strong);
  font-weight: 600;
}

.hero__deck {
  width: 100%;
  max-width: none;
  font-size: 1.02rem;
  text-align: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.issue-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.issue-picker select {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink-strong);
  min-width: 180px;
}

.card,
.story-card,
.section-nav,
.button,
.qa-item {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  backdrop-filter: blur(16px);
}

.card {
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.section-nav {
  position: sticky;
  top: 20px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding: 12px;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(11, 23, 48, 0.08);
}

.section-nav a {
  padding: 11px 16px;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.section-nav a:hover {
  background: rgba(16, 34, 60, 0.06);
  transform: translateY(-1px);
}

.section-nav a.is-active,
.scroll-dock__button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(14, 116, 144, 0.22);
}

.sections-root { display: grid; gap: 26px; }

.newsletter-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 112px;
}

.section-heading {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
  box-shadow: 0 14px 28px rgba(14, 116, 144, 0.16);
}

.section-heading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 34%);
  pointer-events: none;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.story-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(16, 34, 60, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  animation: card-enter 0.6s ease both;
  animation-delay: var(--card-delay, 0ms);
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 54%, #0f766e 100%);
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 116, 144, 0.16);
  box-shadow: 0 22px 40px rgba(16, 34, 60, 0.12);
}

.story-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.story-card__meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(16, 34, 60, 0.045);
  color: var(--ink);
}

.story-card__title {
  font-size: 1.16rem;
  line-height: 1.42;
}

.story-card__source {
  font-size: 0.95rem;
  font-weight: 600;
}

.story-card__action {
  margin-top: auto;
  padding: 15px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(14, 116, 144, 0.08), rgba(37, 99, 235, 0.06));
  border: 1px solid rgba(14, 116, 144, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  box-shadow: 0 14px 28px rgba(14, 116, 144, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow: 0 18px 30px rgba(14, 116, 144, 0.24);
}

.button--ghost {
  width: fit-content;
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
  border: 1px solid rgba(15, 32, 58, 0.08);
}

.footer {
  padding: 36px 0 10px;
  text-align: center;
}

.state-message {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed rgba(16, 34, 60, 0.18);
  color: var(--muted);
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 28px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.15rem, 6vw, 1.55rem);
  }

  .issue-picker {
    width: 100%;
    justify-content: space-between;
  }

  .hero__actions {
    width: 100%;
  }

  .button--ghost {
    width: 100%;
  }

  .issue-picker select {
    min-width: 0;
    width: 100%;
  }

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