@font-face {
  font-family: "Outfit";
  src: url("assets/outfit-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-primary: "Outfit", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #080f3a;
  --blue: #244cff;
  --violet: #8d57ee;
  --soft-line: rgba(77, 71, 148, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f4ff;
  color: var(--ink);
  font-family: var(--font-primary);
  font-size: medium;
  letter-spacing: 1px;
}

button,
input,
textarea,
select {
  font-family: var(--font-primary);
}

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

.hero {
  position: relative;
  width: 100%;
  min-height: 940px;
  overflow: hidden;
  isolation: isolate;
  background: #f6f4ff url("assets/kavira-cloud-background.png") center / auto calc(100% + 96px) no-repeat;
  background-position: center calc(50% - 48px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -9;
  opacity: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(100px, 15vh, 170px);
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(246, 244, 255, 0.72) 48%, #f6f4ff 100%);
}

.ambient {
  display: none;
  position: absolute;
  z-index: -5;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.ambient-one {
  width: 430px;
  height: 430px;
  right: 112px;
  top: 56px;
  background: rgba(185, 163, 255, 0.18);
}

.ambient-two {
  width: 470px;
  height: 280px;
  left: 530px;
  top: 500px;
  background: rgba(145, 133, 255, 0.14);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 98px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 76px 0 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.wordmark {
  justify-self: start;
  margin-top: -4px;
  color: #173bff;
  font-size: 34px;
  font-weight: 360;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 58px;
  font-size: 16px;
  font-weight: 600;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: #3750f4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(111deg, #174cff 4%, #3547fa 47%, #9558eb 100%);
  box-shadow: 0 14px 28px rgba(69, 58, 224, 0.16), inset 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(69, 58, 224, 0.25), inset 0 1px rgba(255, 255, 255, 0.2);
}

.button-small {
  justify-self: end;
  width: 205px;
  height: 47px;
  border-radius: 26px;
  font-size: 16px;
}

.hero-copy {
  --copy-width: 640px;
  position: absolute;
  z-index: 9;
  top: 208px;
  left: max(68px, calc((100vw - 1680px) / 2 + 68px));
}

.hero-copy h1 {
  width: var(--copy-width);
  max-width: 100%;
  margin: 0;
  font-size: 78px;
  line-height: 0.995;
  letter-spacing: 1px;
  font-weight: 500;
}

.hero-copy h1 > span {
  display: block;
  white-space: nowrap;
}

.mixed-title-line {
  white-space: nowrap;
}

.gradient-inline {
  display: inline;
  margin: 0;
}

.gradient-text {
  margin-top: 5px;
  color: transparent;
  background: linear-gradient(104deg, #2252ed 4%, #3c60f6 46%, #a15bea 99%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy p {
  width: var(--copy-width);
  max-width: 100%;
  margin: 27px 0 38px;
  padding: 0;
  color: #10173b;
  font-size: 20px;
  line-height: 1.72;
  letter-spacing: 1px;
  font-weight: 480;
  text-align: left;
  white-space: normal;
}

.button-large {
  width: 253px;
  height: 66px;
  border-radius: 34px;
  font-size: 20px;
}

.phone {
  position: absolute;
  z-index: 12;
  top: 96px;
  left: calc(50% + 287px);
  width: 371px;
  height: 792px;
  padding: 8px;
  transform: scale(0.86);
  transform-origin: top left;
  border-radius: 65px;
  background: linear-gradient(115deg, #5e5e68 0%, #272730 7%, #0b0b10 15%, #050508 52%, #202029 88%, #656570 100%);
  box-shadow: none;
}

.phone::before {
  display: none;
}

.phone.hero-video-phone {
  height: 763px;
  padding: 0;
  overflow: hidden;
  border-radius: 58px;
  background: transparent;
}

.hero-video-phone > :not(.hero-phone-animation) {
  visibility: hidden;
}

.hero-phone-animation {
  position: absolute;
  z-index: 50;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
  border: 0;
  border-radius: 58px;
  background: transparent;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 56px;
  color: #0d1337;
  background:
    radial-gradient(circle at 76% 18%, rgba(170, 140, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfbff 0%, #f8f7ff 73%, #fbfbff 100%);
}

.hero-dashboard-screen {
  position: absolute;
  z-index: 20;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.side-button {
  position: absolute;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(#dbdbea, #2c2a3d 22%, #a5a5bb 86%, #181723);
  box-shadow: 0 0 2px rgba(6, 6, 12, 0.7);
}

.side-button-one { left: -3px; top: 126px; height: 34px; }
.side-button-two { left: -3px; top: 177px; height: 71px; }
.side-button-three { right: -3px; top: 223px; height: 81px; }

.status-bar {
  position: relative;
  z-index: 4;
  height: 52px;
  padding: 18px 31px 0 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #030303;
  font-size: 15px;
}

.dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 100px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: #000;
  box-shadow: inset 0 1px 2px #171717;
}

.dynamic-island span {
  position: absolute;
  right: 10px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #173a62, #02060b 72%);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 16px;
}

.status-icons svg {
  width: 17px;
  height: 14px;
  fill: #000;
}

.battery {
  position: relative;
  display: block;
  width: 21px;
  height: 10px;
  margin-left: 1px;
  border: 1px solid #333;
  border-radius: 2px;
}

.battery::before {
  content: "";
  position: absolute;
  inset: 1px;
  right: 3px;
  border-radius: 1px;
  background: #111;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: #555;
}

.app-header {
  height: 50px;
  padding: 4px 26px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-logo {
  color: #2844ff;
  font-size: 23px;
  font-weight: 420;
  letter-spacing: 1px;
}

.bell {
  width: 22px;
  fill: none;
  stroke: #101637;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.greeting {
  padding: 3px 23px 0;
}

.greeting h2 {
  margin: 0 0 5px;
  font-size: 17px;
  letter-spacing: 1px;
}

.greeting p {
  margin: 0;
  color: #303654;
  font-size: 14.5px;
}

.ask-card {
  position: relative;
  height: 127px;
  margin: 20px 19px 18px;
  padding: 21px 20px;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  color: white;
  background:
    radial-gradient(circle at 74% 50%, rgba(164, 111, 255, 0.65), transparent 31%),
    linear-gradient(115deg, #1548f6 2%, #3b3df4 54%, #9858ed 100%);
  box-shadow: 0 13px 22px rgba(67, 54, 214, 0.24);
}

.ask-card::after {
  content: "";
  position: absolute;
  width: 115px;
  height: 115px;
  top: -30px;
  right: -17px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  filter: blur(6px);
}

.ask-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1;
  font-weight: 480;
  letter-spacing: 1px;
}

.ask-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.care-icon {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 23px;
  width: 76px;
  overflow: visible;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.75));
}

.care-icon .care-icon-fill {
  fill: white;
  stroke-width: 0;
}

.today-title {
  margin: 0 22px 12px;
  font-size: 19px;
  line-height: 1;
}

.activity-list {
  margin: 0 18px;
}

.activity-row {
  height: 72px;
  margin-bottom: 9px;
  padding: 0 14px 0 12px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(84, 78, 147, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 5px 17px rgba(47, 43, 110, 0.035);
}

.row-icon {
  width: 35px;
  flex: 0 0 35px;
  display: grid;
  place-items: center;
}

.row-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: #3149fa;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.complete-icon svg { stroke: #319b45; }

.row-copy {
  min-width: 0;
  margin-left: 10px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  color: #131735;
  font-size: 14px;
  line-height: 1.35;
}

.row-copy strong {
  font-weight: 650;
}

.row-copy small {
  color: #343954;
  font-size: 12.5px;
}

.activity-row time {
  flex: none;
  color: #333853;
  font-size: 12px;
  white-space: nowrap;
}

.green-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-radius: 50%;
  background: #279144;
}

.update-row {
  height: 77px;
}

.avatar {
  position: relative;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 112%, #e3b58e 0 30%, transparent 31%),
    radial-gradient(circle at 50% 43%, #ad6e45 0 23%, transparent 24%),
    radial-gradient(ellipse at 50% 44%, #2e1a14 0 42%, transparent 43%),
    linear-gradient(145deg, #dac8b7, #9d765e);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.avatar::before,
.avatar::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #19110e;
}

.avatar::before { left: 17px; }
.avatar::after { right: 17px; }

.avatar span {
  position: absolute;
  left: 19px;
  top: 23px;
  width: 6px;
  height: 3px;
  border-bottom: 1px solid #7d342e;
  border-radius: 50%;
}

.update-row .row-copy {
  margin-left: 9px;
  gap: 5px;
}

.update-row .row-copy strong {
  font-size: 13.5px;
  white-space: nowrap;
}

.update-meta {
  height: 45px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.update-meta i {
  width: 7px;
  height: 7px;
  margin-top: 3px;
  border-radius: 50%;
  background: #474df8;
}

.tab-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  padding: 12px 15px 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  border-top: 1px solid rgba(62, 59, 118, 0.08);
  background: rgba(252, 252, 255, 0.92);
  backdrop-filter: blur(10px);
}

.tab-bar a {
  height: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #313652;
  font-size: 10px;
}

.tab-bar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab-bar a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.tab-bar a.active {
  color: #2449fa;
}

.add-button {
  position: relative;
  width: 51px;
  height: 51px;
  margin: 0 auto 10px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #3455ff, #6946ec);
  box-shadow: 0 9px 18px rgba(70, 59, 217, 0.32);
}

.add-button::before,
.add-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.add-button::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cloud {
  display: none;
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 -8px 22px rgba(255, 255, 255, 0.55));
}

.cloud i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 18%, rgba(255, 255, 255, 0.96) 0 9%, rgba(251, 250, 255, 0.86) 35%, rgba(218, 215, 255, 0.76) 67%, rgba(172, 166, 246, 0.55) 100%);
  box-shadow:
    inset 13px 20px 30px rgba(255, 255, 255, 0.75),
    inset -16px -18px 30px rgba(119, 105, 222, 0.18),
    0 17px 30px rgba(109, 92, 207, 0.12);
}

.cloud-left {
  left: -125px;
  bottom: -105px;
  width: 710px;
  height: 315px;
  opacity: 0.8;
}

.cloud-left i:nth-child(1) { width: 310px; height: 205px; left: 15px; top: 74px; }
.cloud-left i:nth-child(2) { width: 260px; height: 255px; left: 205px; top: 5px; }
.cloud-left i:nth-child(3) { width: 315px; height: 220px; left: 388px; top: 76px; }
.cloud-left i:nth-child(4) { width: 260px; height: 180px; left: 96px; top: 149px; }
.cloud-left i:nth-child(5) { width: 300px; height: 150px; left: 334px; top: 171px; }

.cloud-center {
  left: 360px;
  bottom: -150px;
  width: 770px;
  height: 395px;
  z-index: 3;
}

.cloud-center i:nth-child(1) { width: 280px; height: 245px; left: 22px; top: 119px; }
.cloud-center i:nth-child(2) { width: 335px; height: 306px; left: 145px; top: 12px; }
.cloud-center i:nth-child(3) { width: 295px; height: 245px; left: 373px; top: 98px; }
.cloud-center i:nth-child(4) { width: 310px; height: 220px; left: 477px; top: 162px; }
.cloud-center i:nth-child(5) { width: 310px; height: 180px; left: -95px; top: 222px; }
.cloud-center i:nth-child(6) { width: 360px; height: 170px; left: 221px; top: 234px; }

.cloud-right-mid {
  right: -120px;
  top: 351px;
  width: 275px;
  height: 220px;
  opacity: 0.75;
}

.cloud-right-mid i:nth-child(1) { width: 150px; height: 170px; left: 16px; top: 22px; }
.cloud-right-mid i:nth-child(2) { width: 170px; height: 185px; left: 93px; top: 0; }
.cloud-right-mid i:nth-child(3) { width: 160px; height: 115px; left: 0; top: 108px; }
.cloud-right-mid i:nth-child(4) { width: 170px; height: 120px; left: 112px; top: 96px; }

.cloud-right {
  right: -165px;
  bottom: -45px;
  width: 425px;
  height: 360px;
  opacity: 0.82;
}

.cloud-right i:nth-child(1) { width: 240px; height: 245px; left: 0; top: 58px; }
.cloud-right i:nth-child(2) { width: 250px; height: 270px; left: 149px; top: 5px; }
.cloud-right i:nth-child(3) { width: 260px; height: 165px; left: -75px; top: 199px; }
.cloud-right i:nth-child(4) { width: 290px; height: 170px; left: 105px; top: 190px; }
.cloud-right i:nth-child(5) { width: 210px; height: 180px; left: 265px; top: 151px; }

.cloud-bottom-right {
  right: 83px;
  bottom: -140px;
  width: 340px;
  height: 255px;
  opacity: 0.9;
}

.cloud-bottom-right i:nth-child(1) { width: 180px; height: 200px; left: 0; top: 15px; }
.cloud-bottom-right i:nth-child(2) { width: 205px; height: 225px; left: 115px; top: 0; }
.cloud-bottom-right i:nth-child(3) { width: 220px; height: 140px; left: -50px; top: 118px; }
.cloud-bottom-right i:nth-child(4) { width: 230px; height: 140px; left: 110px; top: 110px; }

.care-line {
  position: absolute;
  z-index: 7;
  left: calc(50% - 231px);
  top: 493px;
  width: 690px;
  overflow: visible;
  fill: #fff;
  stroke: url(#lineGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(109, 92, 255, 0.45));
}

.wire,
.wire-heart {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.care-line circle {
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2;
  filter: url(#lineGlow);
}

.section-mascot {
  position: absolute;
  z-index: 2;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 16px 24px rgba(83, 57, 190, 0.2));
  animation: mascot-breathe 5.2s ease-in-out infinite;
}

.care-section-mascot {
  right: max(26px, calc((100vw - var(--page-max)) / 2 - 18px));
  top: 38px;
  width: 118px;
  opacity: 0.88;
}

.feature-detail-section {
  position: relative;
  overflow: hidden;
}

.feature-section-mascot {
  left: max(28px, calc((100vw - var(--page-max)) / 2 + 8px));
  top: 42px;
  width: 96px;
  opacity: 0.72;
  transform: rotate(-5deg);
}

@media (max-width: 1050px) {
  .care-section-mascot,
  .feature-section-mascot {
    width: 82px;
    opacity: 0.58;
  }
}

@media (max-width: 700px) {
  .section-mascot {
    display: none;
  }
}

.mascot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(82, 62, 190, 0.18));
  transform-origin: 50% 78%;
  animation: hero-mascot-breathe 5.2s ease-in-out infinite;
  will-change: transform, filter;
}

@keyframes hero-mascot-breathe {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 18px 18px rgba(82, 62, 190, 0.18)) brightness(1);
  }

  50% {
    transform: scale(1.012);
    filter: drop-shadow(0 21px 20px rgba(82, 62, 190, 0.2)) brightness(1.025);
  }
}

@keyframes mascot-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 18px 18px rgba(82, 62, 190, 0.18)) brightness(1);
  }

  50% {
    transform: translateY(-6px) scale(1.012);
    filter: drop-shadow(0 21px 20px rgba(82, 62, 190, 0.2)) brightness(1.025);
  }
}

@media (max-width: 1600px) {
  .hero-copy {
    --copy-width: 570px;
  }

  .hero-copy h1 {
    font-size: 68px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .button-large {
    width: 235px;
    height: 60px;
    font-size: 18px;
  }

  .phone {
    transform: scale(0.76);
    transform-origin: top left;
  }
}

@media (max-width: 1280px) {
  .hero {
    min-height: 820px;
  }

  .site-header {
    padding-inline: 38px;
  }

  .nav-links {
    gap: 34px;
  }

  .hero-copy {
    --copy-width: 530px;
    left: 38px;
    top: 190px;
  }

  .hero-copy h1 {
    font-size: 64px;
  }

  .phone {
    left: auto;
    right: 42px;
    transform: scale(0.72);
    transform-origin: top right;
  }

  .care-line {
    left: 58%;
    transform: scale(0.85);
    transform-origin: left center;
  }
}

@media (max-width: 950px) {
  .hero {
    min-height: 1380px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 84px;
    padding-inline: 26px;
  }

  .wordmark {
    font-size: 28px;
  }

  .nav-links {
    display: none;
  }

  .button-small {
    width: 170px;
    height: 44px;
  }

  .hero-copy {
    --copy-width: 100%;
    position: relative;
    top: auto;
    left: auto;
    margin: 75px 34px 0;
  }

  .hero-copy h1 {
    max-width: 670px;
    font-size: clamp(53px, 9vw, 74px);
  }

  .hero-copy p {
    font-size: 19px;
  }

  .phone {
    top: 690px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) scale(0.68);
    transform-origin: top center;
  }

  .care-line {
    top: 716px;
    left: calc(50% - 269px);
    transform: scale(0.78);
    transform-origin: left center;
  }

  .cloud-center {
    left: 4%;
    bottom: -90px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 1260px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .wordmark {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .button-small {
    width: 142px;
    height: 41px;
    font-size: 14px;
  }

  .hero-copy {
    margin: 62px 24px 0;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 13vw, 64px);
    letter-spacing: 1px;
  }

  .mixed-title-line {
    white-space: normal;
  }

  .hero-copy h1 > span {
    white-space: normal;
  }

  .hero-copy p {
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.55;
  }

  .button-large {
    width: 220px;
    height: 60px;
    font-size: 18px;
  }

  .phone {
    top: 665px;
    transform: translateX(-50%) scale(0.62);
  }

  .care-line {
    display: none;
  }
}

/* Compact hero-aligned sizing for the feature showcase. */
.features-showcase {
  padding: 30px 68px 64px;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  letter-spacing: 1px;
}

.features-showcase button {
  font-family: "Outfit", ui-sans-serif, sans-serif;
}

.features-showcase-inner {
  max-width: 1220px;
}

.features-label {
  margin-bottom: 14px;
  padding: 6px 30px;
  font-size: 12px;
  letter-spacing: 1px;
}

.features-showcase h2 {
  margin-bottom: 34px;
  font-size: 68px;
  letter-spacing: 1px;
}

.features-showcase-grid {
  grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.2fr) minmax(240px, 0.9fr);
  gap: 20px;
}

.features-left-column {
  gap: 18px;
}

.showcase-card,
.showcase-center-card {
  border-radius: 28px;
}

.showcase-card-heading {
  padding: 28px 24px 0;
  gap: 18px;
}

.showcase-heading-icon {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
}

.showcase-heading-icon svg {
  width: 25px;
  height: 25px;
}

.showcase-card h3 {
  margin-top: 4px;
  font-size: 21px;
  font-weight: 500;
}

.voice-showcase-card .showcase-card-heading {
  padding-top: 24px;
}

.showcase-center-card,
.ask-showcase-card {
  min-height: 600px;
}

.showcase-watermark {
  top: 52px;
  font-size: 68px;
  letter-spacing: 1px;
}

.showcase-phone-hand {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -150px;
  width: auto;
  height: 650px;
  transform: translateX(-50%);
  pointer-events: none;
}

.showcase-phone {
  width: 280px;
  height: 550px;
  padding: 6px;
  transform: none;
  border-radius: 45px;
}

.showcase-phone-screen {
  border-radius: 39px;
}

.showcase-status {
  height: 44px;
  padding: 14px 23px 0;
  font-size: 12px;
  letter-spacing: 1px;
}

.showcase-island {
  top: 9px;
  width: 84px;
  height: 25px;
}

.showcase-app-bar {
  padding: 6px 19px 0;
}

.showcase-app-bar > span {
  font-size: 18px;
  font-weight: 500;
}

.showcase-app-bar svg {
  width: 20px;
}

.showcase-greeting {
  padding: 22px 19px 14px;
}

.showcase-greeting h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
}

.showcase-greeting p {
  font-size: 13px;
}

.showcase-app-list {
  padding: 0 16px;
}

.showcase-app-row {
  min-height: 65px;
  margin-bottom: 7px;
  padding: 8px 11px;
  border-radius: 16px;
}

.showcase-row-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 13px;
}

.showcase-row-icon svg {
  width: 24px;
  height: 24px;
}

.pill-row-icon::before {
  width: 25px;
  height: 14px;
}

.showcase-app-row > div {
  margin-left: 10px;
  gap: 3px;
}

.showcase-app-row strong {
  font-size: 13px;
  font-weight: 500;
}

.showcase-app-row small {
  font-size: 10px;
}

.showcase-app-row > b {
  font-size: 24px;
}

.showcase-tabbar {
  height: 62px;
  padding: 6px 9px;
}

.showcase-tabbar > span {
  font-size: 8px;
  letter-spacing: 1px;
}

.showcase-tabbar svg {
  width: 18px;
  height: 18px;
}

.showcase-tabbar button {
  width: 44px;
  height: 44px;
  margin-top: -14px;
  font-size: 28px;
}

.ask-showcase-card {
  padding: 28px 24px 24px;
}

.ask-showcase-heading h3 {
  margin: 12px 0 4px;
  font-size: 24px;
  font-weight: 500;
}

.ask-showcase-heading p {
  font-size: 17px;
}

.sparkle-icon {
  font-size: 27px;
}

.ask-showcase-card > img {
  margin-top: 0;
  margin-bottom: -15px;
}

.ask-prompt {
  padding: 20px 14px;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 1120px) {
  .features-showcase h2 {
    font-size: 58px;
  }

  .ask-showcase-card {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .features-showcase {
    padding: 58px 24px 72px;
  }

  .features-showcase h2 {
    font-size: 46px;
  }

  .features-left-column {
    grid-template-rows: 410px 270px;
  }

  .showcase-center-card {
    min-height: 620px;
  }

  .showcase-phone {
    transform: none;
  }

  .showcase-phone-hand {
    bottom: -150px;
    height: 650px;
  }

  .ask-showcase-card {
    min-height: 590px;
  }
}

@media (min-width: 761px) {
  .contact-visual-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(54px, 7vw, 108px);
  }

  .contact-butterfly-space {
    display: none;
  }
}

.features-showcase {
  position: relative;
  overflow: hidden;
  padding: 30px 68px 64px;
  color: #f7f5ff;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  letter-spacing: 1px;
  background:
    radial-gradient(circle at 50% 8%, rgba(111, 71, 255, 0.28), transparent 34%),
    radial-gradient(circle at 8% 72%, rgba(83, 48, 235, 0.2), transparent 31%),
    radial-gradient(circle at 96% 88%, rgba(151, 91, 255, 0.14), transparent 27%),
    linear-gradient(145deg, #060712 0%, #0d0b1d 50%, #070711 100%);
}

.features-showcase-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.features-label {
  width: max-content;
  margin: 0 auto 14px;
  padding: 6px 30px;
  border: 1px solid rgba(164, 137, 255, 0.42);
  border-radius: 999px;
  color: #bca8ff;
  background: rgba(113, 75, 246, 0.1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.features-showcase h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 68px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 1px;
  color: transparent;
  background: linear-gradient(90deg, #ffffff 12%, #bcaaff 49%, #7851ff 92%);
  background-clip: text;
  -webkit-background-clip: text;
}

.features-showcase h2 span {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.features-showcase-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.2fr) minmax(240px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.features-left-column {
  display: grid;
  grid-template-rows: 1.2fr 0.8fr;
  gap: 18px;
}

.showcase-card,
.showcase-center-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(188, 168, 255, 0.2);
  border-radius: 28px;
  background: linear-gradient(145deg, #191727, #0d0c15);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.showcase-card {
  color: #f7f5ff;
  border-color: rgba(188, 168, 255, 0.2);
  background:
    radial-gradient(circle at 52% 55%, rgba(112, 71, 255, 0.14), transparent 46%),
    linear-gradient(145deg, #1b1929 0%, #0e0d17 100%);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.showcase-card-heading {
  position: relative;
  z-index: 2;
  padding: 28px 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.showcase-heading-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #b69fff;
  background: rgba(120, 79, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(181, 157, 255, 0.16);
}

.showcase-heading-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase-card h3 {
  margin: 4px 0 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
}

.medicine-showcase-card img {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 1%;
  width: 92%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(93, 54, 245, 0.16));
}

.voice-showcase-card .showcase-card-heading {
  padding-top: 24px;
}

.voice-showcase-card img {
  position: absolute;
  left: 8%;
  bottom: 5%;
  width: 84%;
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(93, 54, 245, 0.15));
}

.showcase-center-card {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.42), transparent 6%),
    radial-gradient(circle at 50% 38%, rgba(120, 78, 255, 0.36), transparent 48%),
    linear-gradient(145deg, #272044, #171329 55%, #0d0c18 100%);
}

.showcase-watermark {
  position: absolute;
  top: 52px;
  left: 18px;
  color: rgba(255, 255, 255, 0.33);
  font-size: 68px;
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: 1px;
}

.showcase-sparkle {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.showcase-sparkle-one { right: 40px; top: 70px; }
.showcase-sparkle-two { left: 35px; bottom: 75px; }

.provided-phone-visual {
  position: absolute;
  z-index: 4;
  right: 0;
  left: auto;
  bottom: 0;
  width: auto;
  height: 100%;
  transform: none;
  object-fit: contain;
  object-position: right bottom;
}

.showcase-phone-hand,
.showcase-phone {
  display: none;
}

.showcase-phone {
  position: relative;
  z-index: 3;
  width: 280px;
  height: 550px;
  padding: 6px;
  transform: none;
  border-radius: 45px;
  background: linear-gradient(115deg, #777782, #0b0b10 12%, #030306 52%, #777782 100%);
  box-shadow: 0 17px 32px rgba(39, 25, 105, 0.22);
}

.showcase-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background: linear-gradient(#fcfbff, #f4f2ff);
}

.showcase-status {
  position: relative;
  height: 44px;
  padding: 14px 23px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 1px;
}

.showcase-island {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 84px;
  height: 25px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: #000;
}

.showcase-status > div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.showcase-status > div i {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 2px;
  background: #080808;
}

.showcase-status > div i:nth-child(2) { height: 13px; }
.showcase-status > div b { width: 18px; height: 9px; border: 1px solid #080808; border-radius: 2px; }

.showcase-app-bar {
  padding: 6px 19px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5530ec;
}

.showcase-app-bar > span {
  font-size: 18px;
  font-weight: 500;
}

.showcase-app-bar svg {
  width: 20px;
  fill: none;
  stroke: #252052;
  stroke-width: 1.8;
}

.showcase-app-bar svg circle { fill: #f14b4b; stroke: #fff; }

.showcase-greeting {
  padding: 22px 19px 14px;
}

.showcase-greeting h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
}

.showcase-greeting p {
  margin: 0;
  color: #444966;
  font-size: 13px;
}

.showcase-greeting p i {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #42ae4f;
  font-size: 10px;
  font-style: normal;
}

.showcase-app-list {
  padding: 0 16px;
}

.showcase-app-row {
  min-height: 65px;
  margin-bottom: 7px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(90, 72, 168, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: 0 7px 16px rgba(77, 58, 163, 0.08);
}

.showcase-row-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #6039f2;
  background: #f2efff;
}

.showcase-row-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill-row-icon::before {
  content: "";
  width: 25px;
  height: 14px;
  border-radius: 12px;
  transform: rotate(-45deg);
  background: linear-gradient(90deg, #5932ee 50%, #d5cbff 50%);
}

.showcase-app-row > div {
  min-width: 0;
  margin-left: 10px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.showcase-app-row strong {
  font-size: 13px;
  font-weight: 500;
}

.showcase-app-row small {
  overflow: hidden;
  color: #4c516e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-app-row > b {
  color: #5d668b;
  font-size: 24px;
  font-weight: 400;
}

.showcase-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  padding: 6px 9px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  border-top: 1px solid rgba(60, 50, 120, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.showcase-tabbar > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #555d7d;
  font-size: 8px;
  letter-spacing: 1px;
}

.showcase-tabbar > span.active { color: #5332ed; }
.showcase-tabbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.showcase-tabbar > span.active svg { fill: currentColor; stroke: none; }

.showcase-tabbar button {
  width: 44px;
  height: 44px;
  margin: -14px auto 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #6647ff, #4e1eea);
  box-shadow: 0 9px 17px rgba(76, 44, 225, 0.28);
  font: 300 28px/1 "Outfit", sans-serif;
}

.ask-showcase-card {
  min-height: 600px;
  padding: 28px 24px 24px;
}

.ask-showcase-heading h3 {
  margin: 12px 0 4px;
  font-size: 24px;
}

.ask-showcase-heading p {
  margin: 0;
  color: #aaa7bf;
  font-size: 17px;
}

.sparkle-icon {
  font-size: 27px;
}

.ask-showcase-card > img {
  display: block;
  width: 112%;
  margin: 0 -6% -15px;
  filter: saturate(0.92) drop-shadow(0 18px 34px rgba(101, 58, 246, 0.22));
}

.ask-prompt {
  padding: 20px 14px;
  border-radius: 24px;
  color: #d5c9ff;
  border: 1px solid rgba(170, 143, 255, 0.18);
  background: linear-gradient(145deg, rgba(92, 57, 207, 0.25), rgba(30, 24, 54, 0.94));
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.24);
  text-align: center;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
}

@media (max-width: 1120px) {
  .features-showcase {
    padding-inline: 38px;
  }

  .features-showcase-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .ask-showcase-card {
    grid-column: 1 / -1;
    min-height: 440px;
  }

  .ask-showcase-card > img {
    position: absolute;
    right: 2%;
    bottom: -4%;
    width: 52%;
    margin: 0;
  }

  .ask-prompt {
    position: absolute;
    left: 28px;
    bottom: 48px;
    width: 40%;
  }
}

@media (max-width: 760px) {
  .features-showcase {
    padding: 58px 24px 72px;
  }

  .features-showcase h2 {
    margin-bottom: 38px;
    font-size: 46px;
  }

  .features-showcase-grid {
    grid-template-columns: 1fr;
  }

  .features-left-column {
    grid-template-rows: 410px 270px;
  }

  .showcase-center-card {
    min-height: 620px;
  }

  .showcase-phone {
    transform: none;
    transform-origin: bottom center;
  }

  .ask-showcase-card {
    grid-column: auto;
    min-height: 590px;
  }

  .ask-showcase-card > img {
    position: static;
    width: 112%;
    margin: 0 -6% -8px;
  }

  .ask-prompt {
    position: static;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Shared page rhythm and typography */
:root {
  --page-max: 1400px;
  --page-gutter: clamp(24px, 4.4vw, 68px);
  --section-title-size: 56px;
  --section-copy-size: 18px;
  --card-title-size: 22px;
  --card-copy-size: 16px;
}

.site-header,
.care-section-inner,
.features-showcase-inner,
.feature-detail-heading,
.feature-detail-grid,
.contact-visual-inner {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  padding-right: 0;
  padding-left: 0;
}

.hero-copy {
  left: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
}

.care-section,
.features-showcase,
.feature-detail-section {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.care-section-inner,
.features-showcase-inner,
.feature-detail-heading,
.feature-detail-grid {
  width: 100%;
}

.care-section h2,
.features-showcase h2,
.feature-detail-heading h2,
.contact-intro h2 {
  font-size: var(--section-title-size);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-copy p,
.care-section-heading > p,
.feature-detail-heading p,
.contact-intro p {
  font-size: var(--section-copy-size);
  line-height: 1.6;
  letter-spacing: 1px;
}

.care-card h3,
.showcase-card h3,
.ask-showcase-heading h3,
.feature-detail-copy h2 {
  font-size: var(--card-title-size);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 1px;
}

.care-card p,
.ask-showcase-heading p,
.feature-detail-copy p {
  font-size: var(--card-copy-size);
  line-height: 1.5;
  letter-spacing: 1px;
}

.feature-detail-heading {
  max-width: 900px;
}

.contact-visual-inner {
  grid-template-columns: minmax(360px, 0.9fr) minmax(450px, 1fr) 90px;
  gap: clamp(32px, 3vw, 52px);
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 24px;
    --section-title-size: 40px;
    --section-copy-size: 16px;
    --card-title-size: 20px;
    --card-copy-size: 15px;
  }

  .site-header,
  .care-section-inner,
  .features-showcase-inner,
  .feature-detail-heading,
  .feature-detail-grid,
  .contact-visual-inner {
    width: 100%;
  }

  .hero-copy {
    left: var(--page-gutter);
    right: var(--page-gutter);
  }

  .hero-copy h1 {
    font-size: 48px;
    line-height: 1.04;
  }

  .care-section,
  .features-showcase,
  .feature-detail-section {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }

  .contact-visual-section {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }
}

.care-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 112px 68px 124px;
  color: #fff;
  background: #050507;
}

.care-section::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: 860px;
  height: 520px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(77, 72, 255, 0.18);
  filter: blur(130px);
  pointer-events: none;
}

.care-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1544px;
  margin: 0 auto;
}

.care-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 76px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #7787ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.care-section h2 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(48px, 4.5vw, 72px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 1px;
}

.care-section-heading > p {
  max-width: 480px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  line-height: 1.7;
}

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

.care-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.care-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(66, 73, 255, 0.11);
  filter: blur(42px);
}

.care-card-featured {
  border-color: rgba(106, 106, 255, 0.38);
  background: linear-gradient(145deg, rgba(58, 62, 185, 0.2), rgba(255, 255, 255, 0.035));
}

.care-card-number {
  position: absolute;
  top: 34px;
  right: 34px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 13px;
}

.care-card-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(123, 129, 255, 0.4);
  border-radius: 18px;
  color: #8994ff;
  background: rgba(70, 76, 255, 0.1);
}

.care-card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.care-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 15px;
  font-size: 25px;
  font-weight: 500;
}

.care-card p {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 1050px) {
  .care-section {
    padding-inline: 38px;
  }

  .care-section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .care-card {
    min-height: 290px;
  }
}

@media (max-width: 620px) {
  .care-section {
    padding: 88px 24px 96px;
  }

  .care-section-heading {
    margin-bottom: 50px;
  }

  .care-section h2 {
    font-size: 44px;
  }

  .care-section-heading > p {
    font-size: 16px;
  }

  .care-card {
    min-height: 300px;
    padding: 28px;
  }
}

/* Restore the previous live Kavira UI inside the supplied phone photograph. */
.showcase-center-card .showcase-phone {
  position: absolute;
  z-index: 5;
  top: 42px;
  right: 114px;
  left: auto;
  display: block;
  width: 254px;
  height: 550px;
  padding: 0;
  transform: scale(0.74);
  transform-origin: top right;
  border-radius: 39px;
  background: transparent;
  box-shadow: none;
}

.showcase-center-card .showcase-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 39px;
}

@media (max-width: 760px) {
  .showcase-center-card .showcase-phone {
    top: 44px;
    right: 118px;
    transform: scale(0.76);
  }
}

.feature-detail-section {
  padding: 24px 18px 72px;
  color: #080d31;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  letter-spacing: 1px;
  background: #fff;
}

.feature-detail-heading {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.feature-detail-heading h2 {
  margin: 0 0 14px;
  color: #080d31;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 1px;
}

.feature-detail-heading p {
  max-width: 790px;
  margin: 0 auto;
  color: #505674;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 1px;
}

.feature-detail-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 592px));
  justify-content: center;
  gap: 16px;
}

.feature-detail-card {
  min-height: 320px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(89, 70, 174, 0.04);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(145deg, #f7f6ff, #f2f1fc);
}

.feature-detail-visual {
  min-height: 225px;
  flex: 1;
  display: grid;
  place-items: center;
}

.feature-detail-visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 225px;
  object-fit: contain;
  image-rendering: auto;
}

.feature-detail-copy {
  padding-top: 14px;
  text-align: center;
}

.feature-detail-copy h2 {
  margin: 0 0 9px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 1px;
}

.feature-detail-copy p {
  margin: 0;
  color: #4f5575;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .feature-detail-card {
    min-height: 340px;
    padding: 20px;
  }

  .feature-detail-visual {
    min-height: 215px;
  }

  .feature-detail-visual img {
    max-width: 86%;
    max-height: 215px;
  }

  .feature-detail-copy h2 {
    font-size: 22px;
  }
}

@media (max-width: 700px) {
  .feature-detail-section {
    padding: 18px 18px 60px;
  }

  .feature-detail-heading {
    margin-bottom: 30px;
  }

  .feature-detail-heading h2 {
    font-size: 34px;
  }

  .feature-detail-heading p {
    font-size: 15px;
  }

  .feature-detail-grid {
    grid-template-columns: 1fr;
  }

  .feature-detail-card {
    min-height: 330px;
  }
}

/* Light feature presentation */
.features-showcase {
  color: #070d2e;
  background:
    radial-gradient(circle at 50% 12%, rgba(142, 109, 255, 0.15), transparent 29%),
    radial-gradient(circle at 10% 70%, rgba(172, 155, 255, 0.13), transparent 28%),
    linear-gradient(140deg, #faf9ff 0%, #f5f3ff 54%, #f9f8ff 100%);
}

.features-label {
  color: #5430eb;
  border: 2px solid rgba(100, 75, 247, 0.15);
  background: transparent;
}

.features-showcase h2 {
  background: linear-gradient(90deg, #080f31 18%, #5432ec 45%, #5123ef 86%);
  background-clip: text;
  -webkit-background-clip: text;
}

.features-showcase h2 span {
  color: #070d2e;
  -webkit-text-fill-color: #070d2e;
}

.showcase-card {
  color: #070d2e;
  border-color: rgba(71, 57, 147, 0.06);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 42px rgba(68, 50, 160, 0.08);
}

.showcase-heading-icon {
  color: #5834f4;
  background: #f0ecff;
  box-shadow: none;
}

.showcase-center-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.68), transparent 6%),
    linear-gradient(145deg, #d7ccff, #bea9ff 52%, #e4dcff 100%);
}

.medicine-showcase-card img,
.voice-showcase-card img,
.ask-showcase-card > img {
  filter: none;
}

.ask-showcase-heading p {
  color: #4d5270;
}

.ask-prompt {
  color: #5428e8;
  border-color: transparent;
  background: linear-gradient(145deg, #fbfaff, #f0ecff);
  box-shadow: 0 13px 28px rgba(77, 54, 184, 0.09);
}

.family-connection-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #080811;
}

.family-connection-section img {
  display: block;
  width: 100%;
  height: auto;
}

.family-connection-copy {
  position: absolute;
  top: 18%;
  left: 30.7%;
  width: 39%;
  color: #090c2f;
  font-family: "Outfit", sans-serif;
  letter-spacing: 1px;
}

.family-connection-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.1vw, 70px);
  font-weight: 500;
  line-height: 1.08;
}

.family-connection-copy h2 strong {
  font-size: inherit;
  font-weight: 600;
}

.family-connection-copy h2 span {
  color: #5527d5;
  background: linear-gradient(90deg, #3120b8, #7335eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.family-connection-copy i {
  display: block;
  width: 72px;
  height: 4px;
  margin: 26px 0 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5f2df0, #a46cff);
}

.family-connection-copy p {
  margin: 0;
  color: #111536;
  font-size: clamp(16px, 1.55vw, 27px);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .family-connection-section img {
    width: 178%;
    max-width: none;
    margin-left: -39%;
  }

  .family-connection-copy {
    top: 16%;
    left: 12%;
    width: 76%;
    text-align: center;
  }

  .family-connection-copy h2 {
    font-size: clamp(30px, 9vw, 46px);
  }

  .family-connection-copy i {
    width: 54px;
    margin: 18px auto;
  }

  .family-connection-copy p {
    font-size: 14px;
  }
}

.story-scroll {
  position: relative;
  height: 1500vh;
  background: #f6f4ff;
}

.story-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f6f4ff;
}

.story-scroll-sticky::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(130px, 20vh, 220px);
  opacity: var(--story-blend-opacity, 1);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse at 76% 0%, rgba(224, 218, 255, 0.34) 0%, transparent 62%),
    linear-gradient(180deg, rgba(246, 244, 255, 0.42) 0%, rgba(246, 244, 255, 0.2) 34%, rgba(246, 244, 255, 0) 100%);
  transition: opacity 100ms linear;
}

.story-scroll-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.story-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  letter-spacing: 1px;
}

.story-beat {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #080e38;
  transition: opacity 120ms linear;
  will-change: opacity, transform;
}

.story-beat h2 {
  margin: 0 0 22px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 500;
}

.story-beat h2 span {
  color: #6c50f2;
}

.story-beat p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.story-beat-center {
  align-items: center;
  padding: 0 32vw;
  text-align: center;
}

.story-beat-left {
  align-items: flex-start;
  padding-left: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
  text-align: left;
}

.story-beat-dark {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.story-beat-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.story-beat-dark h2,
.story-beat-dark > p,
.story-beat-dark > div:not(.story-info-rail),
.story-beat-dark > aside {
  position: relative;
  z-index: 1;
}

.story-beat-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 9, 24, 0.76) 0%, rgba(2, 9, 24, 0.3) 34%, transparent 57%);
}

.story-svg-icon {
  display: inline-grid;
  place-items: center;
}

.story-svg-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-location-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #554a8e;
}

.story-beat-locations {
  justify-content: flex-end;
  padding: 0 max(10px, calc((100vw - var(--page-max)) / 2)) clamp(76px, 11vh, 110px);
}

.story-beat-locations .story-location-row span {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid rgba(158, 132, 255, 0.78);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(19, 12, 64, 0.96), rgba(38, 21, 89, 0.94));
  box-shadow: 0 5px 16px rgba(30, 16, 91, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.story-location-row svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-reference-center {
  padding-right: 31vw;
  padding-left: 31vw;
}

.story-reference-center h2,
.story-reference-light h2,
.story-reference-search h2,
.story-reference-hospital h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 3.4vw, 54px);
  line-height: 1.12;
}

.story-reference-center p,
.story-reference-light p {
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
}

.story-location-label {
  position: absolute;
  bottom: 17%;
  z-index: 3;
  padding: 7px 13px;
  border: 1px solid rgba(151, 121, 255, 0.78);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, rgba(16, 12, 51, 0.96), rgba(66, 37, 132, 0.94));
  box-shadow: 0 5px 18px rgba(61, 37, 177, 0.24);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.story-location-mum {
  left: 1.2%;
}

.story-location-son {
  right: 1.2%;
}

.story-reference-rule {
  width: 70px;
  height: 3px;
  margin: 28px 0 30px;
  display: block;
  border-radius: 99px;
  background: #7254f3;
  box-shadow: 0 0 12px rgba(114, 84, 243, 0.24);
}

.story-reference-light {
  max-width: 100%;
  padding-right: 58vw;
}

.story-reference-son {
  justify-content: flex-start;
  padding-top: clamp(150px, 22vh, 220px);
  padding-left: max(6vw, calc((100vw - var(--page-max)) / 2));
}

.story-reference-light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(246, 244, 255, 0.98) 0%, rgba(246, 244, 255, 0.9) 31%, rgba(246, 244, 255, 0) 58%);
}

.story-reference-search,
.story-reference-hospital {
  padding: 0;
  justify-content: flex-start;
  align-items: flex-start;
}

.story-reference-search::before,
.story-reference-hospital::before {
  background: linear-gradient(90deg, rgba(2, 9, 24, 0.82) 0%, rgba(2, 9, 24, 0.24) 42%, rgba(2, 9, 24, 0.15) 100%);
}

.story-search-content {
  position: absolute;
  top: 8.5%;
  left: max(5.3vw, calc((100vw - var(--page-max)) / 2));
  width: min(470px, 35vw);
}

.story-reference-search h2 {
  font-size: clamp(28px, 2.5vw, 42px);
}

.story-query,
.story-result,
.story-uncertain-card,
.story-question-rail > div {
  border: 1px solid rgba(178, 167, 255, 0.25);
  background: rgba(16, 27, 48, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.story-query {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  font-size: 15px;
}

.story-query span {
  color: #947cff;
}

.story-query b {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.56);
  font-size: 22px;
}

.story-result {
  position: relative;
  margin: 12px 10px 0;
  padding: 11px 14px 22px;
  border: 0;
  border-radius: 9px;
}

.story-result-document p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-result-document p b {
  width: 58px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #b8acf8;
  background: rgba(255, 255, 255, 0.08);
}

.story-result-audio p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-result-audio p i {
  height: 16px;
  flex: 1;
  background: repeating-linear-gradient(90deg, #8b7cb9 0 2px, transparent 2px 5px);
  mask-image: linear-gradient(180deg, transparent, #000 45%, #000 55%, transparent);
}

.story-result-audio p em {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-style: normal;
}

.story-result strong {
  color: #65ce83;
  font-size: 12px;
  font-weight: 500;
}

.story-result p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.story-result small {
  position: absolute;
  right: 12px;
  bottom: 7px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.story-uncertain-card {
  position: absolute;
  top: 17.5%;
  right: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
  width: 300px;
  padding: 20px 24px;
  border-radius: 14px;
}

.story-uncertain-card::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: min(26vw, 390px);
  border-top: 1px dashed rgba(130, 95, 245, 0.65);
}

.story-uncertain-card strong {
  display: block;
  margin-bottom: 10px;
  color: #9d82ff;
  font-size: 17px;
  font-weight: 500;
}

.story-uncertain-card strong b {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #0d1530;
  background: #8c6df6;
  font-size: 13px;
}

.story-uncertain-card p {
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.story-hospital-call {
  position: absolute;
  top: 32%;
  left: max(4vw, calc((100vw - var(--page-max)) / 2));
  width: min(430px, 36vw);
}

.story-hospital-call > strong {
  display: block;
  margin-bottom: 28px;
  font-size: 19px;
  font-weight: 500;
}

.story-hospital-call > strong span {
  color: #8168fa;
  font-size: 26px;
}

.story-hospital-call h2 {
  font-size: clamp(32px, 3vw, 50px);
}

.story-audio-strip {
  width: 330px;
  height: 58px;
  margin-top: 30px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 13px;
  background: rgba(74, 54, 201, 0.48);
}

.story-audio-strip b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #6951f0;
  font-size: 13px;
}

.story-audio-strip i {
  height: 24px;
  flex: 1;
  background: repeating-linear-gradient(90deg, #9d84ff 0 2px, transparent 2px 5px);
  mask-image: linear-gradient(180deg, transparent 8%, #000 42%, #000 58%, transparent 92%);
}

.story-audio-strip time {
  font-size: 13px;
}

.story-question-rail {
  position: absolute;
  top: 19%;
  right: max(3vw, calc((100vw - var(--page-max)) / 2));
  width: 330px;
  display: grid;
  gap: 52px;
  transform: none;
}

.story-question-rail > div {
  position: relative;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 13px;
}

.story-question-rail > div::before {
  content: "";
  position: absolute;
  right: 100%;
  width: min(12vw, 170px);
  border-top: 1px dashed rgba(112, 80, 235, 0.6);
}

.story-question-rail > div > b {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #654df0;
}

.story-question-rail svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-question-rail p {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.story-question-rail strong {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.story-question-rail small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.45;
}

.story-question-rail em {
  color: #a58cff;
  font-style: normal;
}

.story-reference-search-final {
  padding: 0 max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
  justify-content: center;
  align-items: flex-start;
}

.story-reference-search-final::before {
  background: linear-gradient(90deg, rgba(2, 9, 24, 0.84) 0%, rgba(2, 9, 24, 0.28) 42%, rgba(2, 9, 24, 0.5) 100%);
}

.story-final-content {
  width: min(390px, 33vw);
}

.story-final-content h2 {
  margin: 0;
  font-size: clamp(36px, 3.3vw, 54px);
  line-height: 1.08;
  font-weight: 400;
}

.story-final-content p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.55;
}

.story-final-query {
  width: 350px;
  height: 64px;
  margin-top: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 32px;
  background: rgba(25, 34, 57, 0.9);
}

.story-final-query .story-svg-icon {
  color: #8d75ff;
}

.story-final-query strong {
  flex: 1;
  font-size: 16px;
  font-weight: 400;
}

.story-final-query b {
  font-size: 25px;
  font-weight: 300;
}

.story-final-rail {
  position: absolute;
  top: 20%;
  right: max(4vw, calc((100vw - var(--page-max)) / 2));
  width: 280px;
}

.story-final-rail > div {
  min-height: 92px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.story-final-rail .story-svg-icon,
.story-final-time span {
  color: #9580ff;
}

.story-final-rail p {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-final-rail strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.story-final-rail small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.45;
}

.story-final-rail em {
  color: #ff5d6f;
  font-size: 12px;
  font-style: normal;
}

.story-final-time {
  min-height: 54px !important;
  color: #9580ff;
}

.story-final-time strong {
  color: #9580ff;
}

/* Exact infographic artwork supplied for story frames 6–8. */
.story-asset {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.story-asset-audio {
  position: relative;
  width: min(440px, 35vw);
  height: 64px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 32px;
}

.story-asset-audio img {
  position: absolute;
  top: -50px;
  left: -22px;
  width: 490px;
  max-width: none;
}

.story-asset-hospital {
  top: 10%;
  right: 2.5%;
  width: min(450px, 32vw);
}

.story-asset-results {
  position: relative;
  width: min(520px, 38vw);
  margin-top: 12px;
  margin-left: -18px;
}

.story-asset-unsure {
  top: 16%;
  right: 4.2%;
  width: min(345px, 24vw);
}

.story-final-content {
  position: relative;
}

.story-asset-call-search {
  top: 53%;
  left: -32px;
  width: 465px;
}

.story-asset-activity {
  top: 13%;
  right: 4.5%;
  width: min(390px, 27vw);
}

.story-medicine-card,
.story-appointment-chip {
  min-width: 320px;
  margin-top: 30px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(111, 80, 224, 0.12);
  border-radius: 18px;
  color: #171b42;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(65, 44, 146, 0.14);
  backdrop-filter: blur(14px);
  text-align: left;
}

.story-medicine-card > .story-svg-icon,
.story-appointment-chip > .story-svg-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  color: #724df0;
  background: #eee9ff;
}

.story-medicine-card div,
.story-appointment-chip div {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.story-medicine-card strong,
.story-appointment-chip strong {
  font-size: 15px;
  font-weight: 500;
}

.story-medicine-card small,
.story-appointment-chip small {
  color: #666b87;
  font-size: 12px;
}

.story-medicine-card b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #42af59;
}

.story-info-rail {
  position: absolute;
  top: 50%;
  right: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
  width: 300px;
  transform: translateY(-50%);
}

.story-call-rail {
  position: absolute;
  top: 50%;
  right: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
  width: 300px;
  transform: translateY(-50%);
}

.story-call-rail > div {
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.story-call-rail .story-svg-icon {
  color: #9880ff;
}

.story-call-rail p {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-call-rail strong {
  color: #a78fff;
  font-size: 15px;
  font-weight: 500;
}

.story-call-rail small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.story-info-rail > div {
  padding: 19px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.story-info-rail .story-svg-icon {
  color: #9880ff;
}

.story-info-rail p {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-info-rail strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
}

.story-info-rail small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.story-beat-split::before {
  background: linear-gradient(90deg, rgba(2, 9, 24, 0.7), transparent 32%, transparent 68%, rgba(2, 9, 24, 0.7));
}

.story-search-pill {
  width: 350px;
  height: 64px;
  margin-top: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 32px;
  color: #fff;
  background: rgba(24, 32, 55, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.story-search-pill b {
  color: #8a72ff;
  font-size: 27px;
}

.story-search-pill span {
  flex: 1;
  font-size: 17px;
}

.story-search-pill i {
  font-size: 24px;
  font-style: normal;
}

.story-beat-split {
  padding: 0 max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.story-beat-split > div {
  width: 30%;
}

.story-beat-split > div:last-child {
  text-align: right;
}

.story-beat-call {
  width: 100%;
  right: 0;
  padding-left: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
}

.story-call-time {
  margin-bottom: 22px;
  color: #9b85ff;
  font-size: 18px;
}

.story-call-card {
  width: 370px;
  min-height: 74px;
  margin-bottom: 14px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 18px;
  background: rgba(24, 34, 59, 0.9);
  box-shadow: 0 17px 36px rgba(0, 0, 0, 0.16);
}

.story-call-card span,
.story-call-card i {
  color: #8d76ff;
  font-size: 25px;
  font-style: normal;
}

.story-call-card strong {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
}

.story-call-card time {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.story-call-card.missed span {
  color: #ff5b70;
}

.story-call-card.callback strong {
  color: #9b85ff;
}

@media (max-width: 760px) {
  .story-location-label {
    bottom: 14%;
    padding: 6px 10px;
    font-size: 11px;
  }

  .story-reference-center {
    padding: 76px 22px 0;
  }

  .story-reference-light,
  .story-reference-search,
  .story-reference-hospital {
    padding: 74px 22px 0;
  }

  .story-reference-light::before {
    background: linear-gradient(180deg, rgba(246, 244, 255, 0.96) 0%, rgba(246, 244, 255, 0.76) 48%, rgba(246, 244, 255, 0) 78%);
  }

  .story-search-content,
  .story-hospital-call {
    width: min(100%, 390px);
  }

  .story-uncertain-card,
  .story-question-rail,
  .story-final-rail {
    display: none;
  }

  .story-asset-hospital,
  .story-asset-unsure,
  .story-asset-activity {
    display: none;
  }

  .story-asset-results {
    width: min(440px, 108vw);
    margin-left: -20px;
  }

  .story-asset-audio {
    width: min(360px, 88vw);
  }

  .story-asset-call-search {
    left: -24px;
    width: min(430px, 112vw);
  }

  .story-result:nth-of-type(n+4) {
    display: none;
  }

  .story-audio-strip {
    width: min(100%, 330px);
  }

  .story-beat-center {
    justify-content: flex-start;
    padding: 90px 24px 0;
  }

  .story-beat h2 {
    font-size: 38px;
  }

  .story-beat p {
    font-size: 15px;
  }

  .story-beat-left,
  .story-beat-call {
    justify-content: flex-start;
    width: 100%;
    padding: 80px 24px 0;
  }

  .story-beat-split {
    padding: 70px 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }

  .story-beat-split > div {
    width: 100%;
  }

  .story-beat-split > div:last-child {
    text-align: left;
  }

  .story-search-pill,
  .story-call-card {
    width: min(100%, 350px);
  }

  .story-location-row,
  .story-medicine-card,
  .story-appointment-chip {
    min-width: 0;
    width: min(100%, 340px);
  }

  .story-info-rail {
    display: none;
  }

  .story-call-rail {
    display: none;
  }
}

/* ── FAQ Section ────────────────────────────────────────────────────────────── */

.faq-section {
  position: relative;
  padding: clamp(80px, 10vh, 130px) var(--page-gutter);
  background: #f6f4ff;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(114, 77, 245, 0.08);
  filter: blur(100px);
  pointer-events: none;
}

.faq-inner {
  position: relative;
  z-index: 1;
  width: min(var(--page-max), 100%);
  max-width: 880px;
  margin: 0 auto;
}

.faq-heading {
  text-align: center;
  margin-bottom: clamp(40px, 5vh, 64px);
}

.faq-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, sans-serif;
}

.faq-heading p {
  margin: 0;
  color: #4c5174;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  font-family: "Outfit", ui-sans-serif, sans-serif;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(114, 77, 245, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 320ms ease, box-shadow 320ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item:hover {
  border-color: rgba(114, 77, 245, 0.24);
  box-shadow: 0 6px 20px rgba(114, 77, 245, 0.08);
  transform: translateY(-1px) scale(1.004);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item:hover {
    transform: none;
  }
}

.faq-item[open] {
  border-color: rgba(114, 77, 245, 0.22);
  box-shadow: 0 8px 32px rgba(114, 77, 245, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.5px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 180ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(114, 77, 245, 0.08);
  color: var(--violet);
  font-size: 20px;
  font-weight: 300;
  transition: transform 280ms ease, background 220ms ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(114, 77, 245, 0.15);
}

.faq-item summary:hover {
  color: var(--violet);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
  border-radius: 20px;
}

.faq-answer {
  padding: 0 28px 24px;
  animation: faqSlideIn 300ms ease;
}

.faq-answer p {
  margin: 0;
  color: #4c5174;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.72;
  letter-spacing: 0.3px;
}

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

/* ── FAQ Section Mobile ──────────────────────────────────────────────────────── */

@media (max-width: 700px) {
  .faq-section {
    padding: 64px var(--page-gutter);
  }

  .faq-item summary {
    padding: 18px 20px;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }
}

.contact-visual-section {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: #080d39;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  letter-spacing: 1px;
  background: #aaa4f5 url("assets/contact-background-hd.png") center center / cover no-repeat;
}

.contact-visual-section::after {
  content: none;
}

.contact-visual-inner {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100% - 10vw));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(350px, 1fr) minmax(420px, 0.92fr) minmax(190px, 0.52fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
}

.contact-intro h2 {
  margin: 0 0 24px;
  font-size: clamp(50px, 5vw, 72px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 1px;
}

.contact-intro p {
  margin: 0;
  color: #4c5174;
  font-size: 20px;
  line-height: 1.55;
}

.contact-accent {
  display: block;
  width: 104px;
  height: 3px;
  margin-top: 26px;
  border-radius: 99px;
  background: linear-gradient(90deg, #fff, #7248ff);
  box-shadow: 0 0 13px rgba(104, 67, 255, 0.34);
}

.contact-form {
  padding: 38px 40px 40px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54), 0 24px 54px rgba(75, 56, 180, 0.14);
  backdrop-filter: blur(18px);
}

.contact-form label {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
}

.contact-form .field-optional {
  font-weight: 400;
  opacity: 0.65;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0 0 22px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 17px;
  outline: none;
  color: #111536;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  font: 400 15px/1.4 "Outfit", sans-serif;
  letter-spacing: 1px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input {
  height: 58px;
}

.contact-form textarea {
  height: 126px;
  padding-top: 17px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #737895;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(100, 65, 246, 0.54);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(101, 65, 246, 0.1);
}

.contact-form button {
  height: 62px;
  border: 0;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  background: linear-gradient(100deg, #4a2cff, #7140f4);
  box-shadow: 0 14px 30px rgba(76, 42, 226, 0.26);
  font: 500 17px/1 "Outfit", sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
}

.contact-form button span {
  font-size: 25px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.contact-form button:hover span {
  transform: translateX(5px);
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.contact-form button:disabled span {
  transform: none;
}

.contact-form__status {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  color: #080d39;
}

.contact-form__status.is-error {
  color: #c91b1b;
}

.contact-form__status.is-success {
  color: #0f6e2b;
}

.contact-form.is-sent label,
.contact-form.is-sent input,
.contact-form.is-sent textarea {
  opacity: 0.6;
  pointer-events: none;
}

.contact-butterfly-space {
  width: 250px;
  height: 330px;
}

.site-footer {
  min-height: 116px;
  padding: 30px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #e9e5ff;
  background: #070812;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  letter-spacing: 1px;
}

.site-footer span {
  color: #8e73ff;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 5px;
}

.site-footer p {
  margin: 0;
  color: #aaa7bd;
  font-size: 14px;
}

@media (max-width: 700px) {
  .story-scroll {
    height: 1200vh;
  }

  .story-scroll-sticky {
    min-height: 520px;
  }

  .story-scroll-video {
    object-fit: contain;
  }

  .contact-visual-section {
    min-height: 0;
    padding: 76px 22px 64px;
  }

  .contact-visual-inner {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-intro h2 {
    font-size: 44px;
  }

  .contact-intro p {
    font-size: 16px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-visual-section {
    background-position: 66% center;
  }

  .contact-butterfly-space {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-scroll {
    height: 1500vh;
  }

}

/* Final consistency overrides */
.site-header,
.care-section-inner,
.features-showcase-inner,
.feature-detail-heading,
.feature-detail-grid,
.contact-visual-inner {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  padding-right: 0;
  padding-left: 0;
}

.hero-copy {
  left: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
}

.care-section,
.features-showcase,
.feature-detail-section {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.care-section-inner,
.features-showcase-inner,
.feature-detail-grid {
  width: 100%;
}

.care-section h2,
.features-showcase h2,
.feature-detail-heading h2,
.contact-intro h2 {
  font-size: var(--section-title-size);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-copy p,
.care-section-heading > p,
.feature-detail-heading p,
.contact-intro p {
  font-size: var(--section-copy-size);
  line-height: 1.6;
  letter-spacing: 1px;
}

.care-card h3,
.showcase-card h3,
.ask-showcase-heading h3,
.feature-detail-copy h2 {
  font-size: var(--card-title-size);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 1px;
}

.care-card p,
.ask-showcase-heading p,
.feature-detail-copy p {
  font-size: var(--card-copy-size);
  line-height: 1.5;
  letter-spacing: 1px;
}

.feature-detail-heading {
  max-width: 900px;
}

@media (max-width: 760px) {
  .site-header,
  .care-section-inner,
  .features-showcase-inner,
  .feature-detail-heading,
  .feature-detail-grid,
  .contact-visual-inner {
    width: 100%;
  }

  .hero-copy {
    left: var(--page-gutter);
    right: var(--page-gutter);
  }

  .hero-copy h1 {
    font-size: 48px;
    line-height: 1.04;
  }

  .care-section,
  .features-showcase,
  .feature-detail-section,
  .contact-visual-section {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }
}

@media (min-width: 761px) {
  .contact-visual-inner {
    grid-template-columns: minmax(360px, 0.9fr) minmax(450px, 1fr) 90px;
    gap: clamp(32px, 3vw, 52px);
  }
}

/* Equal contact-section outer alignment */
@media (min-width: 761px) {
  .contact-visual-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(54px, 7vw, 108px);
  }

  .contact-butterfly-space {
    display: none;
  }
}

/* Precisely fit the live app UI inside the photographed phone display. */
.showcase-center-card .showcase-phone {
  top: 30px;
  right: 106px;
  width: 286px;
  height: 550px;
  overflow: hidden;
  transform: scale(0.8);
  border-radius: 36px;
}

/* Family care companion feature */
.companion-feature {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  color: #090e36;
  background: #f8f6ff url("assets/companion-feature-background.png") center center / cover no-repeat;
  font-family: "Outfit", ui-sans-serif, sans-serif;
  letter-spacing: 1px;
}

.companion-feature-inner {
  position: relative;
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  min-height: 900px;
  margin: 0 auto;
}

.companion-feature-copy {
  position: relative;
  z-index: 6;
  padding-top: 24px;
  text-align: center;
}

.companion-kicker {
  display: inline-flex;
  padding: 10px 24px;
  border-radius: 999px;
  color: #383d5b;
  background: rgba(244, 241, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(111, 76, 237, 0.05);
  font-size: 14px;
}

.companion-feature h2 {
  margin: 0 0 14px;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 1px;
}

.companion-feature h2 span {
  color: transparent;
  background: linear-gradient(90deg, #7148e7, #8a55e9);
  background-clip: text;
  -webkit-background-clip: text;
}

.companion-feature-copy > p {
  margin: 0 0 18px;
  color: #5a6077;
  font-size: 18px;
  line-height: 1.55;
}

.companion-feature-button {
  min-width: 228px;
  height: 50px;
  gap: 18px;
  border-radius: 999px;
  font-size: 17px;
}

.companion-feature-button span {
  font-size: 23px;
}

.companion-phone {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -115px;
  width: 535px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 35px rgba(69, 48, 161, 0.18));
}

.companion-float-card {
  position: absolute;
  z-index: 5;
  min-width: 230px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(112, 83, 205, 0.06);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(83, 61, 166, 0.12);
  backdrop-filter: blur(12px);
}

.companion-float-card strong {
  font-size: 15px;
  font-weight: 500;
}

.companion-float-card p {
  margin: 3px 0 0;
  color: #1b2040;
  font-size: 13px;
  line-height: 1.45;
}

.companion-float-card p span {
  color: #f12a58;
}

.companion-float-card i {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6d43ef;
}

.companion-card-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 28px;
  font-weight: 500;
}

.companion-heart-icon {
  color: #f1245d;
  background: #ffe8f0;
}

.companion-calendar-icon {
  color: #246fe7;
  background: #e8f3ff;
}

.companion-calendar-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.companion-family-icon {
  color: #7a46ed;
  background: #f0eaff;
}

.companion-health-card {
  left: 8%;
  top: 365px;
}

.companion-appointment-card {
  right: 8%;
  top: 330px;
}

.companion-family-card {
  right: 3%;
  top: 575px;
}

@media (max-width: 900px) {
  .companion-feature,
  .companion-feature-inner {
    min-height: 960px;
  }

  .companion-feature h2 {
    font-size: 44px;
  }

  .companion-phone {
    bottom: -80px;
    width: 470px;
  }

  .companion-health-card { left: 0; top: 390px; }
  .companion-appointment-card { right: 0; top: 350px; }
  .companion-family-card { right: 0; top: 610px; }
}

@media (max-width: 620px) {
  .companion-feature,
  .companion-feature-inner {
    min-height: 900px;
  }

  .companion-feature-inner {
    width: calc(100% - 40px);
  }

  .companion-feature-copy {
    padding-top: 26px;
  }

  .companion-kicker {
    font-size: 12px;
  }

  .companion-feature h2 {
    margin-top: 20px;
    font-size: 38px;
  }

  .companion-feature-copy > p {
    font-size: 15px;
  }

  .companion-feature-copy > p br {
    display: none;
  }

  .companion-phone {
    bottom: -35px;
    width: 370px;
  }

  .companion-float-card {
    min-width: 185px;
    padding: 12px;
    transform: scale(0.82);
  }

  .companion-health-card { left: -35px; top: 430px; }
  .companion-appointment-card { right: -45px; top: 380px; }
  .companion-family-card { right: -46px; top: 595px; }
}

.showcase-center-card .showcase-phone-screen {
  overflow: hidden;
  border-radius: 36px;
}

@media (max-width: 760px) {
  .showcase-center-card .showcase-phone {
    top: 31px;
    right: 106px;
    transform: scale(0.8);
  }
}

/* Consolidated responsive layout
   Keep these rules last so older component-specific breakpoints cannot
   accidentally restore desktop dimensions on tablets and phones. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

@media (max-width: 1100px) {
  :root {
    --page-gutter: clamp(24px, 5vw, 52px);
  }

  .hero {
    min-height: 1340px;
    background-size: auto 100%;
    background-position: center top;
  }

  .site-header {
    width: calc(100% - (var(--page-gutter) * 2));
    height: 84px;
    padding: 0;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-copy {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: calc(100% - (var(--page-gutter) * 2));
    max-width: 760px;
    margin: 76px auto 0;
  }

  .hero-copy h1,
  .hero-copy p {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(56px, 8vw, 74px);
  }

  .phone.hero-video-phone {
    top: 650px;
    right: auto;
    left: 50%;
    width: 330px;
    height: 678px;
    transform: translateX(-50%);
    transform-origin: top center;
  }

  .care-line {
    top: 680px;
    left: 50%;
    transform: translateX(-50%) scale(0.78);
    transform-origin: center;
  }

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

  .contact-visual-section {
    padding: 80px var(--page-gutter);
  }

  .contact-visual-inner {
    width: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
    gap: clamp(38px, 6vw, 70px);
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .contact-visual-inner {
    max-width: 680px;
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

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

  .contact-accent {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 22px;
  }

  .hero {
    min-height: 1190px;
  }

  .site-header {
    width: calc(100% - 40px);
    height: 76px;
  }

  .wordmark {
    margin: 0;
    font-size: 23px;
  }

  .button-small {
    width: auto;
    min-width: 132px;
    height: 40px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero-copy {
    width: calc(100% - 44px);
    margin-top: 54px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 12.2vw, 58px);
    line-height: 1.02;
  }

  .hero-copy h1 > span {
    white-space: normal;
  }

  .hero-copy p {
    margin: 24px 0 30px;
    font-size: 16px;
    line-height: 1.55;
  }

  .button-large {
    width: 205px;
    height: 56px;
    font-size: 16px;
  }

  .phone.hero-video-phone {
    top: 590px;
    width: min(292px, 76vw);
    height: min(600px, 156.2vw);
    border-radius: 46px;
  }

  .hero-phone-animation {
    border-radius: 46px;
  }

  .care-line {
    display: none;
  }

  .story-scroll-sticky {
    height: 100svh;
  }

  .story-scroll-video {
    max-width: none;
    object-fit: cover;
  }

  .story-beat h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .story-beat p {
    font-size: 14px;
  }

  .story-reference-center,
  .story-reference-light,
  .story-reference-search,
  .story-reference-hospital {
    padding-right: 22px;
    padding-left: 22px;
  }

  .story-reference-search-final {
    justify-content: flex-start;
    padding: clamp(90px, 12vh, 118px) 24px 40px;
  }

  .story-final-content {
    width: min(100%, 366px);
  }

  .story-final-content h2 {
    font-size: clamp(36px, 10vw, 43px);
    line-height: 1.08;
  }

  .story-final-content p {
    margin-top: 22px;
    font-size: 14px;
  }

  .story-asset-call-search {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 350px);
    margin-top: 28px;
  }

  .companion-feature,
  .companion-feature-inner {
    min-height: 860px;
  }

  .companion-feature-inner {
    width: calc(100% - 32px);
  }

  .companion-feature-copy {
    padding-top: 44px;
  }

  .companion-feature h2 {
    margin-top: 0;
    font-size: clamp(34px, 10vw, 42px);
  }

  .companion-phone {
    bottom: -18px;
    width: min(330px, 88vw);
  }

  .companion-float-card {
    min-width: 0;
    width: min(205px, 57vw);
    padding: 11px 12px;
    gap: 10px;
    transform: none;
  }

  .companion-card-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 23px;
  }

  .companion-float-card strong {
    font-size: 13px;
  }

  .companion-float-card p {
    font-size: 11px;
  }

  .companion-health-card {
    top: 410px;
    left: 0;
  }

  .companion-appointment-card {
    top: 500px;
    right: 0;
  }

  .companion-family-card {
    top: 610px;
    right: 0;
  }

  .feature-detail-section {
    padding: 54px 22px 64px;
  }

  .feature-detail-heading {
    margin-bottom: 28px;
  }

  .feature-detail-heading h2 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .feature-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .feature-detail-card {
    min-height: 300px;
    padding: 16px;
  }

  .feature-detail-visual {
    min-height: 196px;
  }

  .feature-detail-visual img {
    max-height: 196px;
  }

  .family-connection-section {
    min-height: 720px;
  }

  .family-connection-section > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
  }

  .family-connection-copy {
    top: 70px;
    left: 22px;
    width: calc(100% - 44px);
  }

  .family-connection-copy p br {
    display: none;
  }

  .contact-visual-section {
    min-height: 0;
    padding: 68px 22px 58px;
  }

  .contact-visual-inner {
    width: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .contact-intro h2 {
    font-size: clamp(40px, 11vw, 50px);
  }

  .contact-form {
    width: 100%;
    padding: 25px 20px;
    border-radius: 24px;
  }

  .contact-form input,
  .contact-form textarea {
    min-width: 0;
  }

  .site-footer {
    min-height: 136px;
    padding: 28px 22px;
  }
}

@media (max-width: 390px) {
  .button-small {
    min-width: 118px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .phone.hero-video-phone {
    top: 570px;
  }
}

/* Typography legibility pass */
.wordmark,
.button,
.contact-form button {
  font-weight: 500;
}

.feature-detail-copy p,
.site-footer p {
  font-size: 16px;
}

.story-location-label {
  font-size: 14px;
  font-weight: 500;
}

.companion-float-card strong {
  font-size: 16px;
  font-weight: 600;
}

.companion-float-card p {
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 760px) {
  .story-location-label {
    font-size: 13px;
  }

  .companion-float-card strong {
    font-size: 14px;
  }

  .companion-float-card p {
    font-size: 13px;
  }
}

/* Unified editorial type system */
body {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hero-copy h1,
.story-beat h2,
.companion-feature h2,
.feature-detail-heading h2,
.feature-detail-copy h2,
.family-connection-copy h2,
.contact-intro h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-copy p,
.story-beat p,
.companion-feature-copy > p,
.feature-detail-heading p,
.feature-detail-copy p,
.family-connection-copy p,
.contact-intro p,
.site-footer p {
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy p,
.companion-feature-copy > p,
.feature-detail-heading p,
.family-connection-copy p,
.contact-intro p {
  font-size: 18px;
  line-height: 1.6;
}

.nav-links,
.button,
.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form button {
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
  font-size: 16px;
  font-weight: 400;
}

@media (max-width: 760px) {
  .hero-copy p,
  .companion-feature-copy > p,
  .feature-detail-heading p,
  .family-connection-copy p,
  .contact-intro p {
    font-size: 16px;
    line-height: 1.55;
  }

  .feature-detail-copy p,
  .site-footer p {
    font-size: 15px;
  }

  .button-small {
    font-size: 14px;
  }
}

/* ---------------------------------------------------------------------------
   Consent banner
   Self-contained, fixed position so it never causes CLS.
   --------------------------------------------------------------------------- */
.consent-banner {
  position: fixed;
  z-index: 1000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  font-family: "Outfit", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #080d39;
}

.consent-banner__body {
  max-width: 720px;
  margin: 0 auto;
}

.consent-banner__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.consent-banner__text {
  margin: 0 0 18px;
  color: #4c5174;
  font-size: 15px;
  line-height: 1.55;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.consent-banner__actions--prefs {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.consent-banner__btn {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: 500 15px/1 "Outfit", sans-serif;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.consent-banner__btn:hover {
  transform: translateY(-1px);
}

.consent-banner__btn:focus-visible {
  outline: 3px solid #244cff;
  outline-offset: 2px;
}

.consent-banner__btn--primary {
  color: #fff;
  background: linear-gradient(100deg, #4a2cff, #7140f4);
  box-shadow: 0 6px 18px rgba(76, 42, 226, 0.22);
}

.consent-banner__btn--secondary {
  color: #080d39;
  background: #f0ecff;
  border: 1px solid rgba(76, 42, 226, 0.18);
}

.consent-banner__btn--text {
  color: #4c5174;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-banner__preferences {
  margin-top: 18px;
}

.consent-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.consent-preference__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.consent-preference__info strong {
  font-size: 16px;
  font-weight: 600;
}

.consent-preference__info span {
  font-size: 14px;
  color: #4c5174;
}

/* Toggle switch */
.consent-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex: 0 0 48px;
  cursor: pointer;
}

.consent-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.consent-toggle__slider {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: #d1d5db;
  transition: background 180ms ease;
}

.consent-toggle__slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 180ms ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.consent-toggle input:checked + .consent-toggle__slider {
  background: #244cff;
}

.consent-toggle input:checked + .consent-toggle__slider::before {
  transform: translateX(20px);
}

.consent-toggle input:focus-visible + .consent-toggle__slider {
  outline: 3px solid #244cff;
  outline-offset: 2px;
}

.consent-toggle input:disabled + .consent-toggle__slider {
  opacity: 0.6;
}

/* Footer cookie-settings link */
.cookie-settings {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa7bd;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-settings:hover {
  color: #fff;
}

.cookie-settings:focus-visible {
  outline: 2px solid #8e73ff;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .consent-banner {
    padding: 18px;
  }

  .consent-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .consent-banner__btn {
    width: 100%;
    justify-content: center;
  }

  .consent-preference {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner,
  .consent-banner__btn,
  .consent-toggle__slider,
  .consent-toggle__slider::before {
    transition: none;
  }
}
