*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.pending { visibility: hidden; }
body { margin: 0; overflow-x: hidden; color: #241245; background: #fff8e8; font-family: "Nunito", ui-rounded, system-ui, sans-serif; }
body.modalOpen { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
main { min-height: 100vh; overflow: clip; }
.patientShell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.ownerRibbon { position: relative; z-index: 30; padding: 10px 20px; color: white; background: #241245; text-align: center; font: 850 11px/1.3 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.patientNav { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 18px max(20px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid rgba(36,18,69,.08); background: rgba(255,248,232,.86); backdrop-filter: blur(20px); }
.eyespyWord { color: #5d1179; font-size: 30px; line-height: 1; font-weight: 950; letter-spacing: -1.5px; text-decoration: none; }
.eyespyWord span { color: #ee82c7; }
.ownerReturn { display: inline-flex; align-items: center; gap: 9px; color: rgba(36,18,69,.7); font: 850 13px/1.2 "DM Sans", sans-serif; text-decoration: none; }
.ownerReturn:hover { color: #5d1179; }
.patientHero { min-height: calc(100vh - 104px); display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 78px; padding-block: 74px 100px; }
.practiceGift { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; margin-bottom: 30px; padding: 10px 18px 10px 10px; border: 1px solid rgba(36,18,69,.1); border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: 0 12px 32px rgba(36,18,69,.06); }
.practiceGift [data-practice-logo] { width: 46px; height: 46px; border-radius: 15px; background: white; --practice-logo-font-size: 14px; }
.practiceGift span { font: 750 13px/1.35 "DM Sans", sans-serif; }
.practiceGift strong { display: block; color: var(--practice-primary, #5d1179); font-size: 15px; }
.eyebrow { margin: 0 0 17px; color: #5d1179; font: 900 12px/1.3 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 690px; margin-bottom: 24px; font-size: clamp(52px, 6.4vw, 88px); line-height: .94; letter-spacing: -.055em; font-weight: 930; }
h2 { margin-bottom: 24px; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.045em; font-weight: 920; }
h3 { font-size: 24px; line-height: 1.1; font-weight: 900; }
.heroLead { max-width: 650px; margin-bottom: 28px; color: rgba(36,18,69,.69); font: 19px/1.65 "DM Sans", sans-serif; }
.patientSafetyNote { max-width: 650px; margin: -8px 0 24px; padding: 14px 16px; border-left: 4px solid var(--practice-accent, #ee82c7); border-radius: 0 16px 16px 0; color: rgba(36,18,69,.68); background: rgba(255,255,255,.58); font: 13px/1.55 "DM Sans", sans-serif; }
.patientSafetyNote strong { color: #241245; }
.patientSafetyNote a { color: var(--practice-primary, #5d1179); font-weight: 850; }
.patientBenefits { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.patientBenefits span { padding: 10px 13px; border: 1px solid rgba(36,18,69,.1); border-radius: 999px; color: rgba(36,18,69,.7); background: rgba(255,255,255,.67); font: 800 11px/1 "DM Sans", sans-serif; }
.storeGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.storeChoice { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 0 18px; border: 0; border-radius: 23px; cursor: pointer; text-align: left; box-shadow: 0 16px 38px rgba(36,18,69,.13); transition: transform .2s ease, box-shadow .2s ease; }
.storeChoice:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(36,18,69,.18); }
.storeChoicePrimary { color: white; background: linear-gradient(135deg, #5d1179, #241245); }
.storeChoiceAqua { color: #241245; background: linear-gradient(135deg, #d8f5ec, #9bd9db); }
.storeChoice span:nth-child(2) { font-weight: 950; line-height: 1.2; }
.storeChoice small { display: block; margin-bottom: 3px; opacity: .64; font: 700 10px/1 "DM Sans", sans-serif; }
.storeSymbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.17); font-size: 12px; }
.previewMicrocopy { margin: 13px 0 0; color: rgba(36,18,69,.48); font: 750 11px/1.5 "DM Sans", sans-serif; }
.patientHeroVisual { position: relative; min-height: 710px; display: grid; place-items: center; }
.patientOrbit { position: absolute; border: 1px solid rgba(93,17,121,.14); border-radius: 50%; }
.patientOrbitOne { width: 600px; height: 600px; }
.patientOrbitTwo { width: 480px; height: 480px; border-color: rgba(2,154,238,.2); }
.patientPhone { position: relative; z-index: 2; width: min(100%, 370px); overflow: hidden; border: 7px solid #15101c; border-radius: 50px; background: #15101c; box-shadow: 0 48px 110px rgba(36,18,69,.27); transform: rotate(1deg); }
.patientPhone img { width: 100%; height: auto; }
.preparedFor { position: absolute; z-index: 4; right: 0; bottom: 13%; max-width: 250px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.75); border-radius: 19px; background: rgba(255,255,255,.88); box-shadow: 0 18px 46px rgba(36,18,69,.14); backdrop-filter: blur(16px); }
.preparedFor span { display: block; color: rgba(36,18,69,.48); font: 750 10px/1.3 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .09em; }
.preparedFor strong { color: var(--practice-primary, #5d1179); font-size: 17px; }
.utilitySection { padding: 115px 0; background: linear-gradient(145deg, #dff7ef, #f7deef); }
.sectionHeading { max-width: 820px; margin: 0 auto 58px; text-align: center; }
.sectionHeading p:last-child { max-width: 680px; margin-inline: auto; color: rgba(36,18,69,.65); font: 18px/1.65 "DM Sans", sans-serif; }
.utilityGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.utilityGrid article { min-height: 330px; padding: 34px; border: 1px solid rgba(255,255,255,.7); border-radius: 34px; background: rgba(255,255,255,.65); box-shadow: 0 22px 60px rgba(36,18,69,.08); }
.utilityIcon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 17px; color: white; background: linear-gradient(145deg, #5d1179, #ee82c7); font-size: 24px; }
.utilityGrid small { color: #5d1179; font: 900 10px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .11em; }
.utilityGrid h3 { margin: 12px 0 15px; }
.utilityGrid p { margin-bottom: 0; color: rgba(36,18,69,.64); font: 15px/1.65 "DM Sans", sans-serif; }
.installPreviewSection { padding: 120px 0; color: white; background: radial-gradient(circle at 12% 15%, rgba(238,130,199,.2), transparent 28rem), #241245; }
.installPreviewGrid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 86px; }
.installCopy .eyebrow { color: #9bd9db; }
.installCopy p { color: rgba(255,255,255,.66); font: 17px/1.65 "DM Sans", sans-serif; }
.practiceConnection { display: flex; align-items: center; gap: 13px; margin-top: 30px; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.07); }
.practiceConnection [data-practice-logo] { width: 52px; height: 52px; border-radius: 16px; background: white; --practice-logo-font-size: 16px; }
.practiceConnection div { min-width: 0; flex: 1; }
.practiceConnection small { display: block; color: rgba(255,255,255,.48); font: 700 10px "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.practiceConnection strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.practiceConnection > span { padding: 8px 10px; border-radius: 999px; color: #241245; background: #9bd9db; font: 900 9px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.qrPair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qrCard { display: grid; justify-items: center; min-height: 390px; padding: 28px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 34px; color: white; background: rgba(255,255,255,.08); cursor: pointer; box-shadow: 0 26px 70px rgba(0,0,0,.2); transition: transform .2s ease, background .2s ease; }
.qrCard:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.fakeQr { position: relative; width: 210px; max-width: 100%; aspect-ratio: 1; overflow: hidden; border: 12px solid white; border-radius: 24px; background-color: white; background-image: repeating-linear-gradient(0deg, transparent 0 13px, #241245 13px 20px), repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 11px, transparent 11px 19px); background-blend-mode: multiply; }
.fakeQrAndroid { background-image: repeating-linear-gradient(45deg, transparent 0 11px, #5d1179 11px 18px), repeating-linear-gradient(-45deg, rgba(255,255,255,.72) 0 13px, transparent 13px 21px); }
.fakeQr i { position: absolute; width: 48px; height: 48px; border: 8px solid #241245; background: white; box-shadow: inset 0 0 0 7px white, inset 0 0 0 16px #241245; }
.fakeQr i:nth-child(1) { top: 10px; left: 10px; }
.fakeQr i:nth-child(2) { top: 10px; right: 10px; }
.fakeQr i:nth-child(3) { bottom: 10px; left: 10px; }
.fakeQr b { position: absolute; inset: 50% auto auto 50%; width: 46px; height: 46px; border: 6px solid white; border-radius: 14px; background: linear-gradient(145deg, #5d1179, #ee82c7); transform: translate(-50%,-50%); }
.qrCard > strong { margin-top: 18px; font-size: 22px; }
.qrCard > small { color: rgba(255,255,255,.62); font: 12px/1.5 "DM Sans", sans-serif; }
.qrCard > em { align-self: end; padding: 8px 10px; border-radius: 999px; color: #241245; background: #9bd9db; font: 900 9px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .09em; font-style: normal; }
.privacySection { padding: 110px 0; }
.privacyCard { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: 68px; border: 2px solid #5d1179; border-radius: 46px; background: rgba(255,255,255,.55); }
.privacyCard h2 { margin-bottom: 0; }
.privacyCard > p { margin: 0; color: rgba(36,18,69,.68); font: 18px/1.7 "DM Sans", sans-serif; }
.patientReturnSection { padding: 110px 0; background: linear-gradient(145deg, #d9f5ed, #f7ddec); }
.patientReturnCard { display: grid; justify-items: center; max-width: 880px; text-align: center; }
.patientReturnCard > [data-practice-logo] { width: 82px; height: 82px; margin-bottom: 22px; border: 8px solid rgba(255,255,255,.72); border-radius: 28px; box-shadow: 0 14px 34px rgba(36,18,69,.13); --practice-logo-font-size: 24px; }
.patientReturnCard > p:not(.eyebrow) { max-width: 650px; color: rgba(36,18,69,.65); font: 17px/1.65 "DM Sans", sans-serif; }
.patientReturnButton { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 64px; margin-top: 22px; padding: 0 27px; border-radius: 999px; color: white; background: linear-gradient(110deg, #5d1179, #ee82c7); box-shadow: 0 18px 46px rgba(93,17,121,.21); font-weight: 950; text-decoration: none; }
footer { padding: 32px 0; color: white; background: #160c26; }
footer .patientShell { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
footer .eyespyWord { color: white; font-size: 24px; }
footer p { max-width: 670px; margin: 0; color: rgba(255,255,255,.45); font: 11px/1.55 "DM Sans", sans-serif; }
.activationModal[hidden] { display: none; }
.activationModal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.activationBackdrop { position: absolute; inset: 0; background: rgba(17,7,29,.72); backdrop-filter: blur(14px); }
.activationDialog { position: relative; width: min(100%, 680px); max-height: calc(100vh - 40px); overflow: auto; padding: 56px; border: 1px solid rgba(255,255,255,.75); border-radius: 42px; background: linear-gradient(145deg, #fffdf7, #e8f8f2); box-shadow: 0 44px 120px rgba(0,0,0,.35); animation: modalIn .35s cubic-bezier(.16,1,.3,1) both; }
.activationDialog h2 { font-size: clamp(38px, 5.4vw, 58px); }
.activationDialog > p:not(.eyebrow) { color: rgba(36,18,69,.68); font: 17px/1.65 "DM Sans", sans-serif; }
.activationClose { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #241245; background: rgba(36,18,69,.07); cursor: pointer; font-size: 27px; }
.activationFacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.activationFacts span { padding: 9px 11px; border-radius: 999px; color: #5d1179; background: rgba(238,130,199,.14); font: 850 10px/1 "DM Sans", sans-serif; }
.activationCta { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 24px; border-radius: 20px; color: white; background: linear-gradient(110deg, #5d1179, #ee82c7); font-weight: 950; text-decoration: none; }
.activationLater { width: 100%; margin-top: 13px; padding: 12px; border: 0; color: rgba(36,18,69,.58); background: transparent; cursor: pointer; font: 800 12px/1.3 "DM Sans", sans-serif; }
.patientGuard { max-width: 760px; margin: 14vh auto; padding: 40px; border-radius: 36px; background: white; text-align: center; }
.patientGuard a { display: inline-block; margin-top: 20px; padding: 14px 20px; border-radius: 999px; color: white; background: #5d1179; text-decoration: none; font-weight: 900; }
.pageEnterRight main { animation: pageEnterRight .48s cubic-bezier(.16,1,.3,1) both; }
.pageExitRight main { animation: pageExitRight .34s cubic-bezier(.55,0,1,.45) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes pageEnterRight { from { opacity: .18; transform: translateX(9vw) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes pageExitRight { to { opacity: .18; transform: translateX(9vw) scale(.985); } }

@media (max-width: 900px) {
  .patientHero, .installPreviewGrid, .privacyCard { grid-template-columns: 1fr; }
  .patientHero { gap: 20px; padding-top: 58px; }
  .patientHeroCopy { text-align: center; }
  .practiceGift { text-align: left; }
  .patientBenefits { justify-content: center; }
  .patientHeroVisual { min-height: 650px; }
  .utilityGrid { grid-template-columns: 1fr; }
  .utilityGrid article { min-height: 230px; }
  .utilityIcon { margin-bottom: 28px; }
  .installPreviewGrid { gap: 58px; }
  .privacyCard { gap: 32px; }
}

@media (max-width: 640px) {
  .patientShell { width: min(100% - 28px, 1160px); }
  .ownerRibbon { font-size: 9px; }
  .patientNav { padding-inline: 14px; }
  .eyespyWord { font-size: 27px; }
  .ownerReturn { font-size: 11px; }
  .ownerReturn > span[aria-hidden="true"] { display: none; }
  .patientHero { min-height: auto; padding-block: 50px 74px; }
  h1 { font-size: 50px; }
  h2 { font-size: 41px; }
  .heroLead { font-size: 17px; }
  .storeGrid { grid-template-columns: 1fr; }
  .patientHeroVisual { min-height: 600px; }
  .patientPhone { width: min(100%, 310px); border-width: 6px; border-radius: 42px; }
  .patientOrbitOne { width: 450px; height: 450px; }
  .patientOrbitTwo { width: 360px; height: 360px; }
  .preparedFor { right: 0; bottom: 9%; }
  .utilitySection, .installPreviewSection, .privacySection, .patientReturnSection { padding-block: 82px; }
  .utilityGrid article { padding: 28px; border-radius: 28px; }
  .qrPair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qrCard { min-height: 260px; padding: 14px 9px; border-radius: 24px; }
  .fakeQr { width: 130px; border-width: 7px; border-radius: 16px; }
  .fakeQr i { width: 31px; height: 31px; border-width: 5px; box-shadow: inset 0 0 0 4px white, inset 0 0 0 10px #241245; }
  .fakeQr b { width: 32px; height: 32px; }
  .qrCard > strong { margin-top: 10px; font-size: 17px; }
  .qrCard > small { font-size: 10px; }
  .privacyCard { padding: 38px 25px; border-radius: 34px; }
  footer .patientShell { flex-direction: column; text-align: center; }
  .activationDialog { padding: 48px 24px 28px; border-radius: 30px; }
}

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