:root {
  --bg: #0d0d12;
  --surface: #18181f;
  --surface-raised: #202029;
  --blue: #2b3ddc;
  --blue-dark: #17239b;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.48);
  --line: rgba(255, 255, 255, 0.07);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  /* legacy aliases kept so existing selectors don't break */
  --ink: #ffffff;
  --soft: #18181f;
  --soft-blue: rgba(43, 61, 220, 0.13);
  --warm: #18181f;
  --white: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header ─────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: transparent;
  border: 1px solid transparent;
  transition:
    width 420ms cubic-bezier(0.4, 0, 0.2, 1),
    top 420ms cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 420ms cubic-bezier(0.4, 0, 0.2, 1),
    background 420ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 420ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 420ms cubic-bezier(0.4, 0, 0.2, 1),
    padding 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .brand { flex-shrink: 0; }
.site-header nav { position: absolute; left: 50%; transform: translateX(-50%); }

.site-header.scrolled {
  top: 12px;
  width: min(calc(100% - 40px), 1160px);
  padding-inline: 24px;
  border-radius: 999px;
  background: rgba(13, 13, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.brand > img:first-child {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.wordmark {
  display: block;
  width: 104px;
  height: auto;
  position: relative;
  top: 1px;
}

.site-header nav,
.site-footer > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header nav a {
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

/* ── Typography ─────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 9px;
  vertical-align: middle;
  margin-bottom: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-feature-settings: 'cv05', 'ss01';
  letter-spacing: -0.01em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7.6vw, 90px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 96px);
  padding-top: 68px;
  background-image: url('/assets/hero-dog.png');
  background-size: cover;
  background-position: 65% center;
  overflow: hidden;
}

/* left-to-right dark fade + bottom bleed into page */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(13, 13, 18, 0.93) 0%,
      rgba(13, 13, 18, 0.72) 42%,
      rgba(13, 13, 18, 0.22) 68%,
      transparent 100%
    ),
    linear-gradient(
      to top,
      #0d0d12 0%,
      rgba(13, 13, 18, 0.55) 20%,
      transparent 42%
    );
  z-index: 0;
}

/* subtle brand-blue ambient on the copy side -- ties image to brand */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 55%, rgba(43, 61, 220, 0.09) 0%, transparent 58%);
  z-index: 0;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */

.app-store-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.app-store-button {
  gap: 12px;
  padding: 9px 18px 9px 14px;
  background: #ffffff;
  color: #050714;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}

.app-store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(43, 61, 220, 0.40);
}

.secondary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.30);
}

.apple-mark {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.app-store-button small,
.app-store-button strong {
  display: block;
  line-height: 1.05;
}

.app-store-button small {
  font-size: 10px;
  opacity: 0.72;
}

.app-store-button strong {
  font-size: 17px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

/* ── Ticker ──────────────────────────────────────────────────────── */

.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(43, 61, 220, 0.25);
  border-bottom: 1px solid rgba(43, 61, 220, 0.25);
  background: var(--surface);
  padding: 15px 0;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.ticker span {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--text);
  text-transform: lowercase;
}

.ticker em {
  font-style: normal;
  color: var(--blue);
}

.ticker-sep {
  color: var(--blue);
  opacity: 0.45;
  font-size: 10px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Care-flow ───────────────────────────────────────────────────── */

.section {
  padding: 90px clamp(20px, 5vw, 72px) 50px;
}

.intro {
  max-width: 920px;
}

.intro h2,
.care-band h2,
.pricing-hero h1,
.faq h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

.intro p:not(.eyebrow),
.care-band p,
.faq p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.care-flow {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
  padding: 42px clamp(20px, 5vw, 72px) 108px;
}

.care-flow-copy {
  position: sticky;
  top: 104px;
}

.care-flow-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1;
}

.care-flow-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.care-flow-list {
  border-top: 1px solid var(--line);
}

.care-flow-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.care-flow-list span {
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(43, 61, 220, 0.10);
}

.care-flow-list h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.care-flow-list p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ── Care-flows ──────────────────────────────────────────────────── */

.care-flows {
  padding: 80px clamp(20px, 5vw, 72px) 80px;
}

.care-flows-header {
  margin-bottom: 48px;
  max-width: 700px;
}

.care-flows-header h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
}

.care-flows-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.care-flows-grid article {
  padding: clamp(28px, 4vw, 44px);
  transition: background 220ms ease;
}

.care-flows-grid article:hover {
  background: var(--surface);
}

@media (min-width: 621px) {
  .care-flows-grid article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .care-flows-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .care-flows-grid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .care-flows-grid article:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }
}

.care-num {
  margin: 0 0 14px;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(43, 61, 220, 0.14);
}

.care-flows-grid h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.1;
}

.care-flows-grid p:not(.care-num) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ── Showcase ────────────────────────────────────────────────────── */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding: 80px clamp(20px, 5vw, 72px) 100px;
}

.showcase-sticky {
  position: sticky;
  top: calc(68px + 48px);
  display: flex;
  justify-content: center;
}

.showcase-phone-outer {
  position: relative;
  padding: 56px 48px;
}

/* Phone chrome */
.phone-showcase {
  position: relative;
  width: 260px;
  overflow: visible;
}

.phone-showcase::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 30%;
  width: 3.5px;
  height: 68px;
  background: #3a3a3c;
  border-radius: 0 3px 3px 0;
}

.phone-showcase::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 20%;
  width: 3.5px;
  height: 28px;
  background: #3a3a3c;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 48px 0 #3a3a3c, 0 88px 0 #3a3a3c;
}

.phone-screen-wrap {
  border-radius: 52px;
  overflow: hidden;
  background: #1c1c1e;
  box-shadow:
    0 0 0 10px #1c1c1e,
    0 0 0 11.5px rgba(160, 160, 168, 0.30),
    0 48px 120px rgba(0, 0, 0, 0.65);
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 393 / 852;
  background: #ffffff;
  overflow: hidden;
}

.screen-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.screen-shot.is-active {
  opacity: 1;
}

/* Orbiting feature cards — positioned relative to phone-showcase corners */
.sfeat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100px;
  padding: 18px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 26px;
  background: var(--surface);
  z-index: 2;
  opacity: 0.28;
  /* CSS vars set per-corner so the float animation uses the right translate */
  --tx: -50%;
  --ty: -50%;
  transform: translate(var(--tx), var(--ty)) scale(0.90);
  transition:
    opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.sfeat img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.sfeat strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
}

.sfeat.is-active {
  opacity: 1;
  border-color: rgba(43, 61, 220, 0.35);
  box-shadow: 0 0 0 1px rgba(43, 61, 220, 0.12), 0 12px 32px rgba(43, 61, 220, 0.20);
  animation: sfeat-float 3.2s ease-in-out infinite;
}

@keyframes sfeat-float {
  0%, 100% { transform: translate(var(--tx), var(--ty)) scale(1); }
  50%       { transform: translate(var(--tx), calc(var(--ty) - 8px)) scale(1); }
}

/* Each card's center lands exactly on its phone corner */
.sfeat--tl { top: 0;    left: 0;  }
.sfeat--tr { top: 0;    right: 0; --tx: 50%; }
.sfeat--bl { bottom: 0; left: 0;  --ty: 50%; }
.sfeat--br { bottom: 0; right: 0; --tx: 50%; --ty: 50%; }

/* Showcase header above articles */
.showcase-lead {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.showcase-lead h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1;
}

/* Scrolling articles */
.showcase-articles {
  padding-top: 16px;
}

.showcase-article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.32;
  cursor: pointer;
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.showcase-article:first-child {
  border-top: 1px solid var(--line);
}

.showcase-article.is-active {
  opacity: 1;
}

.showcase-article span {
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(43, 61, 220, 0.10);
  transition: color 0.5s ease;
}

.showcase-article.is-active span {
  color: rgba(43, 61, 220, 0.42);
}

.showcase-article h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.08;
}

.showcase-article p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ── Care-band ───────────────────────────────────────────────────── */

.price-card-top,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.care-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin: 72px clamp(20px, 5vw, 72px) 80px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 36px;
  border: 1px solid rgba(43, 61, 220, 0.18);
  background:
    radial-gradient(circle at 92% 8%, rgba(43, 61, 220, 0.22), transparent 52%),
    radial-gradient(circle at 8% 92%, rgba(43, 61, 220, 0.06), transparent 44%),
    var(--surface);
}

.care-band-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Footer ──────────────────────────────────────────────────────── */

.site-footer {
  gap: 20px;
  margin-top: 40px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer img {
  width: 22px;
  height: 22px;
}

.site-footer a {
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--blue);
}

/* ── Pricing ─────────────────────────────────────────────────────── */

.pricing-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 86px 20px 46px;
  text-align: center;
}

.pricing-hero .lead {
  margin-inline: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1050px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.price-card,
.faq article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: clamp(26px, 4vw, 38px);
}

.price-card.highlighted {
  border-color: rgba(43, 61, 220, 0.38);
  background:
    radial-gradient(circle at top right, rgba(43, 61, 220, 0.16), transparent 44%),
    var(--surface);
  box-shadow: 0 0 0 1px rgba(43, 61, 220, 0.16), var(--shadow);
}

.price-card h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.plan-pill {
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin: 34px 0 28px;
}

.price strong {
  font-size: clamp(48px, 7vw, 70px);
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  content: "\2713";
  font-size: 12px;
  font-weight: 900;
}

.primary-button,
.secondary-button {
  margin-top: auto;
  padding: 0 22px;
}

.primary-button {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(43, 61, 220, 0.30);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--text);
}

.price-card .primary-button,
.price-card .secondary-button {
  margin-top: auto;
}

.price-card.highlighted .price strong {
  color: var(--blue);
}

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

.faq {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px 90px;
}

.faq h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

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

.faq article {
  padding: 24px;
}

/* ── Support ─────────────────────────────────────────────────────── */

.support-page {
  display: grid;
  place-items: center;
  padding: 84px 20px 42px;
  background:
    radial-gradient(circle at 20% 20%, rgba(43, 61, 220, 0.10), transparent 32%),
    var(--bg);
}

.support-card {
  width: min(760px, 100%);
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(43, 61, 220, 0.15);
  border-radius: 32px;
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow);
}

.support-card h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 68px);
}

.support-card .lead {
  margin-inline: auto;
}

.support-card .primary-button {
  margin-top: 28px;
}

.support-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.support-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 34px clamp(20px, 5vw, 72px) 84px;
  background: var(--bg);
}

.support-sections article,
.support-faq-list article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.support-sections article {
  padding: 26px;
}

.support-sections span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.support-sections h2 {
  margin: 22px 0 10px;
  font-size: 24px;
  line-height: 1.1;
}

.support-sections p,
.support-faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.support-faq {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px 96px;
}

.support-faq h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.support-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-faq-list article {
  padding: 24px;
}

.support-faq-list h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

/* ── Brand tagline ───────────────────────────────────────────────── */

.brand-tagline {
  margin: 32px 0 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-tagline em {
  font-style: normal;
  color: var(--blue);
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .hero {
    background-position: 75% center;
  }

  .care-band,
  .care-flow,
  .care-flows-grid,
  .pricing-grid,
  .faq-grid,
  .support-sections,
  .support-faq-list {
    grid-template-columns: 1fr;
  }

  .care-flows-grid article:nth-child(odd) {
    border-right: none;
  }

  .care-flows-grid article:nth-child(-n+2) {
    border-bottom: none;
  }

  .care-flows-grid article:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .care-flow-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .site-header.scrolled {
    top: 8px;
    padding-inline: 16px;
  }

  .site-header nav {
    gap: 2px;
  }

  .site-header nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .brand .wordmark {
    display: none;
  }

  .hero {
    padding-top: 56px;
    background-position: 78% center;
    align-items: flex-end;
    padding-bottom: clamp(48px, 10vw, 80px);
  }

  h1 {
    font-size: 46px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .app-store-button {
    width: 100%;
  }

  .care-band {
    margin-bottom: 44px;
    border-radius: 26px;
  }

  .care-flow-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

/* ── Animations ──────────────────────────────────────────────────── */

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-rise {
  opacity: 0;
  animation: hero-rise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.10s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.26s; }
.reveal[data-delay="4"] { transition-delay: 0.34s; }

.care-flow-list article {
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.care-flow-list article:hover {
  transform: translateX(6px);
  box-shadow: inset 4px 0 0 var(--blue);
}

/* ── Premium polish ──────────────────────────────────────────────── */

.faq article {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.faq article:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(43, 61, 220, 0.15);
  border-color: rgba(43, 61, 220, 0.28);
}

.price-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43, 61, 220, 0.30);
  box-shadow: 0 24px 60px rgba(43, 61, 220, 0.15);
}

.price-card.highlighted:hover {
  box-shadow: 0 0 0 1px rgba(43, 61, 220, 0.25), 0 36px 90px rgba(43, 61, 220, 0.28);
}

.support-sections article {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.support-sections article:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(43, 61, 220, 0.15);
  border-color: rgba(43, 61, 220, 0.28);
}

.support-faq-list article {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.support-faq-list article:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(43, 61, 220, 0.15);
  border-color: rgba(43, 61, 220, 0.28);
}

/* ── Legal pages (Privacy Policy, Terms of Service) ──────────────── */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 48px);
}

.legal-page h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-page .legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 56px;
}

.legal-page h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 40px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.legal-page p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
}

.legal-page ul {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.legal-page a {
  color: var(--blue);
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }

  .hero-rise,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .ticker { animation: none; }

  .faq article:hover,
  .price-card:hover,
  .support-sections article:hover,
  .support-faq-list article:hover,
  .care-flow-list article:hover { transform: none; }

  .faq article,
  .price-card,
  .support-sections article,
  .support-faq-list article,
  .care-flow-list article { transition: box-shadow 0ms, border-color 0ms; }
}
