/* ============================================================
   Order Cancer Drugs — sitewide styles
   Palette: pine ink, porcelain mist, lavender (awareness ribbon),
   soft sage, warm gold (sparingly)
   Type: Fraunces (display) + Nunito Sans (body)
   ============================================================ */

:root {
  --ink: #22403b;
  --ink-soft: #4a625d;
  --bg: #f5f7f5;
  --card: #ffffff;
  --sage: #e3ece5;
  --sage-deep: #cfdcd2;
  --lavender: #8677b5;
  --lavender-deep: #6a5a9e;
  --lavender-wash: #eeebf6;
  --pine-dark: #16302b;
  --gold: #c29b5c;
  --line: #d8e0d9;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 14px rgba(34, 64, 59, 0.07);
  --maxw: 1120px;
  font-size: 16px;
}

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

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

body {
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--lavender-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.18rem; font-weight: 600; }
p { color: var(--ink-soft); }
p strong { color: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50% 50% 50% 2px; /* soft ribbon-drop mark */
  background: var(--lavender);
  transform: rotate(45deg);
}

.lede { font-size: 1.12rem; max-width: 62ch; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(245, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.14rem; font-weight: 640; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--lavender-deep) 100%);
  display: grid; place-items: center; color: #fff;
  font-size: 1.05rem; font-family: "Fraunces", serif;
}
.brand small { display: block; font-family: "Nunito Sans"; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-soft); text-transform: uppercase; }

.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink-soft); font-weight: 700; font-size: 0.92rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--sage); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--lavender-wash); color: var(--lavender-deep); }
.nav .nav-cta {
  background: var(--ink); color: #fff; margin-left: 6px;
}
.nav .nav-cta:hover { background: var(--pine-dark); color: #fff; }

.menu-toggle { display: none; }

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sage); border: 1px solid var(--line);
    border-radius: 999px; padding: 8px 16px;
    font: inherit; font-weight: 800; font-size: 0.88rem; color: var(--ink);
    cursor: pointer;
  }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 em { font-style: italic; color: var(--lavender-deep); }
.hero .lede { margin: 20px 0 26px; }

.fade-up { animation: fadeUp 0.7s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* "I'm looking for…" chips */
.orient { margin-top: 6px; }
.orient-label { font-size: 0.86rem; font-weight: 800; letter-spacing: 0.05em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 9px 18px;
  font-weight: 700; font-size: 0.93rem; color: var(--ink);
  box-shadow: var(--shadow);
}
.chip:hover { border-color: var(--lavender); background: var(--lavender-wash); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 800; font-size: 0.97rem; border: none; cursor: pointer;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--pine-dark); text-decoration: none; }
.btn-soft { background: var(--lavender-wash); color: var(--lavender-deep); }
.btn-soft:hover { background: #e2dcf1; text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 66ch; margin-bottom: 36px; }
.section-head p { margin-top: 10px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 800; font-size: 0.9rem; }

.card-tint { background: var(--sage); border-color: var(--sage-deep); box-shadow: none; }
.card-lav { background: var(--lavender-wash); border-color: #ded7ee; box-shadow: none; }

.icon-dot {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--sage); display: grid; place-items: center;
  margin-bottom: 16px; font-size: 1.25rem;
}

/* ---------- Care path (homepage signature) ---------- */
.carepath { position: relative; }
.carepath-line { position: absolute; left: 0; right: 0; top: 30px; height: 60px; pointer-events: none; }
.carepath-line path { stroke: var(--sage-deep); stroke-width: 2.5; fill: none; stroke-dasharray: 1 8; stroke-linecap: round; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } .carepath-line { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: left; }
.step-marker {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--lavender);
  display: grid; place-items: center; margin-bottom: 16px;
  font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--lavender-deep);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.92rem; margin-top: 6px; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--pine-dark); color: #edf3ef; border-radius: var(--radius-lg); padding: 40px 36px; }
.stat-band .grid-3 { gap: 30px; }
.stat-band h2, .stat-band h3 { color: #fff; }
.stat-num { font-family: "Fraunces", serif; font-size: 2.3rem; color: var(--gold); line-height: 1.1; }
.stat-band p { color: #b9cbc2; font-size: 0.93rem; margin-top: 6px; }

/* ---------- Notice / disclaimer ---------- */
.notice {
  border-left: 4px solid var(--lavender);
  background: var(--lavender-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 26px 0;
  font-size: 0.93rem; color: var(--ink-soft);
}
.notice strong { color: var(--ink); }

.notice-safety {
  border-left-color: var(--gold);
  background: #f7f1e6;
}

/* ---------- Prose (inner-page article body) ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin: 44px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--lavender); }

/* ---------- Definition rows ---------- */
.defrow {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.defrow:last-child { border-bottom: 0; }
.defrow h3 { font-size: 1.05rem; }
.defrow p { font-size: 0.95rem; }
@media (max-width: 640px) { .defrow { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 58px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #eef3ef 0%, var(--bg) 100%); }
.page-hero .lede { margin-top: 14px; }

/* ---------- Blog strip ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .post-meta { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lavender-deep); margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card p { flex: 1; }

/* ---------- Helpline band ---------- */
.help-band {
  background: var(--sage); border-radius: var(--radius-lg);
  padding: 36px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
@media (max-width: 800px) { .help-band { grid-template-columns: 1fr; } }
.help-band .phone { font-family: "Fraunces", serif; font-size: 1.7rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-dark); color: #b9cbc2; margin-top: 70px; }
.site-footer .wrap { padding: 54px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #b9cbc2; display: block; padding: 4px 0; font-size: 0.93rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-family: "Fraunces", serif; color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.footer-note { font-size: 0.86rem; line-height: 1.7; max-width: 44ch; }
.footer-legal { border-top: 1px solid #2b473f; margin-top: 40px; padding-top: 22px; font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.footer-legal a { display: inline; padding: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.94rem; background: var(--card); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--sage); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
td { color: var(--ink-soft); }
td strong { color: var(--ink); }

/* ---------- FAQ ---------- */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 800; padding: 18px 22px; color: var(--ink); list-style: none; position: relative; }
summary::after { content: "+"; position: absolute; right: 22px; font-family: "Fraunces", serif; font-size: 1.2rem; color: var(--lavender-deep); }
details[open] summary::after { content: "–"; }
details .faq-body { padding: 0 22px 20px; font-size: 0.95rem; color: var(--ink-soft); }
