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

:root {
  --navy: #0f2744;
  --blue: #1e4d8c;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --light: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
}

header {
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo a {
  color: white;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.8;
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: white;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}

.cta-button:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.cta-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.disclaimer, .note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.section {
  padding: 3.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section.alt {
  background: white;
  max-width: none;
  padding: 3.5rem 1.5rem;
}

.section.alt > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--card);
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 0.6rem;
  color: var(--blue);
  font-size: 1.2rem;
}

.card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.specialty-card {
  background: white;
  padding: 1.4rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}

.specialty-card h3 {
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.specialty-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.specialty-card a:hover {
  text-decoration: underline;
}

.pricing {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.price-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 380px;
  border: 2px solid var(--accent);
  text-align: left;
}

.price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.75rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  margin: 1.25rem 0;
}

.price-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.price-card li:before {
  content: "✓ ";
  color: var(--accent);
  font-weight: bold;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  margin: 1.5rem auto 0;
}

.subscribe-form label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

.subscribe-form input,
.subscribe-form select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.subscribe-form button {
  margin-top: 0.5rem;
}

.note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

footer {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}

footer a {
  color: #93c5fd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer p + p {
  margin-top: 0.5rem;
  opacity: 0.85;
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
}

.card,
.specialty-card,
.drug-item,
.trial-card,
.price-card,
.subscribe-form,
.legal-content,
footer,
.hero-content {
  overflow-wrap: anywhere;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.6rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.legal-content th {
  background: var(--light);
}

.legal-placeholder {
  background: #fff7ed;
  border-left: 4px solid #c2410c;
  padding: 0.75rem 1rem;
}

@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    padding: 0.45rem 0.8rem;
    min-height: 44px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: white;
  }

  nav ul {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.35rem 0 0.15rem;
  }

  nav ul.is-open {
    display: flex;
  }

  nav ul a {
    display: block;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .hero {
    padding: 3rem 1rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .grid,
  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 1.25rem;
  }

  .legal-content {
    margin: 1rem auto;
    padding: 1.15rem !important;
  }

  .subscribe-form {
    width: 100%;
  }
}
