/* WeCura landing — production marketing system
   Typography inspired by Ramp/Linear (geometric sans). Brand: WeCura. */

:root {
  --brand: #427196;
  --brand-deep: #2f5470;
  --brand-mid: #5a8aab;
  --brand-soft: #eef3f7;
  --brand-line: rgba(66, 113, 150, 0.14);

  --coral: #ff6b4a;
  --coral-deep: #e5502f;
  --coral-soft: #fff0ec;

  --ink: #0f1c26;
  --ink-2: #243644;
  --muted: #5c6d7a;
  --muted-2: #8a9aa6;
  --line: rgba(15, 28, 38, 0.08);
  --line-strong: rgba(15, 28, 38, 0.12);

  --paper: #f6f8fa;
  --white: #ffffff;
  --surface: #eef2f5;
  --surface-2: #e4ebf1;

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --wrap: min(1180px, calc(100% - 48px));
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(15, 28, 38, 0.04), 0 4px 12px -6px rgba(15, 28, 38, 0.08);
  --shadow-md: 0 2px 4px rgba(15, 28, 38, 0.04), 0 16px 40px -20px rgba(15, 28, 38, 0.18);
  --shadow-lg: 0 8px 24px -12px rgba(15, 28, 38, 0.18), 0 32px 64px -28px rgba(47, 84, 112, 0.28);
  --shadow-glow: 0 24px 64px -28px rgba(66, 113, 150, 0.35), 0 8px 24px -12px rgba(15, 28, 38, 0.12);

  --navy: #0b1520;
  --navy-2: #121c28;
  --navy-line: rgba(255, 255, 255, 0.1);
  --navy-muted: rgba(232, 240, 247, 0.62);
  --navy-fg: #e8f0f7;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ——— Buttons ——— */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius) !important;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #ff7a5c 0%, var(--coral) 100%);
  color: #fff;
  border-color: var(--coral-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 1px 2px rgba(229, 80, 47, 0.18),
    0 8px 20px -10px rgba(255, 107, 74, 0.55);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ff6b4a 0%, var(--coral-deep) 100%);
  border-color: #d44628;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 2px rgba(229, 80, 47, 0.22),
    0 12px 28px -10px rgba(255, 107, 74, 0.65);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: 0 1px 2px rgba(15, 28, 38, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: rgba(15, 28, 38, 0.2);
  box-shadow: var(--shadow-sm);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(15, 28, 38, 0.28);
}

.site-nav {
  width: var(--wrap);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 28px;
  width: auto;
}
.logo-img--on-dark { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links > a:not(.nav-cta):not(.nav-signin) {
  padding: 8px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links > a:not(.nav-cta):not(.nav-signin):hover {
  color: var(--ink);
  background: rgba(15, 28, 38, 0.04);
}

.nav-signin {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius);
}
.nav-signin:hover { background: rgba(15, 28, 38, 0.04); }
.nav-signin.is-account { color: var(--brand); }

.nav-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.nav-cta {
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius) !important;
  background: linear-gradient(180deg, #1a2a36 0%, var(--ink) 100%);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 16px -8px rgba(15, 28, 38, 0.45);
  transition: background 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.nav-cta:hover {
  background: linear-gradient(180deg, #243644 0%, var(--brand-deep) 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 20px -10px rgba(15, 28, 38, 0.5);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

/* Lang switcher (mounted by i18n.js) */
.lang-switch {
  position: relative;
  margin-left: 4px;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  min-width: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.lang-switch__btn:hover { border-color: var(--line-strong); }
.lang-switch__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 140px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 60;
}
.lang-switch__menu li {
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-2);
}
.lang-switch__menu li:hover,
.lang-switch__menu li[aria-selected="true"] {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: 64px 0 88px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 52% at 82% 8%, rgba(66, 113, 150, 0.16), transparent 56%),
    radial-gradient(ellipse 42% 38% at 6% 82%, rgba(255, 107, 74, 0.08), transparent 55%),
    radial-gradient(ellipse 36% 28% at 42% 100%, rgba(66, 113, 150, 0.06), transparent 60%),
    linear-gradient(180deg, #f5f8fb 0%, var(--white) 78%);
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 2px rgba(15, 28, 38, 0.04);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.18);
  animation: pulse-dot 2.2s ease-out infinite;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 14ch;
  text-wrap: balance;
}

.hero-copy .lead {
  margin-top: 20px;
  max-width: 40ch;
  font-size: 1.0875rem;
  line-height: 1.58;
  color: var(--muted);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-visual { min-width: 0; }

.hero-stage {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 400px;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 8% 4% 0 10%;
  border-radius: 40% 60% 50% 50%;
  background:
    radial-gradient(circle at 60% 40%, rgba(66, 113, 150, 0.22), transparent 55%),
    radial-gradient(circle at 20% 70%, rgba(255, 107, 74, 0.12), transparent 50%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 8s ease-in-out infinite;
}

.hero-stage__dash {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(15, 28, 38, 0.1);
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    var(--shadow-glow);
  transform: perspective(1200px) rotateY(-2deg) rotateX(2deg);
  transform-origin: center right;
  animation: float-dash 7.5s ease-in-out infinite;
  will-change: transform;
}
.hero-stage__dash img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top left;
  display: block;
}

.hero-stage__phone {
  position: absolute;
  z-index: 2;
  left: -8%;
  bottom: -12px;
  width: min(148px, 28%);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #1a2530;
  background: #0f1c26;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 48px -10px rgba(66, 113, 150, 0.45);
  animation: float-y 6s ease-in-out infinite;
  animation-delay: -2.4s;
  will-change: transform;
}
.hero-stage__phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* ——— Sections ——— */
.section {
  padding: 100px 0;
}
.section--soft {
  background: var(--paper);
}
/* Soft care wash — Stripe/Ramp style, not a dark slab */
.section--care {
  background:
    radial-gradient(ellipse 55% 50% at 12% 30%, rgba(66, 113, 150, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 36% at 92% 70%, rgba(66, 113, 150, 0.055), transparent 72%),
    #f0f5fa;
}
.section--pro {
  background:
    radial-gradient(ellipse 48% 42% at 88% 20%, rgba(42, 157, 122, 0.07), transparent 70%),
    var(--paper);
}
.section--telehealth {
  background:
    radial-gradient(ellipse 50% 45% at 12% 80%, rgba(66, 113, 150, 0.055), transparent 68%),
    var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--how {
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.section--journey {
  background:
    radial-gradient(ellipse 50% 46% at 86% 16%, rgba(66, 113, 150, 0.08), transparent 68%),
    radial-gradient(ellipse 36% 34% at 10% 86%, rgba(255, 107, 74, 0.04), transparent 70%),
    #fbfcfd;
  padding: 100px 0;
}
.section--journey .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
}
.section--journey .section-eyebrow svg {
  width: 14px;
  height: 14px;
}
.section--download {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(66, 113, 150, 0.09), transparent 60%),
    var(--paper);
}

.section-head {
  max-width: 560px;
  margin-bottom: 44px;
}
.section-head--how {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-eyebrow {
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-head h2,
.experience-copy h2,
.journey__copy h2,
.pharmacy-band__copy h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-head > p:not(.section-eyebrow) {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.58;
}

/* ——— How steps (horizontal) ——— */
.how-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  border-top: none;
  padding: 10px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 248, 250, 0.95)),
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 28, 38, 0.03);
}
.how-steps--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.how-steps li {
  position: relative;
  padding: 28px 22px 26px;
  border-right: none;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(15, 28, 38, 0.03);
  transition:
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease);
}
.how-steps li:last-child { border-right: 0; padding-right: 22px; }
.how-steps li:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.how-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  margin-bottom: 16px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--coral-soft);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--coral-deep);
  font-variant-numeric: tabular-nums;
}
.how-steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.25;
}
.how-steps p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: none;
}

/* ——— Experience rows ——— */
.experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.experience--pro {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.experience--telehealth,
.experience--company,
.experience--pharmacy {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.experience-copy > p:not(.section-eyebrow):not(.role-note),
.pharmacy-band__copy > p:not(.section-eyebrow) {
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42ch;
}

.checks {
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
  transition: color 0.2s ease;
}
.checks li:hover { color: var(--ink); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2' stroke='%23427196' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(66, 113, 150, 0.08);
}

.role-note {
  margin: -8px 0 24px;
  max-width: 42ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-2);
}

/* Product frames */
.product-shot {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.product-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.product-shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.product-shot img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top left;
  display: block;
}
.product-shot--telehealth img { max-height: 280px; object-fit: cover; object-position: center top; }

.company-visual {
  position: relative;
  display: grid;
  gap: 14px;
}
.company-visual .product-shot--company-secondary {
  margin-left: 8%;
  width: 92%;
}
@media (min-width: 901px) {
  .company-visual {
    gap: 0;
    min-height: 280px;
  }
  .company-visual .product-shot--company:first-child {
    position: relative;
    z-index: 2;
    width: 92%;
  }
  .company-visual .product-shot--company-secondary {
    position: absolute;
    right: 0;
    bottom: -18px;
    width: 78%;
    margin: 0;
    z-index: 1;
    opacity: 0.97;
    box-shadow: var(--shadow-md);
  }
}

.shot-phone {
  width: min(220px, 70%);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #1a2530;
  background: #0f1c26;
  box-shadow: var(--shadow-lg);
}
.shot-phone img {
  width: 100%;
  height: auto;
  display: block;
}
.patient-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.patient-visual--duo .shot-phone {
  width: min(200px, 42%);
}
.patient-visual--duo .shot-phone:last-child {
  transform: translateY(18px);
}
.section--care .shot-phone:first-child {
  animation: float-y 6.4s ease-in-out infinite;
}
.section--care .patient-visual--duo .shot-phone:last-child {
  animation: float-y-offset 6.4s ease-in-out infinite;
  animation-delay: -2.6s;
}

/* ——— Journey / home visits ——— */
.journey__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px 36px;
  align-items: center;
  margin-bottom: 32px;
}
.journey__copy h2 { margin-bottom: 0; }
.journey__copy > p:not(.section-eyebrow) {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
}

.journey-feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 14px;
  margin-top: 28px;
}
.journey-feats li { min-width: 0; }
.journey-feats__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: var(--radius);
}
.journey-feats__icon svg { width: 16px; height: 16px; }
.journey-feats__icon--pin { background: var(--coral-soft); color: var(--coral-deep); }
.journey-feats__icon--bell { background: #eaf6ef; color: #2f9e5f; }
.journey-feats__icon--video { background: var(--brand-soft); color: var(--brand); }
.journey-feats strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.journey-feats p {
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.journey__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  padding: 4px 0 8px;
}
.journey-phone {
  width: min(198px, 48%);
  margin: 0 auto 0 10%;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #1a2530;
  background: #0f1c26;
  box-shadow: var(--shadow-lg), 0 0 48px -16px rgba(66, 113, 150, 0.4);
  animation: float-y 6.8s ease-in-out infinite;
  will-change: transform;
}
.journey-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.journey-live {
  --route: 52%;
  position: absolute;
  right: 6%;
  top: 42%;
  width: min(196px, 46%);
  padding: 12px 12px 11px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.journey-live.is-live {
  border-color: rgba(47, 158, 95, 0.28);
  box-shadow:
    var(--shadow-md),
    0 0 0 1px rgba(47, 158, 95, 0.08),
    0 12px 32px -14px rgba(47, 158, 95, 0.35);
}
.journey-live__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.journey-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.journey-live-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.55);
}
.journey-live.is-live .journey-live-tag i,
.journey-track.is-live .journey-live-tag i {
  animation: journey-live-pulse 1.6s ease-out infinite;
}
.journey-live:not(.is-live) .journey-live-tag,
.journey-track:not(.is-live) .journey-track__head .journey-live-tag {
  display: none;
}
.journey-live__top strong {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}
.journey-live.is-live .journey-live__top strong { color: #2f9e5f; }
.journey-live [data-live-meta] {
  margin-top: 3px;
  font-size: 0.75rem;
  color: var(--muted);
}
.journey-live__route {
  display: block;
  width: 100%;
  height: 36px;
  margin: 8px 0 10px;
  overflow: visible;
}
.journey-live__line {
  stroke: var(--brand-mid);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 5;
  animation: journey-route-dash 18s linear infinite;
}
.journey-live__from { fill: var(--coral); }
.journey-live__to { fill: var(--brand); }
.journey-live__marker {
  fill: var(--coral);
  stroke: #fff;
  stroke-width: 1.5;
  offset-path: path("M16 28 C 58 8, 112 10, 184 16");
  offset-distance: var(--route);
  offset-rotate: auto;
}
.journey-live.is-live .journey-live__marker {
  animation: journey-marker 5.2s ease-in-out infinite alternate;
}
.journey-live__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--white);
}
.journey-live__cta svg { width: 14px; height: 14px; }

@keyframes journey-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(255, 107, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0); }
}
@keyframes journey-route-dash {
  to { stroke-dashoffset: -110; }
}
@keyframes journey-marker {
  from { offset-distance: 38%; }
  to { offset-distance: 66%; }
}

.journey-track {
  padding: 20px 22px 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.journey-track__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.journey-track h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.journey-track__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.journey-track__steps li {
  position: relative;
  min-width: 0;
}
.journey-track__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 44px;
  right: 8px;
  height: 1px;
  background: var(--line-strong);
  pointer-events: none;
}
.journey-track__steps li.is-done:not(:last-child)::after,
.journey-track__steps li:has(+ .is-active)::after {
  background: var(--coral);
}
.journey-track button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0 12px 0 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  border-radius: var(--radius);
}
.journey-track button:hover .journey-track__icon {
  border-color: var(--brand-line);
}
.journey-track button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}
.journey-track__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  z-index: 1;
}
.journey-track__icon svg { width: 18px; height: 18px; }
.journey-track__steps li.is-done .journey-track__icon {
  color: var(--brand);
  border-color: var(--brand-line);
}
.journey-track__steps li.is-active .journey-track__icon {
  color: var(--coral-deep);
  border-color: rgba(255, 107, 74, 0.45);
  background: var(--coral-soft);
}
.journey-track__num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.journey-track strong {
  margin-top: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}
.journey-track p {
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}
.journey-track__steps li.is-active .journey-track__num,
.journey-track__steps li.is-active strong {
  color: var(--coral-deep);
}

/* ——— Pharmacy visual ——— */
.pharmacy-visual { min-width: 0; }

/* ——— Trust ——— */
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: trust;
}
.trust-list article {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.trust-list article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(255, 107, 74, 0.75));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out);
}
.trust-list article::after {
  counter-increment: trust;
  content: "0" counter(trust);
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}
.trust-list article:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.trust-list article:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.trust-list h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.trust-list p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ——— Download paths ——— */
.section-head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 620px;
}
.section-head--center > p:not(.section-eyebrow) {
  margin-inline: auto;
}

.download-panel {
  position: relative;
  padding: 44px 40px 34px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(66, 113, 150, 0.07), transparent 55%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow:
    0 24px 60px -32px rgba(15, 28, 38, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(66, 113, 150, 0.28),
    rgba(255, 107, 74, 0.18),
    rgba(66, 113, 150, 0.12),
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.download-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 8px;
}
.download-path {
  --accent: #427196;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 28, 38, 0.06);
  min-height: 100%;
  box-shadow: 0 1px 2px rgba(15, 28, 38, 0.03);
  transition:
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease),
    background 0.28s var(--ease);
}
.download-path:hover {
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: #fff;
  box-shadow:
    var(--shadow-sm),
    0 14px 32px -18px color-mix(in srgb, var(--accent) 42%, transparent);
  transform: translateY(-4px);
}
.download-path--patient { --accent: #427196; }
.download-path--pro { --accent: #2a9d7a; }
.download-path--company { --accent: #e56a3a; }
.download-path--pharmacy { --accent: #6b5ca8; }

.download-path__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.download-path__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent);
}
.download-path__icon svg { width: 20px; height: 20px; }
.download-path__heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.download-path small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}
.download-path h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}
.download-path > p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0;
  flex: 1 1 auto;
}

.download-path__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  min-height: 44px;
  justify-content: flex-end;
}

.store-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  border-radius: var(--radius) !important;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.store-btn:hover {
  background: #f7f9fb;
  border-color: rgba(15, 28, 38, 0.18);
}
.store-btn__icon { width: 16px; height: 16px; flex-shrink: 0; }

.path-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius) !important;
  border: 1.5px solid color-mix(in srgb, var(--accent) 55%, #fff);
  background: var(--white);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.path-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.path-cta:hover {
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  border-color: var(--accent);
}

.download-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 18px 16px;
  border-radius: 16px;
  background: #eef5fa;
  border: 1px solid rgba(66, 113, 150, 0.12);
  list-style: none;
}
.download-trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.download-trust__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(66, 113, 150, 0.1);
  color: var(--brand);
}
.download-trust__icon svg { width: 17px; height: 17px; }
.download-trust strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-style: normal;
}
.download-trust em {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  font-style: normal;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.text-link:hover { color: var(--brand-deep); text-decoration: underline; }
.text-link--compact { font-size: 0.8125rem; }

/* ——— Footer ——— */
.site-footer {
  padding: 64px 0 28px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* Premium dark close — Vercel/Stripe style (only dark band on the page) */
.site-footer--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 32px;
  background:
    radial-gradient(ellipse 70% 80% at 50% -10%, rgba(66, 113, 150, 0.26), transparent 55%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(255, 107, 74, 0.1), transparent 50%),
    linear-gradient(180deg, #0e1824 0%, var(--navy) 100%);
  border-top: 1px solid var(--navy-line);
  color: var(--navy-fg);
}
.site-footer--dark > .wrap {
  position: relative;
  z-index: 1;
}
.site-footer--dark .logo-img--on-light {
  display: none !important;
}
.site-footer--dark .logo-img--on-dark {
  display: block !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}
.site-footer--dark .footer-brand > p {
  color: var(--navy-muted);
}
.site-footer--dark .footer-slim-top {
  border-bottom-color: var(--navy-line);
}
.site-footer--dark .footer-links h5 {
  color: rgba(232, 240, 247, 0.48);
}
.site-footer--dark .footer-links a {
  color: rgba(232, 240, 247, 0.86);
  transition: color 0.15s ease, transform 0.15s ease;
}
.site-footer--dark .footer-links a:hover {
  color: #fff;
}
.site-footer--dark .footer-bottom {
  color: rgba(232, 240, 247, 0.48);
}
.site-footer--dark .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.site-footer--dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}
.site-footer--dark .btn-primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 28px -10px rgba(255, 107, 74, 0.6);
}
.site-footer--dark .social-row a {
  color: rgba(232, 240, 247, 0.72);
  border-color: var(--navy-line);
  background: rgba(255, 255, 255, 0.03);
}
.site-footer--dark .social-row a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.footer-slim-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand > p {
  max-width: 36ch;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-links h5 {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
}
.footer-links a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 0.8125rem;
  color: var(--muted-2);
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-row a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.social-row a:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}
.social-row svg { width: 18px; height: 18px; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes float-y-offset {
  0%, 100% { transform: translateY(18px); }
  50% { transform: translateY(9px); }
}

@keyframes float-dash {
  0%, 100% { transform: perspective(1200px) rotateY(-2deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-1.4deg) rotateX(1.4deg) translateY(-8px); }
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.35); }
  70% { box-shadow: 0 0 0 7px rgba(255, 107, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* ——— Reveal motion ——— */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.85s var(--ease-out);
}
[data-reveal].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}
[data-reveal-delay="1"] { transition-delay: 0.07s; }
[data-reveal-delay="2"] { transition-delay: 0.14s; }
[data-reveal-delay="3"] { transition-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .btn:hover,
  .nav-cta:hover,
  .download-path:hover,
  .trust-list article:hover,
  .how-steps li:hover,
  .product-shot:hover { transform: none; }
  .journey-live.is-live .journey-live-tag i,
  .journey-track.is-live .journey-live-tag i,
  .journey-live.is-live .journey-live__marker,
  .journey-live__line {
    animation: none;
  }
  .hero-stage__dash,
  .hero-stage__phone,
  .hero-stage::before,
  .hero-eyebrow::before,
  .journey-phone,
  .section--care .shot-phone:first-child,
  .section--care .patient-visual--duo .shot-phone:last-child {
    animation: none;
  }
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .nav-links > a:not(.nav-cta):not(.nav-signin) {
    padding: 8px 8px;
    font-size: 0.8125rem;
  }
  .how-steps,
  .how-steps--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-steps li:nth-child(3) { border-right: 0; }
  .how-steps li:nth-child(n + 4) {
    border-top: none;
    padding-top: 28px;
  }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-panel { padding: 28px 20px 22px; border-radius: 20px; }
  .download-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --wrap: min(100% - 40px, 1180px); }

  .burger { display: flex; }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.nav-cta):not(.nav-signin),
  .nav-signin {
    margin: 0;
    padding: 12px 10px;
    font-size: 0.95rem;
  }
  .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
    min-height: 44px;
  }
  .lang-switch {
    margin: 8px 0;
    width: 100%;
  }
  .lang-switch__btn { width: 100%; justify-content: center; }

  .hero { padding: 36px 0 56px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy h1 { max-width: none; }
  .hero-stage {
    min-height: 0;
    place-items: center;
  }
  .hero-stage__dash {
    transform: none;
  }
  .hero-stage__dash img { max-height: none; }
  .hero-stage__phone {
    left: 8%;
    bottom: -8px;
    width: min(120px, 26%);
  }

  .section { padding: 64px 0; }
  .section--journey { padding: 56px 0; }

  .experience,
  .experience--pro,
  .experience--telehealth,
  .experience--company,
  .experience--pharmacy {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .experience--pro .product-shot { order: 1; }
  .experience--pro .experience-copy { order: 0; }
  .experience--pro .patient-visual { order: 1; }
  .patient-visual--duo .shot-phone { width: min(160px, 44%); }
  .patient-visual--duo .shot-phone:last-child { transform: translateY(12px); }

  .how-steps,
  .how-steps--4 {
    grid-template-columns: 1fr;
    padding: 6px;
    gap: 8px;
  }
  .how-steps li {
    border-right: 0;
    border-top: none;
    padding: 22px 20px;
  }
  .how-steps p { max-width: none; }

  .journey__hero {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 24px;
  }
  .journey-feats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .journey-feats li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }
  .journey-feats__icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
  .journey__visual {
    min-height: 0;
    justify-content: center;
    padding: 0;
  }
  .journey-phone {
    width: min(176px, 46%);
    margin: 0 auto;
  }
  .journey-live {
    position: relative;
    top: auto;
    right: auto;
    width: min(240px, 100%);
    margin: 14px auto 0;
  }
  .journey-track {
    padding: 16px 14px 8px;
  }
  .journey-track__steps {
    grid-template-columns: 1fr;
  }
  .journey-track button {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    padding: 8px 4px;
  }
  .journey-track__steps li:not(:last-child)::after {
    top: auto;
    left: 17px;
    right: auto;
    bottom: -2px;
    width: 1px;
    height: 12px;
  }
  .journey-track__icon { margin-bottom: 0; }
  .journey-track__num { min-width: 1.4rem; }
  .journey-track strong { margin-top: 0; }
  .journey-track p {
    width: 100%;
    padding-left: 46px;
    margin-top: 2px;
  }

  .footer-slim-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100% - 32px); --header-h: 58px; }
  .logo-img { height: 24px; }
  .hero-copy h1 { font-size: 2rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .trust-list,
  .download-paths {
    grid-template-columns: 1fr;
  }
  .download-panel { padding: 24px 16px 18px; }
  .download-trust { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .shot-phone { width: min(200px, 58%); }
  .product-shot--telehealth img { max-height: 220px; }
}
