/* RayCare — soft, patient-friendly medical navigation */
:root {
  --paper: #f7f8f5;
  --paper-deep: #edf2ef;
  --ink: #17323b;
  --ink-soft: #5f7278;
  --forest: #214e57;
  --forest-2: #3f817c;
  --sage: #7db8ae;
  --mist: #e2f0ec;
  --blue: #dce9f1;
  --clay: #eee9df;
  --gold: #c7a96c;
  --white: #ffffff;
  --cyan: #79bdb3;
  --cyan-deep: #3f817c;
  --cobalt: #6e93b4;
  --navy: #214e57;
  --navy-2: #2e6570;
  --line: rgba(23, 50, 59, 0.13);
  --line-light: rgba(255, 255, 255, 0.28);
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 24px 70px rgba(32, 72, 80, 0.11);
}

html {
  background: var(--paper);
}

body {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(121, 189, 179, 0.09), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  letter-spacing: -0.006em;
}

body::before {
  z-index: -1;
  opacity: 0.45;
  background: linear-gradient(180deg, rgba(226, 240, 236, 0.35), transparent 32%);
}

::selection {
  background: var(--mist);
  color: var(--ink);
}

.scroll-progress {
  height: 3px;
  background: linear-gradient(90deg, var(--cobalt), var(--cyan));
  box-shadow: none;
}

.container {
  width: min(1380px, calc(100% - 64px));
}

.narrow-container {
  width: min(960px, calc(100% - 64px));
}

/* Navigation */
.site-header {
  padding: 16px clamp(18px, 3.5vw, 56px);
  color: var(--ink);
}

.site-header.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  border: 0;
  background: rgba(247, 248, 245, 0.88);
  backdrop-filter: blur(18px) saturate(125%);
}

.nav-shell {
  min-height: 68px;
  padding: 0 10px 0 15px;
  border-color: rgba(23, 50, 59, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(32, 72, 80, 0.08);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  gap: 11px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: var(--forest);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 720;
  box-shadow: none;
}

.brand-mark i {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b7ddd5;
}

.brand-mark::after {
  right: -8px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
}

.brand-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.brand-description {
  margin-top: 0;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.desktop-nav {
  gap: 3px;
}

.desktop-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: var(--mist);
  color: var(--forest);
}

.desktop-nav a.active::after {
  display: none;
}

.independence-chip {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.independence-chip i,
.footer-signal i,
.mobile-menu-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(125, 184, 174, .14);
  animation: soft-pulse 3s ease-in-out infinite;
}

.button {
  position: relative;
  min-height: 50px;
  padding: 0 22px;
  overflow: hidden;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button::before {
  display: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(33, 78, 87, .18);
}

.button-primary:hover {
  background: var(--navy-2);
  box-shadow: 0 16px 34px rgba(33, 78, 87, .22);
}

.button-light,
.button-dark-outline {
  border-color: rgba(33, 78, 87, .22);
  background: rgba(255, 255, 255, .65);
  color: var(--forest);
}

.button-light:hover,
.button-dark-outline:hover {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 10px 25px rgba(32,72,80,.08);
}

.button-arrow {
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: rgba(255,255,255,.14);
}

.menu-button {
  border-color: var(--line);
  border-radius: 10px;
  background: var(--white);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  background: var(--ink);
}

.mobile-menu {
  padding: 110px 24px 28px;
  background:
    radial-gradient(circle at 85% 12%, rgba(125,184,174,.2), transparent 35%),
    #f5f8f6;
  color: var(--ink);
}

.mobile-menu::before {
  display: none;
}

.mobile-menu-status {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.mobile-menu a:not(.button) {
  position: relative;
  justify-content: flex-start;
  gap: 18px;
  padding: 17px 2px;
  border-color: var(--line);
  font-family: var(--sans);
  font-size: clamp(31px, 8.5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.mobile-menu a:not(.button) span {
  color: var(--forest-2);
  font-size: 10px;
}

.mobile-menu a:not(.button)::after {
  margin-left: auto;
  color: var(--forest-2);
}

/* Home hero */
.hero,
.soft-hero {
  min-height: 840px;
  padding: 145px 0 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(110,147,180,.18), transparent 33%),
    radial-gradient(circle at 12% 85%, rgba(121,189,179,.16), transparent 30%),
    linear-gradient(145deg, #f5f9f7 0%, #edf4f1 53%, #f4f5f0 100%);
  color: var(--ink);
}

.hero::before {
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(105deg, rgba(255,255,255,.42), transparent 44%);
  animation: none;
}

.hero::after {
  z-index: 0;
  top: auto;
  right: -130px;
  bottom: -300px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(63,129,124,.09);
  box-shadow: inset 0 0 0 90px rgba(121,189,179,.025), inset 0 0 0 180px rgba(110,147,180,.02);
  animation: soft-orbit 30s linear infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
}

.hero-copy-column {
  padding-top: 12px;
}

.eyebrow {
  color: var(--forest-2);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 31px;
  background: currentColor;
  box-shadow: none;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--forest-2);
}

.display-title {
  max-width: 760px;
  margin: 28px 0 28px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(63px, 6.5vw, 101px);
  font-weight: 610;
  letter-spacing: -0.067em;
  line-height: .91;
}

.display-title em {
  color: var(--forest-2);
  font-weight: 610;
  font-style: normal;
}

.hero-copy {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}

.hero-actions {
  margin-top: 32px;
}

.hero-note {
  max-width: 680px;
  margin-top: 27px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.65;
}

.hero-note .seal {
  width: 32px;
  height: 32px;
  border-color: rgba(63,129,124,.2);
  border-radius: 9px;
  background: rgba(255,255,255,.62);
  color: var(--forest-2);
  font-size: 11px;
}

.hero-metrics {
  max-width: 700px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics div {
  min-height: 80px;
  padding: 16px 14px 14px 0;
  border-right: 1px solid var(--line);
}

.hero-metrics div + div {
  padding-left: 17px;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--forest);
  font-size: 15px;
  font-weight: 700;
}

.hero-metrics span {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: .03em;
  text-transform: none;
}

/* Care corridor map */
.corridor-map {
  position: relative;
  min-height: 630px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(33,78,87,.11);
  border-radius: 28px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 30px 90px rgba(32,72,80,.12);
}

.map-heading {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
}

.map-kicker {
  display: block;
  color: var(--forest-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-heading h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 13px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 9px;
  white-space: nowrap;
}

.map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.origin-dot { background: var(--cobalt); }
.hub-dot { background: var(--forest-2); }

.map-stage {
  position: relative;
  min-height: 505px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 54% 50%, rgba(121,189,179,.12), transparent 38%),
    linear-gradient(180deg, #f8fbfa, #eef4f2);
}

.map-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-countries path {
  fill: #dfe9e5;
  stroke: #c8d7d3;
  stroke-width: .75;
  vector-effect: non-scaling-stroke;
}

.map-links path {
  fill: none;
  stroke: url(#route-soft);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  stroke-linecap: round;
  opacity: .72;
  animation: route-flow 16s linear infinite;
}

.map-points g {
  cursor: pointer;
  outline: none;
}

.map-point-ring {
  fill: rgba(255,255,255,.72);
  stroke-width: 1.2;
  transition: transform 250ms ease, opacity 250ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.map-point-core {
  stroke: var(--white);
  stroke-width: 2;
}

.map-points .origin .map-point-ring { stroke: var(--cobalt); }
.map-points .origin .map-point-core { fill: var(--cobalt); }
.map-points .hub .map-point-ring { stroke: var(--forest-2); }
.map-points .hub .map-point-core { fill: var(--forest-2); }

.map-points g:hover .map-point-ring,
.map-points g:focus .map-point-ring,
.map-points g.active .map-point-ring {
  transform: scale(1.42);
  opacity: .8;
}

.map-points g.active .map-point-ring {
  animation: map-pulse 2.8s ease-out infinite;
}

.map-points text {
  fill: var(--ink);
  font-size: 10px;
  font-weight: 680;
  paint-order: stroke;
  stroke: rgba(248,251,250,.95);
  stroke-width: 4px;
  stroke-linejoin: round;
  pointer-events: none;
}

.map-place-card {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  width: min(270px, calc(100% - 36px));
  padding: 16px 17px;
  border: 1px solid rgba(33,78,87,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 38px rgba(32,72,80,.11);
  animation: soft-card-in 420ms ease both;
}

.map-place-card span {
  color: var(--forest-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.map-place-card strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
}

.map-place-card p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.map-selectors {
  margin: 12px 2px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.map-selectors button {
  min-height: 29px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f5f8f6;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 8px;
  font-weight: 650;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.map-selectors button i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
}

.map-selectors button.hub i { background: var(--forest-2); }

.map-selectors button:hover,
.map-selectors button.active {
  border-color: rgba(63,129,124,.3);
  background: var(--mist);
  color: var(--forest);
}

.map-note {
  margin: 13px 3px 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.truth-band {
  border-color: var(--line);
  background: var(--forest);
}

.truth-set {
  padding: 15px 0;
}

.truth-set span {
  color: rgba(255,255,255,.78);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .06em;
}

.truth-set span::after {
  width: 4px;
  height: 4px;
  background: #a9d1ca;
}

/* Sections and cards */
.section {
  padding: clamp(96px, 9vw, 138px) 0;
}

.compact-section {
  padding: clamp(86px, 8vw, 120px) 0;
}

.section-small {
  padding: 76px 0;
}

.section-tint {
  background: #edf3f1;
}

.section-dark,
.gentle-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(126,167,197,.2), transparent 32%),
    var(--forest);
  color: var(--white);
}

.section-dark::before,
.gentle-dark::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(255,255,255,.035), transparent 45%);
}

.section-dark .container,
.gentle-dark .container {
  position: relative;
  z-index: 2;
}

.section-heading {
  grid-template-columns: .42fr 1.58fr;
  gap: clamp(32px, 7vw, 100px);
  margin-bottom: 54px;
}

.section-title {
  max-width: 930px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(44px, 4.8vw, 71px);
  font-weight: 590;
  letter-spacing: -.058em;
  line-height: 1;
}

.section-title em {
  color: var(--forest-2);
  font-weight: 590;
  font-style: normal;
}

.section-dark .section-title,
.gentle-dark .section-title {
  color: var(--white);
}

.section-dark .section-title em,
.gentle-dark .section-title em {
  color: #b9ddd7;
}

.section-copy {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.72;
}

.section-dark .section-copy,
.gentle-dark .section-copy {
  color: rgba(255,255,255,.68);
}

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

.support-card,
.coverage-card {
  position: relative;
  min-height: 285px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.support-card:hover,
.coverage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63,129,124,.3);
  box-shadow: 0 20px 50px rgba(32,72,80,.09);
}

.support-card > span,
.coverage-card > span {
  display: inline-grid;
  min-width: 32px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: var(--mist);
  color: var(--forest-2);
  font-size: 10px;
  font-weight: 720;
}

.support-card h3,
.coverage-card h3 {
  margin: 58px 0 12px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.support-card p,
.coverage-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

/* Decision tabs */
.lens-shell {
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lens-menu {
  position: relative;
  padding: 32px;
  border-right: 1px solid var(--line);
  background: #dfece8;
  color: var(--ink);
}

.lens-menu::after {
  position: absolute;
  right: -110px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(63,129,124,.12);
  border-radius: 50%;
  content: "";
}

.lens-menu p {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lens-tab {
  position: relative;
  z-index: 2;
  min-height: 66px;
  border-bottom-color: rgba(23,50,59,.11);
  color: var(--ink-soft);
}

.lens-tab:hover,
.lens-tab.active {
  color: var(--forest);
}

.lens-tab span:first-child {
  color: var(--forest-2);
  font-size: 10px;
}

.lens-tab strong {
  font-size: 14px;
  font-weight: 650;
}

.lens-tab.active::before {
  position: absolute;
  top: 50%;
  left: -32px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: var(--forest-2);
  transform: translateY(-50%);
}

.lens-content {
  padding: clamp(36px, 5vw, 66px);
}

.lens-panel h3 {
  max-width: 670px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(38px, 3.8vw, 56px);
  font-weight: 590;
  letter-spacing: -.052em;
  line-height: 1;
}

.lens-panel > p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.lens-point {
  min-height: 82px;
  border-radius: 12px;
  background: #f4f7f5;
  color: var(--ink-soft);
  font-size: 11px;
}

.lens-point i {
  border-radius: 7px;
  background: var(--forest-2);
}

/* Home journey */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  overflow: hidden;
}

.journey-step {
  min-height: 270px;
  padding: 27px 23px;
  border-right: 1px solid rgba(255,255,255,.16);
  transition: background 250ms ease;
}

.journey-step:last-child { border-right: 0; }
.journey-step:hover { background: rgba(255,255,255,.055); }

.journey-step > span {
  color: #b9ddd7;
  font-size: 11px;
  font-weight: 700;
}

.journey-step h3 {
  margin: 84px 0 12px;
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.journey-step p {
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 11px;
  line-height: 1.65;
}

.section-action { margin-top: 28px; }
.gentle-dark .button-light { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); color: var(--white); }
.gentle-dark .button-light:hover { background: rgba(255,255,255,.12); }

.principle-grid {
  border-radius: 19px;
}

.principle {
  min-height: 270px;
  background: var(--paper);
}

.principle h3 {
  margin-top: 58px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 600;
}

.card-index {
  width: 34px;
  height: 27px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--forest-2);
  font-family: var(--sans);
  font-size: 10px;
}

.cta-panel,
.soft-cta {
  padding: clamp(48px, 7vw, 86px);
  border: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 18%, rgba(110,147,180,.22), transparent 30%),
    linear-gradient(130deg, #dfeeea, #e9eef2 58%, #efeadd);
  color: var(--ink);
}

.cta-panel::before,
.cta-panel::after {
  border-color: rgba(63,129,124,.12);
}

.cta-content h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(45px, 5.3vw, 75px);
  font-weight: 590;
  letter-spacing: -.06em;
}

.cta-side p {
  color: var(--ink-soft);
  font-size: 14px;
}

/* Footer */
.site-footer {
  padding-top: 64px;
  background: #193b43;
}

.site-footer .brand-name { color: var(--white); }
.site-footer .brand-mark { background: rgba(255,255,255,.1); }

.footer-statement {
  max-width: 640px;
  font-family: var(--sans);
  font-size: clamp(24px, 2.3vw, 35px);
  font-weight: 510;
  letter-spacing: -.038em;
}

.footer-signal {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.48);
  font-size: 9px;
}

.footer-column h3 {
  color: #b9ddd7;
  font-size: 9px;
}

.footer-column a,
.footer-column span {
  font-size: 11px;
}

.footer-bottom {
  font-size: 9px;
}

/* Inner page heroes */
.page-hero,
.soft-page-hero {
  position: relative;
  padding: 175px 0 92px;
  overflow: hidden;
  border-color: var(--line);
  background:
    radial-gradient(circle at 82% 28%, rgba(110,147,180,.18), transparent 30%),
    linear-gradient(145deg, #f2f8f5, #eaf2f0 60%, #f4f2ec);
  color: var(--ink);
}

.page-hero::before {
  position: absolute;
  right: -100px;
  bottom: -230px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(63,129,124,.1);
  border-radius: 50%;
  content: "";
}

.page-hero::after { display: none; }

.page-hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.25fr .75fr;
  gap: 70px;
}

.page-title {
  max-width: 1010px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(57px, 6.5vw, 94px);
  font-weight: 600;
  letter-spacing: -.066em;
  line-height: .94;
}

.page-intro {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.start-intro span {
  margin-top: 17px;
  border-color: rgba(63,129,124,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
  color: var(--forest-2);
  font-size: 9px;
  text-transform: none;
}

/* How it works page */
.method-explorer {
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.method-explorer-nav {
  grid-template-columns: repeat(4, 1fr);
  background: #e8f0ed;
}

.method-explorer-nav button {
  min-height: 86px;
  color: var(--ink-soft);
}

.method-explorer-nav button.active {
  background: var(--forest);
  color: var(--white);
}

.method-explorer-nav button span {
  color: var(--forest-2);
  font-family: var(--sans);
  font-size: 10px;
}

.method-explorer-nav button.active span { color: #b9ddd7; }
.method-explorer-nav button strong { font-size: 13px; }

.method-explorer-panel {
  min-height: 455px;
  padding: clamp(34px, 5vw, 66px);
}

.method-panel-copy h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(42px, 4.5vw, 63px);
  font-weight: 590;
  letter-spacing: -.056em;
}

.method-panel-copy p {
  color: var(--ink-soft);
  font-size: 14px;
}

.micro-label {
  color: var(--forest-2);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .07em;
}

.method-deliverables {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f2f6f4;
}

.method-deliverables::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: var(--sage);
}

.deliverable {
  font-size: 11px;
}

.deliverable i {
  border-radius: 7px;
  font-family: var(--sans);
}

.four-city-grid {
  grid-template-columns: repeat(4, 1fr);
  border-radius: 20px;
}

.city-grid article {
  min-height: 310px;
  transition: background 250ms ease;
}

.city-grid article:hover { background: rgba(255,255,255,.06); }

.city-grid span {
  color: #b9ddd7;
  font-size: 10px;
}

.city-grid h3 {
  margin-top: 96px;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 580;
}

.city-grid p {
  color: rgba(255,255,255,.65);
  font-size: 11px;
}

.friendly-compare-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.compare-grid article {
  position: relative;
  min-height: 225px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
}

.compare-grid article > span {
  color: var(--forest-2);
  font-family: var(--sans);
  font-size: 10px;
}

.compare-grid h3 {
  margin-top: 52px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 590;
}

.compare-grid p {
  color: var(--ink-soft);
  font-size: 11px;
}

.boundary-panel,
.friendly-boundary {
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(32,72,80,.08);
}

.boundary-panel h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 590;
  letter-spacing: -.056em;
}

.boundary-list strong {
  color: var(--forest-2);
  font-size: 11px;
}

.boundary-list span {
  color: var(--ink-soft);
  font-size: 12px;
}

/* Services */
.service-row > button {
  min-height: 118px;
}

.service-code {
  color: var(--forest-2);
  font-size: 10px;
}

.service-name {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(27px, 2.8vw, 40px);
  font-weight: 590;
  letter-spacing: -.046em;
}

.service-line {
  color: var(--ink-soft);
  font-size: 13px;
}

.service-toggle {
  border-radius: 10px;
  font-family: var(--sans);
}

.service-row.open .service-toggle {
  background: var(--forest-2);
}

.service-row.open { background: rgba(255,255,255,.42); }
.service-detail p { color: var(--ink-soft); font-size: 13px; }
.service-detail li { color: var(--ink-soft); font-size: 11px; }

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.coverage-card {
  min-height: 300px;
  padding: 23px;
}

.coverage-card h3 {
  margin-top: 70px;
  font-size: 24px;
}

.simple-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.simple-payment-grid article {
  min-height: 265px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.simple-payment-grid article > span {
  color: #b9ddd7;
  font-size: 10px;
  font-weight: 700;
}

.simple-payment-grid h3 {
  margin: 86px 0 12px;
  color: var(--white);
  font-size: 25px;
  font-weight: 590;
  letter-spacing: -.04em;
}

.simple-payment-grid p {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  line-height: 1.65;
}

.simple-payment-grid .payment-highlight {
  background: rgba(185,221,215,.11);
  border-color: rgba(185,221,215,.32);
}

.zero-fee-note {
  grid-column: 1 / -1;
  padding: 21px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 16px;
  background: #dcece8;
  color: var(--ink);
}

.zero-fee-note strong {
  color: var(--forest);
  font-size: 32px;
}

.zero-fee-note span {
  max-width: 430px;
  font-size: 12px;
  line-height: 1.5;
}

.faq-list summary {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 580;
}

.faq-list summary::after {
  color: var(--forest-2);
}

.faq-list details p {
  color: var(--ink-soft);
  font-size: 13px;
}

/* Query form */
.intake-shell,
.query-shell {
  grid-template-columns: 1.25fr .75fr;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-form {
  padding: clamp(30px, 5vw, 62px);
}

.form-head h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(41px, 4.4vw, 61px);
  font-weight: 590;
  letter-spacing: -.056em;
}

.form-seal {
  width: 91px;
  height: 76px;
  border-color: rgba(63,129,124,.2);
  border-radius: 14px;
  background: var(--mist);
  color: var(--forest-2);
  font-size: 9px;
  transform: none;
}

.form-intro {
  color: var(--ink-soft);
  font-size: 13px;
}

.form-section-label {
  color: var(--forest-2);
  font-size: 10px;
}

.field-grid label > span {
  color: var(--ink-soft);
  font-size: 9px;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  width: 100%;
  min-height: 57px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #f5f8f6;
  color: var(--ink);
  font-size: 13px;
  transition: border 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.field-grid textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
  line-height: 1.55;
}

.field-grid input:focus,
.field-grid select:focus,
.field-grid textarea:focus {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(125,184,174,.12);
}

.check-row {
  border-radius: 10px;
  background: #f7f9f7;
  color: var(--ink-soft);
  font-size: 11px;
}

.check-row input { accent-color: var(--forest-2); }
.check-row strong { color: var(--ink); }

.intake-aside,
.query-aside {
  position: relative;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(126,167,197,.19), transparent 32%),
    var(--forest);
  color: var(--white);
}

.intake-aside::before { display: none; }

.query-promise {
  position: relative;
  z-index: 2;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.query-promise .micro-label,
.intake-rules .micro-label {
  color: #b9ddd7;
}

.query-promise ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.query-promise li {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 11px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.query-promise li i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(185,221,215,.15);
  color: #b9ddd7;
  font-size: 10px;
  font-style: normal;
}

.query-promise strong,
.query-promise span {
  display: block;
}

.query-promise strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 620;
}

.query-promise span {
  margin-top: 4px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  line-height: 1.55;
}

.intake-rules {
  position: relative;
  z-index: 2;
}

.intake-rules li {
  color: rgba(255,255,255,.66);
  font-size: 10px;
}

.intake-rules li::before { color: #b9ddd7; }

.prepared-card {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  background: var(--white);
}

.prepared-card h3 {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 590;
}

.prepared-card p { color: var(--ink-soft); }

.fit-card {
  min-height: 365px;
  border-radius: 18px;
  background: var(--white);
}

.fit-card > span {
  border-radius: 8px;
  font-size: 9px;
}

.fit-card li {
  color: var(--ink-soft);
  font-size: 12px;
}

.fit-card li::before {
  color: var(--forest-2);
  content: "✓";
}

.fit-no li::before {
  color: #9b655b;
  content: "—";
}

.emergency-note {
  border-radius: 14px;
  background: #f3e5e1;
}

.emergency-note span {
  font-size: 9px;
}

.emergency-note p {
  font-size: 13px;
}

/* Motion */
.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms cubic-bezier(.16,1,.3,1), transform 650ms cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--reveal-order, 0) * 55ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  animation-name: soft-reveal;
  animation-duration: 760ms;
  animation-timing-function: cubic-bezier(.16,1,.3,1);
}

.mobile-quick-contact {
  border-radius: 11px;
  background: var(--forest);
  color: var(--white);
  font-size: 11px;
}

@keyframes soft-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes soft-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .52; }
}

@keyframes soft-orbit {
  to { transform: rotate(360deg); }
}

@keyframes route-flow {
  to { stroke-dashoffset: -120; }
}

@keyframes map-pulse {
  0% { opacity: .85; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(2); }
}

@keyframes soft-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .container { width: min(100% - 42px, 1380px); }
  .hero-grid { grid-template-columns: 1fr .95fr; gap: 42px; }
  .corridor-map { min-height: 590px; padding: 20px; }
  .map-stage { min-height: 475px; }
  .display-title { font-size: clamp(61px, 7vw, 88px); }
  .coverage-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy-column { padding-top: 0; }
  .corridor-map { min-height: 620px; }
  .map-stage { min-height: 500px; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .journey-step:nth-child(2) { border-right: 0; }
  .journey-step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .four-city-grid { grid-template-columns: 1fr 1fr; }
  .four-city-grid article:nth-child(2) { border-right: 0; }
  .four-city-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .friendly-compare-grid { grid-template-columns: 1fr 1fr; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .simple-payment-grid { grid-template-columns: 1fr; }
  .simple-payment-grid article { min-height: 210px; }
  .simple-payment-grid h3 { margin-top: 58px; }
}

@media (max-width: 820px) {
  .container,
  .narrow-container { width: min(100% - 30px, 1380px); }
  .site-header { padding: 10px 12px; }
  .site-header.scrolled { padding: 7px 10px; }
  .nav-shell { min-height: 58px; border-radius: 14px; }
  .brand-mark { width: 35px; height: 35px; }
  .hero { padding: 116px 0 62px; }
  .display-title { font-size: clamp(56px, 15.5vw, 78px); }
  .hero-copy { font-size: 16px; }
  .corridor-map { min-height: 550px; border-radius: 22px; }
  .map-stage { min-height: 425px; }
  .map-heading { flex-direction: column; }
  .map-legend { justify-content: flex-start; }
  .section,
  .compact-section { padding: 82px 0; }
  .section-small { padding: 62px 0; }
  .section-heading,
  .page-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .section-heading { margin-bottom: 40px; }
  .section-title { font-size: clamp(41px, 12vw, 58px); }
  .support-card { min-height: 265px; }
  .lens-menu { border-right: 0; border-bottom: 1px solid var(--line); }
  .lens-tab.active::before { display: none; }
  .lens-tab:hover,
  .lens-tab.active { background: rgba(255,255,255,.56); }
  .lens-content { padding: 31px 23px; }
  .lens-panel h3 { font-size: 40px; }
  .page-hero { padding: 132px 0 70px; }
  .page-title { font-size: clamp(54px, 14.5vw, 75px); }
  .method-explorer-panel { grid-template-columns: 1fr; }
  .four-city-grid article { min-height: 245px; }
  .city-grid h3 { margin-top: 62px; }
  .boundary-panel { grid-template-columns: 1fr; gap: 40px; }
  .cta-panel { border-radius: 22px; }
  .cta-content h2 { font-size: 47px; }
  .intake-shell { grid-template-columns: 1fr; }
  .case-form { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand-description { display: none; }
  .hero .eyebrow { max-width: 300px; line-height: 1.5; }
  .display-title { font-size: clamp(52px, 16vw, 69px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics div,
  .hero-metrics div:nth-child(2) { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-metrics div:last-child { border-bottom: 0; }
  .corridor-map { min-height: 500px; padding: 15px; }
  .map-heading h2 { font-size: 20px; }
  .map-stage { min-height: 370px; }
  .map-points text { font-size: 8px; stroke-width: 3px; }
  .map-place-card { right: 12px; bottom: 12px; left: 12px; width: auto; padding: 12px 14px; }
  .map-place-card p { font-size: 9px; }
  .support-grid,
  .friendly-compare-grid,
  .coverage-grid,
  .fit-grid { grid-template-columns: 1fr; }
  .support-card,
  .coverage-card { min-height: 245px; }
  .section-title { font-size: clamp(39px, 12.5vw, 52px); }
  .lens-panel h3 { font-size: 37px; }
  .lens-points { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-step { min-height: 205px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .journey-step:last-child { border-bottom: 0; }
  .journey-step h3 { margin-top: 48px; }
  .page-title { font-size: clamp(49px, 15vw, 65px); }
  .method-explorer-panel { padding: 30px 21px; }
  .method-panel-copy h2 { font-size: 39px; }
  .four-city-grid { grid-template-columns: 1fr; }
  .four-city-grid article,
  .four-city-grid article:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .four-city-grid article:last-child { border-bottom: 0; }
  .boundary-list p { grid-template-columns: 1fr; gap: 7px; }
  .service-row > button { padding: 22px 0; }
  .service-name { font-size: 29px; }
  .zero-fee-note { align-items: flex-start; flex-direction: column; }
  .case-form { padding: 29px 21px; }
  .form-head h2 { font-size: 39px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-seal { display: none; }
  .intake-aside { padding: 22px; }
  .query-promise { padding: 20px; }
  .cta-content h2 { font-size: 44px; }
  .footer-statement { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; }
  .map-links path,
  .map-points g.active .map-point-ring,
  .hero::after { animation: none !important; }
}

/* RayCare v5 — calm daylight with a restrained deep-navy edge */
:root {
  --night: #071b23;
  --night-2: #0c2831;
  --night-3: #143943;
  --signal: #8eddd1;
  --signal-bright: #bcefe7;
  --paper: #f6f8f5;
  --paper-deep: #e9f0ed;
  --ink: #102d36;
  --ink-soft: #566d74;
  --forest: #173f48;
  --forest-2: #367a77;
  --mist: #dfefeb;
  --line: rgba(16, 45, 54, .13);
  --shadow: 0 24px 70px rgba(17, 48, 57, .11);
}

body {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(92, 177, 168, .09), transparent 28rem),
    var(--paper);
  font-size: 17px;
}

body::before {
  opacity: .2;
  background-image:
    linear-gradient(rgba(14, 51, 61, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 51, 61, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.container {
  width: min(1320px, calc(100% - 64px));
}

/* Premium header and RayCare identity */
.site-header,
.site-header.scrolled {
  padding: 13px clamp(16px, 3vw, 48px);
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-header.scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav-shell {
  min-height: 70px;
  padding: 0 9px 0 12px;
  border: 1px solid rgba(174, 231, 221, .16);
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgba(255,255,255,.035), transparent 42%),
    rgba(7, 27, 35, .95);
  box-shadow: 0 18px 54px rgba(6, 23, 30, .2);
  backdrop-filter: none;
  isolation: isolate;
}

.brand-lockup {
  gap: 12px;
}

.brand-mark,
.site-footer .brand-mark {
  width: 46px;
  height: 46px;
  padding: 2px;
  border: 1px solid rgba(142, 221, 209, .3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 75% 18%, rgba(142, 221, 209, .2), transparent 35%),
    #102f38;
  box-shadow: inset 0 0 24px rgba(142, 221, 209, .06), 0 8px 22px rgba(0,0,0,.15);
}

.brand-mark::after,
.brand-mark i {
  display: none;
}

.raycare-logo {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-orbit {
  fill: none;
  stroke: rgba(188, 239, 231, .2);
  stroke-width: 1.1;
}

.logo-monogram {
  fill: #f7fffd;
}

.logo-care-arc {
  fill: none;
  stroke: var(--signal);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.logo-care-dot {
  fill: var(--signal-bright);
  filter: drop-shadow(0 0 4px rgba(142, 221, 209, .65));
}

.brand-name,
.site-footer .brand-name {
  color: #f8fffd;
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -.025em;
  text-transform: none;
}

.brand-name b {
  color: var(--signal-bright);
  font-weight: 760;
}

.brand-description {
  margin-top: -1px;
  color: rgba(236, 250, 247, .55);
  font-size: 10px;
  letter-spacing: .015em;
}

.desktop-nav a {
  padding: 10px 13px;
  color: rgba(239, 250, 248, .65);
  font-size: 12.5px;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: rgba(142, 221, 209, .1);
  color: #fff;
}

.independence-chip {
  color: rgba(239, 250, 248, .58);
  font-size: 10.5px;
}

.independence-chip i,
.footer-signal i,
.mobile-menu-status i {
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(142, 221, 209, .1), 0 0 12px rgba(142, 221, 209, .38);
}

.nav-shell .button-primary {
  border-color: var(--signal-bright);
  background: var(--signal-bright);
  color: var(--night);
  box-shadow: 0 12px 28px rgba(67, 159, 149, .16);
}

.nav-shell .button-primary:hover {
  background: #d5f7f1;
}

.nav-shell .button,
.nav-shell .brand-lockup,
.nav-shell .nav-actions {
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-shell .button {
  overflow: visible;
}

.menu-button {
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.05);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  background: #f5fffd;
}

.mobile-menu {
  background:
    radial-gradient(circle at 82% 16%, rgba(78, 138, 255, .18), transparent 34%),
    linear-gradient(150deg, var(--night-2), var(--night));
  color: #fff;
}

.mobile-menu a:not(.button) {
  border-color: rgba(255,255,255,.12);
  color: #fff;
}

.mobile-menu a:not(.button) span,
.mobile-menu a:not(.button)::after,
.mobile-menu-status {
  color: var(--signal);
}

/* Light hero, dark animated care map */
.hero,
.soft-hero {
  min-height: 810px;
  padding: 136px 0 64px;
  background:
    radial-gradient(circle at 85% 20%, rgba(76, 128, 192, .16), transparent 31%),
    radial-gradient(circle at 15% 82%, rgba(90, 174, 165, .14), transparent 28%),
    linear-gradient(145deg, #f7faf8 0%, #edf4f1 58%, #f5f5f0 100%);
}

.hero::before {
  opacity: .55;
  background-image:
    linear-gradient(rgba(14, 51, 61, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 51, 61, .035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.7), transparent 72%);
}

.hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(530px, 1.1fr);
  gap: clamp(42px, 5vw, 72px);
}

.display-title {
  margin: 24px 0 24px;
  font-size: clamp(60px, 5.8vw, 88px);
  line-height: .94;
}

.hero-copy {
  max-width: 620px;
  font-size: clamp(16.5px, 1.25vw, 18.5px);
  line-height: 1.68;
}

.hero-note {
  font-size: 12px;
  line-height: 1.6;
}

.hero-metrics {
  margin-top: 24px;
}

.hero-metrics div {
  min-height: 74px;
}

.hero-metrics span {
  font-size: 10.5px;
}

.corridor-map {
  min-height: 600px;
  padding: 23px;
  border: 1px solid rgba(163, 224, 214, .18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 72% 18%, rgba(56, 104, 255, .13), transparent 35%),
    linear-gradient(145deg, #0d2a33, #071b23 72%);
  box-shadow: 0 32px 90px rgba(8, 29, 37, .24);
  color: #fff;
}

.corridor-map::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image:
    linear-gradient(rgba(188, 239, 231, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 239, 231, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
}

.map-heading,
.map-selectors,
.map-note {
  position: relative;
  z-index: 3;
}

.map-kicker {
  color: var(--signal);
  font-size: 10.5px;
}

.map-heading h2 {
  color: #f5fffd;
  font-size: 24px;
}

.map-legend span {
  color: rgba(238, 250, 248, .65);
  font-size: 9.5px;
}

.origin-dot { background: #78a7ff; box-shadow: 0 0 10px rgba(120,167,255,.7); }
.hub-dot { background: var(--signal); box-shadow: 0 0 10px rgba(142,221,209,.65); }

.map-stage {
  min-height: 458px;
  border: 1px solid rgba(177, 232, 223, .1);
  background:
    radial-gradient(circle at 54% 28%, rgba(142, 221, 209, .13), transparent 25%),
    radial-gradient(circle at 22% 28%, rgba(87, 129, 255, .09), transparent 34%),
    rgba(4, 19, 25, .56);
}

.map-camera {
  transform-box: view-box;
  transform-origin: 485px 153px;
  animation: map-camera-focus 14s cubic-bezier(.42, 0, .2, 1) infinite;
}

.map-countries path {
  fill: #1a3942;
  stroke: #31515a;
  stroke-width: .8;
}

.map-links path {
  stroke-width: 1.65;
  opacity: .86;
  filter: drop-shadow(0 0 3px rgba(112, 220, 207, .22));
  animation-duration: 9s;
}

.map-points g {
  cursor: default;
  pointer-events: none;
}

.map-points .origin .map-point-ring { stroke: #79a9ff; }
.map-points .origin .map-point-core { fill: #79a9ff; }
.map-points .hub .map-point-ring { stroke: var(--signal); }
.map-points .hub .map-point-core { fill: var(--signal); }

.map-point-ring {
  fill: rgba(7, 27, 35, .55);
  opacity: .85;
  animation: point-wave 3.2s ease-out infinite;
  animation-delay: var(--pulse-delay);
}

.map-point-core {
  stroke: #eafffb;
  stroke-width: 1.8;
  animation: point-blink 2.1s ease-in-out infinite;
  animation-delay: var(--pulse-delay);
  transform-box: fill-box;
  transform-origin: center;
}

.map-points g.active .map-point-ring {
  animation: active-point-wave 2s ease-out infinite;
}

.map-points text {
  fill: #f4fffd;
  font-size: 10.5px;
  stroke: rgba(4, 19, 25, .96);
  stroke-width: 4px;
}

.delhi-focus-ring {
  fill: none;
  stroke: var(--signal-bright);
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: delhi-focus 14s ease-in-out infinite;
}

.map-place-card {
  border-color: rgba(188, 239, 231, .2);
  background: rgba(7, 27, 35, .9);
  box-shadow: 0 15px 40px rgba(0,0,0,.24);
  backdrop-filter: blur(14px);
}

.map-place-card span { color: var(--signal); font-size: 9.5px; }
.map-place-card strong { color: #fff; font-size: 19px; }
.map-place-card p { color: rgba(238, 250, 248, .68); font-size: 11px; }

.map-selectors {
  gap: 7px;
}

.map-selectors button {
  min-height: 32px;
  padding: 0 10px;
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  color: rgba(240, 252, 249, .65);
  font-size: 9.5px;
}

.map-selectors button:hover,
.map-selectors button.active {
  border-color: rgba(142, 221, 209, .34);
  background: rgba(142, 221, 209, .12);
  color: #fff;
}

.map-note {
  color: rgba(238, 250, 248, .55);
  font-size: 11px;
}

/* Tighter, clearer content rhythm */
.section {
  padding: clamp(82px, 7vw, 105px) 0;
}

.compact-section {
  padding: clamp(70px, 6vw, 90px) 0;
}

.section-small {
  padding: 58px 0;
}

.section-heading {
  grid-template-columns: .34fr 1.66fr;
  gap: clamp(28px, 5vw, 68px);
  margin-bottom: 38px;
  align-items: end;
}

.section-title {
  font-size: clamp(40px, 4.2vw, 61px);
  line-height: 1.01;
}

.section-copy {
  margin-top: 16px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
}

.support-card,
.coverage-card {
  min-height: 245px;
  padding: 25px;
  border-radius: 17px;
}

.support-card h3,
.coverage-card h3 {
  margin-top: 40px;
  font-size: 24px;
}

.support-card p,
.coverage-card p {
  font-size: 13px;
  line-height: 1.65;
}

.family-section {
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 104, 255, .09), transparent 30%),
    #eaf1ef;
}

.family-heading .section-copy {
  max-width: 760px;
}

.family-understanding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.family-card {
  position: relative;
  min-height: 390px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 16px 44px rgba(18, 54, 63, .06);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.family-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--forest-2), var(--signal), transparent 82%);
}

.family-card:nth-child(2) {
  border-color: rgba(142, 221, 209, .18);
  background:
    radial-gradient(circle at 88% 12%, rgba(89, 126, 255, .14), transparent 34%),
    var(--night-2);
  color: #fff;
}

.family-card:hover {
  transform: translateY(-5px);
  border-color: rgba(54, 122, 119, .3);
  box-shadow: 0 23px 55px rgba(18, 54, 63, .11);
}

.family-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.family-card-top span {
  color: var(--forest-2);
  font-size: 11px;
  font-weight: 760;
}

.family-card-top small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .06em;
  text-align: right;
  text-transform: uppercase;
}

.family-card h3 {
  margin: 54px 0 14px;
  color: var(--ink);
  font-size: clamp(25px, 2.2vw, 31px);
  font-weight: 610;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.family-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.family-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.family-card li {
  padding: 9px 0;
  display: flex;
  gap: 9px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.family-card li i {
  color: var(--forest-2);
  font-style: normal;
}

.family-card:nth-child(2) .family-card-top span,
.family-card:nth-child(2) li i { color: var(--signal); }
.family-card:nth-child(2) .family-card-top small,
.family-card:nth-child(2) > p,
.family-card:nth-child(2) li { color: rgba(240, 252, 249, .66); }
.family-card:nth-child(2) h3 { color: #fff; }
.family-card:nth-child(2) li { border-color: rgba(255,255,255,.12); }

.gentle-dark {
  background:
    radial-gradient(circle at 90% 8%, rgba(77, 116, 242, .16), transparent 30%),
    linear-gradient(145deg, var(--night-2), var(--night));
}

.gentle-dark::before {
  opacity: .38;
  background-image:
    linear-gradient(rgba(188, 239, 231, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 239, 231, .06) 1px, transparent 1px);
  background-size: 54px 54px;
}

.journey-step {
  min-height: 225px;
  padding: 24px;
}

.journey-step h3 {
  margin: 48px 0 11px;
  font-size: 23px;
}

.journey-step p {
  font-size: 12px;
  line-height: 1.62;
}

.principle {
  min-height: 230px;
}

.principle h3 {
  margin-top: 40px;
}

/* Compact, well-filled How It Works page */
.page-hero,
.soft-page-hero {
  padding: 140px 0 66px;
}

.page-title {
  font-size: clamp(52px, 5.7vw, 80px);
  line-height: .96;
}

.method-page-hero {
  padding: 137px 0 62px;
}

.method-page-hero .page-hero-grid {
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(38px, 6vw, 82px);
  align-items: end;
}

.method-page-hero .page-title {
  font-size: clamp(54px, 6vw, 82px);
}

.page-intro-card {
  padding: 23px;
  border: 1px solid rgba(16, 45, 54, .11);
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 15px 42px rgba(18, 54, 63, .06);
}

.page-intro-card .page-intro {
  margin: 0;
  color: #3f5961;
  font-size: 15.5px;
  line-height: 1.7;
}

.intro-points {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.intro-points span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.7);
  color: var(--forest);
  font-size: 10.5px;
  font-weight: 670;
}

.method-core-section,
.method-hubs-section,
.method-compare-section,
.method-limits-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.method-explorer {
  border-radius: 20px;
}

.method-explorer-nav button {
  min-height: 76px;
  padding: 15px 18px;
}

.method-explorer-nav button.active {
  background: var(--night-2);
}

.method-explorer-panel {
  min-height: 350px;
  padding: clamp(34px, 4vw, 48px);
  gap: clamp(34px, 5vw, 62px);
}

.method-panel-copy h2 {
  margin: 20px 0 15px;
  font-size: clamp(39px, 4vw, 55px);
  line-height: 1.01;
}

.method-panel-copy p {
  font-size: 13.5px;
  line-height: 1.68;
}

.method-deliverables {
  padding: 20px 22px;
}

.deliverable {
  min-height: 49px;
  font-size: 12px;
}

.four-city-grid {
  border-radius: 18px;
}

.city-grid article {
  min-height: 225px;
  padding: 25px;
}

.city-grid h3 {
  margin-top: 42px;
  font-size: 24px;
}

.city-grid p {
  font-size: 12px;
  line-height: 1.62;
}

.friendly-compare-grid {
  gap: 9px;
}

.compare-grid article {
  min-height: 185px;
  padding: 21px;
}

.compare-grid h3 {
  margin-top: 31px;
  font-size: 22px;
}

.compare-grid p {
  font-size: 12px;
  line-height: 1.6;
}

.boundary-panel,
.friendly-boundary {
  padding: clamp(31px, 4.5vw, 54px);
  gap: clamp(38px, 6vw, 78px);
}

.boundary-panel h2 {
  margin-top: 20px;
  font-size: clamp(39px, 4vw, 54px);
}

.boundary-list p {
  padding: 15px 0;
}

.boundary-list strong,
.boundary-list span {
  font-size: 12px;
}

.scroll-reveal {
  transform: translateY(24px) scale(.992);
  filter: blur(2px);
  transition: opacity 720ms cubic-bezier(.16,1,.3,1), transform 720ms cubic-bezier(.16,1,.3,1), filter 720ms ease;
}

.scroll-reveal.is-visible {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes map-camera-focus {
  0%, 17% { transform: scale(1); }
  36%, 53% { transform: scale(1.16); }
  76%, 100% { transform: scale(1); }
}

@keyframes point-blink {
  0%, 100% { opacity: .62; transform: scale(.84); }
  45% { opacity: 1; transform: scale(1.24); }
  60% { opacity: .72; transform: scale(1); }
}

@keyframes point-wave {
  0% { opacity: .7; transform: scale(.8); }
  72%, 100% { opacity: 0; transform: scale(2); }
}

@keyframes active-point-wave {
  0% { opacity: 1; transform: scale(.9); }
  72%, 100% { opacity: 0; transform: scale(2.7); }
}

@keyframes delhi-focus {
  0%, 17%, 76%, 100% { opacity: 0; transform: scale(.8); }
  34% { opacity: .9; transform: scale(1); }
  53% { opacity: 0; transform: scale(2.3); }
}

@media (max-width: 1180px) {
  .container { width: min(100% - 42px, 1320px); }
  .hero-grid { grid-template-columns: 1fr .98fr; gap: 38px; }
  .corridor-map { min-height: 570px; }
  .map-stage { min-height: 430px; }
}

@media (max-width: 980px) {
  .hero { padding-top: 124px; }
  .hero-grid { grid-template-columns: 1fr; }
  .corridor-map { min-height: 600px; }
  .map-stage { min-height: 465px; }
  .family-understanding-grid { grid-template-columns: 1fr; }
  .family-card { min-height: auto; }
  .family-card h3 { margin-top: 36px; }
}

@media (max-width: 820px) {
  .container,
  .narrow-container { width: min(100% - 30px, 1320px); }
  .site-header,
  .site-header.scrolled { padding: 9px 10px; }
  .nav-shell { min-height: 62px; border-radius: 15px; }
  .brand-mark { width: 41px; height: 41px; border-radius: 12px; }
  .brand-name { font-size: 17px; }
  .hero { padding: 110px 0 56px; }
  .display-title { font-size: clamp(52px, 13vw, 72px); }
  .corridor-map { min-height: 535px; padding: 17px; }
  .map-stage { min-height: 395px; }
  .section,
  .compact-section,
  .method-core-section,
  .method-hubs-section,
  .method-compare-section,
  .method-limits-section { padding: 66px 0; }
  .section-heading { gap: 18px; margin-bottom: 31px; }
  .section-title { font-size: clamp(38px, 10.5vw, 52px); }
  .family-card { padding: 24px; }
  .method-page-hero { padding: 116px 0 54px; }
  .page-hero { padding: 112px 0 54px; }
  .page-title { font-size: clamp(46px, 11.5vw, 62px); }
  .method-page-hero .page-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .method-page-hero .page-title { font-size: clamp(48px, 12vw, 66px); }
  .method-explorer-panel { min-height: auto; }
  .city-grid article { min-height: 205px; }
  .city-grid h3 { margin-top: 32px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-shell { padding-left: 8px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-name { font-size: 16px; }
  .display-title { font-size: clamp(48px, 14vw, 62px); }
  .hero-copy { font-size: 16px; line-height: 1.62; }
  .hero-note { font-size: 11.5px; }
  .corridor-map { min-height: 505px; padding: 14px; border-radius: 20px; }
  .map-heading { gap: 10px; }
  .map-heading h2 { font-size: 21px; }
  .map-stage { min-height: 350px; }
  .map-camera { animation-name: map-camera-focus-mobile; }
  .map-points text { font-size: 8.5px; stroke-width: 3.5px; }
  .map-place-card p { font-size: 10px; }
  .map-selectors { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .map-selectors button { flex: 0 0 auto; min-height: 34px; font-size: 10px; }
  .map-note { font-size: 10px; }
  .section,
  .compact-section,
  .method-core-section,
  .method-hubs-section,
  .method-compare-section,
  .method-limits-section { padding: 56px 0; }
  .section-small { padding: 48px 0; }
  .section-title { font-size: clamp(35px, 10.5vw, 46px); }
  .section-copy { font-size: 15px; }
  .support-card,
  .coverage-card { min-height: 220px; }
  .family-card { min-height: auto; }
  .family-card h3 { font-size: 27px; }
  .journey-step { min-height: 190px; }
  .journey-step h3 { margin-top: 35px; }
  .method-page-hero .page-title { font-size: clamp(44px, 12.5vw, 58px); }
  .page-title { font-size: clamp(43px, 12vw, 56px); }
  .page-intro-card { padding: 19px; }
  .method-explorer-nav button { min-width: 122px; min-height: 68px; }
  .method-explorer-panel { padding: 26px 19px; gap: 27px; }
  .method-panel-copy h2 { font-size: 36px; }
  .city-grid article { min-height: 185px; }
  .compare-grid article { min-height: 165px; }
  .boundary-panel { gap: 28px; }
  .boundary-panel h2 { font-size: 37px; }
}

@keyframes map-camera-focus-mobile {
  0%, 17% { transform: scale(1); }
  36%, 53% { transform: scale(1.09); }
  76%, 100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .map-camera,
  .map-point-ring,
  .map-point-core,
  .delhi-focus-ring { animation: none !important; }
  .scroll-reveal { filter: none; }
}

.difference-section {
  padding-bottom: 50px;
  background:
    radial-gradient(circle at 8% 10%, rgba(142, 221, 209, .12), transparent 27%),
    #f7f9f6;
}

.home-final-cta {
  padding-top: 28px;
}

.difference-heading .section-copy {
  max-width: 780px;
}

.difference-grid {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(18, 54, 63, .07);
}

.difference-grid .principle {
  min-height: 250px;
  padding: 26px;
  background: rgba(255,255,255,.9);
}

.difference-grid .principle h3 {
  margin-top: 42px;
  font-size: 27px;
}

.difference-grid .principle p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.67;
}

.difference-grid .principle:nth-child(3) {
  background:
    radial-gradient(circle at 90% 8%, rgba(82, 121, 245, .15), transparent 32%),
    var(--night-2);
}

.difference-grid .principle:nth-child(3) h3 {
  color: #fff;
}

.difference-grid .principle:nth-child(3) p {
  color: rgba(240, 252, 249, .68);
}

.difference-grid .principle:nth-child(3) .card-index {
  background: rgba(142, 221, 209, .12);
  color: var(--signal);
}

.difference-proof {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mist);
}

.difference-proof span {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: var(--forest);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

.difference-proof span::before {
  margin-right: 8px;
  color: var(--forest-2);
  content: "✓";
}

.difference-proof span:last-child {
  border-right: 0;
}

@media (max-width: 620px) {
  .difference-grid .principle {
    min-height: 220px;
  }

  .difference-proof {
    grid-template-columns: 1fr;
  }

  .difference-proof span {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .difference-proof span:last-child {
    border-bottom: 0;
  }
}
