/* Site theme: healthcare-luxury palette, serif headlines, roomier spacing.
   Loaded last on every page so it overrides each page's own color tokens.
   The previous copper/orange theme is saved as git tag theme-orange-backup-2026-11-03;
   removing this file's <link> tags restores it. */
:root {
  --ink: #0b1613;
  --ink-2: #12211d;
  --cream: #f2ece1;
  --muted: #9ea8a2;
  --muted-2: #8a958f; /* brightened so small print passes contrast on the dark background */
  --line: rgba(242, 236, 225, 0.1);
  --copper: #d9b47c;
  --copper-2: #c49a5c;
  --pink: #8fb8a6;
  --champagne: #e6cfa6;
  --teal: #8fc3ad;
  --teal-bg: rgba(143, 195, 173, 0.08);
  --teal-line: rgba(143, 195, 173, 0.25);
  --sage: #8fc3ad;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}
h1 { line-height: 1.04; }
h2 { line-height: 1.12; }

body { line-height: 1.65; }

/* Buttons: brass glow instead of orange. */
.btn { box-shadow: 0 0 0 6px rgba(217, 180, 124, 0.22); }

/* Homepage: more room between sections, quieter hero. */
.content > section { padding-block: 128px; }
.bubble.far { display: none; }

/* Trust row under the homepage button. */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.trust-row span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); margin-right: 8px; vertical-align: middle; }

/* The floating privacy badge crowds the hero on phones. */
@media (max-width: 600px) { .privacy-badge { display: none; } }

/* Sage marks anything about privacy. */
.privacy-badge span { border-color: var(--sage); color: var(--sage); }
details.privacy-q { border-left: 2px solid var(--sage); padding-left: 16px; background: var(--teal-bg); border-radius: 6px; }
details.privacy-q summary { color: var(--sage); }
li.privacy-li { color: var(--sage); }

/* Inner pages: a little more air in long articles. */
.prose h2 { margin-top: 44px; }

/* Menus: match the new palette. */
.dd-panel, .mobile-menu { background: var(--ink-2) !important; border-color: rgba(217, 180, 124, 0.28) !important; }
.menu-btn { border-color: rgba(217, 180, 124, 0.35); }

/* Phone header: short wordmark, Apply then menu at the far right, matching sizes. */
@media (max-width: 700px) {
  nav.topbar { gap: 10px; }
  nav.topbar .wordmark { font-size: 0 !important; gap: 10px; }
  nav.topbar .wordmark::after { content: "Serenity"; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--cream); }
  nav.topbar .btn { order: 2; margin-left: auto; height: 42px; display: inline-flex; align-items: center; padding: 0 18px !important; font-size: 13.5px !important; box-shadow: none; }
  nav.topbar .btn::before, nav.topbar .btn::after { display: none; }
  .menu-btn { order: 3; margin: 0; width: 42px; height: 42px; border-radius: 999px; }
}

/* Callout boxes on legal pages: brass instead of orange. */
.callout { background: rgba(217, 180, 124, 0.07) !important; border-color: rgba(217, 180, 124, 0.28) !important; }

/* Small print inside articles, such as "not legal advice" notes. */
.prose p.note { font-size: 15px; color: var(--muted); font-style: italic; }

/* Data tables in research articles. Scrolls sideways on phones instead of squashing. */
.prose table.data { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 14.5px; display: block; overflow-x: auto; }
.prose table.data th, .prose table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.prose table.data th:first-child, .prose table.data td:first-child { text-align: left; white-space: normal; min-width: 180px; color: var(--cream); }
.prose table.data thead th { color: var(--copper); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.prose table.data tbody tr:first-child td { color: var(--muted); }

/* Insights page: featured guide, topic filter, show more. */
.feature-card { display: block; margin: 8px 0 28px; padding: 32px; border-radius: 16px; text-decoration: none; color: var(--cream);
  background: linear-gradient(135deg, rgba(217, 180, 124, 0.14), rgba(143, 195, 173, 0.06)); border: 1px solid rgba(217, 180, 124, 0.35); }
.feature-card h2 { margin: 8px 0 10px; font-size: clamp(26px, 3.4vw, 36px); }
.feature-card p { color: var(--muted); max-width: 640px; margin: 0 0 14px; }
.feature-card .more { color: var(--copper); font-weight: 600; }
.feature-card:hover { border-color: var(--copper); }
.topic-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.topic-filter .chip { font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line); }
.topic-filter .chip:hover { color: var(--cream); border-color: rgba(217, 180, 124, 0.45); }
.topic-filter .chip.on { background: var(--copper); color: var(--ink); border-color: var(--copper); font-weight: 600; }
.insight-grid .card[hidden], .no-guides[hidden], .more-btn[hidden] { display: none !important; }
.more-wrap { text-align: center; margin-top: 24px; }
.more-btn { font: inherit; font-weight: 600; padding: 12px 24px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--cream); border: 1px solid rgba(217, 180, 124, 0.45); }
.more-btn:hover { border-color: var(--copper); }
.no-guides { color: var(--muted); }
@media (max-width: 600px) { .feature-card { padding: 22px; } .topic-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .topic-filter .chip { flex: 0 0 auto; } }
.feature-card[hidden] { display: none !important; }

/* .paper-run groups homepage sections (no background; the tonal band was tried and dropped Nov 2026). */
.paper-run { position: relative; }
.paper-run > section { padding-block: 112px; }

/* Proof band at the top of the first band. */
.proof-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-bottom: 72px; }
.proof-cell { background: rgba(242, 236, 225, 0.04); border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 6px; color: var(--cream); text-decoration: none; }
.proof-cell b { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1; color: var(--cream); }
.proof-cell span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.proof-cell .k { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--copper); }
a.proof-cell { background: rgba(217, 180, 124, 0.08); border-color: rgba(217, 180, 124, 0.3); }
a.proof-cell .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--copper); font-size: 14px; }
a.proof-cell:hover { border-color: rgba(217, 180, 124, 0.55); }
@media (max-width: 820px) { .proof-grid { grid-template-columns: 1fr; } .paper-run > section { padding-block: 80px; } }

/* "Includes" chips under service steps on niche pages. */
.includes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.includes span { font-size: 12.5px; border: 1px solid rgba(217, 180, 124, 0.3); border-radius: 999px; padding: 4px 11px; color: var(--champagne); }

/* Phones: keep the row labels in view while the numbers scroll, show that the table
   scrolls, and give small link lists a comfortable tap height. */
@media (max-width: 700px) {
  .prose table.data { font-size: 13.5px;
    background: linear-gradient(to left, rgba(242,236,225,.10), rgba(242,236,225,0) 28px) right / 28px 100% no-repeat scroll; }
  .prose table.data::before { content: "Swipe to see every practice type \2192"; display: block; position: sticky; left: 0;
    font-size: 12px; letter-spacing: .04em; color: var(--muted); padding: 0 0 8px; white-space: nowrap; }
  .prose table.data th:first-child, .prose table.data td:first-child { position: sticky; left: 0; z-index: 1;
    min-width: 132px; max-width: 150px; background: #0f1a17; box-shadow: 1px 0 0 var(--line); }
  .toc a { padding: 6px 0; margin: 2px 0; }
}

/* Print / PDF: the report and articles print as clean documents. */
@media print {
  .cursor-dot, .blobs, .progress, nav.topbar, .mobile-menu, footer.sfoot, .hero-ctas, .bubbles, .report-optin, a.cta, .crumbs, section.faq { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .wrap-wide:has(> nav.topbar) { display: none !important; }
  .grad { background: none !important; -webkit-text-fill-color: #d9b47c !important; color: #d9b47c !important; }
  @page { margin: 0; }
  html, body { background: #0b1613 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  main.wrap { padding: 48px 56px !important; width: auto !important; }
}

/* Report PDF opt-in (privacy report page) */
.report-optin { border: 1px solid rgba(217,180,124,.3); border-radius: 22px; padding: 28px 28px 24px; background: rgba(217,180,124,.05); margin-top: 36px; }
.report-optin h2 { margin-top: 0; }
.optin { display: grid; gap: 12px; margin-top: 14px; }
.optin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.optin input[type=text], .optin input[type=email] { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(242,236,225,.16); background: rgba(11,22,19,.6); color: var(--cream); font: inherit; font-size: 16px; }
.optin input:focus { outline: 2px solid rgba(217,180,124,.5); outline-offset: 1px; }
.optin .hp { position: absolute; left: -9999px; }
.optin-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.optin-check input { margin-top: 4px; accent-color: #d9b47c; }
.optin .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.optin-note { font-size: 12.5px; color: var(--muted-2, #8a958f); margin: 0; }
.optin-done { font-size: 16px; }
@media (max-width: 700px) { .optin-row { grid-template-columns: 1fr; } .report-optin { padding: 22px 18px; } }
