body.index-page {
  background: #f6f4ef;
}

.rootopathy-reference-home {
  --rr-hero-height: 530px;
  --rr-ink: #071016;
  --rr-deep: #061820;
  --rr-teal: #147d7a;
  --rr-teal-soft: #2a9b96;
  --rr-gold: #d9c99c;
  --rr-paper: #f7f5ef;
  --rr-line: rgba(7, 40, 45, 0.2);
  --rr-muted: #4f6063;
  background: var(--rr-paper);
  color: #17252a;
  font-family: "Inter", sans-serif;
  min-height: 100vh;
}

.rootopathy-reference-home h1,
.rootopathy-reference-home h2,
.rootopathy-reference-home h3,
.rootopathy-reference-home p {
  margin: 0;
}

.rr-nav {
  align-items: center;
  background: #050a0f;
  border-bottom: 1px solid rgba(24, 214, 207, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  min-height: 118px;
  padding: 0 clamp(30px, 4.8vw, 58px);
  position: relative;
  z-index: 5;
}

.rr-brand {
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 2px;
  text-decoration: none;
}

.rr-brand img {
  filter: brightness(0) invert(1);
  height: 76px;
  object-fit: contain;
  object-position: left center;
  width: 302px;
}

.rr-brand span {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-left: 78px;
  margin-top: -12px;
  text-transform: uppercase;
}

.rr-menu {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: clamp(20px, 2.45vw, 40px);
  justify-content: center;
  min-width: 0;
}

.rr-menu a {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.04em;
  line-height: 1.35;
  max-width: 132px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.rr-menu i {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.rr-nav-cta {
  align-items: center;
  border: 1px solid rgba(24, 214, 207, 0.82);
  border-radius: 7px;
  color: #18d6cf;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.05em;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.rr-nav-cta i {
  border: 1px solid rgba(24, 214, 207, 0.55);
  border-radius: 4px;
  font-size: 17px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  width: 24px;
}

.rr-nav-cta:hover {
  background: rgba(24, 214, 207, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.rr-hero {
  background:
    radial-gradient(circle at 76% 45%, rgba(36, 217, 209, 0.2), transparent 32%),
    linear-gradient(90deg, rgba(3, 10, 15, 0.99) 0%, rgba(4, 18, 24, 0.98) 44%, rgba(4, 15, 19, 0.99) 100%);
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(430px, 50%);
  height: var(--rr-hero-height);
  min-height: var(--rr-hero-height);
  overflow: hidden;
  position: relative;
}

.rr-hero::after {
  background: linear-gradient(180deg, transparent, rgba(24, 214, 207, 0.08));
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.rr-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(70px, 7.2vw, 86px) 18px clamp(30px, 4vw, 42px) clamp(42px, 5vw, 64px);
  position: relative;
  z-index: 2;
}

.rr-hero-copy h1 {
  color: #f5f1e8;
  font-family: "Inter", sans-serif;
  font-size: clamp(42px, 4.15vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.rr-hero-copy h1 span {
  color: #31b6b0;
}

.rr-hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.24vw, 16px);
  font-weight: 500;
  line-height: 1.65;
  margin-top: 32px;
  max-width: 570px;
}

.rr-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.rr-primary-btn,
.rr-secondary-btn {
  align-items: center;
  border-radius: 5px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.04em;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.rr-primary-btn {
  background: linear-gradient(90deg, #23c6c0, #51d8d2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 11px 22px rgba(24, 214, 207, 0.2);
  color: #fff;
}

.rr-primary-btn i {
  font-size: 18px;
}

.rr-secondary-btn {
  background: rgba(3, 11, 15, 0.25);
  border: 1px solid rgba(82, 213, 207, 0.9);
  color: #fff;
  min-width: 204px;
  justify-content: center;
}

.rr-primary-btn:hover,
.rr-secondary-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}

.rr-secondary-btn:hover {
  background: rgba(24, 214, 207, 0.12);
}

.rr-principles {
  align-items: center;
  color: #dbc894;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 26px;
  text-transform: uppercase;
}

.rr-principles::before {
  display: none;
}

.rr-principles span {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 13px;
  letter-spacing: 0.08em;
}

.rr-principles span + span::before {
  background: #18d6cf;
  border-radius: 50%;
  content: "";
  height: 3px;
  width: 3px;
}

.rr-hero-visual {
  align-items: stretch;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  height: var(--rr-hero-height);
  min-height: var(--rr-hero-height);
  overflow: hidden;
  padding: 0 clamp(20px, 4vw, 44px) 0 0;
  position: relative;
}

.rr-hero-visual::before {
  display: none;
}

.rr-hero-visual img {
  display: block;
  filter: contrast(1.05) saturate(1.1);
  height: 100%;
  max-height: none;
  max-width: none;
  opacity: 0.98;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 13%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 2%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 13%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 2%, #000 96%, transparent 100%);
  object-fit: cover;
  object-position: center 48%;
  position: relative;
  width: 100%;
  z-index: 1;
}

.rr-hero-icons {
  inset: 0 clamp(24px, 4.2vw, 54px) 0 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.rr-hero-icons i {
  align-items: center;
  background: rgba(3, 14, 18, 0.42);
  border: 1px solid rgba(24, 214, 207, 0.82);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(24, 214, 207, 0.2);
  color: #18d6cf;
  display: flex;
  font-size: 30px;
  height: 68px;
  justify-content: center;
  position: absolute;
  width: 68px;
}

.rr-icon-dna {
  left: 20%;
  top: 16%;
}

.rr-icon-clipboard {
  left: 15%;
  top: 48%;
}

.rr-icon-pulse {
  right: 11%;
  top: 16%;
}

.rr-icon-chart {
  right: 6%;
  top: 48%;
}

.rr-section {
  padding: 42px clamp(20px, 4vw, 52px) 58px;
}

.rr-section-title {
  margin: 0 auto 28px;
  text-align: center;
}

.rr-section-title h2 {
  color: #172a32;
  font-family: "Inter", sans-serif;
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rr-section-title p {
  color: var(--rr-teal);
  font-family: "Inter", sans-serif;
  font-size: clamp(17px, 2.1vw, 25px);
  letter-spacing: 0.11em;
  line-height: 1.35;
  margin-top: 6px;
  text-transform: uppercase;
}

.rr-section-title::after {
  background: var(--rr-teal-soft);
  content: "";
  display: block;
  height: 2px;
  margin: 18px auto 0;
  width: 58px;
}

.rr-equation-card,
.rr-gate-card,
.rr-alert {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 40, 45, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18, 54, 58, 0.055);
  margin: 0 auto 28px;
  max-width: 1180px;
}

.rr-equation-card {
  display: grid;
  gap: 22px;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 345px;
  padding: 34px 24px 30px 26px;
}

.rr-master {
  align-items: center;
  border-right: 1px solid rgba(7, 40, 45, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 244px;
  padding-right: 22px;
  text-align: center;
  text-transform: uppercase;
}

.rr-master strong {
  color: #16353c;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.42;
}

.rr-master span {
  align-items: center;
  border: 1px solid rgba(20, 125, 122, 0.34);
  border-radius: 50%;
  color: var(--rr-teal);
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 72px;
  height: 114px;
  justify-content: center;
  margin-top: 28px;
  position: relative;
  width: 114px;
}

.rr-master span::before,
.rr-master span::after {
  border: 1px solid rgba(20, 125, 122, 0.28);
  border-radius: 50%;
  content: "";
  inset: 5px;
  position: absolute;
}

.rr-master span::after {
  inset: -6px;
  opacity: 0.28;
}

.rr-equation-track {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: 1.22fr auto 1.05fr auto 0.92fr auto 0.82fr auto 1.1fr;
  padding-top: 28px;
  text-align: center;
}

.rr-term {
  min-width: 0;
}

.rr-term i {
  align-items: center;
  border: 1px solid rgba(7, 40, 45, 0.25);
  border-radius: 50%;
  color: var(--rr-teal);
  display: inline-flex;
  font-size: 27px;
  height: 54px;
  justify-content: center;
  margin: 40px auto 16px;
  width: 54px;
}

.rr-term h3 {
  color: #17242a;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  min-height: 24px;
  white-space: nowrap;
}

.rr-term p {
  color: #35484d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 122px;
}

.rr-expression {
  padding-top: 0;
}

.rr-symbol {
  color: #263338;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 800;
  padding-top: 1px;
}

.rr-equation-note {
  border: 1px solid rgba(7, 40, 45, 0.28);
  border-radius: 4px;
  color: #344449;
  font-size: 12px;
  font-weight: 700;
  grid-column: 2;
  margin-top: -12px;
  padding: 17px 20px;
  text-align: center;
}

.rr-gate-card {
  border-color: rgba(13, 128, 126, 0.62);
  padding: 28px 30px 34px;
}

.rr-section-title.compact {
  margin-bottom: 28px;
}

.rr-section-title.compact h2 {
  font-size: clamp(18px, 2vw, 25px);
}

.rr-section-title.compact p {
  color: #435156;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.rr-gate-flow {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}

.rr-gate-step {
  position: relative;
}

.rr-gate-step:not(:last-child)::after {
  color: var(--rr-teal);
  content: "\F138";
  font-family: "bootstrap-icons";
  position: absolute;
  right: -17px;
  top: 42px;
}

.rr-gate-step i {
  align-items: center;
  border: 1px solid rgba(20, 125, 122, 0.56);
  border-radius: 50%;
  color: var(--rr-teal);
  display: inline-flex;
  font-size: 44px;
  height: 86px;
  justify-content: center;
  margin-bottom: 14px;
  width: 86px;
}

.rr-gate-step strong {
  color: #172a31;
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.rr-gate-step p {
  color: #33464b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 8px;
}

.rr-alert {
  align-items: center;
  border-color: rgba(159, 42, 36, 0.58);
  display: grid;
  gap: 28px;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 26px 32px;
}

.rr-alert i {
  color: #a22924;
  font-size: 76px;
  text-align: center;
}

.rr-alert h2 {
  color: #9c2a24;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rr-alert p,
.rr-alert strong {
  color: #29393e;
  display: block;
  font-size: 13px;
  line-height: 1.65;
}

.rr-alert strong {
  color: #a22924;
  font-weight: 800;
}

.rr-section-title.why {
  margin-top: 34px;
}

.rr-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.rr-why-grid article {
  border-left: 1px solid rgba(7, 40, 45, 0.16);
  padding: 18px 20px 8px;
  text-align: center;
}

.rr-why-grid article:last-child {
  border-right: 1px solid rgba(7, 40, 45, 0.16);
}

.rr-why-grid i {
  color: var(--rr-teal);
  font-size: 56px;
}

.rr-why-grid h3 {
  color: #15414a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 18px;
  text-transform: uppercase;
}

.rr-why-grid p {
  color: #27383d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  margin-top: 9px;
}

.rr-footer {
  background: linear-gradient(180deg, #062631, #061923);
  color: #edf7f5;
  padding: 34px clamp(20px, 4vw, 52px) 0;
}

.rr-footer h2 {
  color: #83d8d2;
  font-size: clamp(16px, 2vw, 23px);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.rr-footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 36px auto 34px;
  max-width: 1160px;
}

.rr-footer-grid article {
  display: grid;
  gap: 0 18px;
  grid-template-columns: 58px 1fr;
}

.rr-footer-grid i {
  color: rgba(255, 255, 255, 0.86);
  font-size: 52px;
  grid-row: span 2;
}

.rr-footer-grid strong {
  color: #edf7f5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rr-footer-grid p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}

.rr-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 0 -52px;
  padding: 22px 52px;
}

.rr-footer-bottom span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .rootopathy-reference-home {
    --rr-hero-height: 430px;
  }

  .rr-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .rr-menu {
    justify-content: flex-start;
    width: 100%;
  }

  .rr-menu a {
    max-width: none;
    text-align: left;
  }

  .rr-hero {
    height: auto;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rr-hero-visual {
    justify-content: center;
    padding: 0 20px 30px;
  }

  .rr-gate-flow,
  .rr-why-grid,
  .rr-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rr-gate-step::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .rr-equation-card {
    grid-template-columns: 1fr;
  }

  .rr-master {
    border-bottom: 1px solid rgba(7, 40, 45, 0.24);
    border-right: 0;
    min-height: auto;
    padding: 0 0 24px;
  }

  .rr-equation-note {
    grid-column: 1;
  }

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

  .rr-symbol {
    display: none;
  }
}

@media (max-width: 720px) {
  .rootopathy-reference-home {
    --rr-hero-height: 340px;
  }

  .rr-brand img {
    height: 42px;
    width: 210px;
  }

  .rr-brand span {
    font-size: 9px;
    margin-left: 50px;
    margin-top: -8px;
  }

  .rr-menu {
    display: none;
  }

  .rr-hero-copy {
    padding: 42px 22px 24px;
  }

  .rr-hero-copy p {
    margin-top: 24px;
  }

  .rr-principles {
    gap: 12px;
  }

  .rr-hero-visual {
    padding: 0 20px 28px;
  }

  .rr-hero-visual img {
    max-height: 300px;
    max-width: 360px;
    width: 92%;
  }

  .rr-section {
    padding: 34px 16px 46px;
  }

  .rr-equation-card,
  .rr-gate-card,
  .rr-alert {
    padding: 22px 16px;
  }

  .rr-equation-track,
  .rr-gate-flow,
  .rr-why-grid,
  .rr-footer-grid,
  .rr-alert {
    grid-template-columns: 1fr;
  }

  .rr-why-grid article,
  .rr-why-grid article:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(7, 40, 45, 0.16);
  }

  .rr-alert i {
    font-size: 58px;
  }

  .rr-footer-bottom {
    margin: 0 -16px;
    padding: 18px 16px;
  }
}

/* Reference-style home header and hero */
.rootopathy-reference-home {
  --rr-hero-height: 530px;
  --rr-ink: #03090d;
  --rr-deep: #00161b;
  --rr-teal: #13c8c4;
  --rr-teal-soft: #34d4cf;
  --rr-gold: #d7bb73;
}

.rr-nav {
  background: linear-gradient(180deg, #060b10 0%, #03080d 100%);
  border-bottom: 2px solid rgba(18, 49, 56, 0.9);
  box-shadow: inset 0 -1px 0 rgba(30, 216, 211, 0.08);
  gap: clamp(22px, 2.2vw, 34px);
  min-height: 122px;
  padding: 0 clamp(16px, 2.2vw, 30px);
}

.rr-brand {
  justify-content: center;
  min-height: 122px;
  min-width: clamp(305px, 28vw, 350px);
}

.rr-brand img {
  filter: brightness(0) invert(1) contrast(1.12);
  height: 82px;
  width: clamp(285px, 25vw, 325px);
}

.rr-brand span {
  color: rgba(255, 255, 255, 0.88);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-left: 88px;
  margin-top: -13px;
  text-transform: uppercase;
}

.rr-menu {
  gap: clamp(22px, 2.9vw, 46px);
  justify-content: flex-start;
}

.rr-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  max-width: 150px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.rr-menu a:hover {
  color: #ffffff;
}

.rr-menu i {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  margin-left: 3px;
}

.rr-nav-cta {
  border: 2px solid rgba(19, 200, 196, 0.78);
  border-radius: 7px;
  color: #19ccc7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 48px;
  padding: 0 18px;
  white-space: nowrap;
}

.rr-nav-cta i {
  border-color: rgba(19, 200, 196, 0.7);
  color: #20d0ca;
}

.rr-hero {
  background:
    linear-gradient(90deg, rgba(2, 8, 12, 0.98) 0%, rgba(2, 14, 18, 0.98) 41%, rgba(0, 25, 30, 0.95) 58%, rgba(0, 14, 18, 0.98) 100%);
  border-bottom: 2px solid rgba(92, 77, 50, 0.42);
  grid-template-columns: minmax(560px, 50%) minmax(0, 50%);
  padding: 0;
}

.rr-hero::before {
  background:
    radial-gradient(circle at 74% 45%, rgba(28, 219, 211, 0.14), transparent 36%),
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(8, 195, 190, 0.05) 62%, rgba(0, 0, 0, 0) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.rr-hero-copy {
  padding: 78px 10px 34px clamp(42px, 4.8vw, 61px);
}

.rr-hero-copy h1 {
  color: #f3f0ea;
  font-size: clamp(37px, 3.35vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  max-width: 580px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.22), 0 7px 18px rgba(0, 0, 0, 0.78);
}

.rr-hero-copy h1 span {
  color: #12bebb;
  text-shadow: 0 0 16px rgba(20, 211, 207, 0.35);
}

.rr-hero-copy p {
  color: rgba(244, 248, 247, 0.86);
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 600;
  line-height: 1.72;
  margin-top: 31px;
  max-width: 585px;
}

.rr-hero-actions {
  gap: 14px;
  margin-top: 29px;
}

.rr-primary-btn,
.rr-secondary-btn {
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0;
  min-height: 52px;
}

.rr-primary-btn {
  background: linear-gradient(90deg, #24c4c2 0%, #43d5cf 100%);
  box-shadow: 0 0 0 1px rgba(122, 255, 249, 0.25) inset, 0 12px 28px rgba(22, 207, 201, 0.24);
  min-width: 320px;
}

.rr-secondary-btn {
  background: rgba(3, 12, 16, 0.45);
  border: 2px solid rgba(75, 207, 202, 0.72);
  min-width: 202px;
}

.rr-principles {
  color: #d7bb73;
  gap: 14px;
  margin-top: 26px;
}

.rr-principles span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.rr-principles span + span::before {
  background: #10beba;
  height: 3px;
  width: 3px;
}

.rr-hero-visual {
  justify-content: flex-end;
  padding: 0;
}

.rr-hero-visual img {
  filter: contrast(1.08) saturate(1.08) brightness(0.92);
  height: 100%;
  object-fit: cover;
  object-position: 53% 34%;
  opacity: 1;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 100%);
}

.rr-hero-icons {
  inset: 0 6.2vw 0 0;
}

.rr-hero-icons i {
  background: rgba(0, 23, 28, 0.58);
  border: 2px solid rgba(23, 204, 199, 0.82);
  box-shadow: 0 0 24px rgba(23, 204, 199, 0.2), inset 0 0 14px rgba(23, 204, 199, 0.08);
  color: #18cbc6;
  font-size: 30px;
  height: 69px;
  width: 69px;
}

.rr-icon-dna {
  left: 18%;
  top: 16%;
}

.rr-icon-dna::before {
  content: "DNA";
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800 !important;
  letter-spacing: 0;
  line-height: 1;
  transform: rotate(90deg);
}

.rr-icon-clipboard {
  left: 13.5%;
  top: 46%;
}

.rr-icon-pulse {
  right: 5.5%;
  top: 16%;
}

.rr-icon-chart {
  right: 1.5%;
  top: 46%;
}

@media (max-width: 1180px) {
  .rr-nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: auto;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .rr-brand {
    min-height: auto;
    min-width: 270px;
  }

  .rr-brand img {
    height: 68px;
    width: 270px;
  }

  .rr-brand span {
    font-size: 10px;
    margin-left: 72px;
    margin-top: -11px;
  }

  .rr-menu {
    flex-basis: 100%;
    order: 3;
  }

  .rr-hero {
    grid-template-columns: minmax(430px, 50%) minmax(0, 50%);
  }

  .rr-hero-copy {
    padding-top: 54px;
  }
}

@media (max-width: 900px) {
  .rr-hero {
    grid-template-columns: 1fr;
  }

  .rr-hero-copy {
    padding: 42px 24px 28px;
  }

  .rr-hero-copy h1,
  .rr-hero-copy p {
    max-width: 680px;
  }

  .rr-hero-visual {
    height: 420px;
    min-height: 420px;
  }

  .rr-hero-visual img {
    object-position: 50% 42%;
  }
}

@media (max-width: 720px) {
  .rr-nav {
    justify-content: space-between;
    padding: 14px 16px;
  }

  .rr-brand {
    min-width: 0;
  }

  .rr-brand img {
    height: 54px;
    width: 218px;
  }

  .rr-brand span {
    font-size: 8px;
    margin-left: 58px;
    margin-top: -8px;
  }

  .rr-nav-cta {
    font-size: 0;
    min-height: 44px;
    padding: 0 12px;
  }

  .rr-nav-cta i {
    margin: 0;
  }

  .rr-hero-copy h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .rr-primary-btn,
  .rr-secondary-btn {
    justify-content: center;
    min-width: 100%;
    width: 100%;
  }

  .rr-hero-visual {
    height: 330px;
    min-height: 330px;
    padding: 0;
  }

  .rr-hero-visual img {
    max-height: none;
    max-width: none;
    width: 100%;
  }

  .rr-hero-icons {
    display: none;
  }
}

/* Reference-style clinical framework section */
.rr-equation-section {
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.95), transparent 30%),
    linear-gradient(180deg, #fffdf7 0%, #f7f2e6 100%);
  color: #061923;
  padding: 22px clamp(18px, 5.8vw, 108px) 48px;
}

.rr-equation-section .rr-section-title {
  margin-bottom: 26px;
}

.rr-equation-section .rr-section-title h2 {
  color: #071b25;
  font-size: clamp(21px, 2.15vw, 27px);
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.rr-equation-section .rr-section-title p {
  color: #0b7d80;
  font-size: clamp(16px, 1.75vw, 21px);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-top: 10px;
}

.rr-equation-section .rr-section-title::after {
  display: none;
}

.rr-equation-card,
.rr-gate-card,
.rr-alert {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(10, 31, 38, 0.1);
  max-width: 1688px;
  width: 100%;
}

.rr-equation-card {
  border-color: rgba(9, 52, 62, 0.24);
  gap: 26px;
  grid-template-columns: 185px minmax(0, 1fr);
  min-height: 0;
  padding: 28px 34px 32px;
}

.rr-master {
  border-right-color: rgba(9, 52, 62, 0.28);
  justify-content: flex-start;
  min-height: 214px;
  padding-right: 34px;
  padding-top: 6px;
}

.rr-master strong {
  color: #061923;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.25;
}

.rr-master span {
  border-color: rgba(0, 140, 140, 0.38);
  color: #008b8b;
  font-size: 80px;
  height: 126px;
  margin-top: 24px;
  width: 126px;
}

.rr-master span::before {
  inset: 6px;
}

.rr-master span::after {
  inset: -7px;
}

.rr-equation-track {
  align-items: start;
  gap: 9px;
  grid-template-columns: 1.16fr auto 1.05fr auto 0.95fr auto 0.82fr auto 1.08fr;
  padding-top: 6px;
}

.rr-term h3 {
  color: #061923;
  font-size: 16px;
  font-weight: 800;
  min-height: 25px;
}

.rr-term i {
  background: #fbffff;
  border-color: rgba(0, 139, 139, 0.5);
  box-shadow: 0 5px 14px rgba(0, 139, 139, 0.08);
  color: #008b8b;
  font-size: 32px;
  height: 72px;
  margin: 34px auto 16px;
  width: 72px;
}

.rr-term p {
  color: #061923;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.36;
  max-width: 162px;
}

.rr-expression h3 {
  white-space: nowrap;
}

.rr-symbol {
  color: #061923;
  font-size: 24px;
  padding-top: 0;
}

.rr-equation-note {
  background: #fff;
  border-color: rgba(9, 52, 62, 0.3);
  border-radius: 4px;
  color: #061923;
  font-size: 15px;
  font-weight: 800;
  margin-top: 8px;
  padding: 18px 22px;
}

.rr-gate-card {
  border-color: rgba(0, 139, 139, 0.78);
  margin-bottom: 24px;
  padding: 24px 27px 29px;
}

.rr-section-title.compact {
  margin-bottom: 25px;
}

.rr-section-title.compact h2 {
  color: #061923;
  font-size: clamp(20px, 2.2vw, 25px);
  letter-spacing: 0.2em;
}

.rr-section-title.compact p {
  color: #102d36;
  font-size: 12px;
  font-weight: 800;
  margin-top: 5px;
}

.rr-gate-flow {
  gap: 22px;
}

.rr-gate-step:not(:last-child)::after {
  color: #008b8b;
  font-size: 18px;
  right: -20px;
  top: 40px;
}

.rr-gate-step i {
  background: #fbffff;
  border-color: rgba(0, 139, 139, 0.72);
  box-shadow: 0 7px 16px rgba(0, 139, 139, 0.08);
  color: #008b8b;
  font-size: 36px;
  height: 72px;
  margin-bottom: 13px;
  width: 72px;
}

.rr-gate-step strong {
  color: #061923;
  font-size: 12px;
}

.rr-gate-step p {
  color: #071f28;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.34;
  margin-top: 7px;
}

.rr-alert {
  align-items: center;
  border-color: rgba(219, 38, 38, 0.58);
  box-shadow: 0 14px 30px rgba(136, 32, 32, 0.06);
  gap: 26px;
  grid-template-columns: 104px minmax(0, 1fr) 248px;
  margin-bottom: 26px;
  padding: 16px 24px 16px 30px;
}

.rr-alert i {
  color: #b31f24;
  font-size: 78px;
}

.rr-alert h2 {
  color: #b31f24;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  letter-spacing: 0.12em;
}

.rr-alert p,
.rr-alert strong {
  font-size: 12px;
  line-height: 1.42;
}

.rr-alert p {
  color: #22343c;
  margin-top: 5px;
}

.rr-alert strong {
  color: #b31f24;
  margin-top: 4px;
}

.rr-alert-cta {
  align-items: center;
  align-self: stretch;
  border: 1px solid rgba(219, 38, 38, 0.68);
  border-radius: 6px;
  color: #111f26;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
}

.rr-alert-cta span {
  color: #172832;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.rr-alert-cta strong {
  color: #c42126;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-top: 6px;
  text-transform: uppercase;
}

.rr-alert-cta:hover {
  background: rgba(219, 38, 38, 0.05);
}

.rr-section-title.why {
  margin: 18px auto 22px;
}

.rr-section-title.why h2 {
  font-size: clamp(22px, 1.9vw, 27px);
  letter-spacing: 0.18em;
}

.rr-section-title.why::after {
  background: #0a8d8f;
  display: block;
  height: 2px;
  margin-top: 14px;
  width: 52px;
}

.rr-why-grid {
  max-width: 1688px;
  width: 100%;
  margin-bottom: 34px;
}

.rr-why-grid article {
  border-left-color: rgba(18, 52, 62, 0.18);
  padding: 4px 30px 0;
}

.rr-why-grid article:last-child {
  border-right-color: rgba(18, 52, 62, 0.18);
}

.rr-why-grid i {
  color: #0b7d80;
  font-size: 54px;
}

.rr-why-grid h3 {
  color: #071b25;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.25;
  margin-top: 16px;
}

.rr-why-grid p {
  color: #1e333b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.42;
  margin-top: 10px;
}

.rr-consult-strip {
  align-items: center;
  background:
    radial-gradient(circle at 64% 45%, rgba(31, 197, 191, 0.18), transparent 34%),
    linear-gradient(90deg, #003b43 0%, #00323a 58%, #022a31 100%);
  border: 1px solid rgba(25, 196, 190, 0.4);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(5, 30, 34, 0.18);
  color: #f7f4e9;
  display: grid;
  gap: 28px;
  grid-template-columns: 104px minmax(0, 1fr) 520px;
  margin: 0 auto;
  max-width: 1688px;
  min-height: 132px;
  overflow: hidden;
  padding: 22px 34px;
  position: relative;
  width: 100%;
}

.rr-consult-strip::after {
  background: url("../img/rootopathy-human-tree-hero-cutout.png") center / cover no-repeat;
  content: "";
  inset: -160px 31% -240px 42%;
  opacity: 0.1;
  position: absolute;
}

.rr-consult-strip > * {
  position: relative;
  z-index: 1;
}

.rr-consult-strip > i {
  border: 3px solid rgba(74, 222, 217, 0.8);
  border-radius: 6px;
  color: #4aded9;
  display: inline-flex;
  font-size: 66px;
  height: 78px;
  justify-content: center;
  line-height: 1;
  width: 78px;
}

.rr-consult-strip h2 {
  color: #f7f4e9;
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

.rr-consult-strip p {
  color: #4aded9;
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
}

.rr-consult-strip a {
  align-items: center;
  background: linear-gradient(180deg, #e9bc62, #dca144);
  border: 1px solid rgba(255, 224, 141, 0.8);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  color: #14252b;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  min-height: 72px;
  padding: 0 28px;
  text-decoration: none;
  text-transform: uppercase;
}

.rr-consult-strip a i {
  font-size: 26px;
}

.rr-consult-strip a:hover {
  color: #14252b;
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .rr-equation-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .rr-equation-card,
  .rr-gate-card,
  .rr-alert,
  .rr-why-grid {
    max-width: none;
  }

  .rr-gate-flow {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .rr-why-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rr-equation-card {
    grid-template-columns: 1fr;
  }

  .rr-master {
    border-bottom: 1px solid rgba(18, 52, 62, 0.18);
    border-right: 0;
    min-height: 0;
    padding: 0 0 20px;
  }

  .rr-equation-note {
    grid-column: 1;
  }

  .rr-gate-flow,
  .rr-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rr-alert {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .rr-alert-cta {
    grid-column: 1 / -1;
  }

  .rr-consult-strip {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .rr-consult-strip a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .rr-equation-section {
    padding: 22px 8px 42px;
  }

  .rr-equation-section .rr-section-title h2,
  .rr-section-title.compact h2,
  .rr-section-title.why h2 {
    letter-spacing: 0.09em;
  }

  .rr-equation-section .rr-section-title p {
    letter-spacing: 0.08em;
  }

  .rr-equation-card,
  .rr-gate-card,
  .rr-alert {
    padding: 18px 14px;
  }

  .rr-equation-card {
    border-radius: 8px;
    gap: 18px;
  }

  .rr-master {
    align-items: center;
    padding-bottom: 18px;
    text-align: center;
  }

  .rr-master strong {
    font-size: 14px;
    line-height: 1.18;
  }

  .rr-master span {
    font-size: 64px;
    height: 104px;
    margin-top: 18px;
    width: 104px;
  }

  .rr-equation-track {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .rr-term {
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 139, 139, 0.07), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(0, 139, 139, 0.18);
    border-radius: 10px;
    display: grid;
    gap: 4px 12px;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 92px;
    padding: 13px 14px;
    text-align: left;
  }

  .rr-expression {
    background: #061923;
    border-color: rgba(0, 139, 139, 0.32);
    color: #ffffff;
    grid-template-columns: 1fr;
    min-height: 64px;
    text-align: center;
  }

  .rr-term h3 {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
    min-height: 0;
    white-space: normal;
  }

  .rr-expression h3 {
    color: #ffffff;
    white-space: normal;
  }

  .rr-term i {
    font-size: 25px;
    grid-row: 1 / span 2;
    height: 54px;
    margin: 0;
    width: 54px;
  }

  .rr-term p {
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
    max-width: none;
  }

  .rr-symbol {
    align-items: center;
    background: #008b8b;
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    justify-self: center;
    margin: -3px 0;
    padding: 0;
    width: 30px;
    z-index: 1;
  }

  .rr-equation-note {
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
    margin-top: 2px;
    padding: 15px 14px;
  }

  .rr-gate-flow,
  .rr-why-grid,
  .rr-alert {
    grid-template-columns: 1fr;
  }

  .rr-gate-step:not(:last-child)::after {
    display: none;
  }

  .rr-alert i {
    font-size: 64px;
  }

  .rr-consult-strip {
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 22px 18px;
    text-align: center;
  }

  .rr-consult-strip > i {
    margin: 0 auto;
  }

  .rr-consult-strip h2 {
    font-size: 25px;
  }

  .rr-consult-strip p {
    font-size: 15px;
  }

  .rr-consult-strip a {
    font-size: 14px;
    min-height: 58px;
  }

  .rr-why-grid article,
  .rr-why-grid article:last-child {
    border-left: 0;
    border-right: 0;
  }
}

/* Final home hero typography normalization */
.rootopathy-reference-home .rr-hero-copy h1 {
  color: #f7f2ea;
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 3.2vw, 48px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  max-width: 650px;
  text-shadow: none;
}

.rootopathy-reference-home .rr-hero-copy h1 span {
  color: #19c7c1;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  text-shadow: none;
}

.rootopathy-reference-home .rr-hero-copy p {
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.14vw, 17px);
  font-weight: 500;
  line-height: 1.62;
  max-width: 650px;
  text-shadow: none;
}

.rootopathy-reference-home .rr-primary-btn,
.rootopathy-reference-home .rr-secondary-btn {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  min-width: fit-content;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .rootopathy-reference-home .rr-hero-copy h1 {
    font-size: clamp(31px, 8.5vw, 40px);
  }

  .rootopathy-reference-home .rr-primary-btn,
  .rootopathy-reference-home .rr-secondary-btn {
    white-space: normal;
  }
}
