/* Dr. MAGA — Clinical Campaign Theme */
:root {
  --red: #C8102E;
  --red-hot: #E31C3D;
  --navy: #0B1F3A;
  --navy-mid: #14325A;
  --blue-tie: #1E4D8C;
  --clinical: #EEF2F6;
  --coat: #FAFBFC;
  --steel: #6B7785;
  --ink: #101820;
  --line: rgba(16, 24, 32, 0.1);
  --glow-red: rgba(200, 16, 46, 0.35);
  --glow-blue: rgba(30, 77, 140, 0.28);
  --font-display: "Anton", Impact, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 18px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(200, 16, 46, 0.12), transparent 55%),
    radial-gradient(900px 600px at 92% 8%, rgba(30, 77, 140, 0.14), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(200, 16, 46, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #e8eef5 45%, #f4f6f9 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul,
ol {
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Atmosphere */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.clinical-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ecg-line {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
}

.ecg-line svg {
  width: 100%;
  height: 100%;
}

.ecg-path {
  fill: none;
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: ecg-draw 4.5s linear infinite;
}

@keyframes ecg-draw {
  0% { stroke-dashoffset: 1400; opacity: 0.2; }
  15% { opacity: 0.8; }
  50% { stroke-dashoffset: 0; opacity: 0.55; }
  100% { stroke-dashoffset: -1400; opacity: 0.15; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header.scrolled {
  background: rgba(250, 251, 252, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px rgba(11, 31, 58, 0.06);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

.brand-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 180deg, var(--red), var(--blue-tie), var(--red));
  animation: spin-slow 8s linear infinite;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--coat);
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.brand-symbol {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-mid);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.btn-ico {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-ico-x {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.btn-ghost .btn-ico-x,
.btn-navy .btn-ico-x {
  filter: none;
}

.btn-red {
  background: linear-gradient(135deg, var(--red-hot), var(--red));
  color: #fff;
  box-shadow: 0 10px 28px var(--glow-red);
}

.btn-red:hover {
  box-shadow: 0 14px 36px rgba(200, 16, 46, 0.45);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  color: #fff;
  box-shadow: 0 10px 28px var(--glow-blue);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(11, 31, 58, 0.18);
  color: var(--navy);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-rx {
  background: var(--red);
  color: #fff;
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px var(--glow-red);
}

.btn-rx .btn-ico {
  width: 16px;
  height: 16px;
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 3rem;
}

.hero-stage {
  position: relative;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  min-height: min(78vh, 820px);
  background: var(--navy);
  box-shadow:
    0 30px 80px rgba(11, 31, 58, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  animation: kenburns 28s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.04);
}

@keyframes kenburns {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero-media-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 31, 58, 0.88) 0%, rgba(11, 31, 58, 0.55) 42%, rgba(200, 16, 46, 0.25) 100%),
    linear-gradient(180deg, rgba(11, 31, 58, 0.2) 0%, rgba(11, 31, 58, 0.75) 100%);
}

.hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: scan 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { top: -20%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 3.5rem 1.25rem 3rem;
  color: #fff;
}

.rx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.rx-sol {
  width: 18px;
  height: 18px;
}

.hero-portrait {
  position: relative;
  width: min(240px, 58vw);
  margin-bottom: 1.4rem;
}

.portrait-halo,
.portrait-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.portrait-halo {
  animation: halo 3.2s ease-in-out infinite;
}

.portrait-pulse {
  inset: -22px;
  border-color: rgba(200, 16, 46, 0.45);
  animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes halo {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes pulse-ring {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}

.portrait-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 6px rgba(200, 16, 46, 0.35),
    0 20px 50px rgba(0, 0, 0, 0.35);
}

.portrait-tag {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-style: italic;
  background: #fff;
  color: var(--ink);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.title-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.title-main {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 6.4rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  background: linear-gradient(180deg, #fff 30%, #ffd0d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-sheen 5s ease-in-out infinite;
}

@keyframes title-sheen {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.ticker-sym {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}

.ca-chip:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.35);
}

.ca-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red-hot);
  background: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

.ca-value {
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ca-hint {
  font-size: 0.72rem;
  opacity: 0.7;
}

.hero-lede {
  max-width: 44rem;
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  font-family: var(--font-serif);
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-vitals {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.vital {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.vital:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.1);
}

.vital-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.35rem;
}

.vital-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.vital-sol {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.vital-sol img {
  width: 18px;
  height: 18px;
}

.vital-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--red);
}

.vital-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.5);
  animation: live-dot 1.6s ease-out infinite;
}

@keyframes live-dot {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.03em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 36rem;
  margin-inline: auto;
}

/* About */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.dossier {
  position: relative;
  background: var(--coat);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 22px;
  padding: 1.6rem 1.5rem 1.7rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.dossier:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(11, 31, 58, 0.12);
}

.dossier-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue-tie));
}

.dossier h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.dossier p {
  color: #3a4654;
  font-size: 0.98rem;
}

/* How to buy */
.howtobuy {
  background:
    radial-gradient(600px 300px at 10% 30%, rgba(200, 16, 46, 0.07), transparent),
    radial-gradient(600px 300px at 90% 70%, rgba(30, 77, 140, 0.08), transparent);
}

.rx-steps {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.rx-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.rx-step:hover {
  transform: translateX(6px);
  border-color: rgba(200, 16, 46, 0.28);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  letter-spacing: 0.04em;
  min-width: 2.6rem;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.step-body p {
  color: var(--steel);
  font-size: 0.96rem;
}

.howto-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Chart */
.chart-shell {
  background: var(--navy);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11, 31, 58, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.chart-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.chart-toolbar .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.chart-frame {
  position: relative;
  width: 100%;
  height: min(620px, 70vh);
  background: #0d1117;
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Join Us — banner only here */
.join-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: min(58vh, 560px);
  box-shadow: 0 28px 70px rgba(11, 31, 58, 0.2);
}

.join-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.03);
  animation: banner-drift 20s ease-in-out infinite alternate;
}

@keyframes banner-drift {
  from { transform: scale(1.03) translateX(0); }
  to { transform: scale(1.08) translateX(-2%); }
}

.join-banner-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.88) 0%, rgba(11, 31, 58, 0.55) 48%, rgba(11, 31, 58, 0.2) 100%),
    linear-gradient(180deg, transparent 40%, rgba(11, 31, 58, 0.65) 100%);
}

.join-banner-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.4rem;
  min-height: min(58vh, 560px);
  padding: 2.5rem;
  color: #fff;
}

.join-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3.5vw, 2.1rem);
  max-width: 18ch;
  line-height: 1.35;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.join-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--red);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--navy);
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--steel);
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--steel);
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.12);
}

.footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-social a[aria-label="X"] img {
  width: 14px;
  height: 14px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 60;
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.3);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(247, 249, 252, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-copy {
    padding: 2.4rem 1rem 2.2rem;
  }

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

  .join-banner-copy {
    padding: 1.5rem;
    min-height: 420px;
  }

  .chart-frame {
    height: 480px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
