:root {
  --navy: #292d63;
  --navy-dark: #20234d;
  --coral: #d95a54;
  --coral-soft: #f4d8d6;
  --white: #ffffff;
  --lavender: #eef1fa;
  --lavender-mid: #a8aed1;
  --muted: #626781;
  --line: #dfe4f3;
  --success: #14946c;
  --warning: #f2a33a;
  --shadow: 0 22px 58px rgba(32, 35, 77, 0.14);
  --radius: 8px;
  --shell: min(100% - 40px, 1180px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-dark);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.icon-large,
.note-icon,
.step-icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  flex: 0 0 auto;
}

.icon-large {
  width: 32px;
  height: 32px;
}

.step-icon {
  width: 72px;
  height: 72px;
  color: var(--navy);
}

.note-icon {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid rgba(217, 90, 84, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 228, 243, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--shell);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 180px;
  height: auto;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--navy-dark);
  font-size: 14px;
}

.nav-login {
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px auto;
  background: var(--navy);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 32px rgba(41, 45, 99, 0.22);
}

.button-coral {
  color: var(--white);
  background: var(--coral);
}

.button-ghost {
  color: var(--navy);
  background: var(--white);
  border-color: var(--lavender-mid);
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  align-items: center;
  gap: clamp(42px, 8vw, 116px);
  padding: 68px 0 30px;
  min-height: 760px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
}

.hero {
  position: relative;
}

.hero::before {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 120px;
  background: radial-gradient(circle, rgba(238, 241, 250, 0.94), transparent 68%);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -180px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(217, 90, 84, 0.08), transparent 72%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-note {
  max-width: 430px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 30px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(100%, 390px);
  padding: 14px;
  background: var(--navy);
  border-radius: 48px;
  box-shadow: var(--shadow);
}

.phone-screen {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #f8f9fd;
  border-radius: 36px;
}

.phone-notch {
  position: absolute;
  z-index: 3;
  width: 120px;
  height: 28px;
  top: 14px;
  left: 50%;
  background: var(--navy);
  border-radius: 0 0 16px 16px;
  transform: translateX(-50%);
}

.app-top {
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 26px 22px;
  color: var(--white);
  background: var(--navy);
}

.app-top img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.hamburger-icon,
.bell-dot {
  width: 20px;
  height: 20px;
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--white);
}

.hamburger-icon::before {
  top: 5px;
}

.hamburger-icon::after {
  top: 13px;
}

.bell-dot {
  border: 2px solid var(--white);
  border-radius: 50%;
}

.bell-dot::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.app-body {
  padding: 22px 22px 86px;
}

.app-hi {
  margin: 0;
  color: var(--navy-dark);
  font-size: 24px;
  font-weight: 950;
}

.app-sub {
  margin: 5px 0 18px;
  font-size: 13px;
  font-weight: 800;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.action-grid > div,
.attention-card,
.today-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(32, 35, 77, 0.07);
}

.action-grid > div {
  min-height: 146px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.action-grid strong {
  margin-top: 10px;
  color: var(--navy);
  font-size: 14px;
}

.action-grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.app-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 950;
}

.app-icon .icon {
  width: 28px;
  height: 28px;
}

.camera {
  background: #28a875;
}

.rx {
  background: var(--navy);
}

.attention-card,
.today-card {
  margin-top: 18px;
}

.card-head,
.attention-card p,
.today-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-head a {
  color: #3a55c3;
  font-size: 12px;
}

.attention-card p {
  margin: 14px 0 0;
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 800;
}

.status-alert {
  color: var(--coral);
}

.status-warning {
  color: var(--warning);
}

.today-card strong {
  display: block;
  margin-bottom: 10px;
}

.today-card p {
  flex: 1;
  margin: 0;
  font-size: 12px;
}

.today-card button {
  min-height: 38px;
  padding: 0 12px;
  color: #4057b2;
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--lavender-mid);
  border-radius: var(--radius);
}

.pill-bottle {
  width: 38px;
  height: 48px;
  background: linear-gradient(var(--navy) 0 18%, var(--coral) 18%);
  border-radius: 7px;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 66px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-size: 20px;
}

.bottom-nav .plus {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
  font-size: 30px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 10px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.feature-band article {
  text-align: center;
}

.feature-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--navy);
  background: var(--lavender);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 950;
}

.feature-band h2 {
  font-size: 18px;
}

.feature-band p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section-block {
  padding: 86px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 42px;
}

.step-card {
  position: relative;
  text-align: center;
}

.step-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 78px;
  right: -24px;
  color: var(--lavender-mid);
  font-size: 30px;
  font-weight: 900;
}

.step-art {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: var(--lavender);
  border-radius: 24px;
}

.step-card span,
.order-flow span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 950;
}

.step-card p,
.comparison-card p,
.partner-card li,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 44px;
  align-items: end;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.comparison-card,
.partner-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(32, 35, 77, 0.08);
}

.comparison-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: contain;
  object-position: center;
  background: var(--lavender);
}

.comparison-card h3 {
  padding: 22px;
}

.search-order {
  padding-bottom: 18px;
}

.order-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding: 24px;
  background: var(--lavender);
  border-radius: 22px;
}

.order-flow article {
  position: relative;
  padding: 24px 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.order-flow article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  z-index: 1;
  width: 34px;
  height: 2px;
  background: var(--lavender-mid);
}

.order-flow p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 42px;
  font-weight: 850;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}

.why-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 46px;
  background: var(--lavender);
  border-radius: 28px;
}

.why-visual img {
  width: 190px;
  filter: drop-shadow(0 24px 32px rgba(32, 35, 77, 0.18));
}

.orbit-card {
  position: absolute;
  max-width: 210px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(32, 35, 77, 0.11);
  font-weight: 900;
}

.top-left {
  left: 22px;
  top: 34px;
}

.top-right {
  right: 22px;
  top: 56px;
}

.bottom-left {
  left: 34px;
  bottom: 54px;
}

.bottom-right {
  right: 28px;
  bottom: 40px;
}

.security-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 84px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(32, 35, 77, 0.08);
}

.security-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.security-intro .eyebrow {
  margin-bottom: 8px;
}

.security-intro h2 {
  font-size: 22px;
}

.security-intro p,
.security-strip article p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.security-icon {
  width: 76px;
  height: 76px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
  background: var(--lavender);
  border-radius: 50%;
  font-size: 34px;
}

.security-strip article {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.partner-card {
  padding: 28px;
}

.partner-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 34px auto 0;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(32, 35, 77, 0.06);
}

.faq summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: var(--navy);
  font-weight: 950;
  cursor: pointer;
}

.faq summary::after {
  content: "+";
  font-size: 24px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0;
  padding: 0 22px 20px;
}

.download-cta {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 132px 260px;
  gap: 26px;
  align-items: center;
  margin-top: 86px;
  padding: 42px;
  color: var(--white);
  background: var(--navy);
  border-radius: 22px 22px 0 0;
}

.download-cta h2 {
  max-width: 560px;
}

.download-cta p {
  max-width: 440px;
  margin: 16px 0 0;
  line-height: 1.6;
}

.cta-logo {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
}

.cta-logo img {
  width: 72px;
  height: 74px;
}

.qr {
  width: 132px;
  height: 132px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
}

.qr span {
  background: var(--navy-dark);
}

.qr span:nth-child(2n),
.qr span:nth-child(7),
.qr span:nth-child(11),
.qr span:nth-child(14) {
  background: transparent;
}

.cta-buttons {
  display: grid;
  gap: 12px;
}

.footer {
  color: var(--white);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr 0.7fr 1fr;
  gap: 28px;
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 43px;
  border-radius: 12px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 22px;
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 15px;
}

.footer a {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.help-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.copyright {
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

@media (max-width: 1080px) {
  .nav-panel {
    gap: 16px;
    font-size: 13px;
  }

  .hero,
  .why {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

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

  .feature-band,
  .steps,
  .comparison-grid,
  .security-strip,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-cta {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .qr,
  .cta-buttons {
    grid-column: 2;
  }

  .order-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-flow article::after,
  .step-card::after {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 28px, 720px);
  }

  .nav {
    min-height: 74px;
  }

  .brand-logo {
    width: 154px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    inset: 74px 14px auto;
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 92px);
    padding: 18px;
    overflow: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel a,
  .nav-panel .button {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding-inline: 14px;
    border-radius: var(--radius);
  }

  .nav-panel a:not(.button) {
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 20px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 46px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .phone-frame {
    width: min(100%, 340px);
  }

  .phone-screen {
    min-height: 610px;
  }

  .feature-band,
  .steps,
  .comparison-grid,
  .split-heading,
  .order-flow,
  .why,
  .security-strip,
  .partner-grid,
  .download-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    margin-top: 26px;
    padding: 22px;
  }

  .section-block {
    padding-top: 64px;
  }

  .steps {
    gap: 34px;
  }

  .order-flow {
    padding: 16px;
  }

  .why-visual {
    min-height: auto;
    padding: 26px;
  }

  .why-visual img {
    width: 150px;
    margin: 30px 0;
  }

  .orbit-card {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 10px;
  }

  .security-strip article {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .download-cta {
    margin-top: 64px;
    padding: 28px;
  }

  .qr,
  .cta-buttons {
    grid-column: auto;
  }

  .qr {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 142px;
  }

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

  .phone-screen {
    min-height: 680px;
  }

  .app-body {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
