/* ============================================================
   ReportPlain - style.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --teal-900: #1a2f4e;
  --teal-700: #2B4C7E;
  --teal-500: #3B6FA0;
  --teal-300: #5BA4CF;
  --teal-100: #deeaf5;
  --teal-50:  #f0f5fb;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --amber-500: #f59e0b;
  --amber-50:  #fffbeb;
  --red-500:   #ef4444;
  --red-50:    #fef2f2;
  --green-500: #22c55e;
  --green-50:  #f0fdf4;
  --orange-500: #f97316;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);

  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'DM Serif Display', serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.25rem; }
p { line-height: 1.75; }

/* ---------- Layout ---------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--slate-100);
  height: 76px;
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}
.nav__logo-mark-bg { fill: #2B4C7E; }
.nav__logo-mark-doc { fill: #ffffff; }
.nav__logo-mark-fold { fill: #deeaf5; }
.nav__logo-mark-pulse {
  fill: none;
  stroke: #5BA4CF;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav__logo-icon {
  width: 36px; height: 36px;
  background: var(--teal-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
}
.nav__logo-text {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
}
.nav__logo-report {
  color: #1a2f4e;
}
.nav__logo-plain {
  color: #2B4C7E;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-700);
  transition: color .2s;
}
.nav__link:hover { color: var(--teal-700); }

/* Extension pill button */
.nav__ext-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  border: 1.5px solid var(--teal-500);
  color: var(--teal-700);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__ext-btn:hover { background: var(--teal-50); }
[data-theme="dark"] .nav__ext-btn { border-color: var(--teal-500); color: var(--teal-700); }
[data-theme="dark"] .nav__ext-btn:hover { background: var(--teal-100); }

/* Coming soon toast */
.rp-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: #0f172a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  pointer-events: none;
}
.rp-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
[data-theme="dark"] .rp-toast { background: #e2e8f0; color: #0f172a; }
.nav__usage-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  display: none;
}
.nav__usage-badge--info {
  background: var(--slate-100);
  color: var(--slate-900);
  border: 1px solid var(--slate-300);
  display: inline-block;
}
.nav__usage-badge--warn {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #c2410c;
  display: inline-block;
}
.nav__usage-badge--limit {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #dc2626;
  display: inline-block;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0d4a44 0%, #0b2545 100%);
  padding: 132px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(94,207,196,.18) 0%, transparent 68%);
  pointer-events: none;
}
.hero__heading {
  color: #ffffff;
  max-width: 720px;
  margin: 0 auto 20px;
  position: relative;
}
.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 24px;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 20px;
}
.hero__badge svg { flex-shrink: 0; }

/* ---------- Tool Section ---------- */
.tool-section {
  padding: 48px 24px 64px;
  background: linear-gradient(180deg, #e8f4f3 0%, #ffffff 55%);
}
.tool-section .container--narrow {
  margin: 0 auto;
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--amber-50);
  border: 2px solid var(--amber-500);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.disclaimer__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: #92400e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -.01em;
}
.disclaimer__title svg {
  color: #d97706;
  flex-shrink: 0;
}
.disclaimer__text {
  font-size: 14px;
  color: #78350f;
  line-height: 1.6;
  margin-bottom: 16px;
}
.disclaimer__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.disclaimer__check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--teal-700);
  cursor: pointer;
  flex-shrink: 0;
}
.disclaimer__check span {
  font-size: 14px;
  font-weight: 500;
  color: #78350f;
}
.disclaimer__privacy {
  margin-top: 10px;
  font-size: 13px;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Input Grid ---------- */
.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.input-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.input-textarea {
  width: 100%;
  height: 220px;
  border: 2.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--slate-900);
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  background: var(--white);
}
.input-textarea::placeholder { color: var(--slate-500); }
.input-textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(13,158,143,.12);
}
.upload-zone {
  height: 220px;
  border: 2.5px dashed var(--teal-300);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  background: var(--white);
  position: relative;
}
.upload-zone:hover, .upload-zone.drag-over {
  background: var(--teal-50);
  border-color: var(--teal-500);
}
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-zone__icon { color: var(--teal-500); }
.upload-zone__text {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
}
.upload-zone__sub {
  font-size: 12px;
  color: var(--slate-500);
}
.upload-zone__filename {
  font-size: 13px;
  color: var(--teal-700);
  font-weight: 500;
  text-align: center;
  padding: 0 16px;
  word-break: break-all;
}

/* ---------- Submit Button ---------- */
.btn-submit {
  width: 100%;
  height: 52px;
  background: var(--teal-700);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover:not(:disabled) {
  background: var(--teal-900);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  background: var(--slate-300);
  cursor: not-allowed;
  transform: none;
}
.btn-submit .spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text { display: none; }

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

/* ---------- Loading State ---------- */
.loading-card {
  display: none;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  padding: 48px 32px;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}
.loading-card.visible { display: block; }
.loading-card__message {
  font-size: 16px;
  color: var(--slate-700);
  font-weight: 500;
  margin-bottom: 24px;
  min-height: 28px;
  transition: opacity .3s;
}
.skeleton-rows { display: flex; flex-direction: column; gap: 10px; }
.skeleton-row {
  height: 14px;
  background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-50) 50%, var(--slate-100) 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: shimmer 1.5s infinite;
}
.skeleton-row:nth-child(2) { width: 85%; }
.skeleton-row:nth-child(3) { width: 70%; }
.skeleton-row:nth-child(4) { width: 90%; }
.skeleton-row:nth-child(5) { width: 60%; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Results ---------- */
.results-card {
  display: none;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}
.results-card.visible { display: block; }

.results-section { margin-bottom: 32px; }
.results-section:last-of-type { margin-bottom: 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-500);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.summary-text {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--slate-900);
  line-height: 1.6;
}

/* Severity */
.severity-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: white;
}
.severity-badge--normal     { background: var(--green-500); }
.severity-badge--followup   { background: var(--amber-500); }
.severity-badge--prompt     { background: var(--orange-500); }
.severity-badge--urgent     { background: var(--red-500); }

/* Findings */
.findings-grid { display: flex; flex-direction: column; gap: 10px; }
.finding-card {
  background: var(--white);
  border: 2px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 16px;
}
.finding-card__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.4;
  margin-bottom: 5px;
  letter-spacing: -.01em;
}
.finding-card__plain {
  font-size: 13px;
  color: var(--slate-900);
  line-height: 1.65;
  margin-bottom: 6px;
}
.finding-card__original {
  font-style: italic;
  font-size: 11px;
  color: var(--slate-700);
}

/* Questions */
.questions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.questions-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-900);
  line-height: 1.6;
}
.questions-list li::before {
  content: '';
  width: 8px; height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--teal-700);
  margin-top: 7px;
}

/* Result disclaimer */
.result-disclaimer {
  background: var(--amber-50);
  border: 2px solid #fcd34d;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px;
  color: #78350f;
  line-height: 1.6;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn-secondary {
  padding: 11px 22px;
  border: 1.5px solid var(--teal-700);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--teal-700);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-secondary:hover {
  background: var(--teal-50);
}
.btn-reset {
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  color: var(--slate-700);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.btn-reset:hover { background: var(--slate-300); }

/* ---------- Pricing (home) ---------- */
.pricing-section {
  background: linear-gradient(180deg, #f6fbff 0%, #eef5ff 100%);
  padding: 88px 24px;
  scroll-margin-top: 96px;
  position: relative;
  overflow: hidden;
}
.pricing-section__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 40px;
  border-radius: 28px;
  border: 1px solid #dce8f6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
}
.pricing-section__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #bfd4ea;
  background: #edf5fc;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-500);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}
.pricing-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.3vw, 2.6rem);
  font-weight: 400;
  color: var(--slate-900);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
  line-height: 1.15;
}
.pricing-section__sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-500);
  text-align: center;
  max-width: 460px;
  margin: 0 auto 42px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pricing-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #d8e5f3;
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: #b8cde6;
  box-shadow: 0 14px 30px rgba(24, 48, 79, 0.12);
}
.pricing-card--highlight {
  border: 2px solid var(--teal-500);
  background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
  box-shadow: 0 10px 28px rgba(43, 76, 126, 0.2);
}
.pricing-card--highlight:hover {
  box-shadow: 0 14px 34px rgba(43, 76, 126, 0.26);
}
.pricing-card__popular {
  position: absolute;
  top: -12px;
  right: 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.3;
  box-shadow: 0 6px 14px rgba(43, 76, 126, 0.28);
}
.pricing-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 16px;
}
.pricing-card--highlight .pricing-card__badge {
  margin-top: 8px;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--slate-900);
  margin-bottom: 6px;
  line-height: 1.1;
}
.pricing-card__period {
  font-size: 1.1rem;
  font-weight: 400;
}
.pricing-card__note {
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 20px;
}
.pricing-card__features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}
.pricing-card__features li {
  position: relative;
  font-size: 14px;
  color: var(--slate-700);
  padding-left: 22px;
  margin-bottom: 11px;
  line-height: 1.45;
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-500);
  font-weight: 700;
  font-size: 13px;
}
.pricing-card__btn {
  width: 100%;
  margin-top: auto;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.pricing-card__btn--outline {
  background: var(--white);
  border: 2px solid var(--teal-500);
  color: var(--teal-700);
}
.pricing-card__btn--outline:hover {
  background: var(--teal-50);
  border-color: var(--teal-700);
}
.pricing-card__btn--fill {
  background: var(--teal-700);
  border: 2px solid var(--teal-700);
  color: var(--white);
}
.pricing-card__btn--fill:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
}
.pricing-card__btn--dark {
  background: var(--slate-900);
  border: 2px solid var(--slate-900);
  color: var(--white);
}
.pricing-card__btn--dark:hover {
  background: var(--slate-700);
  border-color: var(--slate-700);
}
@media (max-width: 992px) {
  .pricing-section__inner {
    padding: 40px 28px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-section__heading {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }
}
@media (max-width: 560px) {
  .pricing-section__inner {
    padding: 28px 18px;
    border-radius: 22px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-section {
    padding: 56px 20px;
  }
}

/* ---------- Blog Teaser ---------- */
.blog-teaser {
  padding: 64px 24px;
  background: #f0fafa;
}
.blog-teaser__heading {
  text-align: center;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.blog-teaser__sub {
  text-align: center;
  font-size: 15px;
  color: var(--slate-500);
  margin-bottom: 40px;
}
.blog-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 32px;
}
.blog-card {
  background: var(--white);
  border: 2px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge--mri        { background: #0d9488;  color: #ffffff; }
.badge--lab        { background: #2563eb;  color: #ffffff; }
.badge--radiology  { background: #7c3aed;  color: #ffffff; }
.badge--pathology  { background: #db2777;  color: #ffffff; }
.badge--xray       { background: #d97706;  color: #ffffff; }
.badge--mammography{ background: #be185d;  color: #ffffff; }
.badge--terms      { background: #475569;  color: #ffffff; }
.blog-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--slate-900);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.blog-card__readtime {
  font-size: 12px;
  color: var(--slate-500);
}
.blog-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-700);
  margin-left: auto;
  transition: color .2s;
}
.blog-card__link:hover { color: var(--teal-900); }

.blog-teaser__cta {
  text-align: center;
}
.blog-teaser__cta a {
  font-size: 15px;
  font-weight: 500;
  color: var(--teal-700);
  transition: color .2s;
}
.blog-teaser__cta a:hover { color: var(--teal-900); }

/* ---------- Footer ---------- */
.footer {
  background: #0f0f0f;
  border-top: 1px solid #1c1c1c;
  padding: 40px 24px 28px;
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer .nav__logo-text { color: #ffffff; }
.footer .nav__logo-report { color: #ffffff; }
.footer .nav__logo-plain { color: #dbeafe; }
.footer .nav__logo-icon { background: var(--teal-500); }
.footer__tagline {
  font-size: 13px;
  color: #ffffff;
  margin-top: 6px;
}
.footer__cols {
  display: flex;
  gap: 48px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffffff;
  margin-bottom: 2px;
}
.footer__col a {
  font-size: 14px;
  color: #ffffff;
  transition: color .2s;
}
.footer__col a:hover { color: #5ecfc4; }
.footer__bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  line-height: 1.7;
}

/* ---------- Paywall Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  display: none;
}
.modal-overlay.visible { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.modal__icon {
  width: 56px; height: 56px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal-700);
}
.modal__heading {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--slate-900);
}
.modal__sub {
  text-align: center;
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 28px;
  line-height: 1.6;
}
.modal__plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
  text-decoration: none;
  color: var(--slate-900);
}
.plan-btn:hover { border-color: var(--teal-500); background: var(--teal-50); }
.plan-btn.featured { border-color: var(--teal-700); background: var(--teal-50); }
.plan-btn__name { font-weight: 500; font-size: 15px; }
.plan-btn__desc { font-size: 12px; color: var(--slate-500); margin-top: 2px; }
.plan-btn__price {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--teal-700);
  font-weight: 400;
}
.modal__unlock {
  text-align: center;
  margin-bottom: 16px;
}
.modal__unlock a {
  font-size: 13px;
  color: var(--teal-700);
  text-decoration: underline;
  cursor: pointer;
}
.modal__later {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--slate-500);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 8px;
  transition: color .2s;
}
.modal__later:hover { color: var(--slate-700); }

.modal-plan-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.modal-plan-btn__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--slate-900);
}
.modal-plan-btn__desc {
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 4px;
}
.modal-plan-btn--outline {
  background: var(--white);
  border: 1.5px solid var(--slate-300);
  color: var(--slate-900);
}
.modal-plan-btn--outline:hover {
  border-color: var(--teal-500);
  background: var(--teal-50);
}
.modal-plan-btn--solid {
  background: var(--teal-500);
  border: 1.5px solid var(--teal-500);
}
.modal-plan-btn--solid .modal-plan-btn__title,
.modal-plan-btn--solid .modal-plan-btn__desc {
  color: var(--white);
}
.modal-plan-btn--solid:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
}

/* ---------- About Page ---------- */
.about-hero {
  background: linear-gradient(135deg, #0d4a44 0%, #0b2545 100%);
  padding: 132px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(94,207,196,.16) 0%, transparent 68%);
  pointer-events: none;
}
.about-hero h1 { color: #ffffff; position: relative; }
.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.content-section {
  margin-bottom: 48px;
}
.content-section h2 {
  color: var(--teal-900);
  margin-bottom: 16px;
}
.content-section p {
  color: var(--slate-700);
  margin-bottom: 14px;
}
.legal-notice {
  background: var(--amber-50);
  border: 1.5px solid var(--amber-500);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.legal-notice__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--teal-900);
  margin-bottom: 10px;
}
.legal-notice__text {
  color: #78350f;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 32px; height: 32px;
  min-width: 32px;
  background: var(--teal-700);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 500;
}
.step-item__text { padding-top: 4px; }
.step-item__title {
  font-weight: 500;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.step-item__desc { font-size: 14px; color: var(--slate-500); }

/* ---------- Blog Index ---------- */
.blog-hero {
  background: linear-gradient(135deg, #0d4a44 0%, #0b2545 100%);
  padding: 132px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(94,207,196,.16) 0%, transparent 68%);
  pointer-events: none;
}
.blog-hero h1 { color: #ffffff; margin-bottom: 12px; position: relative; }
.blog-hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.78); position: relative; }
.blog-index {
  padding: 56px 24px 80px;
}
.blog-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.blog-grid .blog-card__title { font-size: 18px; }
.blog-card__desc {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-cta {
  max-width: 960px;
  margin: 0 auto;
  background: var(--teal-700);
  border-radius: var(--radius-2xl);
  padding: 48px 40px;
  text-align: center;
  color: white;
}
.blog-cta h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: white;
}
.blog-cta p {
  font-size: 15px;
  opacity: .85;
  margin-bottom: 24px;
}
.btn-cta {
  display: inline-block;
  padding: 14px 32px;
  background: white;
  color: var(--teal-700);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 15px;
  transition: background .2s;
}
.btn-cta:hover { background: var(--teal-50); }

/* ---------- Article Featured Image ---------- */
.article-featured-img {
  max-width: 1080px;
  margin: -72px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.article-featured-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

/* ---------- Blog Card Image ---------- */
.blog-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: block;
  background: var(--slate-100);
}

/* ---------- Article / Blog Post ---------- */
.article-hero {
  background: linear-gradient(135deg, #0d4a44 0%, #0b2545 100%);
  padding: 132px 24px 100px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(94,207,196,.16) 0%, transparent 68%);
  pointer-events: none;
}
.article-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.62);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.88); }
.breadcrumb a:hover { color: #ffffff; }
.breadcrumb__sep { color: rgba(255,255,255,.3); }
.article-hero__badge {
  display: inline-block;
  margin-bottom: 16px;
}
.article-hero h1 {
  color: #ffffff;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  flex-wrap: wrap;
}
.article-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate-700);
}
.article-body h2 {
  font-size: 1.35rem;
  color: var(--teal-900);
  margin: 40px 0 16px;
  font-family: var(--font-heading);
}
.article-body p { margin-bottom: 18px; }
.article-body a { color: var(--teal-700); text-decoration: underline; }
.article-body strong { color: var(--slate-900); }

.sidebar {
  position: sticky;
  top: 96px;
}
.sidebar-cta {
  background: var(--teal-50);
  border: 2px solid var(--teal-100);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}
.sidebar-cta__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--teal-900);
  margin-bottom: 10px;
}
.sidebar-cta__text {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 18px;
  line-height: 1.6;
}
.btn-teal {
  display: inline-block;
  padding: 12px 22px;
  background: var(--teal-700);
  color: white;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  text-align: center;
  transition: background .2s;
}
.btn-teal:hover { background: var(--teal-900); }

.article-bottom-cta {
  background: var(--teal-50);
  padding: 64px 24px;
  text-align: center;
}
.article-bottom-cta h2 {
  font-size: 1.6rem;
  color: var(--teal-900);
  margin-bottom: 12px;
}
.article-bottom-cta p {
  font-size: 15px;
  color: var(--slate-500);
  margin-bottom: 24px;
}

/* ---------- Utility ---------- */
.divider {
  border: none;
  border-top: 1px solid var(--slate-100);
  margin: 32px 0;
}
.text-center { text-align: center; }

/* ---------- Thank you (post-checkout) ---------- */
.thank-you-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}
.thank-you-main h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--slate-900);
  margin-bottom: 16px;
  line-height: 1.2;
}
.thank-you-main > p {
  font-size: 16px;
  color: var(--slate-500);
  margin-bottom: 28px;
  line-height: 1.65;
}
.thank-you-badge {
  display: none;
  margin: 0 auto 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-500);
  font-size: 14px;
  font-weight: 600;
}
.thank-you-badge.is-visible {
  display: inline-block;
}
.thank-you-main .btn-teal {
  width: auto;
  min-width: 220px;
}

[data-theme="dark"] .thank-you-main h1 { color: #ffffff; }
[data-theme="dark"] .thank-you-main > p { color: var(--slate-500); }
[data-theme="dark"] .thank-you-badge { background: rgba(34, 197, 94, 0.15); color: #4ade80; }

/* ---------- Print Styles ---------- */
@media print {
  .nav,
  .hero,
  .tool-section .disclaimer,
  .input-grid,
  .btn-submit,
  .loading-card,
  .blog-teaser,
  .pricing-section,
  .footer,
  .modal-overlay,
  .action-buttons {
    display: none !important;
  }
  .results-card {
    display: block !important;
    box-shadow: none;
    border: none;
    padding: 0;
  }
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  .results-card::after {
    content: 'Generated by ReportPlain.com - Not medical advice. Consult your healthcare provider.';
    display: block;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #ccc;
    font-size: 10pt;
    color: #555;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .input-grid { grid-template-columns: 1fr; }
  .blog-teaser-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .modal { padding: 32px 24px; }
  .nav__right { gap: 12px; }
  .nav__ext-btn span { display: none; }
  .blog-cta { padding: 36px 24px; }
  .article-featured-img { margin-top: -48px; }
  .article-featured-img img { height: 240px; }
  .blog-card__img { height: 160px; }
}

@media (max-width: 480px) {
  .hero { padding: 112px 20px 48px; }
  .results-card { padding: 24px 20px; }
  .action-buttons { flex-direction: column; }
  .action-buttons .btn-secondary,
  .action-buttons .btn-reset { width: 100%; text-align: center; }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--slate-300);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover { background: var(--teal-50); border-color: var(--teal-300); color: var(--teal-700); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] {
  --teal-900: #a7f3ed;
  --teal-700: #5ecfc4;
  --teal-500: #2cb8ac;
  --teal-300: #1a7a75;
  --teal-100: #0d3533;
  --teal-50:  #091f1e;
  --slate-900: #e2e8f0;
  --slate-700: #cbd5e1;
  --slate-500: #94a3b8;
  --slate-300: #334155;
  --slate-100: #1e293b;
  --white: #0b1929;
  --amber-50: #1c1505;
  --red-50:   #1c0505;
  --green-50: #051c0a;
}

[data-theme="dark"] body { background: #0b1929; color: var(--slate-900); }

[data-theme="dark"] .nav { background: rgba(11,25,41,.97); border-bottom-color: #1d3461; }
[data-theme="dark"] .nav__logo-icon { background: var(--teal-700); }
[data-theme="dark"] .nav__logo-text { color: var(--slate-900); }
[data-theme="dark"] .nav__logo-report { color: #e2e8f0; }
[data-theme="dark"] .nav__logo-plain { color: #93c5fd; }
[data-theme="dark"] .nav__usage-badge--info {
  background: #1e293b;
  color: #e2e8f0;
  border-color: #475569;
}
[data-theme="dark"] .nav__usage-badge--warn {
  background: rgba(217, 119, 6, 0.2);
  color: #fdba74;
  border-color: #ea580c;
}
[data-theme="dark"] .nav__usage-badge--limit {
  background: rgba(220, 38, 38, 0.18);
  color: #fca5a5;
  border-color: #ef4444;
}

[data-theme="dark"] .hero { background: linear-gradient(135deg, #071c1a 0%, #060e1d 100%); }
[data-theme="dark"] .about-hero,
[data-theme="dark"] .blog-hero,
[data-theme="dark"] .article-hero { background: linear-gradient(135deg, #071c1a 0%, #060e1d 100%); }
[data-theme="dark"] .hero__heading { color: #ffffff; }
[data-theme="dark"] .hero__sub { color: rgba(255,255,255,.7); }
[data-theme="dark"] .hero__badge { background: var(--teal-100); color: var(--teal-700); }

[data-theme="dark"] .disclaimer { background: #1c1505; border-color: #d97706; color: #fcd34d; }
[data-theme="dark"] .disclaimer__title { color: #fbbf24; }
[data-theme="dark"] .disclaimer__title svg { color: #fbbf24; }
[data-theme="dark"] .disclaimer__text { color: #fde68a; }
[data-theme="dark"] .disclaimer__check { color: #fde68a; }
[data-theme="dark"] .disclaimer__check span { color: #fde68a; }
[data-theme="dark"] .disclaimer__privacy { color: #fde68a; }

[data-theme="dark"] .input-textarea {
  background: #112240; border-color: #1d3461; color: var(--slate-900);
}
[data-theme="dark"] .input-textarea:focus { border-color: var(--teal-500); }
[data-theme="dark"] .input-textarea::placeholder { color: var(--slate-500); }

[data-theme="dark"] .upload-zone { background: #112240; border-color: #1d3461; }
[data-theme="dark"] .upload-zone:hover,
[data-theme="dark"] .upload-zone.drag-over { background: #0d3533; border-color: var(--teal-500); }
[data-theme="dark"] .upload-zone__text { color: var(--slate-700); }
[data-theme="dark"] .upload-zone__sub { color: var(--slate-500); }
[data-theme="dark"] .upload-zone__icon { color: var(--slate-500); }

[data-theme="dark"] .loading-card { background: #112240; border-color: #1d3461; }
[data-theme="dark"] .skeleton-row { background: #1d3461; }
[data-theme="dark"] .skeleton-row::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); }

[data-theme="dark"] .results-card { background: #112240; border-color: #1d3461; }
[data-theme="dark"] .section-label { color: var(--teal-700); }
[data-theme="dark"] .divider { border-top-color: #1d3461; }
[data-theme="dark"] .finding-card { background: #0d1f38; border-color: #1d3461; }
[data-theme="dark"] .finding-card__term { color: var(--slate-700); }
[data-theme="dark"] .summary-text { color: var(--slate-900); }
[data-theme="dark"] .finding-card__label { color: var(--slate-900); }
[data-theme="dark"] .finding-card__plain { color: var(--slate-900); }
[data-theme="dark"] .finding-card__original { color: var(--slate-700); }
[data-theme="dark"] .questions-list li { color: var(--slate-900); }
[data-theme="dark"] .result-disclaimer { background: #1c1505; border-color: #92400e; color: #fde68a; }
[data-theme="dark"] .btn-submit:disabled { background: #1e293b; color: #64748b; }
[data-theme="dark"] .btn-reset { background: #1d3461; color: var(--slate-700); }
[data-theme="dark"] .btn-reset:hover { background: #254080; }

[data-theme="dark"] .tool-section { background: linear-gradient(180deg, #071f1e 0%, #0b1929 55%); }
[data-theme="dark"] .pricing-section { background: linear-gradient(180deg, #091729 0%, #081321 100%); }
[data-theme="dark"] .pricing-section__inner {
  background: linear-gradient(180deg, #0f223b 0%, #0c1c31 100%);
  border-color: #1d3461;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .pricing-section__label {
  background: rgba(91, 164, 207, 0.12);
  border-color: #285182;
}
[data-theme="dark"] .pricing-section__heading { color: #ffffff; }
[data-theme="dark"] .pricing-section__sub { color: var(--slate-500); }
[data-theme="dark"] .pricing-card { background: linear-gradient(180deg, #112240 0%, #0f2039 100%); border-color: #1d3461; }
[data-theme="dark"] .pricing-card:hover { border-color: var(--teal-500); }
[data-theme="dark"] .pricing-card--highlight {
  border-color: var(--teal-500);
  background: linear-gradient(180deg, #123056 0%, #0f2743 100%);
}
[data-theme="dark"] .pricing-card__popular {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-300));
  color: #092139;
}
[data-theme="dark"] .pricing-card__price { color: #ffffff; }
[data-theme="dark"] .pricing-card__note { color: var(--slate-500); }
[data-theme="dark"] .pricing-card__features li { color: var(--slate-700); }
[data-theme="dark"] .pricing-card__btn--outline { background: #112240; color: var(--teal-300); border-color: var(--teal-500); }
[data-theme="dark"] .pricing-card__btn--dark { background: #ffffff; color: #0f172a; border-color: #ffffff; }
[data-theme="dark"] .pricing-card__btn--dark:hover { background: var(--slate-300); border-color: var(--slate-300); }
[data-theme="dark"] .blog-teaser { background: #071a18; }
[data-theme="dark"] .blog-teaser__heading { color: var(--slate-900); }
[data-theme="dark"] .blog-teaser__sub { color: var(--slate-700); }

[data-theme="dark"] .blog-card { background: #112240; border-color: #1d3461; }
[data-theme="dark"] .blog-card:hover { border-color: var(--teal-500); }
[data-theme="dark"] .blog-card__title { color: var(--slate-900); }
[data-theme="dark"] .blog-card__desc { color: var(--slate-700); }
[data-theme="dark"] .blog-card__readtime { color: var(--slate-500); }
[data-theme="dark"] .blog-card__link { color: var(--teal-700); }

[data-theme="dark"] .blog-hero__sub { color: rgba(255,255,255,.7); }
[data-theme="dark"] .blog-index { background: #0b1929; }
[data-theme="dark"] .blog-cta { background: var(--teal-100); }
[data-theme="dark"] .blog-cta h2 { color: var(--teal-700); }
[data-theme="dark"] .blog-cta p { color: var(--slate-700); }

[data-theme="dark"] .article-featured-img img { opacity: .88; }
[data-theme="dark"] .article-hero__inner h1 { color: #ffffff; }
[data-theme="dark"] .breadcrumb a { color: rgba(255,255,255,.88); }
[data-theme="dark"] .breadcrumb { color: rgba(255,255,255,.62); }
[data-theme="dark"] .article-body { color: var(--slate-900); }
[data-theme="dark"] .article-body h2 { color: var(--slate-900); }
[data-theme="dark"] .article-body p { color: var(--slate-700); }
[data-theme="dark"] .article-body strong { color: var(--slate-900); }
[data-theme="dark"] .article-body a { color: var(--teal-700); }
[data-theme="dark"] .sidebar-cta { background: #0d2040; border-color: #1d3461; }
[data-theme="dark"] .sidebar-cta__title { color: var(--slate-900); }
[data-theme="dark"] .sidebar-cta__text { color: var(--slate-700); }
[data-theme="dark"] .article-bottom-cta { background: #091422; }
[data-theme="dark"] .article-bottom-cta h2 { color: var(--slate-900); }
[data-theme="dark"] .article-bottom-cta p { color: var(--slate-700); }

[data-theme="dark"] .content-page { background: #0b1929; }
[data-theme="dark"] .content-section h2 { color: var(--slate-900); }
[data-theme="dark"] .content-section p { color: var(--slate-700); }
[data-theme="dark"] .content-section ol { color: var(--slate-700); }
[data-theme="dark"] .legal-notice {
  background: #1f2937;
  border-color: #5BA4CF;
}
[data-theme="dark"] .legal-notice__title {
  color: var(--slate-900);
}
[data-theme="dark"] .legal-notice__text {
  color: #e2e8f0;
}
[data-theme="dark"] .step-item { border-color: #1d3461; }
[data-theme="dark"] .step-num { background: var(--teal-100); color: var(--teal-700); }
[data-theme="dark"] .step-item__title { color: var(--slate-900); }
[data-theme="dark"] .step-item__desc { color: var(--slate-700); }

[data-theme="dark"] .modal-overlay { background: rgba(0,0,0,.75); }
[data-theme="dark"] .modal { background: #112240; border-color: #1d3461; }
[data-theme="dark"] .modal__heading { color: var(--slate-900); }
[data-theme="dark"] .modal__sub { color: var(--slate-700); }
[data-theme="dark"] .plan-btn { background: #0d1f38; border-color: #1d3461; color: var(--slate-900); }
[data-theme="dark"] .plan-btn:hover { border-color: var(--teal-500); background: #0d3533; }
[data-theme="dark"] .plan-btn.featured { background: var(--teal-100); border-color: var(--teal-500); }
[data-theme="dark"] .plan-btn__name { color: var(--slate-900); }
[data-theme="dark"] .plan-btn__desc { color: var(--slate-500); }
[data-theme="dark"] .modal-plan-btn--outline {
  background: #0d1f38;
  border-color: #1d3461;
}
[data-theme="dark"] .modal-plan-btn--outline .modal-plan-btn__title { color: #ffffff; }
[data-theme="dark"] .modal-plan-btn--outline .modal-plan-btn__desc { color: var(--slate-500); }
[data-theme="dark"] .modal-plan-btn--outline:hover { border-color: var(--teal-500); background: #0d3533; }
[data-theme="dark"] .modal__later { color: var(--slate-500); }
[data-theme="dark"] .modal__unlock a { color: var(--teal-700); }

[data-theme="dark"] .footer { background: #080808; border-top-color: #1a1a1a; }
[data-theme="dark"] .footer__bottom { border-top-color: #2a2a2a; color: #ffffff; }
[data-theme="dark"] .footer__tagline { color: #ffffff; }
[data-theme="dark"] .footer__col a { color: #ffffff; }
[data-theme="dark"] .footer__col-label { color: #ffffff; }

[data-theme="dark"] .theme-toggle { background: #1e293b; border-color: #334155; color: var(--slate-700); }
[data-theme="dark"] .theme-toggle:hover { background: var(--teal-100); border-color: var(--teal-500); color: var(--teal-700); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 2px solid var(--slate-300);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.contact-form-card .form-sub {
  color: var(--slate-500);
  font-size: 15px;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group .input-label { display: block; margin-bottom: 7px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--slate-900);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(13,158,143,.12);
}
.form-input::placeholder { color: var(--slate-500); }
.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.contact-submit {
  width: 100%;
  padding: 15px;
  background: var(--teal-700);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.contact-submit:hover { background: var(--teal-900); }
.contact-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}
.form-msg.success { display: block; background: var(--green-50); color: #166534; border: 1px solid #bbf7d0; }
.form-msg.error   { display: block; background: var(--red-50);   color: #991b1b; border: 1px solid #fecaca; }
.contact-info-card {
  background: var(--teal-50);
  border: 2px solid var(--teal-100);
  border-radius: var(--radius-2xl);
  padding: 36px;
}
.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--teal-900);
  margin-bottom: 20px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 38px;
  height: 38px;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}
.contact-info-item p { font-size: 14px; color: var(--slate-700); line-height: 1.5; }
.contact-info-item strong { display: block; font-size: 14px; font-weight: 500; color: var(--slate-900); margin-bottom: 2px; }
.contact-info-item a { color: var(--teal-700); text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }

[data-theme="dark"] .contact-form-card { background: #112240; border-color: #1d3461; }
[data-theme="dark"] .contact-form-card h2 { color: var(--slate-900); }
[data-theme="dark"] .contact-form-card .form-sub { color: var(--slate-500); }
[data-theme="dark"] .form-input { background: #0d1f38; border-color: #1d3461; color: var(--slate-900); }
[data-theme="dark"] .form-input:focus { border-color: var(--teal-500); }
[data-theme="dark"] .form-input::placeholder { color: var(--slate-500); }
[data-theme="dark"] .contact-info-card { background: #0d3533; border-color: #1d3461; }
[data-theme="dark"] .contact-info-card h3 { color: var(--teal-700); }
[data-theme="dark"] .contact-info-item p { color: var(--slate-700); }
[data-theme="dark"] .contact-info-item strong { color: var(--slate-900); }
[data-theme="dark"] .contact-info-icon { background: var(--teal-100); }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 24px; }
}

/* ============================================================
   RELATED ARTICLES
   ============================================================ */
.related-articles {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  border-top: 1.5px solid var(--slate-300);
}
.related-articles h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--slate-900);
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: block;
  padding: 18px 20px;
  border: 2px solid var(--slate-300);
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.related-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.related-card__badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--teal-700);
  margin-bottom: 8px;
  display: block;
}
.related-card__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-900);
  line-height: 1.45;
  margin-bottom: 10px;
}
.related-card__arrow {
  font-size: 13px;
  color: var(--teal-700);
  display: block;
}
[data-theme="dark"] .related-articles { border-top-color: #1d3461; }
[data-theme="dark"] .related-articles h2 { color: var(--slate-900); }
[data-theme="dark"] .related-card { background: #112240; border-color: #1d3461; }
[data-theme="dark"] .related-card:hover { border-color: var(--teal-500); }
[data-theme="dark"] .related-card__title { color: var(--slate-900); }
[data-theme="dark"] .related-card__badge { color: var(--teal-700); }
[data-theme="dark"] .related-card__arrow { color: var(--teal-700); }
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}
