:root {
  --bg: #f4efe7;
  --bg-soft: #ebe2d2;
  --paper: #fffdfa;
  --paper-strong: #ffffff;
  --text: #1f2328;
  --muted: #6d7076;
  --line: #e4dacb;
  --deep: #193b6a;
  --deep-soft: #274f84;
  --gold: #d9a226;
  --gold-deep: #b98312;
  --shadow: 0 20px 50px rgba(31, 35, 40, 0.08);
  --shadow-soft: 0 14px 30px rgba(31, 35, 40, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 162, 38, 0.1), transparent 20%),
    radial-gradient(circle at top right, rgba(25, 59, 106, 0.06), transparent 24%),
    linear-gradient(180deg, #f7f2ea 0%, #f2ece3 100%);
  color: var(--text);
  font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.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;
}

.site-shell {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
}

.identity-header {
  padding: 16px 0 0;
}

.identity-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-radius: 24px;
  background: rgba(255, 253, 250, 0.94);
  border: 1px solid rgba(25, 59, 106, 0.08);
  box-shadow: var(--shadow-soft);
}

.identity-header__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.identity-header__title {
  color: var(--deep);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.identity-header__sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.identity-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(25, 59, 106, 0.08);
  color: var(--deep);
  text-decoration: none;
  font-weight: 700;
}

.hub-page {
  padding: 22px 0 90px;
}

.hub-page--portal {
  padding-top: 14px;
}

.portal-header {
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(17, 31, 53, 0.08);
  border-radius: 34px;
  box-shadow: 0 24px 40px rgba(22, 27, 33, 0.08);
  overflow: hidden;
}

.portal-header__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
    padding: 28px 32px 22px;
  }

.portal-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.portal-brand__mark {
  color: #16365f;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.portal-brand__sub {
  color: #717273;
  font-size: 0.82rem;
  line-height: 1.4;
}

  .portal-main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 28px;
  border-top: 1px solid rgba(17, 31, 53, 0.08);
  border-bottom: 1px solid rgba(17, 31, 53, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.portal-main-nav a {
  text-decoration: none;
  padding: 17px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #243243;
}

.portal-hero {
  padding: 18px 0 26px;
}

.portal-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 0;
  overflow: hidden;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 34px 60px rgba(24, 28, 34, 0.1);
  background:
    radial-gradient(circle at 18% 28%, rgba(217, 162, 38, 0.16), transparent 24%),
    linear-gradient(115deg, #f7f0e4 0%, #f4eee5 48%, #ece7df 100%);
}

.portal-hero__copy {
  padding: 68px 52px 58px;
  min-width: 0;
}

.hub-kicker {
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.portal-hero__copy h1 {
  margin: 0 0 18px;
  max-width: 11ch;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #13253f;
}

.hub-subtitle {
  margin: 0;
  max-width: 700px;
  color: #5f696c;
  font-size: clamp(1.04rem, 2vw, 1.14rem);
  line-height: 1.72;
}

.portal-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portal-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.portal-highlight-list li {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 31, 53, 0.08);
  font-size: 0.9rem;
  color: #31404f;
}

.portal-hero__panel {
  display: flex;
  align-items: stretch;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.78)),
    linear-gradient(135deg, rgba(17, 31, 53, 0.08), rgba(17, 31, 53, 0.01));
}

.portal-stat-card {
  width: 100%;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 31, 53, 0.1);
  box-shadow: 0 18px 34px rgba(22, 27, 33, 0.08);
}

.portal-stat-card__eyebrow {
  margin: 0 0 8px;
  color: var(--gold-deep);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.portal-stat-card h2 {
  margin: 0 0 18px;
  font-size: 1.85rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--deep);
}

.portal-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  padding: 20px 18px;
  text-decoration: none;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,244,238,0.92));
  border: 1px solid rgba(17, 31, 53, 0.08);
  box-shadow: 0 12px 24px rgba(22, 27, 33, 0.05);
}

.portal-action-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(17, 31, 53, 0.06);
  color: var(--deep);
}

.portal-action-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.portal-action-card__icon--whatsapp {
  background: rgba(37, 211, 102, 0.14);
  color: #1f9d52;
}

.portal-action-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.portal-action-card span {
  color: #677071;
  font-size: 0.92rem;
  line-height: 1.55;
}

.portal-overview {
  padding-bottom: 28px;
}

.entry-section {
  padding: 28px 0 36px;
}


.entry-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,244,238,0.96));
  border: 1px solid rgba(17, 31, 53, 0.08);
  border-radius: 34px;
  box-shadow: 0 22px 40px rgba(22, 27, 33, 0.08);
}

.entry-eyebrow {
  margin: 0 0 10px;
  color: #b27a32;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.entry-shell h2 {
  margin: 0;
  color: #10233f;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.entry-sub {
  margin: 16px 0 0;
  max-width: 700px;
  color: #626a6b;
  font-size: 1rem;
  line-height: 1.7;
}

.entry-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(250,247,241,0.96), rgba(245,238,228,0.9));
  border: 1px solid rgba(17, 31, 53, 0.08);
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(22, 27, 33, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.entry-card.featured {
  border-color: rgba(185, 121, 47, 0.48);
  background: linear-gradient(180deg, rgba(247,239,224,0.98), rgba(242,233,218,0.92));
  box-shadow: 0 16px 30px rgba(185, 121, 47, 0.1);
}

.entry-kicker {
  display: inline-block;
  margin-bottom: 22px;
  color: #8d6a39;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entry-card h3 {
  margin: 0 0 12px;
  color: #10233f;
  font-size: 1.28rem;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.entry-card p {
  margin: 0;
  color: #68706f;
  font-size: 0.98rem;
  line-height: 1.6;
}

.entry-cta {
  margin-top: 24px;
  color: #a16a26;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.hub-section-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b7d6a;
}

.hub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hub-button:hover,
.hub-button:focus-visible,
.portal-main-nav a:hover,
.portal-main-nav a:focus-visible,
.portal-action-card:hover,
.entry-card:hover,
.entry-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(30, 40, 35, 0.1);
  border-color: rgba(185, 121, 47, 0.5);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,241,231,0.96));
}

.support-section {
  margin-top: 34px;
  padding: 44px 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top center, rgba(198, 136, 59, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255,251,245,0.96), rgba(247,242,235,0.98));
  border: 1px solid rgba(17, 31, 53, 0.08);
  box-shadow: 0 24px 44px rgba(22, 27, 33, 0.08);
}

.support-section__header {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.support-section__header h2 {
  margin: 0;
  font-size: clamp(2.3rem, 3.6vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #10233f;
}

.support-section__lead {
  margin: 18px auto 0;
  max-width: 660px;
  color: #626a6b;
  font-size: 1.05rem;
  line-height: 1.72;
}

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

.support-card {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,252,247,0.98), rgba(247,241,232,0.94));
  border: 1px solid rgba(17, 31, 53, 0.08);
  box-shadow: 0 14px 26px rgba(36, 51, 45, 0.05);
}

.support-card--featured {
  border: 1px solid rgba(185, 121, 47, 0.42);
  box-shadow: 0 18px 32px rgba(185, 121, 47, 0.1);
}

.support-card__media {
  position: relative;
  height: 250px;
}

.support-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.82);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.support-card__visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: end;
  padding: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.support-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 28, 0.06), rgba(18, 24, 28, 0.56));
}

.support-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-card__visual span {
  position: relative;
  z-index: 1;
}

.support-card__copy {
  padding: 20px 20px 22px;
  text-align: left;
}

.support-card__tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(185, 121, 47, 0.1);
  color: #7b5a32;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-card__copy h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #10233f;
}

.support-card__copy h3 span {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.06);
  color: #9a6424;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}

.support-card__copy p:last-child {
  margin: 0;
  color: #5f6768;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.65;
}

.support-section__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.support-section__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(17, 31, 53, 0.06);
  color: var(--deep);
  text-decoration: none;
  font-weight: 800;
}

.support-section__cta-link--primary {
  background: linear-gradient(180deg, #e1a354, var(--gold-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(185, 121, 47, 0.24);
}

.hub-button--primary {
  background: linear-gradient(180deg, #d89e52, #b7782d);
  color: #fff;
  box-shadow: 0 14px 28px rgba(185, 121, 47, 0.24);
}

.hub-button--secondary {
  background: rgba(17, 31, 53, 0.06);
  color: var(--deep);
}

.landing-only {
  display: none;
}

.page-hero {
  padding: 54px 20px 28px;
  background: linear-gradient(180deg, #f6f4ef 0%, #f4f0e8 100%);
}

.page-hero .site-shell { max-width: 960px; }
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #44566a;
  font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
}

.page-hero p {
  margin: 0;
  max-width: 760px;
  color: #6b7577;
  font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
}

.content-wrap {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 28px 20px 70px;
  font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
}

.card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(36,49,51,0.08);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(36,49,51,0.06);
  margin-bottom: 18px;
}

.card h2, .card h3 { margin-top: 0; }
.pattern-grid { display: grid; gap: 14px; }
.pattern-card {
  display: block;
  text-decoration: none;
  color: #243133;
  padding: 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(36,49,51,0.08);
  background: #fff;
}

.pattern-card strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.pattern-card span { color: #6b7577; font-size: 0.95rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.button-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button-row .primary { background: #d4a15d; color: #1f2528; }
.button-row .secondary { background: #243133; color: #fff; }
.mini-list { margin: 0; padding-left: 18px; }
.footer-note { margin-top: 26px; color: #6b7577; font-size: 0.9rem; }

.site-footer {
  padding: 0 0 34px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(25, 59, 106, 0.08);
  box-shadow: var(--shadow-soft);
}

.site-footer__brand strong {
  display: block;
  margin-bottom: 4px;
  color: var(--deep);
  font-size: 1.05rem;
}

.site-footer__brand-link {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--deep);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__brand p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
  }

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
  }

.site-footer__nav a {
    color: #5f6870;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
  }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__icon-link,
.site-footer__email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(25, 59, 106, 0.1);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.site-footer__icon-link {
  width: 44px;
  padding: 0;
}

.site-footer__icon-link svg,
.site-footer__email-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer__email-link {
  gap: 10px;
}

.site-footer__copyright {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.pain-condition-page {
  padding: 40px 0 80px;
  background: #f6f1e8;
}

.pain-shell {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 0;
}

.pain-hero,
.pain-symptom-box,
.pain-explain-box,
.pain-compare-box,
.pain-treatment-box,
.pain-cta-box {
  background: #fffdf9;
  border: 1px solid #e8ddd0;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 14px 34px rgba(34, 44, 39, 0.05);
  margin-bottom: 18px;
}

.pain-eyebrow {
  margin: 0 0 10px;
  color: #b27932;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pain-hero h1,
.pain-symptom-box h2,
.pain-explain-box h2,
.pain-compare-box h2,
.pain-treatment-box h2,
.pain-cta-box h2 {
  margin: 0;
  color: #10233f;
  letter-spacing: -0.03em;
}

.pain-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.pain-lead,
.pain-explain-box p,
.pain-treatment-box p,
.pain-cta-box p {
  margin: 14px 0 0;
  color: #6b706f;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 780px;
}

.pain-check-simple {
  padding: 28px 0 36px;
}

.pain-check-inner {
  width: 100%;
  margin: 0 0 18px;
  padding: 30px;
  background: #fffdf9;
  border-radius: 28px;
  border: 1px solid #e6dbce;
  box-shadow: 0 14px 34px rgba(34, 44, 39, 0.05);
}

.pain-check-inner h2 {
  margin: 0;
  color: #10233f;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.pain-sub {
  margin: 12px 0 18px;
  color: #6b706f;
  font-size: 1rem;
  line-height: 1.6;
}

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pain-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: #394540;
  font-size: 1rem;
  line-height: 1.5;
}

.pain-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #c6883b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-result {
  margin-top: 20px;
  padding: 18px;
  background: #fbf4e9;
  border: 1px solid #e7d6bd;
  border-radius: 18px;
  color: #5c564f;
  font-size: 1rem;
  line-height: 1.6;
}

.pain-result strong {
  color: #a96e2d;
}

.clinical-shell .pattern-grid,
.clinical-shell .pain-compare-box,
.clinical-shell .pain-treatment-box,
.clinical-shell .pain-cta-box {
  margin-top: 18px;
}

.clinical-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.clinical-hero__copy,
.clinical-hero__summary,
.clinical-overview__card,
.clinical-section-intro,
.clinical-panel {
  background: #fffdf9;
  border: 1px solid #dde3ea;
  border-radius: 28px;
  padding: 30px 32px;
  box-shadow: 0 14px 34px rgba(21, 35, 54, 0.05);
}

.clinical-hero__copy {
  background: linear-gradient(180deg, #fffdf9 0%, #f8f3ec 100%);
}

.clinical-hero__copy h1 {
  margin: 0;
  color: #10233f;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.clinical-hero__summary {
  background: linear-gradient(180deg, #163154 0%, #0f243d 100%);
  color: #fff;
  border-color: rgba(22, 49, 84, 0.7);
}

.clinical-hero__label {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clinical-hero__list {
  margin: 0;
  padding-left: 18px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.clinical-hero__note {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.94rem;
  line-height: 1.55;
}

.clinical-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.clinical-overview__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #8a6531;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clinical-overview__card h2,
.clinical-section-intro h2 {
  margin: 0;
  color: #10233f;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.clinical-overview__card p,
.clinical-section-intro p {
  margin: 10px 0 0;
  color: #61707c;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 70ch;
}

.clinical-overview__card--accent {
  background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
  border-color: #d6e0ec;
}

.clinical-section-intro {
  margin-bottom: 18px;
}

.clinical-shell .pain-check-inner {
  border-color: #dde3ea;
  box-shadow: 0 14px 34px rgba(21, 35, 54, 0.05);
}

.clinical-shell .pain-list li::before {
  background: #d09a4b;
}

.clinical-shell .pattern-card {
  border: 1px solid #dbe3ea;
  box-shadow: 0 14px 34px rgba(21, 35, 54, 0.05);
}

.clinical-shell .pattern-card.primary {
  border: 2px solid #c98a3f;
  background: linear-gradient(180deg, #fffaf2 0%, #fbf3e7 100%);
}

.clinical-shell .compare-card {
  background: #f6f8fb;
  border-color: #dbe3ea;
}

.clinical-panel--cta {
  background: linear-gradient(180deg, #fffdf9 0%, #f8f3ec 100%);
}

.clinical-panel--ad {
  background:
    radial-gradient(circle at top right, rgba(208, 154, 75, 0.18), transparent 28%),
    linear-gradient(135deg, #17334d 0%, #10233f 58%, #0e1d33 100%);
  border: 1px solid rgba(17, 35, 63, 0.72);
  box-shadow: 0 24px 54px rgba(16, 35, 63, 0.18);
  color: #fff;
  overflow: hidden;
}

.clinical-ad__eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 228, 195, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clinical-panel--ad h2 {
  margin: 0;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.clinical-panel--ad p {
  margin: 18px 0 0;
  max-width: 44rem;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.clinical-ad__actions {
  margin-top: 28px;
  gap: 14px;
}

.clinical-panel--ad .btn {
  min-height: 54px;
  padding: 0 24px;
  font-size: 0.98rem;
  font-weight: 800;
}

.clinical-panel--ad .btn-primary {
  background: #d39a48;
  color: #fff;
}

.clinical-panel--ad .btn-primary:hover {
  background: #bd8436;
}

.clinical-panel--ad .btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.clinical-panel--ad .btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.pain-symptom-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pain-symptom-card,
.compare-card {
  background: #f5efe6;
  border: 1px solid #ddd2c3;
  border-radius: 20px;
  padding: 18px;
}

.pain-symptom-card strong,
.compare-card strong {
  display: block;
  margin-bottom: 8px;
  color: #10233f;
  font-size: 1rem;
}

.pain-symptom-card span,
.compare-card p {
  color: #6d726f;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.pattern-card {
  display: block;
  text-decoration: none;
  background: #fffdf9;
  border: 1px solid #e2d8cb;
  border-radius: 28px;
  padding: 28px;
  color: inherit;
  box-shadow: 0 14px 34px rgba(34, 44, 39, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pattern-card:hover,
.pattern-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(34, 44, 39, 0.08);
  border-color: #c98a3f;
}

.pattern-card.primary {
  border: 2px solid #c98a3f;
  background: #fbf5ec;
}

.pattern-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #8a6531;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pattern-card h3 {
  margin: 0 0 10px;
  color: #10233f;
  font-size: 1.5rem;
  line-height: 1.1;
}

.pattern-summary {
  margin: 0 0 14px;
  color: #5f6763;
  font-size: 1rem;
  line-height: 1.5;
}

.pattern-card ul {
  margin: 0;
  padding-left: 18px;
  color: #6d726f;
  line-height: 1.6;
}

.pattern-card li + li {
  margin-top: 6px;
}

.pattern-cta {
  display: inline-block;
  margin-top: 18px;
  color: #b67825;
  font-weight: 700;
}

.compare-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.treatment-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.treatment-tags span {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4ede3;
  border: 1px solid #ddd3c6;
  color: #394540;
  font-size: 0.95rem;
  font-weight: 600;
}

.pain-cta-row {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: #c6883b;
  color: #fff;
}

.btn-secondary {
  background: #eef1ef;
  color: #10233f;
  border: 1px solid #d7ddda;
}

@media (max-width: 1040px) {
  .portal-header__top,
  .portal-hero__layout {
      grid-template-columns: 1fr;
    }

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

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

  .clinical-hero,
  .clinical-overview {
    grid-template-columns: 1fr;
  }

  .pattern-grid,
  .pain-symptom-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .pain-hero,
  .pain-symptom-box,
  .pain-explain-box,
  .pain-compare-box,
  .pain-treatment-box,
  .pain-cta-box,
  .pattern-card,
  .pain-check-inner,
  .clinical-hero__copy,
  .clinical-hero__summary,
  .clinical-overview__card,
  .clinical-section-intro,
  .clinical-panel {
    padding: 22px;
  }

}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, var(--content));
  }

  .pain-shell {
    width: min(100% - 20px, var(--content));
  }

  .identity-header {
    padding-top: 12px;
  }

  .hub-page {
    padding-top: 14px;
  }

  .portal-header {
    border-radius: 22px;
  }

  .portal-header__top {
    padding: 20px 16px 16px;
  }

  .identity-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .identity-header__title {
    font-size: 1.08rem;
  }

  .identity-header__sub {
    font-size: 0.82rem;
  }

  .identity-header__link {
    width: 100%;
  }

    .portal-main-nav {
        padding: 0 10px;
      }

  .portal-main-nav a {
    padding: 13px 10px;
    font-size: 0.92rem;
  }

  .portal-hero__layout {
    border-radius: 0 0 24px 24px;
  }

  .portal-hero__copy,
  .portal-hero__panel {
    padding: 24px 18px;
  }

  .portal-hero__copy h1 {
    max-width: none;
    font-size: 2.1rem;
  }

  .hub-subtitle {
    font-size: 0.94rem;
  }

  .portal-highlight-list {
    flex-direction: column;
  }

  .portal-action-grid,
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .entry-shell {
    padding: 22px;
    border-radius: 22px;
  }

  .entry-shell h2 {
    font-size: 1.85rem;
  }

  .entry-sub {
    font-size: 0.94rem;
  }

  .entry-card {
    min-height: 168px;
    padding: 18px;
    border-radius: 20px;
  }

  .entry-card h3 {
    font-size: 1.05rem;
  }

  .entry-card p,
  .entry-cta {
    font-size: 0.92rem;
  }

  .support-section {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card__media {
    height: 170px;
  }

  .support-section__header h2 {
    font-size: 1.9rem;
  }

  .support-section__lead {
    font-size: 0.96rem;
  }

  .support-section__cta {
    flex-direction: column;
  }

  .support-section__cta-link {
    width: 100%;
  }

  .portal-hero__cta {
    flex-direction: column;
  }

  .hub-button {
    width: 100%;
  }

  .page-hero,
  .content-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
  }

  .site-footer__links {
    width: 100%;
  }

  .site-footer__email-link {
    width: 100%;
    justify-content: flex-start;
  }

  .pain-condition-page {
    padding: 20px 0 56px;
  }

  .pain-hero,
  .pain-symptom-box,
  .pain-explain-box,
  .pain-compare-box,
  .pain-treatment-box,
  .pain-cta-box,
  .pattern-card,
  .pain-check-inner,
  .clinical-hero__copy,
  .clinical-hero__summary,
  .clinical-overview__card,
  .clinical-section-intro,
  .clinical-panel {
    border-radius: 22px;
  }

  .clinical-hero__copy h1 {
    font-size: 2rem;
  }

  .clinical-panel--ad h2 {
    font-size: clamp(2rem, 7vw, 3rem);
    max-width: none;
  }

  .clinical-panel--ad p {
    font-size: 0.98rem;
  }

  .clinical-ad__actions {
    margin-top: 22px;
  }

  .clinical-panel--ad .btn {
    width: 100%;
  }

  .clinical-overview__card h2,
  .clinical-section-intro h2 {
    font-size: 1.55rem;
  }

  .pain-hero h1,
  .pain-check-inner h2,
  .pain-explain-box h2,
  .pain-compare-box h2,
  .pain-treatment-box h2,
  .pain-cta-box h2 {
    font-size: 1.8rem;
    line-height: 1.08;
  }

  .pain-lead,
  .pain-explain-box p,
  .pain-treatment-box p,
  .pain-cta-box p,
  .pain-sub,
  .pain-list li,
  .compare-card p {
    font-size: 0.94rem;
  }

  .pattern-card h3 {
    font-size: 1.28rem;
  }

  .pattern-summary,
  .pattern-card ul,
  .treatment-tags span,
  .pattern-cta {
    font-size: 0.92rem;
  }

  .pain-cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

.brand-home-page {
  background: #f7f3ed;
  --brand-panel-height: clamp(520px, 64svh, 680px);
  --brand-scroll-depth: 0px;
  --brand-quiz-scroll-depth: 0px;
}

.brand-home-page .site-shell {
  width: calc(100% - 12px);
  max-width: none;
}

.brand-home {
  padding: 0;
}

.brand-frame {
  width: min(100% - 64px, 1120px);
  margin: 0 auto;
}

.brand-header {
  padding: 26px 0 24px;
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 35, 63, 0.06);
  position: relative;
  z-index: 4;
}

.brand-header__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-header__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-header__title {
  color: #3f4549;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-header__sub {
  color: #b18d67;
  font-size: 0.92rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.brand-feature {
  position: relative;
  min-height: calc(var(--brand-panel-height) + var(--brand-scroll-depth));
  padding: 0;
  overflow: hidden;
}

.brand-feature .brand-frame {
  width: 100%;
  max-width: none;
}

.brand-panel {
  position: sticky;
  top: 0;
  height: var(--brand-panel-height);
  min-height: 520px;
  overflow: hidden;
  border-radius: 0;
  background: #dfe9f3;
  margin: 0;
}

.brand-panel--tall-copy {
  height: clamp(580px, 70svh, 760px);
}

.brand-feature--quiz {
  min-height: calc(var(--brand-panel-height) + var(--brand-quiz-scroll-depth));
}

.brand-panel--blue {
  background:
    linear-gradient(180deg, rgba(153, 207, 249, 0.88), rgba(69, 118, 150, 0.92)),
    linear-gradient(135deg, #a5d1f1, #52718c);
}

.brand-panel__image {
  position: absolute;
  inset: -18% 0;
  width: 100%;
  height: 136%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: translate3d(0, -6%, 0) scale(1.2);
  transition: transform 0.06s linear;
  will-change: transform;
}

.brand-panel--hero-shot .brand-panel__image {
  object-position: center 34%;
}

.brand-panel--needle-free-shot .brand-panel__image {
  object-position: center 48%;
}

.brand-panel--recovery-shot .brand-panel__image {
  object-position: center 42%;
}

.brand-panel__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.08), rgba(19, 30, 40, 0.52)),
    radial-gradient(circle at center, rgba(18, 25, 34, 0.04), rgba(18, 25, 34, 0.24));
}

.brand-panel__overlay--warm {
  background:
    linear-gradient(180deg, rgba(237, 145, 95, 0.16), rgba(96, 33, 20, 0.44)),
    linear-gradient(90deg, rgba(18, 25, 34, 0.12), rgba(18, 25, 34, 0.02));
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px),
    radial-gradient(circle at 22% 22%, transparent 0 70px, rgba(255,255,255,0.13) 71px 72px, transparent 73px),
    radial-gradient(circle at 68% 68%, transparent 0 120px, rgba(255,255,255,0.12) 121px 122px, transparent 123px);
  background-size: 100% 100%, 100% 100%, 540px 540px, 780px 780px;
  pointer-events: none;
  opacity: 0.85;
}

.brand-panel__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: var(--brand-panel-height);
  width: 100%;
  margin: 0;
  padding: 72px 32px 64px;
  text-align: center;
}

.brand-panel--tall-copy .brand-panel__content {
  min-height: clamp(580px, 70svh, 760px);
  padding: 86px 32px 82px;
}

.brand-panel__copy {
  max-width: 900px;
  color: #fff;
  padding-left: 0;
  margin: 0 auto;
}

.brand-panel__eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-panel__copy h1,
.brand-panel__copy h2 {
  margin: 0;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(3.6rem, 5.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-inline: auto;
}

.brand-panel__copy h2 {
  font-size: clamp(3.2rem, 4.8vw, 5.2rem);
}

.brand-panel__copy p:last-child {
  margin: 28px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  margin-inline: auto;
}

.brand-panel__cta {
  margin-top: 34px;
}

.brand-pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  min-width: 220px;
  padding: 0 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #111;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(18, 25, 34, 0.16);
}

.about-rootcare-page {
    background:
      radial-gradient(circle at top left, rgba(217, 162, 38, 0.08), transparent 18%),
      linear-gradient(180deg, #f7f2ea 0%, #f3ede4 100%);
  }

.about-rootcare-page .site-shell {
    width: calc(100% - 12px);
    max-width: none;
  }

.about-rootcare-main {
    padding-bottom: 56px;
  }

.about-rootcare-page__section {
    padding: 26px 0 0;
  }

.about-rootcare-hero-shell {
    width: calc(100% - 12px);
    max-width: none;
    margin: 0 auto;
  }

.about-rootcare-hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
  min-height: 78vh;
  background: #ddd;
  box-shadow: 0 22px 46px rgba(31, 35, 40, 0.1);
}

.about-rootcare-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-rootcare-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 22, 0.66) 0%, rgba(17, 24, 22, 0.44) 38%, rgba(17, 24, 22, 0.08) 100%);
}

.about-rootcare-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  min-height: 78vh;
  padding: 52px;
  color: #fff;
}

.about-rootcare-hero__copy {
  max-width: 740px;
}

.about-rootcare-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #f0cf9a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-rootcare-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.about-rootcare-hero__role {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1.3;
  font-weight: 650;
}

.about-rootcare-hero__intro {
  margin-top: 22px;
  max-width: 640px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.about-rootcare-hero__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-rootcare-hero__actions .hub-button--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.about-rootcare-hero__actions .hub-button--secondary:hover,
.about-rootcare-hero__actions .hub-button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.about-rootcare-stack {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.about-rootcare-card {
  padding: 32px;
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid rgba(25, 59, 106, 0.08);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(31, 35, 40, 0.06);
}

.about-rootcare-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #10233f;
}

.about-rootcare-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.about-rootcare-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.about-rootcare-soft-card {
  background: #f7f1e8;
  border: 1px solid rgba(25, 59, 106, 0.08);
  border-radius: 22px;
  padding: 22px;
}

.about-rootcare-soft-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #10233f;
}

.about-rootcare-soft-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.about-rootcare-bullets {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-rootcare-bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.about-rootcare-bullets li::before {
  content: "\2022";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--gold-deep);
  font-size: 1.2rem;
  line-height: 1.1;
  font-weight: 800;
}

.about-rootcare-text-gap {
  margin-top: 14px !important;
}

.about-rootcare-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-rootcare-pill {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4eee3;
  border: 1px solid #ddd3c4;
  color: #33423d;
  font-size: 0.95rem;
  font-weight: 600;
}

.about-rootcare-card--cta {
  background: linear-gradient(90deg, #27463f, #17334d);
  border: 0;
}

.about-rootcare-card--cta h2 {
  color: #fff;
}

.about-rootcare-card--cta p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 760px;
}

.about-rootcare-cta-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-rootcare-card--cta .hub-button--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-rootcare-card--cta .hub-button--secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contact-rootcare-page {
  background:
    radial-gradient(circle at top right, rgba(198, 136, 59, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f2ea 0%, #f3ede4 100%);
}

.contact-rootcare-main {
  padding-bottom: 56px;
}

.contact-rootcare-page__section {
  padding: 24px 0 0;
}

.contact-rootcare-stack {
  display: grid;
  gap: 18px;
}

.contact-rootcare-card {
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid rgba(25, 59, 106, 0.08);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(31, 35, 40, 0.06);
  padding: 32px;
}

.contact-rootcare-card--hero {
  background:
    radial-gradient(circle at top right, rgba(198, 136, 59, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(35, 58, 52, 0.02), rgba(35, 58, 52, 0)),
    rgba(255, 253, 249, 0.98);
}

.contact-rootcare-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-rootcare-eyebrow--light {
  color: #f0d1a1;
}

.contact-rootcare-card h1,
.contact-rootcare-card h2,
.contact-rootcare-card h3 {
  margin: 0;
  color: #10233f;
  letter-spacing: -0.03em;
}

.contact-rootcare-card h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  line-height: 0.96;
  max-width: 760px;
}

.contact-rootcare-card h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.08;
}

.contact-rootcare-card h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.contact-rootcare-hero-copy {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-rootcare-hero-actions,
.contact-rootcare-cta-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-rootcare-section-head {
  margin-bottom: 18px;
}

.contact-rootcare-section-sub {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--muted);
}

.contact-rootcare-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-rootcare-action-card {
  display: block;
  min-height: 210px;
  padding: 22px;
  background: #f8f3ea;
  border: 1px solid #e6dccf;
  border-radius: 22px;
  transition: 0.18s ease;
  text-decoration: none;
}

.contact-rootcare-action-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
  box-shadow: 0 14px 28px rgba(31, 44, 42, 0.08);
  background: #fbf7f0;
}

.contact-rootcare-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #f1eadf;
  color: var(--gold-deep);
  font-size: 20px;
  font-weight: 700;
}

.contact-rootcare-action-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

.contact-rootcare-action-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.96rem;
}

.contact-rootcare-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-rootcare-two-col--contact {
  align-items: stretch;
}

.contact-rootcare-soft-card {
  background: #f8f3ea;
  border: 1px solid #e6dccf;
  border-radius: 22px;
  padding: 24px;
}

.contact-rootcare-card--qr {
  background:
    radial-gradient(circle at top right, rgba(198, 136, 59, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f8f3ea 100%);
}

.contact-rootcare-qr-wrap {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e3d8cb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.contact-rootcare-qr-image {
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid #ddd2c3;
  background: #fff;
}

.contact-rootcare-qr-note {
  margin: 16px 0 0;
  color: #66706c;
  font-size: 0.98rem;
}

.contact-rootcare-info-list,
.contact-rootcare-expect-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-rootcare-info-list li strong,
.contact-rootcare-expect-list li strong {
  display: block;
  margin-bottom: 4px;
  color: #10233f;
  font-size: 1rem;
}

.contact-rootcare-info-list li span,
.contact-rootcare-expect-list li span {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

.contact-rootcare-expect-list li {
  position: relative;
  padding-left: 22px;
}

.contact-rootcare-expect-list li::before {
  content: "\2022";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--gold-deep);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
}

.contact-rootcare-map-card {
  margin-top: 16px;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #ccbba5;
  background: #faf6ef;
}

.contact-rootcare-map-embed {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.contact-rootcare-map-copy strong {
  display: block;
  margin-bottom: 8px;
  color: #10233f;
}

.contact-rootcare-map-copy span {
  display: block;
}

.contact-rootcare-map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.contact-rootcare-map-link {
  color: var(--gold-deep);
  font-weight: 700;
  text-decoration: none;
}

.contact-rootcare-form {
  display: grid;
  gap: 18px;
}

.contact-rootcare-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-rootcare-field {
  display: grid;
  gap: 8px;
}

.contact-rootcare-field span {
  color: #10233f;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-rootcare-field input,
.contact-rootcare-field select,
.contact-rootcare-field textarea {
  width: 100%;
  border: 1px solid rgba(25, 59, 106, 0.14);
  border-radius: 18px;
  background: #fff;
  color: #243243;
  font: inherit;
  padding: 14px 16px;
  resize: vertical;
}

.contact-rootcare-field input:focus,
.contact-rootcare-field select:focus,
.contact-rootcare-field textarea:focus {
  outline: 2px solid rgba(198, 136, 59, 0.18);
  border-color: rgba(198, 136, 59, 0.6);
}

.contact-rootcare-field--full {
  grid-column: 1 / -1;
}

.contact-rootcare-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-rootcare-form-note {
  margin: 0;
  color: var(--muted);
}

.contact-rootcare-form-status {
  margin: 0;
  min-height: 24px;
  font-weight: 700;
}

.contact-rootcare-form-status.is-pending {
  color: #7f683f;
}

.contact-rootcare-form-status.is-success {
  color: #285c42;
}

.contact-rootcare-form-status.is-error {
  color: #a03e35;
}

.contact-rootcare-card--cta {
  background: linear-gradient(90deg, #27463f, #17334d);
  border: none;
}

.contact-rootcare-card--cta h2 {
  color: #fff;
}

.contact-rootcare-card--cta p {
  margin: 12px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-rootcare-card--cta .hub-button--secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.contact-rootcare-card--cta .hub-button--secondary:hover {
  background: rgba(255,255,255,0.16);
}

.brand-footer {
  padding: 46px 0 34px;
  background: #ffffff;
  border-top: 1px solid rgba(16, 35, 63, 0.08);
}

.brand-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.brand-footer__brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #3f4549;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-footer__col h3 {
  margin: 0 0 18px;
  color: #3f4549;
  font-size: 1rem;
  font-weight: 700;
}

.brand-footer__col p,
.brand-footer__col a {
  display: block;
  margin: 0 0 12px;
  color: #5f666d;
  font-size: 1rem;
  line-height: 1.7;
  text-decoration: none;
}

.brand-footer__copyright {
  margin: 22px 0 0;
  color: #7a7f85;
  font-size: 0.88rem;
}

@media (max-width: 1040px) {
  .contact-rootcare-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-rootcare-two-col {
    grid-template-columns: 1fr;
  }

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

  .about-rootcare-grid {
    grid-template-columns: 1fr;
  }

  .about-rootcare-hero,
  .about-rootcare-hero__content {
    min-height: 68vh;
  }

  .brand-feature,
  .brand-feature--quiz {
    min-height: auto;
  }

  .brand-footer__inner {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    position: relative;
    height: auto;
    min-height: 520px;
  }

  .brand-panel--tall-copy {
    height: auto;
  }

  .brand-frame {
    width: min(100% - 40px, 1120px);
  }

  .brand-feature .brand-frame {
    width: 100%;
  }

  .brand-panel__content {
    min-height: 520px;
    padding: 64px 36px 56px;
    width: 100%;
  }

  .brand-panel--tall-copy .brand-panel__content {
    min-height: 560px;
    padding: 74px 36px 66px;
  }

  .brand-panel__copy h1,
  .brand-panel__copy h2 {
    max-width: none;
  }

  .brand-panel__copy {
    padding-left: 0;
  }

  .brand-panel__cta {
    margin-top: 28px;
  }
}

@media (max-width: 1200px) {
  .brand-panel__content {
    padding: 80px 48px 68px;
  }

  .brand-panel__copy h1,
  .brand-panel__copy h2 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .brand-home-page {
    --brand-panel-height: 460px;
  }

  .about-rootcare-main {
    padding-bottom: 40px;
  }

  .contact-rootcare-main {
    padding-bottom: 40px;
  }

  .contact-rootcare-page__section {
    padding-top: 16px;
  }

  .contact-rootcare-card {
    padding: 22px;
  }

  .contact-rootcare-action-grid {
    grid-template-columns: 1fr;
  }

  .contact-rootcare-hero-actions,
  .contact-rootcare-cta-actions {
    flex-direction: column;
  }

  .contact-rootcare-hero-actions .hub-button,
  .contact-rootcare-cta-actions .hub-button {
    width: 100%;
  }

  .contact-rootcare-map-card {
    min-height: 220px;
  }

  .contact-rootcare-map-embed {
    min-height: 280px;
  }

  .contact-rootcare-map-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-rootcare-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-rootcare-page__section {
      padding-top: 16px;
    }

  .about-rootcare-hero-shell {
      width: calc(100% - 8px);
    }

  .about-rootcare-page .portal-main-nav {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      padding: 0 8px;
    }

  .about-rootcare-page .portal-main-nav a {
      min-width: 0;
      padding: 12px 8px;
      font-size: 0.8rem;
      line-height: 1.2;
      text-align: center;
    }

  .about-rootcare-hero {
      min-height: auto;
      display: grid;
      grid-template-rows: minmax(360px, 56vh) auto;
    }

  .about-rootcare-hero__overlay {
      background: linear-gradient(180deg, rgba(17, 24, 22, 0.08) 0%, rgba(17, 24, 22, 0.12) 100%);
    }

  .about-rootcare-hero__image {
      position: relative;
      display: block;
      width: 100%;
      height: 100%;
      object-position: center 26%;
    }

  .about-rootcare-hero__content {
        min-height: auto;
        padding: 20px 18px 22px;
        align-items: flex-start;
        color: #10233f;
        background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(248, 243, 234, 0.98) 100%);
    }

  .about-rootcare-hero__copy {
      max-width: none;
    }

  .about-rootcare-hero h1 {
      font-size: clamp(2.1rem, 10vw, 3rem);
      color: #10233f;
    }

  .about-rootcare-hero__role {
      max-width: none;
      font-size: 1rem;
      line-height: 1.3;
      color: #243243;
    }

  .about-rootcare-hero__intro {
      max-width: none;
      font-size: 0.92rem;
      line-height: 1.45;
      color: #5d676e;
    }

    .about-rootcare-card {
      padding: 22px;
    }

  .about-rootcare-hero__actions,
  .about-rootcare-cta-actions {
    flex-direction: column;
  }

  .about-rootcare-hero__actions .hub-button,
    .about-rootcare-cta-actions .hub-button {
      width: 100%;
    }

  .about-rootcare-eyebrow {
      color: #b07a34;
    }

  .about-rootcare-hero__actions .hub-button--secondary {
      background: #eef1ef;
      color: #10233f;
      border: 1px solid #d7ddda;
      backdrop-filter: none;
    }

  .about-rootcare-hero__actions .hub-button--secondary:hover,
  .about-rootcare-hero__actions .hub-button--secondary:focus-visible {
      background: #e6ebe8;
    }

  .brand-home-page .site-shell,
  .about-rootcare-page .site-shell {
      width: calc(100% - 8px);
      max-width: none;
    }

  .brand-frame {
    width: min(100% - 24px, 1120px);
  }

  .brand-header {
    padding: 20px 0 18px;
  }

  .brand-header__sub {
    font-size: 0.74rem;
    letter-spacing: 0.24em;
    text-align: center;
  }

  .brand-panel,
  .brand-panel__content {
    min-height: 460px;
  }

  .brand-panel__content {
    padding: 48px 24px 40px;
    width: 100%;
  }

  .brand-panel--tall-copy .brand-panel__content {
    min-height: 520px;
    padding: 56px 24px 48px;
  }

  .brand-panel__copy {
    padding-left: 0;
  }

  .brand-panel__copy h1,
  .brand-panel__copy h2 {
    font-size: 2.5rem;
  }

  .brand-panel__copy p:last-child {
    font-size: 1rem;
  }

  .brand-pill-button {
    min-height: 72px;
    width: 100%;
    padding: 0 28px;
  }
}
