
/* =========================================================
   DARK THEME
   ========================================================= */

html[data-theme="dark"] {
  color-scheme: dark;

  --ink: #ecfeff;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --paper: #071313;
  --paper-2: #0b1f1d;
  --card: #0d2422;
  --line: #1e3b38;
  --teal-50: #0b2926;
  --teal-100: #123e39;
  --teal-200: #1b625a;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #14b8a6;
  --teal-700: #2dd4bf;
  --teal-800: #5eead4;
  --teal-900: #99f6e4;
  --dark: #020c0c;
  --dark-2: #061615;
  --white: #f8fafc;
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.20);
  --shadow-md: 0 22px 55px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 38px 95px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] body {
  background: var(--paper);
}

html[data-theme="dark"] .site-header {
  background: rgba(7, 19, 19, 0.86);
  border-bottom-color: rgba(30, 59, 56, 0.88);
}

html[data-theme="dark"] .icon-button,
html[data-theme="dark"] .button-ghost,
html[data-theme="dark"] .search-field,
html[data-theme="dark"] .directory-search,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .search-result,
html[data-theme="dark"] .medicine-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .modal-close,
html[data-theme="dark"] .modal-dialog {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .button-ghost:hover,
html[data-theme="dark"] .chip:hover {
  background: var(--teal-50);
}

html[data-theme="dark"] .main-nav a {
  color: #b8c9c7;
}

html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a.is-active {
  color: var(--teal-300);
}

html[data-theme="dark"] .brand-text small,
html[data-theme="dark"] .medicine-card-body p,
html[data-theme="dark"] .blog-card-body p,
html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .article-meta,
html[data-theme="dark"] .card-meta {
  color: #94a3b8;
}

html[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(45, 212, 191, 0.12), transparent 32%),
    radial-gradient(circle at 55% 90%, rgba(20, 184, 166, 0.08), transparent 34%),
    linear-gradient(180deg, #071313 0%, #0b1f1d 100%);
}

html[data-theme="dark"] .hero::after {
  background: linear-gradient(180deg, transparent, var(--paper));
}

html[data-theme="dark"] .section-light,
html[data-theme="dark"] .article-section {
  background: var(--paper);
}

html[data-theme="dark"] .medicine-card {
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .medicine-card:hover,
html[data-theme="dark"] .blog-card:hover {
  box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .medicine-illustration {
  filter: saturate(.82) brightness(.84);
}

html[data-theme="dark"] .search-panel {
  background: rgba(8, 20, 20, 0.98);
  border-top-color: transparent;
}

html[data-theme="dark"] .search-panel.is-open {
  border-top-color: var(--line);
}

html[data-theme="dark"] .search-field input,
html[data-theme="dark"] .directory-search input,
html[data-theme="dark"] .newsletter-form input {
  color: var(--ink);
}

html[data-theme="dark"] .search-field kbd {
  background: #102c29;
  border-color: var(--line);
  color: var(--muted);
}

html[data-theme="dark"] .newsletter {
  background:
    radial-gradient(circle at 88% 22%, rgba(94, 234, 212, 0.14), transparent 23%),
    linear-gradient(135deg, #061615, #0a2a27);
}

html[data-theme="dark"] .safety-banner {
  background: #231d0b;
  border-color: #5b4a1f;
}

html[data-theme="dark"] .safety-banner p {
  color: #cbb982;
}

html[data-theme="dark"] .about-section {
  background: #091918;
}

html[data-theme="dark"] .footer-cta {
  background: #0a2623;
}

html[data-theme="dark"] .modal-backdrop {
  background: rgba(0, 0, 0, 0.78);
}

html[data-theme="dark"] .modal-warning {
  background: #2a210b;
  color: #dbc982;
}

html[data-theme="dark"] .mobile-menu-button span {
  background: var(--ink);
}

html[data-theme="dark"] .main-nav.is-open {
  background: #0d2422;
  border-color: var(--line);
}

html[data-theme="dark"] .main-nav.is-open a:hover {
  background: var(--teal-50);
}

html[data-theme="dark"] .toast {
  background: #ecfeff;
  color: #06201d;
}

/* =========================================================
   THEME TOGGLE
   ========================================================= */

.theme-toggle {
  position: relative;
  overflow: hidden;
}

.theme-toggle .theme-icon {
  display: block;
  font-size: 18px;
  line-height: 1;
  transition: transform .3s var(--ease);
}

html[data-theme="dark"] .theme-toggle .theme-icon {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle .theme-icon {
    transition: none;
  }
}

/* =========================================================
   WORDS OF MEDICINE — DESIGN SYSTEM
   ========================================================= */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --paper: #f8fafc;
  --paper-2: #eef5f4;
  --card: #ffffff;
  --line: #dce5e5;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --dark: #071b1a;
  --dark-2: #0c2725;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 35px 90px rgba(15, 23, 42, 0.18);
  --focus-ring: rgba(20, 184, 166, 0.35);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1,
h2,
h3,
h4,
p {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* =========================================================
   TOP STRIP
   ========================================================= */

.top-strip {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.top-strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(220, 229, 229, 0.75);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 40px;
  height: 40px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
  overflow: hidden;
}

.brand-cross,
.brand-cross::before {
  display: block;
  position: absolute;
  width: 19px;
  height: 6px;
  background: #fff;
  border-radius: 99px;
}

.brand-cross {
  transform: rotate(0deg);
}

.brand-cross::before {
  content: "";
  transform: rotate(90deg);
}

.brand-orbit {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  font-size: 13px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--teal-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  font-size: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: var(--teal-300);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  border-radius: 12px;
}

.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 10px;
}

.search-panel {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  transition: max-height 0.35s var(--ease), border-color 0.35s ease;
  border-top: 1px solid transparent;
}

.search-panel.is-open {
  max-height: 460px;
  border-top-color: var(--line);
}

.search-panel-inner {
  padding: 18px 0 22px;
}

.search-field,
.directory-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.search-field > span,
.directory-search > span {
  color: var(--muted);
  font-size: 20px;
}

.search-field input,
.directory-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-field kbd {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 7px;
  font-size: 11px;
  color: var(--muted);
}

.search-results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 320px;
  overflow: auto;
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}

.search-result small {
  display: block;
  color: var(--muted);
}

.search-result strong {
  display: block;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 17px;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-small {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
}

.button-large {
  padding: 14px 19px;
  font-size: 14px;
  border-radius: 14px;
}

.button-primary {
  color: #fff;
  background: var(--teal-700);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.button-primary:hover {
  background: var(--teal-800);
  box-shadow: 0 16px 32px rgba(15, 118, 110, 0.28);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.button-white {
  color: var(--dark);
  background: #fff;
}

.button-outline {
  color: var(--teal-700);
  background: #fff;
  border-color: var(--teal-200);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(45, 212, 191, 0.15), transparent 32%),
    radial-gradient(circle at 55% 90%, rgba(20, 184, 166, 0.10), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eff7f6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-glow-one {
  right: -260px;
  top: 80px;
  background: rgba(20, 184, 166, 0.13);
}

.hero-glow-two {
  left: -270px;
  bottom: -250px;
  background: rgba(45, 212, 191, 0.09);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 68px;
  align-items: center;
  padding: 80px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 20px;
}

.eyebrow-light {
  color: var(--teal-200);
}

.hero-content h1 {
  max-width: 680px;
  margin-top: 20px;
  font-size: clamp(48px, 6vw, 78px);
}

.hero-content h1 span {
  color: var(--teal-700);
  position: relative;
}

.hero-content h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 8px;
  background: rgba(45, 212, 191, 0.18);
  border-radius: 99px;
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero-lead {
  max-width: 600px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 17px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.trust-item {
  display: grid;
  gap: 1px;
}

.trust-item strong {
  font-family: "Manrope";
  font-size: 16px;
}

.trust-item span {
  color: var(--muted);
  font-size: 11px;
}

.trust-line {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.hero-visual {
  min-height: 490px;
  display: grid;
  place-items: center;
}

.medical-orb {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.orb-ring-one {
  inset: 5%;
  animation: slowspin 18s linear infinite;
}

.orb-ring-two {
  inset: 16%;
  border-style: dashed;
  animation: slowspin 28s linear infinite reverse;
}

.orb-core {
  width: 64%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 26px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(220, 229, 229, 0.9);
  border-radius: 13px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  animation: float 4s ease-in-out infinite;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 12px;
}

.floating-card small {
  color: var(--muted);
  font-size: 9px;
}

.card-a {
  left: 0;
  top: 26%;
}

.card-b {
  right: 0;
  bottom: 23%;
  animation-delay: -1.3s;
}

.mini-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-weight: 800;
}

.floating-pill {
  position: absolute;
  right: 10%;
  top: 8%;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 10px;
  box-shadow: var(--shadow-md);
  transform: rotate(6deg);
}

.pill-shape {
  width: 14px;
  height: 7px;
  border-radius: 99px;
  transform: rotate(-25deg);
}

.pill-blue {
  background: var(--teal-300);
}

.pill-white {
  background: #fff;
}

/* =========================================================
   TICKER
   ========================================================= */

.ticker-section {
  overflow: hidden;
  background: var(--teal-700);
  color: rgba(255, 255, 255, 0.86);
  transform: rotate(-1deg) scale(1.03);
}

.ticker-track {
  width: max-content;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  animation: marquee 22s linear infinite;
}

/* =========================================================
   SECTION
   ========================================================= */

.section {
  padding: 110px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

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

.section-heading h2 {
  margin-top: 13px;
  font-size: clamp(36px, 4.5vw, 54px);
}

.section-heading p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.62);
}

.section-heading-dark h2 {
  color: #fff;
}

.text-link {
  color: var(--teal-700);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

/* =========================================================
   MEDICINE DIRECTORY
   ========================================================= */

.search-directory {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.category-chips {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.chip:hover,
.chip.active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}

.medicine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.medicine-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 23px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.medicine-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.medicine-illustration {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.med-teal { background: linear-gradient(135deg, #ccfbf1, #ecfeff); }
.med-sky { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.med-violet { background: linear-gradient(135deg, #ede9fe, #f5f3ff); }
.med-rose { background: linear-gradient(135deg, #ffe4e6, #fff1f2); }
.med-amber { background: linear-gradient(135deg, #fef3c7, #fffbeb); }
.med-indigo { background: linear-gradient(135deg, #e0e7ff, #eef2ff); }

.medicine-illustration::before,
.medicine-illustration::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.medicine-illustration::before {
  width: 210px;
  height: 210px;
}

.medicine-illustration::after {
  width: 145px;
  height: 145px;
}

.med-label {
  position: absolute;
  left: 15px;
  top: 15px;
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 25px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.capsule {
  position: relative;
  width: 112px;
  height: 45px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.15);
  transform: rotate(-16deg);
  overflow: hidden;
}

.capsule > span,
.capsule > i {
  position: absolute;
  inset-block: 0;
  width: 50%;
}

.capsule > span { left: 0; background: var(--teal-400); }
.capsule > i { right: 0; background: #fff; }

.capsule-vertical {
  width: 47px;
  height: 112px;
  transform: rotate(24deg);
}

.capsule-vertical > span,
.capsule-vertical > i {
  inset-inline: 0;
  width: 100%;
  height: 50%;
}

.capsule-vertical > span { top: 0; bottom: auto; }
.capsule-vertical > i { bottom: 0; top: auto; }

.capsule-split > span {
  background: #f59e0b;
}

.tablet {
  width: 80px;
  height: 80px;
  background: #fff;
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.14);
}

.tablet-circle { border-radius: 50%; }
.tablet-rounded { border-radius: 24px; transform: rotate(-14deg); }

.heart-beat {
  position: relative;
  color: #fb7185;
  font-size: 84px;
  filter: drop-shadow(0 18px 20px rgba(190, 24, 93, 0.18));
  animation: heartbeat 1.8s ease-in-out infinite;
}

.medicine-card-body {
  padding: 21px 21px 23px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  color: var(--teal-700);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--teal-400);
  border-radius: 50%;
}

.tag-muted {
  color: #94a3b8;
}

.medicine-card h3,
.blog-card h3 {
  margin-top: 13px;
  font-size: 22px;
}

.medicine-card-body p,
.blog-card-body p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.card-link {
  display: inline-flex;
  margin-top: 17px;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 800;
}

.card-link:hover {
  color: var(--teal-900);
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  margin-top: 20px;
}

.empty-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 22px;
}

/* =========================================================
   CONDITIONS
   ========================================================= */

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

.condition-card {
  min-height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.condition-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 234, 212, 0.36);
  background: linear-gradient(145deg, rgba(20,184,166,0.12), rgba(255,255,255,0.03));
}

.condition-number {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.16em;
  font-weight: 800;
}

.condition-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-top: 35px;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal-300);
  font-size: 24px;
}

.condition-card h3 {
  margin-top: 20px;
  font-size: 22px;
}

.condition-card p {
  margin-top: 8px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
}

.condition-arrow {
  margin-top: auto;
  padding-top: 22px;
  color: var(--teal-300);
  font-weight: 900;
}

/* =========================================================
   ARTICLES
   ========================================================= */

.feature-article {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.feature-art {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 24%, rgba(94, 234, 212, 0.24), transparent 20%),
    linear-gradient(135deg, #0b3431, #0f766e);
}

.art-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(500px) rotateX(62deg) translateY(140px) scale(1.4);
  transform-origin: center bottom;
}

.art-sun {
  position: absolute;
  left: 10%;
  top: 10%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,251,241,0.85), rgba(94,234,212,0));
  filter: blur(3px);
}

.art-bottle {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 190px;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.bottle-cap {
  width: 122px;
  height: 27px;
  margin: 0 auto -3px;
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(180deg, #dffcf8, #91e9dc);
}

.bottle-body {
  min-height: 260px;
  display: grid;
  align-content: center;
  padding: 40px 22px;
  border-radius: 22px 22px 42px 42px;
  background: linear-gradient(165deg, #fff, #e9fffb);
  color: var(--dark);
  box-shadow: 0 28px 50px rgba(0,0,0,0.25);
  transform: perspective(500px) rotateY(-7deg);
}

.bottle-body span {
  font-size: 10px;
  letter-spacing: 0.16em;
}

.bottle-body strong {
  margin-top: 9px;
  font-size: 27px;
  line-height: 0.94;
  font-family: "Manrope";
}

.bottle-body small {
  margin-top: 14px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.art-card-floating {
  position: absolute;
  right: 11%;
  top: 14%;
  padding: 13px;
  background: #fff;
  color: var(--dark);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-family: "Manrope";
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(5deg);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px;
}

.feature-copy h3 {
  margin-top: 20px;
  font-size: clamp(30px, 3.4vw, 47px);
}

.feature-copy > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 11px;
}

.feature-copy .button {
  width: fit-content;
  margin-top: 31px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-image {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.blog-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.blog-image-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 25px;
  color: #fff;
  font-size: 34px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.18);
}

.image-one {
  background:
    radial-gradient(circle at 70% 24%, rgba(255,255,255,.34), transparent 16%),
    linear-gradient(135deg, #164e63, #0f766e);
}

.image-two {
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.28), transparent 16%),
    linear-gradient(135deg, #312e81, #4f46e5);
}

.image-three {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.30), transparent 18%),
    linear-gradient(135deg, #831843, #be185d);
}

.blog-card-body {
  padding: 21px;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  margin-top: 58px;
  padding: 46px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 22%, rgba(94, 234, 212, 0.18), transparent 23%),
    linear-gradient(135deg, #081c1b, #0b3431);
  color: #fff;
  overflow: hidden;
}

.newsletter::after {
  content: "WOM";
  position: absolute;
  right: -30px;
  bottom: -100px;
  font-family: "Manrope";
  font-size: 220px;
  line-height: 1;
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  pointer-events: none;
}

.newsletter h3 {
  max-width: 580px;
  margin-top: 15px;
  font-size: 34px;
}

.newsletter-copy p {
  max-width: 570px;
  margin-top: 12px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
}

.newsletter-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}

.newsletter-form input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: 0;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.38);
}

.newsletter-form input:focus {
  border-color: rgba(94,234,212,0.6);
}

.newsletter-form .button {
  height: 48px;
}

.newsletter-form small {
  grid-column: 1 / -1;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
}

/* =========================================================
   SAFETY BANNER
   ========================================================= */

.safety-section {
  padding-top: 0;
}

.safety-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border: 1px solid #f1e4b2;
  border-radius: 22px;
  background: #fffaf0;
}

.safety-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fef3c7;
  color: #92400e;
  font-size: 20px;
  font-weight: 900;
}

.safety-banner h3 {
  margin-top: 7px;
  font-size: 21px;
}

.safety-banner p {
  max-width: 770px;
  margin-top: 8px;
  color: #7c6a3e;
  font-size: 12px;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}

.about-visual {
  display: grid;
  place-items: center;
}

.about-poster {
  width: min(100%, 390px);
  aspect-ratio: 0.79;
  position: relative;
  padding: 25px;
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 70% 22%, rgba(94,234,212,.45), transparent 18%),
    linear-gradient(145deg, #0b3431, #134e4a);
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}

.about-poster::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
}

.poster-top,
.poster-bottom {
  position: relative;
  z-index: 1;
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.poster-bottom {
  position: absolute;
  left: 25px;
  bottom: 25px;
  color: var(--teal-200);
}

.poster-cross {
  position: absolute;
  top: 21%;
  right: 16%;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--teal-300);
  font-family: "Manrope";
  font-size: 80px;
  font-weight: 300;
}

.poster-title {
  position: absolute;
  left: 25px;
  bottom: 26%;
  font-family: "Manrope";
  font-weight: 900;
  font-size: 48px;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.about-copy h2 {
  margin-top: 17px;
  font-size: clamp(38px, 4.6vw, 58px);
}

.about-copy > p {
  max-width: 670px;
  margin-top: 19px;
  color: var(--muted);
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 31px;
}

.about-point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.about-point > span {
  color: var(--teal-700);
  font-size: 10px;
  font-weight: 900;
}

.about-point strong {
  font-size: 13px;
}

.about-point p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

/* =========================================================
   FOOTER CTA
   ========================================================= */

.footer-cta {
  padding-top: 75px;
  padding-bottom: 75px;
  background: var(--teal-50);
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-cta h2 {
  margin-top: 13px;
  font-size: clamp(32px, 4vw, 52px);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--dark);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  padding: 70px 0 48px;
}

.footer-brand p {
  max-width: 270px;
  margin-top: 17px;
  color: rgba(255,255,255,0.48);
  font-size: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links h4 {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin-top: 11px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--teal-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0 30px;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* =========================================================
   MODAL
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 17, 17, 0.72);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(780px, 90vh);
  overflow: auto;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.98);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 23px;
}

.modal-kicker {
  color: var(--teal-700);
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 900;
}

.modal-dialog h2 {
  margin-top: 10px;
  font-size: clamp(31px, 4vw, 46px);
}

.modal-content {
  margin-top: 22px;
}

.modal-section {
  padding-top: 20px;
}

.modal-section h4 {
  font-size: 15px;
}

.modal-section p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.modal-warning {
  margin-top: 20px;
  padding: 15px;
  border-radius: 14px;
  background: #fff7e8;
  color: #765b2c;
  font-size: 12px;
}

/* =========================================================
   TOAST
   ========================================================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 800;
  transform: translate(-50%, 20px);
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

.reveal-delay {
  transition-delay: 0.13s;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
  }

  .hero-grid {
    gap: 40px;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .top-strip-inner span:last-child {
    display: none;
  }

  .main-nav,
  .header-actions .button {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .header-inner {
    gap: 12px;
  }

  .main-nav.is-open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 1px);
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open a {
    padding: 12px;
    border-radius: 10px;
  }

  .main-nav.is-open a:hover {
    background: var(--teal-50);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content .eyebrow {
    justify-content: center;
  }

  .hero-content h1,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    min-height: 430px;
  }

  .feature-article {
    grid-template-columns: 1fr;
  }

  .feature-art {
    min-height: 390px;
  }

  .feature-copy {
    padding: 38px;
  }

  .newsletter {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-copy {
    text-align: center;
  }

  .about-copy > p {
    margin-inline: auto;
  }

  .about-points {
    text-align: left;
  }

  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .top-strip-inner {
    justify-content: center;
  }

  .top-strip-inner span {
    font-size: 10px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 58px 0 78px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-trust {
    gap: 12px;
  }

  .trust-line {
    height: 26px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .floating-card {
    transform: scale(.85);
  }

  .card-a {
    left: -8px;
  }

  .card-b {
    right: -8px;
  }

  .floating-pill {
    right: 0;
    top: 2%;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    display: inline-block;
    margin-top: 15px;
  }

  .search-directory {
    grid-template-columns: 1fr;
  }

  .category-chips {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .chip {
    white-space: nowrap;
  }

  .medicine-grid,
  .condition-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .condition-card {
    min-height: 255px;
  }

  .feature-art {
    min-height: 315px;
  }

  .art-bottle {
    width: 140px;
  }

  .bottle-body {
    min-height: 205px;
  }

  .feature-copy {
    padding: 30px 24px;
  }

  .newsletter {
    padding: 26px 20px;
  }

  .newsletter h3 {
    font-size: 27px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form small {
    grid-column: auto;
  }

  .safety-banner {
    grid-template-columns: 1fr;
  }

  .safety-banner .button {
    width: 100%;
  }

  .about-poster {
    max-width: 330px;
  }

  .poster-title {
    font-size: 39px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .modal-dialog {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   EXTRA DETAIL / UTILITY CLASSES
   ========================================================= */

.focus-ring:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.35);
  outline-offset: 3px;
}

.no-select {
  user-select: none;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-5 { margin-top: 20px !important; }
.mt-6 { margin-top: 24px !important; }
.mt-7 { margin-top: 28px !important; }
.mt-8 { margin-top: 32px !important; }

.p-0 { padding: 0 !important; }
.text-center { text-align: center !important; }
.w-full { width: 100% !important; }

/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes slowspin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.07); }
  20% { transform: scale(1); }
  30% { transform: scale(1.05); }
  45% { transform: scale(1); }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-35%);
  }
}
