:root {
  --brand: #4b47f5;
  --brand-dark: #312dd8;
  --ink: #101828;
  --muted: #667085;
  --line: #e8ecf4;
  --green: #20c997;
  --pink: #ef5f91;
  --orange: #ff914d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: inherit; text-decoration: none; }

.header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 850; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, var(--brand), #685df7);
  display: grid; place-items: center; color: #fff; font-size: 16px;
  box-shadow: 0 8px 20px rgba(75,71,245,.25);
}
nav { display: flex; gap: 34px; font-weight: 750; font-size: 14px; }
.download {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-weight: 850; padding: 15px 24px;
  box-shadow: 0 18px 36px rgba(75,71,245,.25);
}
.download.small { padding: 13px 20px; }

.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 42px 8% 32px;
  background: linear-gradient(90deg, #fff 0, #fff 55%, #f7f7ff 100%);
}
.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-flex;
  background: #eeeeff;
  color: var(--brand);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}
.eyebrow.center { margin: 0 auto 12px; display: flex; width: max-content; }
h1 { font-size: 54px; line-height: 1.03; margin: 30px 0 22px; letter-spacing: 0; }
h1 strong, h2 strong { color: var(--brand); }
p { color: var(--muted); line-height: 1.65; }
.hero-copy > p { font-size: 19px; max-width: 470px; }
.checks { list-style: none; padding: 10px 0 18px; margin: 0; display: grid; gap: 17px; font-weight: 760; }
.checks span {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--brand); color: #fff; margin-right: 14px;
}
.hero-button { font-size: 20px; min-width: 276px; height: 62px; }
.security { font-size: 14px; margin-top: 14px; }

.hero-phones { position: relative; min-height: 560px; }
.phone {
  width: 252px; height: 520px;
  border: 10px solid #161922; border-radius: 38px;
  background: #111; box-shadow: 0 24px 50px rgba(15,23,42,.24);
  position: absolute; overflow: hidden;
}
.phone.primary { left: 60px; top: 10px; z-index: 2; }
.phone.secondary { left: 330px; top: 40px; transform: rotate(-2deg); }
.notch {
  position: absolute; top: 0; left: 72px; width: 90px; height: 22px;
  background: #111; border-radius: 0 0 16px 16px; z-index: 3;
}
.screen { height: 100%; padding: 28px 16px 16px; background: #fff; }
.screen.blue { background: linear-gradient(180deg, var(--brand) 0 28%, #fff 28%); }
.time { font-size: 11px; color: #fff; margin: 0; }
.time.dark { color: #111; }
.screen h3 { color: #fff; margin: 12px 0 2px; }
.screen small { color: rgba(255,255,255,.9); }
.search, .map-search {
  height: 42px; border-radius: 12px; background: #fff; color: #98a2b3;
  display: flex; align-items: center; padding: 0 12px; margin: 14px 0; font-size: 12px;
}
.mini-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 12px 28px rgba(16,24,40,.08);
}
.mini-grid span { display: grid; place-items: center; color: var(--brand); font-size: 16px; }
.mini-grid b { font-size: 9px; color: #344054; margin-top: 4px; }
.screen h4 { font-size: 13px; margin: 18px 0 8px; }
.doctor {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px; margin: 8px 0;
}
.doctor i, .photo {
  font-style: normal; background: #eef2ff; color: var(--brand); font-weight: 900;
  border-radius: 12px; width: 34px; height: 34px; display: grid; place-items: center;
}
.doctor p { margin: 0; line-height: 1.2; flex: 1; }
.doctor small { display: block; color: #667085; font-size: 10px; }
.doctor em { font-style: normal; color: #f59e0b; font-size: 11px; }
.map, .map-shot {
  position: relative;
  background-color: #f8fafc;
  background-image: linear-gradient(45deg,#e5e7eb 1px,transparent 1px), linear-gradient(-45deg,#e5e7eb 1px,transparent 1px);
  background-size: 36px 36px;
}
.pin { position: absolute; color: var(--brand); font-size: 24px; text-shadow: 0 2px 0 #fff; }
.p1 { left: 70px; top: 135px; }
.p2 { right: 60px; top: 180px; }
.p3 { left: 120px; top: 240px; }
.p4 { right: 95px; top: 300px; }
.clinic {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: 0 18px 34px rgba(15,23,42,.12);
}
.clinic small { display: block; color: #667085; }
.clinic strong { color: #16a34a; }
.clinic button, .shot button {
  width: 100%; height: 42px; border: 0; border-radius: 9px;
  background: var(--brand); color: #fff; font-weight: 850; margin-top: 10px;
}

.section { padding: 62px 8%; text-align: center; }
h2 { font-size: 31px; line-height: 1.15; margin: 0 0 28px; }
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.benefits article {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 18px;
  box-shadow: 0 14px 30px rgba(16,24,40,.04); background: #fff;
}
.benefits h3 { font-size: 17px; margin: 14px 0 6px; }
.benefits p { font-size: 14px; margin: 0; }
.bubble { width: 58px; height: 58px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 28px; font-weight: 900; }
.purple { background: #ebe9ff; color: var(--brand); }
.green { background: #dcfce7; color: #16a34a; }
.pink { background: #ffe4ef; color: var(--pink); }
.blue { background: #e0edff; color: #2563eb; }
.orange { background: #ffeddc; color: var(--orange); }

.screenshots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; align-items: start; }
.shot {
  height: 370px; border: 8px solid #111827; border-radius: 30px;
  background: #fff; box-shadow: 0 22px 42px rgba(16,24,40,.16);
  padding: 24px 12px 12px; text-align: left; position: relative; overflow: hidden;
}
.shot:before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 18px; background: #111827; border-radius: 0 0 14px 14px;
}
.blue-shot { background: linear-gradient(180deg,var(--brand) 0 34%,#fff 34%); color: #fff; }
.blue-shot p, .blue-shot h3 { color: #fff; }
.profile-shot .photo { width: 100%; height: 120px; border-radius: 16px; background: linear-gradient(135deg,#e5e7eb,#c7d2fe); font-size: 34px; }
.profile-shot ul { padding: 0; list-style: none; font-size: 12px; }
.profile-shot li { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 10px 0; }
.favorites-shot h3, .soon-shot h3 { margin-top: 14px; }
.soon-shot { text-align: center; }
.calendar {
  height: 150px; border-radius: 18px; background: #f5f7ff; color: var(--brand);
  display: grid; place-items: center; font-weight: 900; margin: 32px 0;
}
.soon-shot button { background: #e5e7eb; color: #667085; }

.faq { max-width: 1100px; margin: auto; }
.faq details {
  display: inline-block; width: 45%; margin: 8px 10px; text-align: left;
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
  background: #fff; box-shadow: 0 12px 24px rgba(16,24,40,.04);
}
summary { font-weight: 800; cursor: pointer; }

.footer {
  display: grid; grid-template-columns: 1.4fr .7fr .7fr 1.2fr; gap: 46px;
  padding: 56px 8%; border-top: 1px solid var(--line); background: #fff;
}
.footer .brand { font-size: 26px; }
.footer p { max-width: 300px; }
.footer a { display: block; color: #475467; margin: 12px 0; }
.footer-cta { background: #f4f5ff; border-radius: 18px; padding: 24px; }
.footer-cta .download { display: inline-flex; color: #fff; margin-top: 4px; }

.legal-page { max-width: 920px; margin: 0 auto; padding: 72px 22px; }
.legal-page h1 { font-size: 42px; }
.legal-page h2 { font-size: 24px; text-align: left; margin-top: 34px; }
.legal-page p, .legal-page li { font-size: 16px; color: #475467; line-height: 1.75; }

@media (max-width: 980px) {
  .header { padding: 0 5%; height: auto; min-height: 82px; gap: 18px; flex-wrap: wrap; }
  .header nav { order: 3; width: 100%; justify-content: center; padding-bottom: 16px; }
  .hero { grid-template-columns: 1fr; padding: 38px 5%; }
  .hero-phones { min-height: 520px; }
  .phone.primary { left: 4%; }
  .phone.secondary { left: 44%; }
  .benefits, .screenshots { grid-template-columns: repeat(2, 1fr); }
  .faq details { width: 100%; margin: 8px 0; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav, .download.small { display: none; }
  h1 { font-size: 40px; }
  .hero { gap: 20px; }
  .hero-phones { min-height: 620px; transform: scale(.86); transform-origin: top left; }
  .phone.secondary { left: 220px; top: 78px; }
  .benefits, .screenshots, .footer { grid-template-columns: 1fr; }
  .section { padding: 46px 5%; }
  .footer { padding: 42px 5%; }
}
