:root {
  --blue: #25abe2;
  --blue-dark: #087aa7;
  --blue-deep: #075f85;
  --green: #14a751;
  --green-dark: #0d7e3d;
  --ink: #102f3e;
  --ink-2: #173f50;
  --slate: #526b77;
  --muted: #6f838d;
  --line: #dce8ed;
  --sky: #eaf7fc;
  --sky-2: #dff3fb;
  --mint: #eaf8f0;
  --mint-2: #dff4e7;
  --cream: #faf8f3;
  --sand: #f4efe4;
  --paper: #ffffff;
  --wash: #f5f8f9;
  --danger: #b42318;
  --warning: #9a6700;
  --success: #067647;
  --shadow-sm: 0 8px 24px rgba(16, 47, 62, 0.08);
  --shadow-md: 0 20px 55px rgba(16, 47, 62, 0.12);
  --shadow-lg: 0 34px 90px rgba(16, 47, 62, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --radius-xl: 58px;
  --container: 1220px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: rgba(37, 171, 226, 0.24);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Aptos Display", Inter, "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.25rem, 7vw, 6.7rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.45rem);
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  margin-bottom: 12px;
}

h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

p {
  color: var(--slate);
  margin-bottom: 22px;
}

small {
  font-size: 0.84rem;
}

strong {
  color: var(--ink);
}

ul,
ol {
  color: var(--slate);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

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

.section {
  position: relative;
  padding: 112px 0;
}

.section.compact {
  padding: 76px 0;
}

.section.flush-top {
  padding-top: 0;
}

.section.sky {
  background: var(--sky);
}

.section.mint {
  background: var(--mint);
}

.section.cream {
  background: var(--cream);
}

.section.wash {
  background: var(--wash);
}

.section.ink {
  color: white;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 171, 226, 0.22), transparent 30%),
    radial-gradient(circle at 92% 80%, rgba(20, 167, 81, 0.18), transparent 30%),
    var(--ink);
}

.section.ink h2,
.section.ink h3,
.section.ink h4,
.section.ink strong,
.section.ink .eyebrow {
  color: white;
}

.section.ink p,
.section.ink li {
  color: rgba(255, 255, 255, 0.76);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.align-center {
  text-align: center;
}

.max-620 {
  max-width: 620px;
}

.max-720 {
  max-width: 720px;
}

.max-820 {
  max-width: 820px;
}

.centered {
  margin-inline: auto;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.section-head.center {
  display: block;
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

.section-head > div:first-child {
  max-width: 760px;
}

.section-head p {
  max-width: 500px;
  margin-bottom: 4px;
}

.lead {
  color: var(--slate);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-deep);
  font-weight: 800;
  transition: gap .2s ease, color .2s ease;
}

.text-link:hover {
  gap: 14px;
  color: var(--green-dark);
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  color: white;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.noscript {
  padding: 30px;
  color: white;
  background: var(--ink);
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(37, 171, 226, 0.68);
  outline-offset: 3px;
}

/* Header */
.announcement {
  position: relative;
  z-index: 1002;
  padding: 9px 20px;
  color: white;
  background: var(--ink);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-align: center;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  color: #8fddff;
  font-weight: 800;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 232, 237, 0.75);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px rgba(16, 47, 62, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  min-width: 222px;
}

.brand-orbit {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-orbit::before,
.brand-orbit::after {
  position: absolute;
  inset: 2px;
  border: 3px solid transparent;
  border-radius: 50%;
  content: "";
}

.brand-orbit::before {
  border-top-color: var(--blue);
  border-right-color: var(--blue);
  transform: rotate(-18deg);
}

.brand-orbit::after {
  inset: 8px 0 0 8px;
  border-bottom-color: var(--green);
  border-left-color: var(--green);
  transform: rotate(14deg);
}

.brand-orbit span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-name .blue {
  color: var(--blue-dark);
}

.brand-name .green {
  color: var(--green);
}

.brand-sub {
  margin-top: 7px;
  color: var(--slate);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.34em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 3px;
}

.nav-item-wrap {
  position: relative;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 12px;
  color: #294b5a;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 760;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-link.active,
.nav-trigger.active,
.nav-trigger[aria-expanded="true"] {
  color: var(--blue-deep);
  background: var(--sky);
}

.nav-trigger svg {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}

.nav-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 10px;
}

.login-link {
  padding: 11px 6px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 780;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn.primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 10px 25px rgba(16, 47, 62, 0.18);
}

.btn.primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 15px 32px rgba(7, 95, 133, 0.24);
}

.btn.green {
  color: white;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(20, 167, 81, 0.22);
}

.btn.green:hover {
  background: var(--green-dark);
}

.btn.blue {
  color: white;
  background: var(--blue-deep);
}

.btn.light {
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow-sm);
}

.btn.outline {
  color: var(--ink);
  background: transparent;
  border-color: #b8ced7;
}

.btn.outline:hover {
  color: var(--blue-deep);
  background: var(--sky);
  border-color: var(--blue);
}

.btn.ghost {
  color: var(--blue-deep);
  background: var(--sky);
}

.btn.small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 0.8rem;
}

.btn.full {
  width: 100%;
}

.mega-menu {
  position: absolute;
  z-index: 1005;
  top: calc(100% + 14px);
  left: 50%;
  width: min(760px, 86vw);
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, transform .18s ease;
}

.mega-menu.wide {
  width: min(930px, 88vw);
}

.mega-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}

.mega-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.mega-feature {
  position: relative;
  min-height: 225px;
  padding: 28px;
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 171, 226, 0.45), transparent 40%),
    linear-gradient(145deg, var(--ink), #0a607c);
  border-radius: 19px;
  overflow: hidden;
}

.mega-feature::after {
  position: absolute;
  right: -48px;
  bottom: -62px;
  width: 190px;
  height: 190px;
  border: 12px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.mega-feature h3,
.mega-feature p {
  color: white;
}

.mega-feature p {
  max-width: 370px;
  color: rgba(255, 255, 255, 0.75);
  font-size: .9rem;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.mega-links.one-col {
  grid-template-columns: 1fr;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 15px;
  transition: background .18s ease, transform .18s ease;
}

.mega-link:hover {
  background: var(--sky);
  transform: translateY(-1px);
}

.mega-link .mini-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
}

.mega-link strong {
  display: block;
  margin-bottom: 3px;
  font-size: .87rem;
}

.mega-link span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
}

.mobile-menu-btn {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-panel {
  position: fixed;
  z-index: 1001;
  inset: calc(var(--header-h) + 34px) 0 0 0;
  padding: 18px 20px 40px;
  background: white;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.mobile-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-group {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-group > button,
.mobile-panel > a.mobile-direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 3px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.mobile-submenu {
  display: none;
  padding: 0 0 16px;
}

.mobile-submenu.open {
  display: grid;
  gap: 6px;
}

.mobile-submenu a {
  padding: 10px 12px;
  color: var(--slate);
  background: var(--wash);
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
}

.mobile-actions {
  display: grid;
  gap: 10px;
  padding-top: 22px;
}

/* Hero */
.home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 34px);
  padding: 78px 0 82px;
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 171, 226, 0.13), transparent 29%),
    radial-gradient(circle at 69% 82%, rgba(20, 167, 81, 0.12), transparent 25%),
    linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
  overflow: hidden;
}

.home-hero::before {
  position: absolute;
  top: 48px;
  left: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(37, 171, 226, 0.15);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  align-items: center;
  gap: 66px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 22px 0;
}

.hero-copy h1 {
  max-width: 760px;
}

.hero-copy h1 .accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hero-copy h1 .accent::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  z-index: -1;
  height: 13px;
  background: linear-gradient(90deg, rgba(37, 171, 226, 0.28), rgba(20, 167, 81, 0.25));
  border-radius: 999px;
  content: "";
  transform: rotate(-1.5deg);
}

.hero-copy .lead {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-size: .82rem;
  font-weight: 740;
}

.hero-proof svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 625px;
}

.hero-photo-shell {
  position: absolute;
  z-index: 2;
  top: 35px;
  right: 12px;
  width: min(94%, 575px);
  height: 540px;
  padding: 13px;
  background: white;
  border-radius: 48% 52% 28% 72% / 40% 34% 66% 60%;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.8deg);
  overflow: hidden;
}

.hero-photo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform: rotate(-1.8deg) scale(1.03);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  top: -12px;
  right: -42px;
  width: 640px;
  height: 640px;
  border: 12px solid transparent;
  border-top-color: rgba(37, 171, 226, 0.9);
  border-right-color: rgba(37, 171, 226, 0.9);
  border-radius: 50%;
  transform: rotate(-34deg);
}

.hero-orbit::after {
  position: absolute;
  inset: 62px -9px -7px 55px;
  border: 12px solid transparent;
  border-bottom-color: rgba(20, 167, 81, 0.9);
  border-left-color: rgba(20, 167, 81, 0.9);
  border-radius: 50%;
  content: "";
  transform: rotate(31deg);
}

.hero-tag {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(220, 232, 237, 0.8);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .77rem;
  font-weight: 820;
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.hero-tag .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.hero-tag.t1 {
  top: 45px;
  left: -20px;
}

.hero-tag.t2 {
  top: 188px;
  right: -14px;
  animation-delay: -1.2s;
}

.hero-tag.t3 {
  bottom: 96px;
  left: -48px;
  animation-delay: -2.1s;
}

.hero-tag.t4 {
  right: 20px;
  bottom: 15px;
  animation-delay: -.6s;
}

.hero-logo-watermark {
  position: absolute;
  z-index: 0;
  right: 80px;
  bottom: -14px;
  width: 390px;
  opacity: .07;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.trust-bar {
  padding: 24px 0;
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust-row > strong {
  flex: 0 0 auto;
  font-size: .82rem;
  letter-spacing: .02em;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.trust-items span {
  position: relative;
  color: var(--slate);
  font-size: .78rem;
  font-weight: 760;
}

.trust-items span:not(:first-child)::before {
  position: absolute;
  top: 50%;
  left: -15px;
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

/* Cards and icons */
.card {
  position: relative;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(16, 47, 62, 0.02);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  border-color: rgba(37, 171, 226, .4);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.card.soft-blue {
  background: var(--sky);
  border-color: transparent;
}

.card.soft-green {
  background: var(--mint);
  border-color: transparent;
}

.card.soft-cream {
  background: var(--cream);
  border-color: transparent;
}

.card.dark {
  color: white;
  background: var(--ink);
  border-color: rgba(255, 255, 255, .12);
}

.card.dark h3,
.card.dark strong {
  color: white;
}

.card.dark p {
  color: rgba(255, 255, 255, .72);
}

.card .card-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(16, 47, 62, .1);
  font-size: 3.3rem;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
}

.icon-box,
.mini-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  color: var(--blue-deep);
  background: var(--sky);
  border-radius: 16px;
}

.icon-box.green,
.mini-icon.green {
  color: var(--green-dark);
  background: var(--mint);
}

.icon-box.cream,
.mini-icon.cream {
  color: var(--warning);
  background: #fff6dc;
}

.icon-box.purple,
.mini-icon.purple {
  color: #6647a8;
  background: #f1edfb;
}

.icon-box svg,
.mini-icon svg {
  width: 24px;
  height: 24px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card .text-link {
  margin-top: 4px;
  font-size: .86rem;
}

.care-card {
  min-height: 280px;
  padding: 32px;
}

.care-card::after {
  position: absolute;
  right: -65px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  border: 18px solid rgba(37, 171, 226, 0.06);
  border-radius: 50%;
  content: "";
}

.care-card:nth-child(2n)::after {
  border-color: rgba(20, 167, 81, 0.07);
}

/* Audience selector */
.audience-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 26px;
  padding: 18px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.audience-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.audience-tab {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 17px;
  color: var(--slate);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 17px;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.audience-tab svg {
  width: 22px;
  height: 22px;
}

.audience-tab.active {
  color: var(--ink);
  background: white;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.audience-panel {
  position: relative;
  display: none;
  min-height: 420px;
  padding: 54px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
}

.audience-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 34px;
  animation: panelIn .35s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.audience-panel h3 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.audience-panel .panel-visual {
  position: relative;
  height: 310px;
  border-radius: 50% 50% 34% 66% / 42% 40% 60% 58%;
  overflow: hidden;
}

.audience-panel .panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-panel .panel-visual::after {
  position: absolute;
  inset: 13px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: inherit;
  content: "";
}

/* Split features */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.split.reverse .split-media {
  order: 2;
}

.split.reverse .split-copy {
  order: 1;
}

.split-media {
  position: relative;
}

.photo-card {
  position: relative;
  min-height: 520px;
  padding: 14px;
  background: white;
  border-radius: 36px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 492px;
  object-fit: cover;
  border-radius: 27px;
}

.photo-card.organic {
  border-radius: 44% 56% 40% 60% / 43% 37% 63% 57%;
}

.photo-card.organic img {
  border-radius: inherit;
}

.orbit-corner {
  position: absolute;
  z-index: -1;
  top: -42px;
  right: -48px;
  width: 230px;
  height: 230px;
  border: 12px solid transparent;
  border-top-color: var(--blue);
  border-right-color: var(--blue);
  border-radius: 50%;
  opacity: .85;
}

.orbit-corner.green {
  top: auto;
  right: auto;
  bottom: -35px;
  left: -42px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: var(--green);
  border-left-color: var(--green);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 30px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-row .check {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 12px;
}

.feature-row .check svg {
  width: 19px;
  height: 19px;
}

.feature-row strong {
  display: block;
  margin-bottom: 2px;
}

.feature-row span {
  display: block;
  color: var(--slate);
  font-size: .89rem;
  line-height: 1.45;
}

/* Steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: steps;
}

.steps::before {
  position: absolute;
  top: 36px;
  right: 16%;
  left: 16%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
  content: "";
  opacity: .35;
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 22px;
  text-align: center;
  counter-increment: steps;
}

.step-number {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  color: white;
  background: var(--ink);
  border: 9px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: 1.12rem;
  font-weight: 900;
}

.step-number::before {
  content: counter(steps);
}

/* Dark pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar {
  min-height: 280px;
  padding: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
}

.pillar .icon-box {
  color: white;
  background: rgba(255, 255, 255, .1);
}

/* Outcomes */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.metric-card {
  min-height: 190px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.metric-card .metric-symbol {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.metric-card .metric-symbol svg {
  width: 27px;
  height: 27px;
  color: var(--blue-deep);
}

.metric-card .metric-symbol span {
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 900;
}

.metric-card h3 {
  font-size: 1.1rem;
}

.metric-card p {
  margin-bottom: 0;
  font-size: .79rem;
  line-height: 1.45;
}

/* Scenario/story cards */
.story-card {
  min-height: 390px;
  padding: 0;
}

.story-image {
  height: 205px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.story-card:hover .story-image img {
  transform: scale(1.04);
}

.story-content {
  padding: 26px;
}

.story-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Resources */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 0;
}

.resource-art {
  position: relative;
  height: 205px;
  padding: 28px;
  background:
    radial-gradient(circle at 86% 15%, rgba(37, 171, 226, .36), transparent 32%),
    linear-gradient(135deg, var(--sky), var(--mint));
  overflow: hidden;
}

.resource-art.green {
  background:
    radial-gradient(circle at 82% 14%, rgba(20, 167, 81, .28), transparent 34%),
    linear-gradient(135deg, var(--mint), #fff);
}

.resource-art.cream {
  background:
    radial-gradient(circle at 85% 12%, rgba(238, 182, 76, .32), transparent 35%),
    linear-gradient(135deg, var(--cream), var(--sky));
}

.resource-art svg {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 80px;
  height: 80px;
  color: var(--ink);
  opacity: .75;
}

.resource-type {
  display: inline-flex;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.resource-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 26px;
}

.resource-content .text-link {
  margin-top: auto;
}

.resource-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0 0 44px;
}

.filter-btn {
  padding: 10px 16px;
  color: var(--slate);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
}

.filter-btn.active,
.filter-btn:hover {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

/* CTA */
.cta-band {
  position: relative;
  padding: 78px;
  color: white;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 171, 226, .44), transparent 34%),
    radial-gradient(circle at 92% 90%, rgba(20, 167, 81, .42), transparent 30%),
    linear-gradient(135deg, #0f2f3e 0%, #0a607b 53%, #0c7c4a 120%);
  border-radius: 38px;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  position: absolute;
  border: 13px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  content: "";
}

.cta-band::before {
  top: -145px;
  right: 6%;
  width: 360px;
  height: 360px;
}

.cta-band::after {
  bottom: -190px;
  left: -70px;
  width: 430px;
  height: 430px;
}

.cta-band h2,
.cta-band p,
.cta-band strong {
  position: relative;
  z-index: 1;
  color: white;
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, .76);
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Page hero */
.page-hero {
  position: relative;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 88% 15%, rgba(37, 171, 226, .14), transparent 31%),
    radial-gradient(circle at 70% 88%, rgba(20, 167, 81, .11), transparent 25%),
    linear-gradient(180deg, #fff 0%, #fafdfe 100%);
  overflow: hidden;
}

.page-hero .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .78fr);
  gap: 66px;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.9rem);
}

.page-hero .page-media {
  position: relative;
  min-height: 490px;
}

.page-hero .page-media .photo-card {
  min-height: 470px;
}

.page-hero .page-media .photo-card img {
  min-height: 442px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 720;
}

.breadcrumbs a:hover {
  color: var(--blue-deep);
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--slate);
  font-size: .77rem;
  font-weight: 700;
}

.hero-note svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

/* Chips */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  color: var(--ink-2);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 780;
}

.chip::before {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 50%;
  content: "";
}

/* Continuum */
.continuum {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.continuum-item {
  position: relative;
  min-height: 170px;
  padding: 25px 20px;
  border-right: 1px solid var(--line);
}

.continuum-item:last-child {
  border-right: 0;
}

.continuum-item::after {
  position: absolute;
  right: -8px;
  top: 50%;
  z-index: 2;
  width: 16px;
  height: 16px;
  background: white;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.continuum-item:last-child::after {
  display: none;
}

.continuum-item .level {
  color: var(--blue-deep);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.continuum-item h3 {
  margin-top: 14px;
  font-size: 1rem;
}

.continuum-item p {
  margin-bottom: 0;
  font-size: .76rem;
  line-height: 1.45;
}

/* Compare table */
.compare-table {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.compare-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-cell:nth-child(3n) {
  border-right: 0;
}

.compare-cell:nth-last-child(-n+3) {
  border-bottom: 0;
}

.compare-cell.head {
  color: white;
  background: var(--ink);
  font-weight: 850;
}

.compare-cell.head:nth-child(2) {
  background: var(--blue-deep);
}

.compare-cell.head:nth-child(3) {
  background: var(--green-dark);
}

.compare-cell.label {
  color: var(--ink);
  background: var(--wash);
  font-weight: 800;
}

.compare-cell:not(.head):not(.label) {
  color: var(--slate);
  font-size: .88rem;
}

/* Diagrams */
.flow-diagram {
  display: grid;
  grid-template-columns: 1fr 72px 1.2fr 72px 1.5fr;
  align-items: center;
  gap: 12px;
}

.flow-box {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 21px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.flow-box.primary-box {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.flow-box.primary-box h3,
.flow-box.primary-box p {
  color: white;
}

.flow-box.primary-box p {
  color: rgba(255, 255, 255, .72);
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--blue-deep);
}

.flow-arrow svg {
  width: 34px;
  height: 34px;
}

.flow-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.flow-paths span {
  padding: 11px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 11px;
  font-size: .77rem;
  font-weight: 780;
  text-align: center;
}

/* Dashboard mockup */
.dashboard-shell {
  position: relative;
  padding: 22px;
  background: var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: white;
}

.dashboard-top .dots {
  display: flex;
  gap: 7px;
}

.dashboard-top .dots span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, .35);
  border-radius: 50%;
}

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

.dashboard-card {
  min-height: 105px;
  padding: 18px;
  background: white;
  border-radius: 15px;
}

.dashboard-card.wide {
  grid-column: span 2;
  min-height: 210px;
}

.dashboard-card.tall {
  grid-row: span 2;
  min-height: 328px;
}

.dashboard-label {
  color: var(--muted);
  font-size: .63rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dashboard-value {
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 115px;
  margin-top: 18px;
}

.mini-bars span {
  flex: 1;
  min-width: 9px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  border-radius: 7px 7px 2px 2px;
  opacity: .82;
}

.donut {
  position: relative;
  width: 145px;
  height: 145px;
  margin: 28px auto 18px;
  background: conic-gradient(var(--blue) 0 38%, var(--green) 38% 68%, #e8eef1 68% 100%);
  border-radius: 50%;
}

.donut::after {
  position: absolute;
  inset: 29px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: white;
  border-radius: 50%;
  content: "Care mix";
  font-size: .64rem;
  font-weight: 850;
}

.privacy-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid #ccebd8;
  border-radius: 18px;
}

.privacy-callout svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: var(--green-dark);
}

.privacy-callout p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: .88rem;
}

/* Values */
.value-card {
  min-height: 250px;
}

.value-card .value-letter {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: white;
  background: linear-gradient(135deg, var(--blue-deep), var(--green));
  border-radius: 14px;
  font-weight: 900;
}

/* Forms */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.form-card {
  padding: 38px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field label,
.field legend {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 820;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #c8d9e0;
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 171, 226, .12);
  outline: 0;
}

.field-note {
  color: var(--muted);
  font-size: .7rem;
}

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

.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--slate);
  background: var(--wash);
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 720;
}

.check-option:has(input:checked) {
  color: var(--ink);
  background: var(--sky);
  border-color: var(--blue);
}

.check-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue-deep);
}

.form-aside {
  position: sticky;
  top: 120px;
  padding: 30px;
  color: white;
  background: var(--ink);
  border-radius: 25px;
}

.form-aside h3,
.form-aside strong {
  color: white;
}

.form-aside p,
.form-aside li {
  color: rgba(255, 255, 255, .72);
}

.form-aside ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 15px;
  color: var(--success);
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 720;
}

.form-message.show {
  display: block;
}

/* Care finder */
.care-finder {
  max-width: 880px;
  margin: 0 auto;
  padding: 38px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.progress-track {
  height: 7px;
  margin-bottom: 35px;
  background: var(--wash);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
  transition: width .35s var(--ease);
}

.finder-step {
  display: none;
}

.finder-step.active {
  display: block;
  animation: panelIn .35s var(--ease);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 112px;
  padding: 20px;
  color: var(--slate);
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.option-card:hover,
.option-card.selected {
  color: var(--ink);
  background: var(--sky);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.option-card .option-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--blue-deep);
  background: white;
  border-radius: 12px;
}

.option-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: .92rem;
}

.option-card span {
  display: block;
  font-size: .76rem;
  line-height: 1.45;
}

.finder-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.finder-result {
  padding: 28px;
  background: var(--mint);
  border: 1px solid #cdebd8;
  border-radius: 20px;
}

.result-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.result-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 740;
}

.result-list svg {
  width: 18px;
  height: 18px;
  color: var(--green-dark);
}

/* Accordion */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  color: var(--ink);
  background: white;
  border: 0;
  cursor: pointer;
  font-weight: 820;
  text-align: left;
}

.accordion-trigger svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  transition: transform .2s ease;
}

.accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-panel.open {
  grid-template-rows: 1fr;
}

.accordion-panel p {
  padding: 0 22px 22px;
  margin: 0;
  font-size: .9rem;
}

/* Safety and legal */
.safety-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  color: #7a2e0e;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 18px;
}

.safety-banner svg {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

.safety-banner h3 {
  color: #7a2e0e;
  font-size: 1rem;
}

.safety-banner p {
  margin-bottom: 0;
  color: #9a4c1b;
  font-size: .84rem;
}

.legal-content h2 {
  margin-top: 48px;
  font-size: 2rem;
}

.legal-content h3 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  font-size: .94rem;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 80px 0 26px;
  color: white;
  background:
    radial-gradient(circle at 84% 5%, rgba(37, 171, 226, .17), transparent 27%),
    radial-gradient(circle at 7% 95%, rgba(20, 167, 81, .14), transparent 28%),
    #0d2936;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 42px;
  padding-bottom: 55px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand {
  min-width: 0;
  margin-bottom: 22px;
}

.footer-brand .brand-name,
.footer-brand .brand-orbit span {
  color: white;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, .58);
}

.footer-brand p {
  color: rgba(255, 255, 255, .66);
  font-size: .88rem;
}

.footer-logo-art {
  width: 245px;
  max-height: 130px;
  margin-top: 20px;
  object-fit: contain;
  object-position: left center;
  opacity: .3;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: white;
  font-size: .83rem;
  letter-spacing: .04em;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .66);
  font-size: .79rem;
  transition: color .2s ease, transform .2s ease;
}

.footer-col a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: rgba(255, 255, 255, .5);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .7rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a:hover {
  color: white;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Decorative utility */
.wave-divider {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 65px;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--blue-deep);
  background: var(--sky);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.badge.green {
  color: var(--green-dark);
  background: var(--mint);
}

.inline-note {
  padding: 20px;
  color: var(--slate);
  background: var(--wash);
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  font-size: .86rem;
}

.spacer-24 { height: 24px; }
.spacer-40 { height: 40px; }
.spacer-56 { height: 56px; }

/* Responsive */
@media (max-width: 1180px) {
  :root { --header-h: 78px; }
  .desktop-nav,
  .login-link,
  .header-actions .btn.outline {
    display: none;
  }
  .header-actions .btn.small {
    display: inline-flex;
  }
  .mobile-menu-btn {
    display: grid;
  }
  .header-inner {
    gap: 12px;
  }
  .brand {
    min-width: 0;
    margin-right: auto;
  }
  .hero-grid,
  .page-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr);
    gap: 38px;
  }
  .hero-visual { min-height: 560px; }
  .hero-photo-shell { height: 485px; }
  .hero-orbit { width: 565px; height: 565px; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 940px) {
  .section { padding: 90px 0; }
  .home-hero { min-height: auto; padding-top: 54px; }
  .hero-grid,
  .page-hero .hero-grid,
  .split,
  .form-shell {
    grid-template-columns: 1fr;
  }
  .hero-copy { text-align: center; }
  .hero-copy h1,
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions,
  .hero-proof { justify-content: center; }
  .hero-visual { min-height: 585px; max-width: 650px; width: 100%; margin: 0 auto; }
  .hero-photo-shell { left: 50%; right: auto; width: 82%; transform: translateX(-50%) rotate(1.8deg); }
  .hero-orbit { left: 50%; right: auto; transform: translateX(-50%) rotate(-34deg); }
  .hero-tag.t1 { left: 2%; }
  .hero-tag.t3 { left: 0; }
  .page-hero { padding-top: 60px; }
  .page-hero .hero-copy { text-align: left; }
  .page-hero .hero-actions,
  .page-hero .hero-proof { justify-content: flex-start; }
  .page-hero .page-media { max-width: 700px; width: 100%; margin: 0 auto; }
  .audience-shell { grid-template-columns: 1fr; }
  .audience-tabs { grid-template-columns: repeat(4, 1fr); }
  .audience-tab { justify-content: center; padding: 13px 8px; text-align: center; }
  .audience-tab span { display: none; }
  .audience-panel.active { grid-template-columns: 1fr 280px; }
  .split.reverse .split-media,
  .split.reverse .split-copy { order: initial; }
  .photo-card { max-width: 680px; margin-inline: auto; }
  .grid.three,
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .grid.six { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { top: 30px; bottom: 30px; left: 50%; width: 3px; height: auto; right: auto; transform: translateX(-50%); }
  .step { padding: 0; }
  .step-number { border-width: 8px; }
  .continuum { grid-template-columns: repeat(3, 1fr); }
  .continuum-item:nth-child(3) { border-right: 0; }
  .continuum-item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .continuum-item:nth-child(3)::after { display: none; }
  .flow-diagram { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .dashboard-shell { max-width: 720px; margin-inline: auto; }
  .form-aside { position: static; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 72px; }
  .container,
  .container.narrow { width: min(calc(100% - 28px), var(--container)); }
  .announcement { padding-inline: 10px; font-size: .68rem; }
  .announcement a { display: none; }
  .header-actions .btn.small { display: none; }
  .brand-orbit { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .51rem; }
  .mobile-panel { inset: calc(var(--header-h) + 31px) 0 0 0; }
  .section { padding: 74px 0; }
  .section.compact { padding: 56px 0; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.35rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3.25rem); }
  .section-head { display: block; margin-bottom: 38px; }
  .section-head p { margin-top: 16px; }
  .hero-copy { padding-top: 0; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { display: grid; justify-content: start; max-width: 330px; margin-inline: auto; text-align: left; }
  .hero-visual { min-height: 465px; }
  .hero-photo-shell { top: 25px; width: 86%; height: 400px; border-radius: 42% 58% 38% 62% / 38% 34% 66% 62%; }
  .hero-orbit { top: -3px; width: 450px; height: 450px; border-width: 9px; }
  .hero-orbit::after { border-width: 9px; }
  .hero-tag { padding: 9px 11px; font-size: .67rem; }
  .hero-tag.t1 { top: 18px; left: 0; }
  .hero-tag.t2 { top: 145px; right: -2px; }
  .hero-tag.t3 { bottom: 65px; }
  .hero-tag.t4 { right: 5px; bottom: 4px; }
  .trust-row { display: block; text-align: center; }
  .trust-items { justify-content: center; margin-top: 12px; }
  .trust-items span:not(:first-child)::before { display: none; }
  .audience-tabs { grid-template-columns: repeat(2, 1fr); }
  .audience-panel { padding: 28px; }
  .audience-panel.active { grid-template-columns: 1fr; }
  .audience-panel .panel-visual { height: 235px; }
  .grid.two,
  .grid.three,
  .grid.four,
  .grid.six,
  .resource-grid,
  .pillar-grid,
  .metric-grid { grid-template-columns: 1fr; }
  .care-card { min-height: 0; }
  .photo-card { min-height: 390px; padding: 9px; }
  .photo-card img { min-height: 372px; }
  .page-hero { padding: 48px 0 68px; }
  .page-hero .page-media { min-height: 390px; }
  .page-hero .page-media .photo-card { min-height: 380px; }
  .page-hero .page-media .photo-card img { min-height: 360px; }
  .continuum { grid-template-columns: 1fr; }
  .continuum-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .continuum-item:last-child { border-bottom: 0; }
  .continuum-item::after { top: auto; right: auto; bottom: -8px; left: 50%; transform: translateX(-50%) rotate(135deg); }
  .continuum-item:nth-child(3)::after { display: block; }
  .compare-table { grid-template-columns: 1fr; }
  .compare-cell { border-right: 0; }
  .compare-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .compare-cell:last-child { border-bottom: 0; }
  .compare-cell.head:nth-child(1) { display: none; }
  .flow-paths { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-card.tall { grid-row: auto; min-height: 240px; }
  .dashboard-card.wide { grid-column: 1 / -1; }
  .cta-band { padding: 48px 26px; border-radius: 28px; }
  .cta-actions { display: grid; }
  .cta-actions .btn { width: 100%; }
  .form-card,
  .care-finder { padding: 25px; }
  .form-grid,
  .checkbox-grid,
  .option-grid { grid-template-columns: 1fr; }
  .finder-actions { flex-direction: column-reverse; }
  .finder-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom-links { margin-top: 14px; }
}

@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-card.wide { grid-column: auto; }
  .hero-tag.t2 { display: none; }
  .hero-tag.t3 { left: -6px; }
  .brand-copy { max-width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Final small-screen type and overflow safeguards */
@media (max-width: 720px) {
  .hero-grid,
  .hero-copy,
  .page-hero .hero-grid,
  .page-hero .hero-copy {
    min-width: 0;
  }
  h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12.6vw, 3.7rem);
    overflow-wrap: anywhere;
  }
  .hero-copy h1 .accent {
    white-space: normal;
  }
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .split-media .orbit-corner {
    right: 0;
  }
  .split-media .orbit-corner.green {
    right: auto;
    left: 0;
  }
}

/* ======================================================================
   Warm, joyful design system — MentalSpace Health v2
   ====================================================================== */
:root {
  --blue: #2aaee5;
  --blue-dark: #117da6;
  --blue-deep: #145f78;
  --green: #18a95d;
  --green-dark: #0d7c46;
  --ink: #183b3b;
  --ink-2: #2b5551;
  --slate: #5b746f;
  --muted: #78908a;
  --line: #e8ece5;
  --sky: #eaf8ff;
  --sky-2: #dff4ff;
  --mint: #eaf9ef;
  --mint-2: #daf3e4;
  --cream: #fff7e9;
  --sand: #f8efdf;
  --peach: #ffe8dd;
  --coral: #ef8b73;
  --sun: #ffd86d;
  --lilac: #f0eaff;
  --paper: #fffdf9;
  --wash: #f7faf6;
  --shadow-sm: 0 12px 32px rgba(44, 91, 80, .07);
  --shadow-md: 0 24px 62px rgba(44, 91, 80, .1);
  --shadow-lg: 0 36px 90px rgba(44, 91, 80, .14);
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --radius-xl: 64px;
}

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

body {
  color: var(--ink);
  font-family: "DM Sans", Inter, Aptos, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.66;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: Manrope, "DM Sans", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(3.35rem, 6.45vw, 6.35rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.35rem, 4.4vw, 4.25rem);
  line-height: 1.08;
}

h3 {
  letter-spacing: -.03em;
}

p,
ul,
ol {
  color: var(--slate);
}

::selection {
  background: rgba(255, 216, 109, .55);
}

:focus-visible {
  outline-color: rgba(24, 169, 93, .65);
}

.section {
  padding: 118px 0;
}

.section.sky {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 216, 109, .23), transparent 22%),
    linear-gradient(180deg, #eefaff 0%, #e8f7fc 100%);
}

.section.mint {
  background:
    radial-gradient(circle at 93% 14%, rgba(255, 216, 109, .24), transparent 22%),
    linear-gradient(180deg, #eefaf2 0%, #e7f7ed 100%);
}

.section.cream {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 232, 221, .75), transparent 24%),
    linear-gradient(180deg, #fff9ef 0%, #fff5e7 100%);
}

.section.wash {
  background: #f8faf7;
}

.eyebrow,
.kicker {
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.eyebrow::before {
  height: 3px;
  background: linear-gradient(90deg, var(--sun), var(--coral));
}

.lead {
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

/* Announcement + header */
.announcement {
  padding: 10px 20px;
  color: #31534d;
  background: linear-gradient(90deg, #fff3c9 0%, #fff9e9 42%, #eaf9ef 100%);
  border-bottom: 1px solid rgba(49, 83, 77, .08);
  font-size: .76rem;
  font-weight: 700;
}

.announcement a {
  color: var(--green-dark);
}

.site-header {
  background: rgba(255, 253, 249, .94);
  border-bottom-color: rgba(89, 115, 109, .1);
}

.site-header.scrolled {
  background: rgba(255, 253, 249, .98);
  box-shadow: 0 12px 38px rgba(44, 91, 80, .08);
}

.brand-name {
  font-family: Manrope, "DM Sans", sans-serif;
  font-weight: 750;
}

.nav-link,
.nav-trigger,
.login-link {
  color: #355b57;
  font-weight: 700;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-link.active,
.nav-trigger.active,
.nav-trigger[aria-expanded="true"] {
  color: var(--green-dark);
  background: #eef9f2;
}

.mobile-menu-btn {
  background: var(--cream);
  border-color: transparent;
  border-radius: 999px;
}

.mega-menu {
  padding: 20px;
  border-color: rgba(86, 115, 107, .1);
  border-radius: 28px;
}

.mega-feature {
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 13%, rgba(255, 216, 109, .65), transparent 29%),
    linear-gradient(145deg, #e7f8ff, #e8f8ee 58%, #fff7e9);
  border-radius: 22px;
}

.mega-feature::after {
  border-color: rgba(24, 169, 93, .13);
}

.mega-feature h3,
.mega-feature p {
  color: var(--ink);
}

.mega-feature p {
  color: var(--slate);
}

.mega-feature .badge {
  background: rgba(255, 255, 255, .75);
}

.mega-feature .text-link[style] {
  color: var(--green-dark) !important;
}

.mega-link:hover {
  background: #f2faf4;
}

/* Buttons */
.btn {
  min-height: 52px;
  padding: 14px 24px;
  font-weight: 750;
  box-shadow: none;
}

.btn.primary {
  color: white;
  background: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(17, 125, 166, .18);
}

.btn.primary:hover {
  background: var(--blue-deep);
}

.btn.green {
  background: var(--green);
  box-shadow: 0 12px 26px rgba(24, 169, 93, .18);
}

.btn.green:hover {
  background: var(--green-dark);
}

.btn.outline {
  color: var(--ink);
  background: rgba(255, 255, 255, .62);
  border-color: rgba(55, 98, 89, .24);
}

.btn.outline:hover {
  color: var(--green-dark);
  background: white;
  border-color: var(--green);
}

/* Homepage hero */
.home-hero {
  min-height: auto;
  padding: 78px 0 92px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 216, 109, .28), transparent 22%),
    radial-gradient(circle at 83% 11%, rgba(223, 244, 255, .95), transparent 31%),
    radial-gradient(circle at 74% 87%, rgba(218, 243, 228, .82), transparent 27%),
    linear-gradient(135deg, #fffdf9 0%, #fff9ef 46%, #f8fffb 100%);
}

.home-hero::before {
  top: auto;
  bottom: -190px;
  left: -160px;
  width: 430px;
  height: 430px;
  border: 34px solid rgba(239, 139, 115, .08);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  gap: 72px;
}

.hero-copy {
  padding: 30px 0;
}

.hero-copy h1 {
  max-width: 720px;
}

.hero-copy h1 .accent {
  color: var(--green-dark);
  white-space: normal;
}

.hero-copy h1 .accent::after {
  right: -4px;
  bottom: 4px;
  left: -4px;
  height: 17px;
  background: rgba(255, 216, 109, .62);
  transform: rotate(-1.2deg);
}

.hero-copy .lead {
  max-width: 660px;
}

.hero-proof {
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  padding: 9px 13px;
  color: #4b6b65;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(77, 111, 103, .09);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}

.hero-proof svg {
  color: var(--green);
}

.hero-visual {
  min-height: 640px;
}

.hero-photo-shell {
  top: 8px;
  right: 18px;
  width: min(88%, 540px);
  height: 605px;
  padding: 0;
  background: white;
  border: 11px solid white;
  border-radius: 48px 48px 126px 48px;
  box-shadow: 0 34px 86px rgba(43, 85, 75, .16);
  transform: rotate(0);
}

.hero-photo-shell img {
  object-position: 54% center;
  border-radius: 37px 37px 115px 37px;
  transform: none;
}

.hero-orbit {
  top: -34px;
  right: -32px;
  width: 620px;
  height: 620px;
  border-width: 8px;
  border-top-color: rgba(42, 174, 229, .88);
  border-right-color: rgba(42, 174, 229, .88);
}

.hero-orbit::after {
  inset: 75px -3px 8px 62px;
  border-width: 8px;
  border-bottom-color: rgba(24, 169, 93, .9);
  border-left-color: rgba(24, 169, 93, .9);
}

.joy-sun {
  position: absolute;
  z-index: 0;
  top: -16px;
  right: 28px;
  width: 118px;
  height: 118px;
  background: var(--sun);
  border-radius: 50%;
  opacity: .85;
}

.hero-tag {
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, .94);
  border: 0;
  border-radius: 17px;
  box-shadow: 0 16px 36px rgba(44, 91, 80, .12);
  animation-duration: 6s;
}

.hero-tag > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  padding: 0;
  color: var(--blue-dark);
}

.hero-tag strong,
.hero-tag small {
  display: block;
}

.hero-tag strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: .78rem;
}

.hero-tag small {
  max-width: 145px;
  color: var(--slate);
  font-size: .63rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-tag.t1 {
  top: 54px;
  left: -50px;
}

.hero-tag.t2 {
  top: 218px;
  right: -45px;
}

.hero-tag.t3 {
  bottom: 118px;
  left: -62px;
}

.hero-tag.t4 {
  right: -5px;
  bottom: 14px;
}

.hero-tag.t2 > svg,
.hero-tag.t4 > svg {
  color: var(--green);
}

.hero-tag.t3 > svg {
  color: var(--coral);
}

.hero-logo-watermark {
  right: 92px;
  bottom: -20px;
  width: 330px;
  opacity: .045;
}

.joy-spark {
  position: absolute;
  z-index: 4;
  color: var(--coral);
  font-size: 1.7rem;
  line-height: 1;
}

.joy-spark.s1 {
  top: 155px;
  left: -2px;
}

.joy-spark.s2 {
  right: 8px;
  bottom: 150px;
  color: #8d6bdd;
  font-size: 1.25rem;
}

/* Trust strip */
.trust-bar {
  padding: 26px 0;
  background: #fffaf0;
  border-color: rgba(97, 119, 111, .09);
}

.trust-row > strong {
  color: var(--ink);
  font-size: .83rem;
}

.trust-items {
  gap: 10px;
}

.trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: #55736d;
  background: white;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
}

.trust-items span::before {
  display: none !important;
}

.trust-items svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

/* Audience selector */
.audience-shell {
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 4% 0%, rgba(255, 216, 109, .28), transparent 29%),
    linear-gradient(135deg, #fff7ea, #eef9f2);
  border: 0;
  border-radius: 38px;
  box-shadow: inset 0 0 0 1px rgba(72, 105, 96, .06);
}

.audience-tab {
  padding: 18px;
  border-radius: 18px;
  font-weight: 700;
}

.audience-tab:hover {
  color: var(--green-dark);
  background: rgba(255, 255, 255, .58);
}

.audience-tab.active {
  border-color: transparent;
  box-shadow: 0 13px 30px rgba(44, 91, 80, .09);
}

.audience-panel {
  min-height: 440px;
  padding: 54px;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(44, 91, 80, .08);
}

.audience-panel .panel-visual {
  height: 320px;
  background: linear-gradient(145deg, var(--sky), var(--mint));
  border-radius: 32px 32px 76px 32px;
}

.audience-panel .panel-visual::after {
  border: 0;
}

/* Cards */
.card {
  border-color: rgba(78, 108, 99, .09);
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(44, 91, 80, .055);
}

.card:hover {
  border-color: rgba(24, 169, 93, .18);
  box-shadow: var(--shadow-md);
}

.care-card {
  min-height: 285px;
  border: 0;
}

.care-card:nth-child(1) { background: #fff; }
.care-card:nth-child(2) { background: #eef9f2; }
.care-card:nth-child(3) { background: #fff7e7; }
.care-card:nth-child(4) { background: #f4efff; }
.care-card:nth-child(5) { background: #eaf8ff; }
.care-card:nth-child(6) { background: #ffece3; }

.care-card::after {
  width: 150px;
  height: 150px;
  border-width: 14px;
  opacity: .72;
}

.icon-box,
.mini-icon {
  border-radius: 17px;
}

.icon-box.cream,
.mini-icon.cream {
  color: #a56b08;
  background: #fff1c7;
}

/* Warm replacement for the former dark section */
.section.ink,
.section.ink.joy-panel {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 216, 109, .48), transparent 25%),
    radial-gradient(circle at 92% 90%, rgba(239, 139, 115, .22), transparent 26%),
    linear-gradient(135deg, #eaf8ff 0%, #effaf3 48%, #fff8e9 100%);
}

.section.ink h2,
.section.ink h3,
.section.ink h4,
.section.ink strong,
.section.ink .eyebrow {
  color: var(--ink);
}

.section.ink p,
.section.ink li {
  color: var(--slate);
}

.pillar-grid {
  gap: 18px;
}

.pillar {
  min-height: 270px;
  padding: 30px;
  background: rgba(255, 255, 255, .82);
  border: 0;
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(44, 91, 80, .07);
}

.pillar:nth-child(2) { background: #e9f8ef; }
.pillar:nth-child(3) { background: #fff5dd; }
.pillar:nth-child(4) { background: #f0eaff; }

.pillar .icon-box,
.section.ink .pillar .icon-box {
  color: var(--blue-dark);
  background: white;
  box-shadow: 0 8px 22px rgba(44, 91, 80, .07);
}

.pillar:nth-child(2) .icon-box,
.pillar:nth-child(4) .icon-box {
  color: var(--green-dark);
}

/* Steps */
.steps::before {
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sun), var(--green));
  opacity: .45;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--blue-dark);
  border: 8px solid var(--paper);
  box-shadow: 0 12px 28px rgba(44, 91, 80, .12);
}

.step:nth-child(2) .step-number {
  color: var(--ink);
  background: var(--sun);
}

.step:nth-child(3) .step-number {
  background: var(--green);
}

/* Split photos, diagrams, and dashboard */
.photo-card,
.photo-card.organic {
  padding: 10px;
  background: white;
  border-radius: 42px 42px 92px 42px;
  box-shadow: var(--shadow-md);
}

.photo-card img,
.photo-card.organic img {
  border-radius: 33px 33px 83px 33px;
}

.orbit-corner {
  border-width: 9px;
  opacity: .6;
}

.dashboard-shell {
  padding: 20px;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 216, 109, .28), transparent 24%),
    linear-gradient(145deg, #e8f8ff, #e8f8ee);
  border: 10px solid white;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
}

.dashboard-top {
  color: var(--ink);
}

.dashboard-top .dots span:nth-child(1) { background: var(--coral); }
.dashboard-top .dots span:nth-child(2) { background: var(--sun); }
.dashboard-top .dots span:nth-child(3) { background: var(--green); }

.dashboard-card {
  border: 1px solid rgba(71, 105, 95, .07);
  border-radius: 19px;
  box-shadow: 0 9px 24px rgba(44, 91, 80, .055);
}

.flow-box {
  border-color: rgba(80, 111, 101, .1);
  border-radius: 25px;
  box-shadow: 0 12px 30px rgba(44, 91, 80, .07);
}

.flow-box.primary-box {
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 216, 109, .55), transparent 28%),
    linear-gradient(145deg, #e4f8ec, #e3f6ff);
  border-color: transparent;
}

.flow-box.primary-box h3,
.flow-box.primary-box p {
  color: var(--ink);
}

.flow-box.primary-box p {
  color: var(--slate);
}

.flow-paths span {
  padding: 12px;
  background: #eef9f2;
  border-radius: 14px;
}

/* Outcomes, stories, and resources */
.metric-grid {
  gap: 16px;
}

.metric-card {
  min-height: 205px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(44, 91, 80, .055);
}

.metric-card:nth-child(1) { background: #eaf8ff; }
.metric-card:nth-child(2) { background: #eaf9ef; }
.metric-card:nth-child(3) { background: #fff5dd; }
.metric-card:nth-child(4) { background: #f0eaff; }
.metric-card:nth-child(5) { background: #ffece3; }

.story-card,
.resource-card {
  border: 0;
  box-shadow: 0 14px 34px rgba(44, 91, 80, .07);
}

.story-image {
  height: 225px;
}

.story-image img {
  object-position: center 35%;
}

.story-label {
  color: var(--green-dark);
}

.resource-art {
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 216, 109, .65), transparent 30%),
    linear-gradient(135deg, #eaf8ff, #eaf9ef);
}

.resource-art.green {
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 216, 109, .52), transparent 32%),
    linear-gradient(135deg, #eaf9ef, #fffdf9);
}

.resource-art.cream {
  background:
    radial-gradient(circle at 85% 12%, rgba(239, 139, 115, .28), transparent 34%),
    linear-gradient(135deg, #fff6e2, #f0eaff);
}

.filter-btn.active,
.filter-btn:hover {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.inline-note {
  background: #fff8e9;
  border-left-color: var(--sun);
  border-radius: 0 18px 18px 0;
}

/* CTA */
.cta-band {
  padding: 82px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 216, 109, .75), transparent 27%),
    radial-gradient(circle at 92% 88%, rgba(239, 139, 115, .28), transparent 28%),
    linear-gradient(135deg, #e8f8ff 0%, #e7f8ee 52%, #fff5df 100%);
  border-radius: 42px;
}

.cta-band::before,
.cta-band::after {
  border-color: rgba(24, 169, 93, .12);
}

.cta-band h2,
.cta-band p,
.cta-band strong {
  color: var(--ink);
}

.cta-band p {
  color: var(--slate);
}

.cta-band .btn.light {
  color: white;
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(17, 125, 166, .18);
}

.cta-band .btn.outline {
  background: rgba(255, 255, 255, .72);
}

/* Interior page heroes */
.page-hero {
  padding: 84px 0 102px;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 216, 109, .28), transparent 23%),
    radial-gradient(circle at 88% 18%, rgba(223, 244, 255, .95), transparent 30%),
    radial-gradient(circle at 73% 92%, rgba(218, 243, 228, .74), transparent 26%),
    linear-gradient(135deg, #fffdf9, #fff8ec 50%, #f6fffa);
}

.page-hero .page-media .photo-card,
.page-hero .page-media .photo-card.organic {
  border-radius: 42px 42px 96px 42px;
}

.page-hero .page-media .photo-card img {
  border-radius: 33px 33px 87px 33px;
}

.hero-note {
  color: #486861;
  background: rgba(255, 255, 255, .68);
  border-color: rgba(71, 105, 95, .1);
  border-radius: 18px;
}

.badge,
.badge.green {
  padding: 8px 12px;
  color: var(--green-dark);
  background: #eaf9ef;
  font-weight: 800;
}

/* Forms and accordions */
.form-card,
.form-aside,
.care-finder,
.accordion-item,
.privacy-callout,
.safety-banner {
  border-color: rgba(77, 109, 100, .1);
  border-radius: 26px;
  box-shadow: 0 12px 30px rgba(44, 91, 80, .055);
}

input,
select,
textarea {
  background: #fffefb;
  border-color: rgba(77, 109, 100, .18);
}

/* Footer: grounded but softer than the former navy block */
.site-footer {
  background:
    radial-gradient(circle at 90% 0%, rgba(42, 174, 229, .14), transparent 26%),
    radial-gradient(circle at 12% 100%, rgba(255, 216, 109, .1), transparent 24%),
    #173f3f;
}

/* Responsive warm hero */
@media (max-width: 1180px) {
  .hero-grid,
  .page-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
    gap: 42px;
  }

  .hero-photo-shell {
    width: min(86%, 500px);
    height: 560px;
  }

  .hero-orbit {
    width: 570px;
    height: 570px;
  }

  .hero-tag {
    min-width: 175px;
  }
}

@media (max-width: 940px) {
  .section { padding: 94px 0; }
  .home-hero { padding-top: 62px; }
  .hero-visual { min-height: 620px; }
  .hero-photo-shell {
    left: 50%;
    right: auto;
    width: min(78%, 520px);
    height: 560px;
    transform: translateX(-50%);
  }
  .hero-orbit {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(-34deg);
  }
  .hero-tag.t1 { left: 2%; }
  .hero-tag.t2 { right: 0; }
  .hero-tag.t3 { left: 0; }
  .joy-sun { right: 10%; }
  .audience-shell { grid-template-columns: 1fr; }
  .audience-panel.active { grid-template-columns: 1fr 280px; }
}

@media (max-width: 720px) {
  h1,
  .page-hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
    line-height: 1.04;
  }
  h2 { font-size: clamp(2.15rem, 9.8vw, 3.25rem); }
  .section { padding: 78px 0; }
  .home-hero { padding: 46px 0 66px; }
  .hero-copy h1 .accent::after { height: 11px; }
  .hero-proof { display: flex; max-width: none; justify-content: center; text-align: center; }
  .hero-proof span { font-size: .69rem; }
  .hero-visual { min-height: 500px; }
  .hero-photo-shell {
    top: 18px;
    width: 82%;
    height: 445px;
    border-width: 8px;
    border-radius: 34px 34px 82px 34px;
  }
  .hero-photo-shell img { border-radius: 26px 26px 74px 26px; }
  .hero-orbit {
    top: -5px;
    width: 455px;
    height: 455px;
    border-width: 6px;
  }
  .hero-orbit::after { border-width: 6px; }
  .joy-sun { width: 82px; height: 82px; right: 6%; }
  .hero-tag {
    min-width: 0;
    max-width: 160px;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .hero-tag > svg { width: 20px; height: 20px; flex-basis: 20px; }
  .hero-tag strong { font-size: .7rem; }
  .hero-tag small { display: none; }
  .hero-tag.t1 { top: 8px; left: -2px; }
  .hero-tag.t2 { top: 142px; right: -1px; display: flex; }
  .hero-tag.t3 { bottom: 58px; left: -3px; }
  .hero-tag.t4 { right: 3px; bottom: 1px; }
  .joy-spark { display: none; }
  .trust-row { text-align: center; }
  .trust-items { justify-content: center; }
  .trust-items span { padding: 7px 10px; }
  .audience-shell { padding: 12px; border-radius: 28px; }
  .audience-panel { padding: 30px; }
  .audience-panel .panel-visual { border-radius: 26px 26px 60px 26px; }
  .pillar,
  .card,
  .metric-card { border-radius: 24px; }
  .steps::before { background: linear-gradient(180deg, var(--blue), var(--sun), var(--green)); }
  .cta-band { padding: 54px 28px; border-radius: 30px; }
  .page-hero { padding: 56px 0 74px; }
}

@media (max-width: 460px) {
  .hero-visual { min-height: 455px; }
  .hero-photo-shell { width: 84%; height: 405px; }
  .hero-orbit { width: 410px; height: 410px; }
  .hero-tag.t2 { top: 125px; }
  .hero-tag.t3 { bottom: 50px; }
  .trust-items span svg { display: none; }
}

/* v2.1 layout safeguards */
.announcement a svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.home-hero,
.page-hero {
  overflow: clip;
}

.mega-menu:not(.open) {
  display: none;
}

.mega-menu.open {
  display: block;
}

.hero-copy h1 {
  font-size: clamp(3.25rem, 5.55vw, 5.55rem);
}

.split-media .flow-diagram {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-inline: auto;
}

.split-media .flow-arrow {
  transform: rotate(90deg);
}

.split-media .flow-paths {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}

@media (max-width: 940px) {
  .hero-grid,
  .page-hero .hero-grid,
  .split,
  .form-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(2.75rem, 12vw, 3.75rem);
  }

  .audience-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .audience-tab {
    min-width: 0;
  }

  .audience-panel.active {
    grid-template-columns: 1fr;
  }

  .split-media .flow-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Login chooser: compact right-aligned variant of the mega menu. */
.mega-menu.compact {
  width: 320px;
  left: auto;
  right: 0;
  transform: translateY(10px);
  padding: 12px;
}
.mega-menu.compact.open {
  transform: translateY(0);
}
.login-menu { display: flex; flex-direction: column; gap: 4px; }

/* Hover fix: bridge the 14px gap between the nav trigger and the menu so the
   pointer never leaves the hover area while crossing it. */
.mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }

/* Spanish labels run ~300px longer than English: widen the header container,
   compress the Spanish nav, and below 1560px drop the redundant outline CTA
   (it also lives in the hero and the menus) so nothing clips. */
.site-header .container { max-width: 1520px; }
@media (min-width: 1101px) {
  :root[lang="es"] .header-inner { gap: 14px; }
  :root[lang="es"] .desktop-nav { gap: 0; }
  :root[lang="es"] .nav-link, :root[lang="es"] .nav-trigger { padding: 10px 8px; font-size: 14.5px; }
  :root[lang="es"] .header-actions { gap: 8px; }
}
@media (min-width: 1101px) and (max-width: 1560px) {
  :root[lang="es"] .header-actions .btn.outline { display: none; }
}
/* Below ~1240px the Spanish nav cannot fit even compressed: fall back to the
   hamburger (same pattern the site already uses under 1101px). */
@media (min-width: 1101px) and (max-width: 1240px) {
  :root[lang="es"] .desktop-nav { display: none; }
  :root[lang="es"] .mobile-menu-btn { display: grid; }
}
