:root {
  --white: #ffffff;
  --cream: #f5f0e8;
  --cream-soft: #faf6f0;
  --orange: #e87a2e;
  --orange-deep: #b94f0c;
  --button-orange: #b94f0c;
  --button-orange-hover: #963c08;
  --orange-soft: #ffe4cc;
  --ink: #171719;
  --ink-soft: #4f4d4a;
  --muted: #726e68;
  --border: #e4d9c8;
  --border-strong: #d4c4ae;
  --green: #4c9c62;
  --green-soft: #e7f5ea;
  --red: #c82a1e;
  --red-soft: #fff0ee;
  --shadow-sm: 0 8px 30px rgba(35, 28, 21, 0.08);
  --shadow-phone: 0 24px 55px rgba(20, 18, 16, 0.18), 0 4px 12px rgba(20, 18, 16, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --container: 1400px;
  --header-height: 82px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Species roadmap and community vote */
.species-vote-section {
  padding: clamp(90px, 9vw, 142px) 0;
  color: var(--ink);
  background: var(--white);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.species-vote-intro {
  display: grid;
  grid-template-columns: minmax(520px, 1.02fr) minmax(420px, .98fr);
  gap: clamp(58px, 7vw, 112px);
  align-items: center;
}

.species-vote-copy h2 {
  max-width: 670px;
  margin: 0 0 25px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}

.species-vote-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.52;
}

.species-cluster {
  position: relative;
  width: 100%;
  min-height: 410px;
  direction: ltr;
  isolation: isolate;
  cursor: crosshair;
  touch-action: pan-y;
}

.species-cluster::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 47%;
  width: 58%;
  height: 42%;
  content: "";
  background: rgba(18, 18, 20, .07);
  border-radius: 50%;
  filter: blur(35px);
  transform: translate(-50%, -35%);
  opacity: .45;
}

.species-orb {
  --repel-x: 0px;
  --repel-y: 0px;
  --repel-rotate: 0deg;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(18, 18, 20, .54);
  border-radius: 50%;
  box-shadow: 0 12px 23px rgba(18, 18, 20, .09);
  font-size: 44px;
  font-weight: 850;
  line-height: 1;
  transform: translate(calc(-50% + var(--repel-x)), calc(-50% + var(--repel-y))) rotate(var(--repel-rotate));
  transition: transform 420ms cubic-bezier(.2,.75,.2,1), border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.species-cluster[data-repelling] .species-orb { transition-duration: 90ms, 180ms, 180ms; }
.species-orb-current { width: 174px; padding: 14px 12px 12px; align-content: center; gap: 6px; border: 2px solid var(--orange); box-shadow: 0 18px 34px rgba(18,18,20,.11); }
.species-orb-photo {
  display: block;
  width: 86px;
  height: 86px;
  object-fit: cover;
  object-position: center;
  background: #f7f7f5;
  border: 1px solid rgba(18, 18, 20, .12);
  border-radius: 50%;
  box-shadow: 0 7px 16px rgba(18, 18, 20, .12);
}
.species-orb-current span { display: grid; gap: 2px; text-align: center; }
.species-orb-current strong { font-size: 17px; letter-spacing: -.02em; }
.species-orb-current small { color: var(--orange-deep); font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.species-orb-dog { top: 51%; left: 38%; z-index: 4; }
.species-orb-cat { top: 50%; left: 62%; z-index: 3; }
.species-orb-future:nth-child(3) { top: 15%; left: 20%; width: 83px; }
.species-orb-future:nth-child(4) { top: 10%; left: 48%; width: 88px; }
.species-orb-future:nth-child(5) { top: 17%; left: 81%; width: 86px; }
.species-orb-future:nth-child(6) { top: 48%; left: 10%; width: 78px; }
.species-orb-future:nth-child(7) { top: 45%; left: 91%; width: 82px; }
.species-orb-future:nth-child(8) { top: 82%; left: 17%; width: 88px; }
.species-orb-future:nth-child(9) { top: 87%; left: 51%; width: 84px; }
.species-orb-future:nth-child(10) { top: 81%; left: 84%; width: 91px; }

.species-vote-workspace {
  margin-top: clamp(64px, 7vw, 104px);
  padding-top: clamp(46px, 5vw, 72px);
  border-top: 1px solid var(--border-strong);
}

.species-ballot { width: min(100%, 1040px); margin-inline: auto; }
.species-ballot fieldset { padding: 0; margin: 0; border: 0; }
.species-ballot legend { margin: 0 0 22px; font-size: clamp(22px, 2vw, 29px); font-weight: 850; letter-spacing: -.025em; }
.species-options { border-top: 1px solid var(--border-strong); }
.species-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(190px, .95fr) minmax(120px, 1fr) 76px;
  gap: 13px;
  align-items: center;
  min-height: 55px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.species-option input { position: absolute; opacity: 0; pointer-events: none; }
.species-radio { width: 19px; height: 19px; border: 1.5px solid var(--ink-soft); border-radius: 50%; transition: border-color 160ms ease, box-shadow 160ms ease; }
.species-radio::after { display: block; width: 9px; height: 9px; margin: 3.5px; content: ""; background: var(--orange); border-radius: 50%; opacity: 0; transform: scale(.4); transition: opacity 160ms ease, transform 160ms ease; }
.species-option input:checked + .species-radio { border-color: var(--orange); }
.species-option input:checked + .species-radio::after { opacity: 1; transform: scale(1); }
.species-option input:focus-visible + .species-radio { outline: 3px solid rgba(211, 91, 18, .3); outline-offset: 3px; }
.species-option strong { min-width: 0; font-size: 15px; font-weight: 760; }
.species-result { height: 7px; overflow: hidden; background: var(--cream-strong, #e9e7e3); border-radius: 10px; }
.species-result i { display: block; width: var(--vote-percent, 0%); height: 100%; background: var(--orange); border-radius: inherit; transition: width 620ms cubic-bezier(.2,.75,.2,1); }
.species-option small { color: var(--muted); font-size: 12px; text-align: end; font-variant-numeric: tabular-nums; }
.species-ballot-actions { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: center; margin-top: 28px; }
.species-ballot-actions .button { width: 100%; }
.species-ballot-actions p { display: flex; gap: 11px; align-items: flex-start; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.species-ballot-actions svg { flex: 0 0 auto; width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.species-vote-status { min-height: 22px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.species-vote-status[data-state="success"] { color: var(--green); }
.species-vote-status[data-state="error"] { color: var(--red); }

html[data-theme="dark"] .species-vote-section { color: var(--ink); background: #121214; border-color: #343439; }
html[data-theme="dark"] .species-orb { background: #1b1b1e; border-color: #696970; box-shadow: 0 15px 30px rgba(0,0,0,.34); }
html[data-theme="dark"] .species-orb-current { border-color: var(--orange); }
html[data-theme="dark"] .species-result { background: #343439; }

html[lang="he"] :is(
  .species-vote-intro,
  .species-vote-workspace,
  .species-vote-copy,
  .species-ballot
) { direction: ltr; }

@media (max-width: 1050px) {
  .species-vote-intro { grid-template-columns: 1fr; gap: 46px; }
  .species-cluster { width: min(660px, 100%); min-height: 390px; margin-inline: auto; }
  .species-vote-copy { max-width: 820px; }
}

@media (max-width: 680px) {
  .species-vote-section { padding-block: 76px; }
  .species-vote-intro { display: flex; flex-direction: column; }
  .species-vote-copy { order: -1; }
  .species-vote-copy h2 { font-size: clamp(40px, 12vw, 55px); }
  .species-vote-copy p { font-size: 17px; }
  .species-cluster { min-height: 330px; width: calc(100% + 20px); margin-inline: -10px; }
  .species-orb { width: 61px; font-size: 31px; }
  .species-orb-current { width: 124px; padding: 9px 7px 8px; gap: 3px; }
  .species-orb-photo { width: 62px; height: 62px; }
  .species-orb-current strong { font-size: 14px; }
  .species-orb-current small { font-size: 9px; }
  .species-orb-dog { left: 36%; }
  .species-orb-cat { left: 64%; }
  .species-orb-future:nth-child(3) { left: 15%; width: 58px; }
  .species-orb-future:nth-child(4) { left: 47%; width: 61px; }
  .species-orb-future:nth-child(5) { left: 84%; width: 59px; }
  .species-orb-future:nth-child(6) { left: 7%; width: 54px; }
  .species-orb-future:nth-child(7) { left: 93%; width: 57px; }
  .species-orb-future:nth-child(8) { left: 13%; width: 62px; }
  .species-orb-future:nth-child(9) { left: 49%; width: 58px; }
  .species-orb-future:nth-child(10) { left: 87%; width: 63px; }
  .species-vote-workspace { margin-top: 46px; padding-top: 40px; }
  .species-option { grid-template-columns: 21px minmax(0, 1fr) 70px; gap: 11px; min-height: 59px; }
  .species-option strong { font-size: 14px; }
  .species-result { grid-column: 2 / 4; width: 100%; margin: -11px 0 10px; }
  .species-option small { grid-column: 3; grid-row: 1; }
  .species-ballot-actions { grid-template-columns: 1fr; gap: 17px; }
  .species-ballot-actions .button { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .species-orb,
  .species-result i { transition: none; }
}

/* Interactive product depth · restrained cursor motion, original captures untouched */
[data-tilt-surface] {
  --pointer-x: 50%;
  --pointer-y: 50%;
  perspective: 1200px;
}

[data-tilt-device] {
  --device-base-rotate: 0deg;
  --device-tilt-x: 0deg;
  --device-tilt-y: 0deg;
  --device-shift-x: 0px;
  --device-shift-y: 0px;
  --device-shadow-x: 0px;
  --device-shadow-y: 32px;
  backface-visibility: hidden;
  transform: perspective(1200px)
    translate3d(var(--device-shift-x), var(--device-shift-y), 0)
    rotateX(var(--device-tilt-x))
    rotateY(var(--device-tilt-y))
    rotateZ(var(--device-base-rotate));
  transform-origin: 50% 52%;
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease;
  will-change: transform;
}

[data-tilt-device].phone {
  box-shadow: var(--device-shadow-x) var(--device-shadow-y) 78px rgba(13, 15, 18, .24), 0 8px 20px rgba(13, 15, 18, .14);
}

[data-tilt-surface][data-tilt-active] [data-tilt-device] {
  transition-duration: 90ms;
}

.phone-profile[data-tilt-device] { --device-base-rotate: -1.1deg; }
.medical-device-card:first-child [data-tilt-device] { --device-base-rotate: -1.8deg; }
.medical-device-card:nth-child(2) [data-tilt-device] { --device-base-rotate: 2.1deg; }
.page-hero-screens .mini-phone:first-child[data-tilt-device] { --device-base-rotate: -2.2deg; }
.page-hero-screens .mini-phone-raised[data-tilt-device] { --device-base-rotate: 2.4deg; }
.showcase-phone [data-tilt-device] { --device-base-rotate: -1deg; }
.chapter-showcase.reverse .showcase-phone [data-tilt-device] { --device-base-rotate: 1deg; }

[data-parallax-photo] {
  --photo-shift-x: 0px;
  --photo-shift-y: 0px;
  --photo-scale: 1.025;
  backface-visibility: hidden;
  transform: translate3d(var(--photo-shift-x), var(--photo-shift-y), 0) scale(var(--photo-scale));
  transform-origin: center;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

.hero-photo[data-parallax-photo] { --photo-scale: 1.018; }
.journey-photo[data-parallax-photo] { --photo-scale: 1.035; }
[data-tilt-surface][data-tilt-active] [data-parallax-photo] { transition-duration: 110ms; }

.phone-screen,
.app-screenshot {
  backface-visibility: hidden;
  image-rendering: auto;
}

.feedback-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.feedback-submit {
  position: relative;
  gap: 10px;
}

.feedback-submit:disabled {
  cursor: wait;
  opacity: .76;
  transform: none;
}

.feedback-form.is-sending .feedback-submit::after {
  width: 16px;
  height: 16px;
  content: "";
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: feedback-spin 700ms linear infinite;
}

.feedback-submit-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.feedback-submit-status[data-state="success"] { color: var(--green); }
.feedback-submit-status[data-state="error"] { color: var(--red); }

.feedback-fallback {
  width: fit-content;
  margin: 6px auto 0;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.feedback-fallback:hover { color: var(--orange-deep); }
.feedback-fallback[hidden] { display: none; }

@keyframes feedback-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  [data-tilt-device] {
    --device-base-rotate: 0deg !important;
    transform: none;
    will-change: auto;
  }

  [data-parallax-photo] {
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-tilt-device],
  [data-parallax-photo] {
    transition: none;
    will-change: auto;
  }

  .feedback-form.is-sending .feedback-submit::after { animation: none; }
}

@media screen and (min-width: 721px) and (max-width: 1120px) {
  html body.features-page .profile-chapter-showcase,
  html body.features-page .chapter-editorial,
  html body.features-page .chapter-editorial img {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 720px) {
  html body .capability-grid,
  html body .product-proof-grid,
  html body .pricing-plans,
  html body.features-page .feature-matrix,
  html body.features-page .compact-matrix,
  html body.features-page .feature-index-inner,
  html body.features-page .workflow-band {
    width: calc(100% + 16px);
    margin-inline-end: -16px;
  }

  html body.features-page .profile-chapter-showcase,
  html body.features-page .chapter-editorial,
  html body.features-page .chapter-editorial img {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

@media print {
  [data-tilt-device],
  [data-parallax-photo] {
    transform: none !important;
    box-shadow: none !important;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

main:focus { outline: none; }

img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; }

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

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 1000;
  padding: 10px 15px;
  color: var(--white);
  background: #171719;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.error-page {
  min-height: calc(100svh - 84px);
  display: grid;
  place-items: center;
  padding: clamp(72px, 12vw, 150px) 0;
  background:
    linear-gradient(115deg, rgba(225, 100, 25, .08), transparent 42%),
    var(--cream);
}

.error-page-inner { max-width: 760px; }
.error-page h1 { max-width: 700px; margin-bottom: 18px; }
.error-page p:not(.eyebrow) { max-width: 620px; color: var(--ink-soft); font-size: clamp(18px, 2.2vw, 22px); }
.error-page .hero-actions { flex-wrap: wrap; margin-top: 30px; }

/* Practical resource hub */
.resource-preview { padding: clamp(72px, 9vw, 128px) 0; }
.resource-preview-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(42px, 7vw, 104px); align-items: center; }
.resource-preview-photo { min-height: 560px; overflow: hidden; border-radius: 28px; background: #d8cec3; box-shadow: 0 26px 70px rgba(44, 30, 20, .12); }
.resource-preview-photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.resource-preview-copy .section-lead { max-width: 640px; }
.resource-links { display: grid; margin: 34px 0 28px; border-top: 1px solid var(--border); }
.resource-links a { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; min-height: 78px; padding: 14px 2px; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; transition: color .2s ease, padding .2s ease; }
.resource-links a:hover { color: var(--orange); padding-inline: 8px 0; }
.resource-links a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.resource-links span { color: var(--orange-deep); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.resource-links strong { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.2; }
.resource-links i { font-style: normal; font-size: 22px; }

.guide-page main { background: var(--white); }
.guide-hero { padding: clamp(104px, 12vw, 168px) 0 clamp(64px, 8vw, 104px); background: var(--cream); }
.guide-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(44px, 7vw, 100px); align-items: center; }
.guide-hero h1 { max-width: 760px; }
.guide-hero p:not(.eyebrow) { max-width: 660px; color: var(--ink-soft); font-size: clamp(18px, 2vw, 23px); }
.guide-hero figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px; box-shadow: 0 28px 76px rgba(44, 30, 20, .14); }
.guide-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.guide-index { position: sticky; top: 72px; z-index: 8; background: color-mix(in srgb, var(--white) 94%, transparent); border-block: 1px solid var(--border); backdrop-filter: blur(16px); }
.guide-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.guide-index a { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 12px; min-height: 74px; padding: 14px 22px; color: var(--ink); text-decoration: none; border-inline-start: 1px solid var(--border); }
.guide-index a:last-child { border-inline-end: 1px solid var(--border); }
.guide-index a:hover { background: var(--cream); color: var(--orange); }
.guide-index a:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.guide-index span { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.guide-article { padding: clamp(78px, 10vw, 144px) 0; scroll-margin-top: 150px; }
.guide-article-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(52px, 8vw, 130px); }
.guide-article-heading { position: sticky; top: 174px; align-self: start; }
.guide-article-heading > span { display: block; margin-bottom: 36px; color: color-mix(in srgb, var(--orange) 24%, transparent); font-size: clamp(76px, 9vw, 138px); font-weight: 950; line-height: .7; letter-spacing: -.08em; }
.guide-article-heading h2 { margin-bottom: 18px; }
.guide-article-heading > p:last-child { color: var(--ink-soft); font-size: 18px; }
.guide-article-body { max-width: 760px; }
.guide-article-body h3 { margin: 0 0 10px; padding-top: 34px; font-size: clamp(21px, 2vw, 27px); }
.guide-article-body h3:first-child { padding-top: 0; }
.guide-article-body > p { color: var(--ink-soft); font-size: 18px; line-height: 1.72; }
.guide-callout { margin-top: 42px; padding: 26px 28px; border-inline-start: 4px solid var(--orange); background: var(--cream); }
.guide-callout strong { display: block; margin-bottom: 6px; font-size: 18px; }
.guide-callout p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.guide-callout-alert { border-color: #b43b2d; background: color-mix(in srgb, #b43b2d 8%, var(--white)); }
.guide-callout a { color: inherit; font-weight: 800; text-underline-offset: 3px; }
.guide-cta { padding: clamp(72px, 9vw, 120px) 0; background: var(--graphite); color: #fff; }
.guide-cta .cta-grid { border-color: rgba(255,255,255,.16); }
.guide-cta p { color: rgba(255,255,255,.7); }
.guide-cta .text-link { color: #fff; }

html[data-theme="dark"] .resource-preview-photo,
html[data-theme="dark"] .guide-hero figure { box-shadow: 0 26px 70px rgba(0,0,0,.34); }
html[data-theme="dark"] .guide-index { background: rgba(18, 18, 20, .95); border-color: #38383d; }
html[data-theme="dark"] .guide-index a { color: #f4f2ef; border-color: #38383d; }
html[data-theme="dark"] .guide-index a:hover { background: #242428; color: #ff8a3d; }

@media screen and (max-width: 900px) {
  .resource-preview-layout,
  .guide-hero-grid,
  .guide-article-grid { grid-template-columns: 1fr; }
  .resource-preview-photo { min-height: 440px; }
  .resource-preview-photo img { min-height: 440px; }
  .guide-hero-grid { gap: 38px; }
  .guide-hero figure { max-height: 560px; }
  .guide-article-heading { position: static; }
  .guide-article-heading > span { margin-bottom: 24px; }
}

@media screen and (max-width: 680px) {
  .resource-preview { padding-block: 64px; }
  .resource-preview-photo { min-height: 330px; border-radius: 20px; }
  .resource-preview-photo img { min-height: 330px; }
  .resource-links a { grid-template-columns: 34px 1fr auto; gap: 10px; }
  .guide-hero { padding-top: 98px; }
  .guide-hero figure { border-radius: 20px; }
  .guide-index { position: static; overflow-x: auto; }
  .guide-index-grid { width: max-content; grid-template-columns: repeat(3, minmax(190px, 1fr)); }
  .guide-index a { min-height: 66px; padding: 12px 16px; }
  .guide-article { padding-block: 70px; scroll-margin-top: 24px; }
  .guide-article-grid { gap: 34px; }
  .guide-article-body > p { font-size: 17px; }
  .guide-callout { padding: 22px; }
}

@media screen and (max-width: 340px) {
  .site-header .brand { flex: 0 0 42px; width: 42px; }
  .site-header .brand span { display: none; }
}

.site-footer nav a { padding-block: 3px; }

main > section[id] { scroll-margin-top: calc(var(--header-height) + 16px); }

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-color: rgba(228, 217, 200, .75);
  box-shadow: 0 6px 24px rgba(30, 25, 20, .05);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 44px);
}

.main-nav a,
.footer-top nav a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a { padding: 10px 0; }

.main-nav a::after,
.footer-top nav a::after {
  position: absolute;
  bottom: -7px;
  inset-inline: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.footer-top nav a:hover::after,
.footer-top nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: center;
}

.menu-toggle { display: none; }

.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.theme-toggle:hover { color: var(--orange-deep); border-color: var(--orange); transform: translateY(-1px); }
.theme-toggle:active { transform: translateY(0) scale(.96); }
.theme-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
.legal-theme-toggle { grid-column: -1; }
.legal-header .header-inner { grid-template-columns: auto 1fr auto auto; }

.language-picker { position: relative; z-index: 20; }
.language-toggle {
  min-width: 58px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}
.language-toggle:hover { color: var(--orange-deep); border-color: var(--orange); transform: translateY(-1px); }
.language-toggle:active { transform: translateY(0) scale(.96); }
.language-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform 180ms ease; }
.language-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 218px;
  max-height: min(520px, calc(100vh - var(--header-height) - 28px));
  overflow-y: auto;
  padding: 7px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(30, 25, 20, .16);
}
.language-menu[hidden] { display: none; }
.language-option {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  text-align: start;
  cursor: pointer;
}
.language-option:hover,.language-option:focus-visible { background: var(--cream-soft); }
.language-option.is-active { color: var(--orange-deep); background: var(--orange-soft); font-weight: 750; }
.language-option small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; }

.button {
  min-height: 50px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.15;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(232, 122, 46, .28); outline-offset: 3px; }

.button-primary { color: var(--white); background: var(--button-orange); box-shadow: 0 10px 22px rgba(185, 79, 12, .18); }
.button-primary:hover { background: var(--button-orange-hover); box-shadow: 0 13px 26px rgba(150, 60, 8, .25); }
.button-secondary { color: var(--ink); background: var(--white); border-color: #aaa39a; }
.button-secondary:hover { border-color: var(--ink); background: var(--cream-soft); }

.hero-download { max-width: 620px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-download-label { margin-bottom: 12px; color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.store-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.store-button {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  text-align: start;
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.store-button:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.store-button:active { transform: translateY(0) scale(.99); }
.store-button svg { width: 29px; height: 29px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.store-button span { min-width: 0; display: grid; line-height: 1.08; }
.store-button small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.store-button strong { margin-top: 4px; font-size: 16px; }
.store-button strong { direction: ltr; unicode-bidi: isolate; }
.store-button em { padding: 5px 7px; color: var(--orange-deep); background: var(--orange-soft); border-radius: 7px; font-size: 11px; font-style: normal; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }

.hero {
  min-height: calc(780px - var(--header-height));
  overflow: hidden;
  background: var(--white);
}

.hero-grid {
  min-height: calc(780px - var(--header-height));
  display: grid;
  grid-template-columns: minmax(440px, .88fr) minmax(620px, 1.2fr);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 70px 0 78px;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 4.55vw, 76px);
  font-weight: 820;
  letter-spacing: -0.062em;
  line-height: .99;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.45;
}

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

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 690px;
  margin-inline-end: calc((100vw - min(var(--container), calc(100vw - 80px))) / -2);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.hero-photo-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset-block: 0;
  inset-inline-start: 0;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.88) 35%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.phone {
  position: relative;
  color: var(--ink);
  background: #151517;
  border: 2px solid #242427;
  border-radius: 38px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}

.phone::before {
  position: absolute;
  z-index: 21;
  top: 5px;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  background: #050506;
  border: 1px solid #36363a;
  border-radius: 50%;
  transform: translateX(-50%);
}

.phone::after {
  display: none;
}

.phone-speaker { display: none; }

.phone-screen {
  position: absolute;
  inset: 14px 6px 7px;
  overflow: hidden;
  background: var(--white);
  border-radius: 27px;
}

/* Real application captures are kept axis-aligned. This avoids the soft,
   uneven pixels that CSS rotation and fractional scaling create around text. */
.real-screen-phone {
  height: auto !important;
  aspect-ratio: 372 / 802;
}

.app-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: transparent;
  font-size: 0;
  display: block;
  object-fit: cover;
  clip-path: inset(1px);
}

.app-shot-dark { display: none; }

.phone-hero {
  position: absolute;
  z-index: 5;
  bottom: 42px;
  inset-inline-start: 1%;
  width: 292px;
  height: auto;
  aspect-ratio: 372 / 802;
}

.section-white, .section-cream { padding: 118px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream-soft); }

h2 {
  margin-bottom: 38px;
  font-size: clamp(38px, 4vw, 65px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h3 { font-size: 17px; line-height: 1.25; }

.feature-layout { display: block; }
.feature-copy h2 { max-width: 760px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 38px; border-top: 1px solid var(--border-strong); }
.feature-list article { min-height: 215px; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-content: start; padding: 30px 0; border-bottom: 1px solid var(--border); }
.feature-list svg { width: 35px; height: 35px; fill: none; stroke: var(--ink); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.feature-list h3 { margin: 1px 0 6px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.feature-details { border-top: 1px solid var(--border); }
.feature-details-heading { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 64px; }
.feature-details-heading h2 { max-width: 780px; margin-bottom: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border-strong); border-inline-start: 1px solid var(--border-strong); }
.capability-card { min-height: 560px; display: grid; grid-template-rows: auto auto 1fr auto; padding: clamp(28px, 3.2vw, 48px); border-inline-end: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.capability-number { margin-bottom: 42px; color: var(--orange-deep); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.capability-kicker { margin-bottom: 9px; color: var(--orange-deep); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.capability-copy h3 { max-width: 560px; margin: 0 0 17px; font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -.035em; line-height: 1.08; }
.capability-copy > p:last-child { max-width: 610px; margin-bottom: 28px; color: var(--ink-soft); line-height: 1.65; }
.capability-points { display: grid; align-content: start; gap: 11px; padding: 0; margin: 0 0 34px; list-style: none; }
.capability-points li { position: relative; padding-inline-start: 25px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.capability-points li::before { position: absolute; top: .5em; inset-inline-start: 1px; width: 10px; height: 6px; content: ""; border-bottom: 2px solid var(--orange); border-inline-start: 2px solid var(--orange); transform: rotate(-45deg); }
.capability-use { margin: 0; padding-top: 20px; color: var(--muted); border-top: 1px solid var(--border); font-size: 13px; line-height: 1.55; }
.capability-use span { display: block; margin-bottom: 6px; color: var(--ink); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.included-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border-top: 1px solid var(--border-strong); border-inline-start: 1px solid var(--border-strong); }
.included-strip p { min-height: 128px; display: grid; align-content: start; gap: 8px; margin: 0; padding: 24px; border-inline-end: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.included-strip strong { font-size: 15px; }
.included-strip span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.pet-profile-layout { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(60px, 8vw, 130px); align-items: center; }
.profile-explainer h2 { max-width: 640px; }
.profile-category-list { display: grid; gap: 28px; }
.profile-category-list article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.profile-category-list svg { width: 42px; height: 42px; fill: none; stroke: var(--orange); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.profile-category-list h3 { margin: 1px 0 6px; font-size: 19px; }
.profile-category-list p { max-width: 460px; margin: 0; color: var(--muted); }

.profile-device-stage {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 54px;
  isolation: isolate;
}

.profile-device-stage::before {
  position: absolute;
  z-index: -1;
  width: min(520px, 86%);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(232,122,46,.23) 0, rgba(232,122,46,.1) 35%, transparent 70%);
  filter: blur(18px);
}

.phone-profile { width: min(330px, 100%); }


.how-grid { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(60px, 10vw, 160px); align-items: center; }
.how-copy h2 { max-width: 800px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 0; list-style: none; }
.steps::before { position: absolute; top: 25px; inset-inline: 25px; height: 1px; content: ""; background: var(--orange); }
.steps li { position: relative; display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.steps li > span { z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; color: var(--orange-deep); background: var(--white); border: 1.5px solid var(--orange); border-radius: 50%; font-weight: 800; }
.steps h3 { margin: 1px 0 7px; font-size: 18px; }
.steps p { max-width: 550px; margin: 0; color: var(--muted); }

.phone-chat { justify-self: center; width: 340px; height: 690px; }
.medical-showcase { overflow: hidden; }
.medical-heading { display: grid; grid-template-columns: 1.05fr .75fr; gap: clamp(45px, 7vw, 110px); align-items: end; margin-bottom: 62px; }
.medical-heading h2 { max-width: 820px; margin-bottom: 0; }
.medical-heading > p { max-width: 610px; margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.medical-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(55px, 7vw, 110px); align-items: center; }
.medical-workflow { border-top: 1px solid var(--border-strong); }
.medical-workflow article { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--border); }
.medical-workflow article > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--orange-deep); background: var(--white); border: 1px solid var(--border-strong); border-radius: 50%; font-size: 11px; font-weight: 850; letter-spacing: .05em; }
.medical-workflow h3 { margin: 0 0 6px; font-size: 20px; }
.medical-workflow article p { margin: 0; color: var(--muted); line-height: 1.55; }
.medicine-note { display: grid; grid-template-columns: 46px 1fr; gap: 18px; margin-top: 28px; padding: 24px; background: var(--orange-soft); border-inline-start: 4px solid var(--orange-deep); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.medicine-note svg { width: 42px; height: 42px; fill: none; stroke: var(--orange-deep); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.medicine-note h3 { margin: 0 0 8px; font-size: 18px; }
.medicine-note p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.medical-device-stage { position: relative; min-height: 690px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: end; padding: 48px; isolation: isolate; }
.medical-device-stage::before { position: absolute; z-index: -1; inset: 12% 4%; content: ""; background: radial-gradient(ellipse, rgba(232,122,46,.2), rgba(232,122,46,.07) 42%, transparent 72%); filter: blur(22px); }
.medical-device-card { min-width: 0; display: grid; gap: 15px; align-items: end; margin: 0; }
.medical-device-card-raised { padding-bottom: 54px; }
.medical-device-card .phone { width: min(245px, 100%); margin-inline: auto; }
.medical-device-card figcaption { color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.medical-evidence { display: grid; grid-template-columns: .8fr 1.2fr; margin-top: 54px; background: var(--white); border: 1px solid var(--border-strong); }
.medical-priority { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 30px; border-inline-end: 1px solid var(--border); }
.medical-priority svg { width: 46px; height: 46px; fill: none; stroke: var(--orange-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.medical-priority strong { display: block; margin-bottom: 7px; font-size: 17px; }
.medical-priority span { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; }
.medical-sources { padding: 25px 30px 30px; }
.medical-sources > p { margin: 0 0 18px; color: var(--orange-deep); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.medical-sources > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-inline-start: 1px solid var(--border); }
.medical-sources a { position: relative; min-height: 108px; display: flex; flex-direction: column; padding-block: 17px 16px; padding-inline: 16px 38px; border-inline-end: 1px solid var(--border); border-bottom: 1px solid var(--border); text-decoration: none; transition: background 180ms ease; }
.medical-sources a:hover { background: var(--cream-soft); }
.medical-sources a span { margin-bottom: 7px; color: var(--orange-deep); font-size: 11px; font-weight: 850; letter-spacing: .04em; }
.medical-sources a strong { font-size: 13px; line-height: 1.4; }
.medical-sources a i { position: absolute; inset-block-start: 15px; inset-inline-end: 15px; color: var(--orange-deep); font-style: normal; }

.faq-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(60px, 9vw, 150px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-height) + 35px); }.faq-intro h2 { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--border-strong); }
.faq-list details { border-bottom: 1px solid var(--border-strong); }
.faq-list summary { position: relative; padding: 25px 50px 25px 0; font-size: 19px; font-weight: 750; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::before,.faq-list summary::after { position: absolute; top: 50%; inset-inline-end: 8px; width: 18px; height: 1.5px; content: ""; background: var(--orange); transition: transform 180ms ease; }.faq-list summary::after { transform: rotate(90deg); }.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { max-width: 820px; margin: -4px 0 24px; padding-inline-end: 45px; color: var(--muted); }

.download-section { border-top: 1px solid var(--border); }
.home-download-panel { display: grid; grid-template-columns: 1.05fr .7fr; gap: clamp(60px, 9vw, 150px); align-items: center; }
.download-copy h2 { max-width: 760px; }
.download-copy > p:not(.eyebrow) { max-width: 720px; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.release-facts { display: grid; gap: 12px; max-width: 720px; padding: 0; margin: 30px 0 0; list-style: none; }
.release-facts li { position: relative; padding-inline-start: 28px; color: var(--ink-soft); }
.release-facts li::before { position: absolute; top: .47em; inset-inline-start: 1px; width: 11px; height: 6px; content: ""; border-bottom: 2px solid var(--orange); border-left: 2px solid var(--orange); transform: rotate(-45deg); }
.download-actions { padding: clamp(25px, 3vw, 40px); background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.store-buttons-large { grid-template-columns: 1fr; }
.store-buttons-large .store-button { min-height: 78px; padding: 13px 15px; }
.store-buttons-large .store-button strong { font-size: 19px; }
.download-actions > .button { width: 100%; }

.cta-grid { display: grid; grid-template-columns: 1.12fr .72fr .6fr; gap: clamp(34px, 5vw, 84px); align-items: center; }
.cta-grid h2 { margin: 0; font-size: clamp(34px, 3.5vw, 54px); }
.cta-grid > p { margin: 0; color: var(--ink-soft); font-size: 18px; }
.cta-actions { display: grid; gap: 18px; }
.text-link { color: var(--orange-deep); font-weight: 750; text-align: center; text-decoration: none; }
.text-link span { margin-inline-start: 7px; transition: margin 180ms ease; }.text-link:hover span { margin-inline-start: 13px; }

.feedback-section { padding: clamp(88px, 10vw, 148px) 0; background: var(--white); border-bottom: 1px solid var(--border); }
.feedback-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(500px, 1.14fr); gap: clamp(54px, 8vw, 126px); align-items: start; }
.feedback-intro { position: sticky; top: calc(var(--header-height) + 36px); }
.feedback-intro h2 { max-width: 660px; margin: 0 0 24px; font-size: clamp(42px, 4.6vw, 68px); line-height: 1; letter-spacing: -.05em; }
.feedback-intro > p:not(.eyebrow):not(.feedback-note) { max-width: 650px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.feedback-contact { margin-top: 34px; padding: 23px; color: white; background: var(--ink); border-radius: var(--radius-md); }
.feedback-contact > span { display: block; margin-bottom: 11px; color: rgba(255,255,255,.66); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.feedback-email-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; }
.feedback-email-row a { color: white; font-size: clamp(15px, 1.3vw, 18px); font-weight: 800; overflow-wrap: anywhere; text-decoration: none; }
.feedback-email-row a { direction: ltr; unicode-bidi: isolate; }
.feedback-email-row button { min-height: 40px; padding: 8px 13px; color: var(--ink); background: var(--cream); border: 0; border-radius: 9px; font-size: 13px; font-weight: 800; cursor: pointer; transition: background 160ms ease, transform 160ms ease; }
.feedback-email-row button:hover { background: var(--orange-soft); }
.feedback-email-row button:active { transform: translateY(1px); }
.feedback-email-row button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.feedback-contact small { display: block; min-height: 20px; margin-top: 9px; color: #bce6c7; font-size: 12px; }
.feedback-note { max-width: 630px; margin: 19px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.feedback-form { display: grid; padding: clamp(28px, 4vw, 46px); background: var(--cream-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.feedback-form fieldset { padding: 0; margin: 0 0 28px; border: 0; }
.feedback-form legend,
.feedback-form > label { margin-bottom: 8px; color: var(--ink); font-weight: 800; }
.feedback-form > label span { color: var(--muted); font-size: 13px; font-weight: 550; }
.feedback-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.feedback-type { position: relative; }
.feedback-type:last-child:nth-child(odd) { grid-column: 1 / -1; }
.feedback-type input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; clip-path: inset(50%); pointer-events: none; }
.feedback-type > span { min-height: 110px; display: flex; flex-direction: column; justify-content: center; padding: 17px; background: var(--white); border: 1px solid var(--border-strong); border-radius: 12px; cursor: pointer; transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.feedback-type strong { display: block; margin-bottom: 5px; font-size: 16px; }
.feedback-type small { color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.feedback-type input:checked + span { background: var(--orange-soft); border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.feedback-type input:focus-visible + span { outline: 3px solid rgba(211,91,18,.35); outline-offset: 2px; }
.feedback-form > input,
.feedback-form > textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--white); border: 1px solid var(--border-strong); border-radius: 10px; outline: 0; transition: border-color 160ms ease, box-shadow 160ms ease; }
.feedback-form input[type="email"] { direction: ltr; text-align: left; unicode-bidi: isolate; }
.feedback-form > textarea { min-height: 178px; resize: vertical; line-height: 1.55; }
.feedback-form > input::placeholder,
.feedback-form > textarea::placeholder { color: var(--muted); opacity: .85; }
.feedback-form > input:focus,
.feedback-form > textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(211,91,18,.13); }
.feedback-form > input[aria-invalid="true"],
.feedback-form > textarea[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(191,50,45,.11); }
.feedback-error { min-height: 25px; padding-top: 5px; color: var(--red); font-size: 12px; }
.feedback-form .button { width: 100%; margin-top: 8px; }
.feedback-helper { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.site-footer { padding: 48px 0 28px; background: var(--white); }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 70px; align-items: center; padding-bottom: 35px; }
.footer-top nav { display: flex; justify-content: center; gap: 35px; }.footer-top nav:last-child { justify-content: flex-end; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; color: var(--muted); border-top: 1px solid var(--border); font-size: 13px; }.footer-bottom p { margin: 0; }

.toast { position: fixed; z-index: 100; inset-inline-end: 22px; bottom: 22px; max-width: 380px; padding: 13px 17px; color: white; background: var(--ink); border-radius: 10px; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }

.legal-page { min-height: 70vh; padding: 70px 0 110px; }.legal-page article { max-width: 840px; }.legal-page h1 { margin-bottom: 20px; font-size: clamp(40px, 5vw, 68px); overflow-wrap: normal; hyphens: manual; }.legal-page h2 { margin: 45px 0 14px; font-size: 28px; letter-spacing: -.03em; }.legal-page p,.legal-page li{color:var(--ink-soft)}.legal-back{display:inline-flex;margin-bottom:36px;color:var(--orange-deep);font-weight:750;text-decoration:none}

/* Editorial storytelling sections */
.eyebrow {
  margin-bottom: 18px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}

.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-grid { grid-template-columns: minmax(500px, .98fr) minmax(0, 1.08fr); gap: 32px; }
.hero-copy h1 { max-width: 760px; font-size: clamp(46px, 4.2vw, 69px); }
.hero-copy > p:not(.eyebrow) { max-width: 680px; }
.hero-photo { object-position: 59% center; }
.phone-hero { inset-inline-start: 2.5%; }

.benefit-strip {
  padding: 72px 0 76px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, .75fr);
  gap: 0;
  align-items: stretch;
}

.benefit-heading { padding-inline-end: clamp(35px, 5vw, 80px); }
.benefit-heading h2 { max-width: 520px; margin: 0; font-size: clamp(34px, 3.2vw, 52px); }
.benefit-grid article { padding: 2px clamp(24px, 3vw, 46px); border-inline-start: 1px solid var(--border-strong); }
.benefit-grid article > span { display: block; margin-bottom: 28px; color: var(--orange-deep); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.benefit-grid article h3 { margin-bottom: 10px; font-size: 18px; }
.benefit-grid article p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.journey { overflow: hidden; }
.journey-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(70px, 8vw, 125px); align-items: center; }
.journey-photo-wrap { position: relative; min-height: 700px; margin-inline-start: calc((100vw - min(var(--container), calc(100vw - 80px))) / -2); }
.journey-photo { width: 100%; height: 700px; object-fit: cover; object-position: center; border-start-start-radius: 0; border-end-start-radius: 0; border-start-end-radius: var(--radius-lg); border-end-end-radius: var(--radius-lg); }
.journey-copy h2 { max-width: 760px; }
.journey-steps { padding: 0; margin: 48px 0 0; list-style: none; border-top: 1px solid var(--border-strong); }
.journey-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.journey-steps li > span { padding-top: 3px; color: var(--orange-deep); font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.journey-steps h3 { margin-bottom: 5px; font-size: 19px; }
.journey-steps p { max-width: 620px; margin: 0; color: var(--muted); }


html[data-theme="dark"] {
  --cream: #242428;
  --cream-soft: #1a1a1d;
  --orange-deep: #ff9a4d;
  --orange-soft: #3d2410;
  --ink: #e8e8ea;
  --ink-soft: #c7c7cc;
  --muted: #a8a8b0;
  --border: #38383e;
  --border-strong: #4a4a52;
  --green: #69c782;
  --green-soft: #173521;
  --red: #ff786f;
  --red-soft: #3a1717;
  --shadow-sm: 0 8px 30px rgba(0, 0, 0, .26);
  --shadow-phone: 0 26px 60px rgba(0, 0, 0, .48), 0 4px 12px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .section-white,
html[data-theme="dark"] .site-footer { background: #121214; }
html[data-theme="dark"] .section-cream { background: #1a1a1d; }
html[data-theme="dark"] .feedback-section { background: #121214; }
html[data-theme="dark"] .feedback-form { background: #1a1a1d; border-color: #38383e; }
html[data-theme="dark"] .feedback-contact { background: #09090a; }
html[data-theme="dark"] .feedback-type > span,
html[data-theme="dark"] .feedback-form > input,
html[data-theme="dark"] .feedback-form > textarea { background: #242428; border-color: #4a4a52; }
html[data-theme="dark"] .feedback-type input:checked + span { background: #3d2410; border-color: var(--orange); }
html[data-theme="dark"] .site-header { background: rgba(18, 18, 20, .94); }
html[data-theme="dark"] .site-header.is-scrolled { border-color: rgba(56, 56, 62, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .24); }
html[data-theme="dark"] .theme-toggle { color: #e8e8ea; background: #242428; }
html[data-theme="dark"] .language-toggle { color: #e8e8ea; background: #242428; }
html[data-theme="dark"] .language-menu { background: #1b1b1e; border-color: #34343a; box-shadow: 0 20px 55px rgba(0, 0, 0, .34); }
html[data-theme="dark"] .language-option { color: #f4f4f5; }
html[data-theme="dark"] .language-option:hover,html[data-theme="dark"] .language-option:focus-visible { background: #29292e; }
html[data-theme="dark"] .language-option.is-active { color: #ffd3b4; background: rgba(211, 91, 18, .2); }
html[data-theme="dark"] .button-secondary { color: #e8e8ea; background: #1a1a1d; border-color: #62626b; }
html[data-theme="dark"] .button-secondary:hover { background: #242428; border-color: #e8e8ea; }
html[data-theme="dark"] .store-button,
html[data-theme="dark"] .download-actions { color: #e8e8ea; background: #242428; }
html[data-theme="dark"] .store-button:hover { background: #2d2d32; border-color: #8a8a94; }
html[data-theme="dark"] .store-button svg { stroke: #e8e8ea; }
html[data-theme="dark"] .app-shot-light { display: none; }
html[data-theme="dark"] .app-shot-dark { display: block; }
html[data-theme="dark"] .hero-visual::before { background: linear-gradient(90deg, #121214 0%, rgba(18,18,20,.9) 35%, rgba(18,18,20,0) 100%); }
html[data-theme="dark"] .phone-screen { background: #1a1a1d; }
html[data-theme="dark"] .phone { border-color: #4a4a52; }
html[data-theme="dark"] .profile-device-stage { background: transparent; border-color: transparent; }
html[data-theme="dark"] .steps li > span { background: #1a1a1d; }
html[data-theme="dark"] .medical-device-stage { background: transparent; }
html[data-theme="dark"] .medical-evidence { background: #171719; }
html[data-theme="dark"] .medicine-note { background: #2b2118; }
html[data-theme="dark"] .medical-sources a:hover { background: #242428; }
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .main-nav { color: #e8e8ea; background: #121214; }
html[data-theme="dark"] .menu-toggle span:not(.sr-only) { background: #e8e8ea; }
html[data-theme="dark"] .journey-photo { filter: brightness(.83) saturate(.9); }

@media (max-width: 1180px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .hero-grid { grid-template-columns: .9fr 1.1fr; }
  .hero-visual { margin-inline-end: -24px; }
  .phone-hero { width: 255px; height: auto; }
  .feature-copy { max-width: 100%; margin-inline: auto; }
  .pet-profile-layout { grid-template-columns: 1fr; }.profile-explainer { max-width: 900px; }.profile-device-stage { width: min(720px, 100%); margin-inline: auto; }
  .footer-top { grid-template-columns: auto 1fr; }.footer-top nav:last-child { grid-column: 1 / -1; justify-content: flex-start; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }.benefit-heading { grid-column: 1 / -1; padding: 0 0 45px; }.benefit-heading h2 { max-width: 740px; }.benefit-grid article:first-of-type { border-inline-start: 0; padding-inline-start: 0; }
  .journey-layout { gap: 62px; }
}

@media (max-width: 1050px) {
  :root { --header-height: 72px; }
  .header-inner,
  .legal-header .header-inner { display: flex; gap: 8px; }
  .header-inner .brand { order: 0; margin-inline-end: auto; font-size: 21px; }
  .header-inner .brand img { width: 43px; height: 43px; }
  .header-inner .language-picker { order: 1; }
  .header-inner .theme-toggle { order: 2; }
  .header-inner .menu-toggle { order: 3; }
  .header-cta { display: none; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; padding: 0; background: white; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--ink); transition: transform 200ms ease; }
  .menu-toggle[aria-expanded="true"] { gap: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2),
  .menu-toggle[aria-expanded="true"] span:last-child { grid-area: 1 / 1; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .main-nav { position: fixed; top: var(--header-height); inset-inline: 0; height: calc(100dvh - var(--header-height)); display: flex; flex-direction: column; justify-content: flex-start; gap: 0; overflow-y: auto; padding: 20px 24px max(30px, env(safe-area-inset-bottom)); background: white; border-top: 1px solid var(--border); visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: transform 180ms var(--ease), visibility 0s linear 180ms; }
  .main-nav.is-open { visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }.main-nav a { padding: 17px 2px; border-bottom: 1px solid var(--border); font-size: 21px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }.hero-copy { padding: 64px 0 40px; }.hero-visual { min-height: 620px; margin-inline: -24px; }.hero-photo { object-position: 55% center; }.phone-hero { inset-inline-start: 8%; }
  .section-white,.section-cream { padding: 88px 0; }
  .how-grid { grid-template-columns: 1fr; }.phone-chat { margin-top: 25px; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .feature-details-heading { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }.capability-card { min-height: 0; }.included-strip { grid-template-columns: repeat(2, 1fr); }
  .home-download-panel { grid-template-columns: 1fr; gap: 46px; }.download-actions { max-width: 680px; }
  .steps { display: block; }.steps::before { top: 25px; bottom: 25px; inset-inline: 25px auto; width: 1px; height: auto; }.steps li { grid-template-columns: 52px 1fr; gap: 24px; padding-bottom: 34px; }.steps li:last-child { padding-bottom: 0; }.steps h3 { font-size: 21px; }
  .medical-heading,.medical-layout { grid-template-columns: 1fr; }
  .medical-heading { gap: 25px; }
  .medical-device-stage { width: min(760px, 100%); margin-inline: auto; }
  .medical-evidence { grid-template-columns: 1fr; }
  .medical-priority { border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .faq-layout { grid-template-columns: 1fr; }.faq-intro { position: static; }
  .feedback-layout { grid-template-columns: 1fr; }
  .feedback-intro { position: static; }
  .feedback-form { width: min(760px, 100%); }
  .cta-grid { grid-template-columns: 1fr 1fr; }.cta-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
  .benefit-grid { grid-template-columns: 1fr; }.benefit-grid article,.benefit-grid article:first-of-type { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); border-inline-start: 0; }.benefit-grid article > span { grid-row: 1 / span 2; margin: 4px 0 0; }.benefit-grid article p { grid-column: 2; }
  .journey-layout { grid-template-columns: 1fr; gap: 58px; }
  .journey-photo-wrap { min-height: 620px; margin-block: 0; margin-inline: 0 -24px; }.journey-photo { height: 620px; border-start-start-radius: var(--radius-lg); border-end-start-radius: var(--radius-lg); border-start-end-radius: 0; border-end-end-radius: 0; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  h1 { font-size: clamp(42px, 12vw, 62px); }.hero-copy > p { font-size: 18px; }.hero-actions { display: grid; }
  html[lang="ja"] .hero-copy h1,
  html[lang="ko"] .hero-copy h1,
  html[lang="zh-Hans"] .hero-copy h1 { font-size: 42px; line-height: 1.1; letter-spacing: -.035em; }
  html[lang="ko"] .hero-copy h1 { word-break: keep-all; overflow-wrap: normal; }
  .hero-visual { min-height: 510px; margin-inline: -18px; }.hero-visual::before { width: 12%; }.hero-photo { object-position: 62% center; }.phone-hero { bottom: 20px; inset-inline-start: 1.5%; width: 210px; height: auto; border-radius: 36px; }.phone-screen{border-radius:27px}.phone::after{border-radius:30px}.phone-speaker{width:68px;height:19px;top:8px}
  .section-white,.section-cream { padding: 72px 0; } h2 { margin-bottom: 30px; font-size: 40px; }
  .feature-list { grid-template-columns: 1fr; gap: 0; }.feature-list article { min-height: 0; grid-template-columns: 35px 1fr; }
  .feature-details-heading { margin-bottom: 42px; }.capability-card { padding: 27px 22px; }.capability-number { margin-bottom: 30px; }.capability-copy h3 { font-size: 27px; }.included-strip { grid-template-columns: 1fr; }.included-strip p { min-height: 0; }
  .profile-category-list { gap: 24px; }.profile-category-list article { grid-template-columns: 38px 1fr; }.profile-category-list svg { width: 36px; height: 36px; }.profile-device-stage { min-height: 610px; padding: 38px 24px; }.phone-profile { width: min(292px, 100%); }
  .faq-list summary { padding-block: 21px; padding-inline: 0 44px; font-size: 17px; }.faq-list details p { padding-inline-end: 12px; }
  .feedback-layout { gap: 42px; }
  .feedback-intro h2 { font-size: clamp(38px, 11vw, 49px); }
  .feedback-contact { padding: 20px 18px; }
  .feedback-email-row { align-items: flex-start; }
  .feedback-form { padding: 24px 18px; }
  .feedback-types { grid-template-columns: 1fr; }
  .feedback-type > span { min-height: 92px; }
  .steps li { gap: 18px; }.steps h3 { font-size: 19px; }.phone-chat { width: min(300px, 90%); height: auto; justify-self: center; margin-inline-start: 0; }
  .medical-heading { margin-bottom: 44px; }
  .medical-heading > p { font-size: 16px; }
  .medical-device-stage { min-height: 0; gap: 14px; padding: 28px 18px; }
  .medical-device-card-raised { padding-bottom: 30px; }
  .medical-device-card figcaption { font-size: 10.5px; }
  .medicine-note { grid-template-columns: 40px 1fr; padding: 21px 18px; }
  .medicine-note svg { width: 36px; height: 36px; }
  .medical-evidence { margin-top: 38px; }
  .medical-priority,.medical-sources { padding: 23px 20px; }
  .medical-sources > div { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 25px; }.cta-grid h2 { font-size: 39px; }.cta-actions { grid-column: auto; grid-template-columns: 1fr; }.cta-grid > p { font-size: 16px; }
  .download-copy > p:not(.eyebrow) { font-size: 16px; }.download-actions { padding: 22px 18px; }.store-buttons-large .store-button { min-height: 72px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }.footer-top nav,.footer-top nav:last-child { display: grid; gap: 18px; justify-content: start; }.footer-top nav:last-child { grid-column: auto; }.footer-bottom { flex-direction: column; }
  .benefit-strip { padding: 62px 0; }.benefit-heading { padding-bottom: 30px; }
  .journey-photo-wrap { min-height: 510px; margin-inline-end: -18px; }.journey-photo { height: 510px; object-position: 50% center; }
  .journey-steps { margin-top: 34px; }.journey-steps li { grid-template-columns: 42px 1fr; gap: 12px; }.journey-steps p { font-size: 14px; }
}

@media (max-width: 520px) {
  .site-header .brand > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .language-toggle { min-width: 50px; padding: 0 8px; }
  .language-menu {
    position: fixed;
    top: calc(var(--header-height) + 6px);
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - var(--header-height) - 18px);
  }
  .hero-download .store-buttons-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store-buttons-compact .store-button { min-height: 62px; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; padding: 9px; }
  .store-buttons-compact .store-button svg { width: 24px; height: 24px; }
  .store-buttons-compact .store-button small { font-size: 10px; }
  .store-buttons-compact .store-button strong { font-size: 14px; }
  .store-buttons-compact .store-button em { display: none; }
}

@media (max-width: 400px) {
  h1 { font-size: 40px; }.hero-visual { min-height: 455px; }.phone-hero { width: 188px; height: auto; }.brand span { font-size: 19px; }
  h2,.cta-grid h2 { font-size: 34px; }.phone-chat { height: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  html[data-theme="dark"] { --ink: #171719; --ink-soft: #4f4d4a; --muted: #726e68; --border: #e4d9c8; --border-strong: #d4c4ae; }
  .site-header,.hero-actions,.menu-toggle,.theme-toggle,.toast { display: none !important; }
  .section-white,.section-cream,.site-footer { padding: 30px 0; background: white; }
  .hero-grid,.feature-layout,.how-grid,.medical-layout,.cta-grid { display: block; }
  .phone,.hero-photo { box-shadow: none; }
}

/* Multi-page product system */
.product-page,
.legal-page {
  min-height: 100vh;
  padding: 0;
  background: var(--white);
}

.product-page h1,
.product-page h2,
.product-page h3,
.legal-page h1,
.legal-page h2,
.legal-page h3 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.footer-top {
  grid-template-columns: auto minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 40px;
}

.footer-top nav { flex-wrap: wrap; gap: 18px 28px; }

.main-nav a[aria-current="page"] { color: var(--orange-deep); }

.page-hero {
  overflow: hidden;
  padding: clamp(78px, 9vw, 138px) 0 clamp(74px, 9vw, 128px);
  border-bottom: 1px solid var(--border);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: clamp(60px, 8vw, 130px);
  align-items: center;
}

.page-kicker {
  margin: 0 0 18px;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(50px, 5.4vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}

.page-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.55;
}

.page-hero .hero-actions { margin-top: 34px; }

.page-hero-screens {
  position: relative;
  min-height: 660px;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.page-hero-screens::after {
  position: absolute;
  inset: auto 8% 7% auto;
  width: 150px;
  height: 150px;
  background: url("assets/fangsntails-logo-192.png") center / contain no-repeat;
  content: "";
  opacity: .08;
}

.mini-phone {
  position: absolute;
  inset-block-start: 64px;
  inset-inline-start: 12%;
  width: 275px;
  height: auto;
  aspect-ratio: 372 / 802;
}

.mini-phone-raised {
  inset-block-start: 20px;
  inset-inline: auto 10%;
  z-index: 2;
}

.feature-index {
  position: sticky;
  top: var(--header-height);
  z-index: 30;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.feature-index-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-block: 13px;
  scroll-padding-inline: 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.feature-index a {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--ink-soft);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  scroll-snap-align: start;
}

.feature-index a:hover,
.feature-index a:focus-visible { color: var(--ink); background: var(--cream); }

.catalog-intro { padding: 94px 0 34px; }

.compact-heading {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(400px, 1.15fr);
  gap: clamp(50px, 8vw, 140px);
  align-items: end;
}

.compact-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.compact-heading > p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.feature-chapter { padding: clamp(90px, 10vw, 150px) 0; }
.feature-chapter.section-cream { border-block: 1px solid var(--border); }

.chapter-layout { display: grid; gap: 62px; }

.chapter-heading {
  display: grid;
  grid-template-columns: 70px minmax(300px, 1fr) minmax(360px, .82fr);
  gap: clamp(20px, 4vw, 65px);
  align-items: start;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--border-strong);
}

.chapter-heading > span {
  padding-top: 10px;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
}

.chapter-heading h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.chapter-heading p { margin: 7px 0 0; color: var(--ink-soft); font-size: 18px; }

.feature-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-inline-start: 1px solid var(--border);
}

.feature-matrix article {
  min-height: 220px;
  padding: clamp(26px, 3vw, 42px);
  border-inline-end: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-matrix h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.25; }
.feature-matrix p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.chapter-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.chapter-showcase.reverse { grid-template-columns: 360px minmax(0, 1fr); }
.compact-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-matrix article { min-height: 205px; }
.showcase-phone { display: grid; place-items: center; }
.showcase-phone .phone { width: 315px; height: 638px; }

.workflow-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.workflow-band > div { padding: 30px 30px 34px; border-inline-end: 1px solid var(--border); }
.workflow-band > div:last-child { border-inline-end: 0; }
.workflow-band strong { color: var(--orange-deep); font-size: 12px; letter-spacing: .08em; }
.workflow-band h3 { margin: 20px 0 8px; font-size: 18px; }
.workflow-band p { margin: 0; color: var(--muted); font-size: 14px; }

.fact-note {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  max-width: 1000px;
  padding: 28px 32px;
  background: var(--orange-soft);
  border-inline-start: 4px solid var(--orange-deep);
}

.fact-note p { margin: 0; color: var(--ink-soft); }

.nearby-layout {
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr);
  gap: clamp(45px, 7vw, 105px);
  align-items: stretch;
}

.nearby-layout > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; border-radius: var(--radius-lg); }

.download-panel { padding: 96px 0; background: var(--ink); color: var(--white); }
.download-panel-inner { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.download-panel h2 { max-width: 850px; margin: 0 0 14px; font-size: clamp(36px, 4vw, 58px); line-height: 1.05; }
.download-panel p { max-width: 700px; margin: 0; color: #c9c7c4; }
.download-panel .store-button { color: var(--ink); background: var(--white); }

.safety-page-hero { background: var(--cream-soft); }

.principles-section,
.answer-anatomy,
.emergency-section,
.data-section,
.privacy-controls,
.legal-route { padding: clamp(88px, 10vw, 145px) 0; }

.principle-steps { max-width: 1100px; padding: 0; margin-block: 70px 0; margin-inline-start: auto; list-style: none; border-top: 1px solid var(--border-strong); }
.principle-steps li { display: grid; grid-template-columns: 75px 1fr; gap: 25px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.principle-steps li > span { padding-top: 4px; color: var(--orange-deep); font-size: 13px; font-weight: 850; }
.principle-steps h3 { margin: 0 0 8px; font-size: 24px; }
.principle-steps p { max-width: 850px; margin: 0; color: var(--muted); }

.anatomy-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 9vw, 140px); align-items: start; }
.anatomy-grid h2 { margin: 0 0 20px; font-size: clamp(38px, 4vw, 60px); }
.anatomy-grid > div > p { color: var(--ink-soft); font-size: 18px; }
.knowledge-table { border-top: 1px solid var(--border-strong); }
.knowledge-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.knowledge-row span { padding: 22px 24px; border-inline-end: 1px solid var(--border); }
.knowledge-row span:last-child { border-inline-end: 0; }
.knowledge-head { color: var(--ink); font-weight: 800; background: var(--white); }
.knowledge-row:not(.knowledge-head) { color: var(--ink-soft); }

.emergency-panel { padding: clamp(38px, 6vw, 82px); color: #fff; background: #5d1713; border-radius: var(--radius-lg); }
.emergency-panel h2 { margin: 0 0 14px; font-size: clamp(38px, 4vw, 62px); }
.emergency-panel > div > p { max-width: 900px; color: #f4d6d2; font-size: 18px; }
.emergency-panel ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 45px; margin: 42px 0; }
.emergency-panel li::marker { color: #ff9a81; }
.emergency-note { max-width: 850px; margin: 0; padding-top: 22px; color: #f4d6d2; border-top: 1px solid rgba(255,255,255,.25); }

.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 65px; border-top: 1px solid var(--border); border-inline-start: 1px solid var(--border); }
.data-grid article { padding: 32px; border-inline-end: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.data-grid h3 { margin: 0 0 18px; font-size: 21px; }
.data-grid p { margin: 8px 0; color: var(--muted); font-size: 14px; }
.data-grid strong { color: var(--ink); }

.controls-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 9vw, 150px); }
.controls-layout h2 { margin: 0 0 16px; font-size: clamp(38px, 4vw, 60px); }
.controls-layout > div > p { color: var(--ink-soft); }
.control-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--border-strong); }
.control-list li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--border); }
.control-list span { color: var(--muted); }

.legal-link-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 58px; border-top: 1px solid var(--border); border-inline-start: 1px solid var(--border); }
.legal-link-grid a { min-height: 170px; padding: 27px; border-inline-end: 1px solid var(--border); border-bottom: 1px solid var(--border); text-decoration: none; }
.legal-link-grid a:hover { background: var(--white); }
.legal-link-grid strong,.legal-link-grid span { display: block; }
.legal-link-grid span { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Legal documents */
.legal-page article { max-width: none; }
.legal-hero { padding: 84px 0 74px; background: var(--cream-soft); border-bottom: 1px solid var(--border); }
.legal-hero h1 { max-width: 1000px; margin: 12px 0 24px; font-size: clamp(48px, 6vw, 86px); line-height: 1; letter-spacing: -.055em; }
.legal-summary { max-width: 920px; margin: 0; color: var(--ink-soft); font-size: clamp(18px, 1.7vw, 23px); }
.back-link { display: inline-flex; margin-bottom: 48px; color: var(--orange-deep); font-weight: 750; text-decoration: none; }
.back-link::before { margin-inline-end: 9px; content: "←"; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 40px; padding-top: 22px; color: var(--muted); border-top: 1px solid var(--border); font-size: 14px; }
.legal-layout { display: grid; grid-template-columns: 255px minmax(0, 860px); gap: clamp(55px, 8vw, 130px); justify-content: center; align-items: start; padding-block: 78px 130px; }
.legal-toc { position: sticky; top: calc(var(--header-height) + 30px); padding: 22px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border); }
.legal-toc > strong { display: block; margin-bottom: 16px; }
.legal-toc nav { display: grid; }
.legal-toc a { padding: 7px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.legal-toc a:hover { color: var(--orange-deep); }
.legal-document { min-width: 0; }
.legal-document section { scroll-margin-top: calc(var(--header-height) + 28px); }
.legal-document h2 { margin: 62px 0 18px; font-size: 32px; line-height: 1.2; letter-spacing: -.035em; }
.legal-document section:first-of-type h2 { margin-top: 48px; }
.legal-document h3 { margin: 27px 0 9px; font-size: 20px; }
.legal-document p,.legal-document li { color: var(--ink-soft); line-height: 1.72; }
.legal-document ul { padding-inline-start: 22px; }
.legal-document li { margin: 7px 0; }
.legal-document a { color: var(--orange-deep); font-weight: 650; text-underline-offset: 3px; }
.legal-alert,.danger-alert { margin: 0 0 52px; padding: 25px 28px; background: var(--orange-soft); border-inline-start: 4px solid var(--orange-deep); }
.legal-alert strong,.danger-alert strong { display: block; margin-bottom: 7px; font-size: 17px; }
.legal-alert p,.danger-alert p { margin: 0; }
.danger-alert { color: #fff; background: #5d1713; border-color: #ff8d73; }
.danger-alert p { color: #f5d8d4; }
.legal-table,.storage-table { margin: 28px 0; border-top: 1px solid var(--border-strong); border-inline-start: 1px solid var(--border); }
.legal-row { display: grid; grid-template-columns: .9fr 1fr 1.1fr; }
.legal-row span,.storage-row span { padding: 16px 17px; border-inline-end: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--ink-soft); font-size: 14px; }
.legal-row-head,.storage-head { background: var(--cream); font-weight: 800; }
.legal-row-head span,.storage-head span { color: var(--ink); }
.urgency-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 28px 0; border-top: 1px solid var(--border); border-inline-start: 1px solid var(--border); }
.urgency-grid > div { padding: 24px; border-inline-end: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.urgency-grid strong { display: block; margin-bottom: 8px; color: var(--orange-deep); }
.urgency-grid p { margin: 0; }

.deletion-content,.storage-page-content { max-width: 1120px; padding-block: 80px 130px; }
.deletion-choice { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-inline-start: 1px solid var(--border); }
.deletion-choice article { padding: 34px; border-inline-end: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.deletion-choice article > span { color: var(--orange-deep); font-size: 13px; font-weight: 850; }
.deletion-choice h2 { margin: 24px 0 15px; font-size: 26px; }
.deletion-choice p { color: var(--ink-soft); }
.deletion-choice strong { display: block; margin-top: 28px; }
.deletion-timeline { max-width: 900px; margin: 100px auto; }
.deletion-timeline h2 { margin: 0 0 36px; font-size: clamp(34px, 4vw, 52px); }
.deletion-timeline ol { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--border-strong); }
.deletion-timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.deletion-timeline li > span { color: var(--orange-deep); font-weight: 850; }
.deletion-timeline h3 { margin: 0 0 6px; }
.deletion-timeline p { margin: 0; color: var(--muted); }
.storage-row { display: grid; grid-template-columns: .8fr 1fr 1fr .8fr; }
.storage-page-content > section { max-width: 860px; margin: 78px auto 0; }
.storage-page-content h2 { margin: 0 0 16px; font-size: 32px; }
.storage-page-content p { color: var(--ink-soft); }

/* Dark theme for added surfaces */
html[data-theme="dark"] .product-page,
html[data-theme="dark"] .legal-page { background: #121214; }
html[data-theme="dark"] .feature-index { background: rgba(18,18,20,.96); }
html[data-theme="dark"] .page-hero-screens,
html[data-theme="dark"] .knowledge-head,
html[data-theme="dark"] .legal-link-grid a:hover { background: #1a1a1d; }
html[data-theme="dark"] .download-panel { background: #09090a; }
html[data-theme="dark"] .legal-hero,
html[data-theme="dark"] .safety-page-hero { background: #1a1a1d; }
html[data-theme="dark"] .legal-alert { background: #3d2410; }
html[data-theme="dark"] .legal-row-head,
html[data-theme="dark"] .storage-head { background: #242428; }
html[data-theme="dark"] .nearby-layout > img { filter: brightness(.82) saturate(.9); }

/* Hebrew and bidirectional layout */
html[dir="rtl"] body { text-align: start; }
html[lang="he"] body { font-family: Arial, "Segoe UI", sans-serif; }
html[lang="he"] h1 { font-weight: 780; letter-spacing: normal; line-height: 1.06; }
html[lang="he"] h2,
html[lang="he"] h3 { font-weight: 760; letter-spacing: normal; line-height: 1.14; }
html[lang="he"] .eyebrow,
html[lang="he"] .page-kicker,
html[lang="he"] .capability-kicker,
html[lang="he"] .medical-device-card figcaption,
html[lang="he"] .store-button small,
html[lang="he"] .store-button em { letter-spacing: normal; text-transform: none; }
html[lang="he"] p,
html[lang="he"] li { line-height: 1.68; }

/*
  Hebrew is a right-to-left writing system, not a reason to mirror the entire
  product composition. Keep the visual coordinate system LTR so navigation,
  media, grids, counters and store badges stay in the same positions in every
  language. Text blocks use the Unicode bidi algorithm independently.
*/
html[lang="he"] { direction: ltr; }
html[lang="he"] body { direction: ltr; text-align: left; }

html[lang="he"] :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  legend,
  figcaption,
  blockquote,
  dt,
  dd,
  th,
  td,
  address
) {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

html[lang="he"] :where(summary, label) {
  text-align: right;
  unicode-bidi: plaintext;
}

html[lang="he"] :where(a, button, input, textarea, select, option) {
  unicode-bidi: plaintext;
}

html[lang="he"] :where(span, strong, small, em) {
  unicode-bidi: plaintext;
}

html[lang="he"] :is(
  .main-nav a,
  .footer-top a,
  .legal-toc a,
  .legal-link-grid a,
  .back-link,
  .sync-legal-links a,
  .specialist-filters button,
  .map-status strong,
  .feedback-type strong,
  .feedback-type small,
  .species-option strong
) {
  text-align: right;
}

/* Numeric and brand tokens keep their normal left-to-right order. */
html[lang="he"] :is(
  .benefit-grid article > span,
  .capability-number,
  .journey-steps li > span,
  .steps li > span,
  .medical-workflow article > span,
  .map-pin,
  [data-vote-count],
  [data-language-code],
  time,
  .pricing-plan-name,
  .pricing-plan-price,
  .pricing-tier-label,
  .store-badge strong,
  .feedback-email-row a,
  a[href^="mailto:"]
) {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Structural list rows keep the same number/text column order as every locale. */
html[lang="he"] :is(.journey-steps li, .steps li, .medical-workflow article) {
  direction: ltr;
}

html[lang="he"] :is(.journey-steps li, .steps li, .medical-workflow article) > div {
  text-align: right;
  unicode-bidi: plaintext;
}

/* Pricing keeps its icon/value and Free-to-Pro reading lanes fixed while the
   Hebrew copy inside each lane keeps its natural RTL reading order. */
html[lang="he"] :is(.pricing-metrics li, .pricing-trust li) {
  direction: ltr;
  text-align: left;
}

html[lang="he"] :is(.pricing-metrics li, .pricing-trust li) > span {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

/* Voting rows are controls with fixed radio / label / bar / percentage slots. */
html[lang="he"] .species-option { direction: ltr; text-align: left; }
html[lang="he"] .species-option strong { unicode-bidi: plaintext; }

/* The product screens and nondirectional visual stages are English artwork. */
:is(
  .hero-visual,
  .phone,
  .phone-screen,
  .journey-photo-wrap,
  .profile-device-stage,
  .medical-device-stage,
  .page-hero-screens,
  .showcase-phone
) { direction: ltr; unicode-bidi: isolate; }

html[dir="rtl"] .back-link::before { content: "→"; }
html[dir="rtl"] .hero-visual::before { background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,.88) 35%, rgba(255,255,255,0) 100%); }
html[data-theme="dark"][dir="rtl"] .hero-visual::before { background: linear-gradient(270deg, #121214 0%, rgba(18,18,20,.9) 35%, rgba(18,18,20,0) 100%); }
html[lang="he"] .hero-visual::before { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.88) 35%, rgba(255,255,255,0) 100%); }
html[data-theme="dark"][lang="he"] .hero-visual::before { background: linear-gradient(90deg, #121214 0%, rgba(18,18,20,.9) 35%, rgba(18,18,20,0) 100%); }
html[dir="rtl"] .feedback-email-row a,
html[dir="rtl"] a[href^="mailto:"],
html[dir="rtl"] .store-button strong,
html[dir="rtl"] [data-language-code] { direction: ltr; unicode-bidi: isolate; }

/* Script-aware typography and line breaking */
html[lang="ja"] body { font-family: "Yu Gothic UI", "Hiragino Sans", Meiryo, sans-serif; }
html[lang="zh-Hans"] body { font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
html[lang="ko"] body { font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3,
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3 { font-weight: 760; letter-spacing: -.025em; line-height: 1.13; }
html[lang="ja"] :is(h1,h2,h3,p,li,a,button,summary),
html[lang="zh-Hans"] :is(h1,h2,h3,p,li,a,button,summary) { line-break: strict; word-break: normal; }
html[lang="ko"] :is(h1,h2,h3,p,li,a,button,summary) { word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ja"] :is(.eyebrow,.page-kicker,.capability-kicker,.medical-device-card figcaption,.store-button small,.store-button em),
html[lang="zh-Hans"] :is(.eyebrow,.page-kicker,.capability-kicker,.medical-device-card figcaption,.store-button small,.store-button em),
html[lang="ko"] :is(.eyebrow,.page-kicker,.capability-kicker,.medical-device-card figcaption,.store-button small,.store-button em) { letter-spacing: normal; text-transform: none; }

@media (max-width: 1180px) {
  .footer-top { grid-template-columns: auto 1fr; }
  .footer-top nav:last-child { grid-column: 1 / -1; justify-content: flex-start; }
  .page-hero-grid { grid-template-columns: 1fr 460px; gap: 55px; }
  .page-hero-screens { min-height: 590px; }
  .mini-phone { width: 240px; height: auto; }
  .legal-link-grid { grid-template-columns: repeat(3, 1fr); }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1050px) {
  .page-hero-grid,.compact-heading,.chapter-heading,.anatomy-grid,.controls-layout { grid-template-columns: 1fr; }
  .page-hero-screens { width: min(650px,100%); min-height: 650px; margin-inline: auto; }
  .chapter-heading { gap: 14px; }
  .feature-matrix { grid-template-columns: repeat(2,1fr); }
  .chapter-showcase,.chapter-showcase.reverse { grid-template-columns: 1fr; }
  .showcase-phone { order: -1; }
  .workflow-band { grid-template-columns: repeat(2,1fr); }
  .nearby-layout { grid-template-columns: 1fr; }
  .nearby-layout > img { min-height: 440px; }
  .download-panel-inner { grid-template-columns: 1fr; }
  .principle-steps { margin-inline: 0; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc nav { grid-template-columns: repeat(2,1fr); gap: 0 28px; }
  .deletion-choice { grid-template-columns: 1fr; }
  html[dir="rtl"] .main-nav { inset-inline: 0; }
}

@media (max-width: 680px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-top nav,
  .footer-top nav:last-child { display: grid; grid-column: auto; gap: 18px; justify-content: start; }
  .page-hero { padding-block: 60px 76px; }
  .page-hero h1 { font-size: clamp(42px,12vw,58px); }
  .legal-hero h1 { font-size: clamp(30px,8.4vw,46px); }
  .page-hero-screens { min-height: 480px; }
  .mini-phone { inset-block-start: 50px; inset-inline-start: 7%; width: 190px; height: auto; border-radius: 33px; }
  .mini-phone-raised { inset-block-start: 18px; inset-inline: auto 5%; }
  .catalog-intro { padding-top: 70px; }
  .compact-heading { gap: 24px; }
  .compact-heading h2,.chapter-heading h2 { font-size: 37px; }
  .feature-chapter { padding-block: 76px; }
  .chapter-layout { gap: 42px; }
  .feature-matrix,.compact-matrix { grid-template-columns: 1fr; }
  .feature-matrix article { min-height: 0; padding: 27px 23px; }
  .showcase-phone .phone { width: 278px; height: 563px; }
  .workflow-band { grid-template-columns: 1fr; }
  .workflow-band > div { border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .workflow-band > div:last-child { border-bottom: 0; }
  .fact-note { grid-template-columns: 1fr; gap: 8px; }
  .nearby-layout > img { min-height: 360px; }
  .principle-steps li { grid-template-columns: 45px 1fr; }
  .knowledge-table { display: grid; gap: 14px; border: 0; }
  .knowledge-head { display: none; }
  .knowledge-row:not(.knowledge-head) { grid-template-columns: 1fr; background: var(--white); border: 1px solid var(--border); }
  .knowledge-row span { border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .knowledge-row span:last-child { border-bottom: 0; }
  .knowledge-row:not(.knowledge-head) span::before { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; content: attr(data-column-label); }
  html[data-theme="dark"] .knowledge-row:not(.knowledge-head) { background: #18181b; }
  .emergency-panel { border-radius: var(--radius-md); }
  .emergency-panel ul,.data-grid { grid-template-columns: 1fr; }
  .control-list li { grid-template-columns: 1fr; gap: 5px; }
  .legal-link-grid { grid-template-columns: 1fr; }
  .legal-link-grid a { min-height: 0; }
  .legal-hero { padding-block: 58px; }
  .back-link { margin-bottom: 34px; }
  .legal-layout,.deletion-content,.storage-page-content { padding-block: 56px 90px; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-document h2 { font-size: 27px; }
  .legal-table,.storage-table { display: grid; gap: 14px; border: 0; }
  .legal-row-head,.storage-head { display: none; }
  .legal-row:not(.legal-row-head),.storage-row:not(.storage-head) { display: block; background: var(--white); border-top: 1px solid var(--border-strong); border-inline-start: 1px solid var(--border); }
  .legal-row span,.storage-row span { display: block; border-bottom: 1px solid var(--border); }
  .legal-row:not(.legal-row-head) span::before,.storage-row:not(.storage-head) span::before { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; content: attr(data-column-label); }
  html[data-theme="dark"] .legal-row:not(.legal-row-head),html[data-theme="dark"] .storage-row:not(.storage-head) { background: #18181b; }
  .urgency-grid { grid-template-columns: 1fr; }
  .deletion-choice article { padding: 27px 23px; }
}

@media print {
  .feature-index,.legal-toc,.back-link { display: none !important; }
  .legal-layout { display: block; padding: 20px 0; }
  .legal-hero { padding: 20px 0; background: #fff; }
  .legal-document section { break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   Modern editorial redesign · 2026
   The visual language follows docs/design/modern while keeping every existing
   page, translation and interaction code-native.
   -------------------------------------------------------------------------- */

:root {
  --white: #ffffff;
  --cream: #f3f1ed;
  --cream-soft: #f8f7f4;
  --orange: #f05a17;
  --orange-deep: #bf4207;
  --button-orange: #ca4406;
  --button-orange-hover: #b83d05;
  --orange-soft: #fff0e7;
  --ink: #111113;
  --ink-soft: #4e4f54;
  --muted: #707178;
  --border: #e3e1dc;
  --border-strong: #c9c7c1;
  --graphite: #17191c;
  --graphite-soft: #22252a;
  --shadow-sm: 0 12px 34px rgba(17, 17, 19, .07);
  --shadow-phone: 0 36px 75px rgba(14, 15, 17, .23), 0 8px 20px rgba(14, 15, 17, .14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --container: 1440px;
  --header-height: 82px;
}

@media screen {
  body {
    overflow-x: clip;
    font-size: 16px;
    line-height: 1.58;
  }

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

  .container {
    width: min(var(--container), calc(100% - 96px));
  }

  .site-header {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px) saturate(135%);
  }

  .site-header.is-scrolled {
    border-color: rgba(17, 17, 19, .1);
    box-shadow: 0 10px 28px rgba(17, 17, 19, .055);
  }

  .header-inner { gap: clamp(14px, 1.7vw, 30px); }

  .brand {
    gap: 12px;
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -.045em;
  }

  .brand img {
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(17, 17, 19, .1);
  }

  .main-nav { gap: clamp(15px, 1.55vw, 30px); }

  .main-nav a,
  .footer-top nav a {
    font-size: 14px;
    font-weight: 720;
    letter-spacing: -.012em;
  }

  .main-nav a::after,
  .footer-top nav a::after {
    bottom: -4px;
    height: 1px;
  }

  .language-toggle,
  .theme-toggle {
    background: transparent;
    border-color: rgba(17, 17, 19, .18);
    border-radius: 9px;
  }

  .language-menu {
    border-color: rgba(17, 17, 19, .14);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(17, 17, 19, .17);
  }

  .header-cta {
    min-height: 48px;
    padding-inline: 22px;
  }

  .button {
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.012em;
  }

  .button-primary { box-shadow: 0 12px 26px rgba(201, 71, 10, .18); }
  .button-primary:hover { box-shadow: 0 16px 32px rgba(184, 61, 5, .23); }

  h1, h2, h3 { text-wrap: balance; }

  h1 {
    max-width: 780px;
    font-size: clamp(52px, 5vw, 82px);
    font-weight: 880;
    letter-spacing: -.068em;
    line-height: .97;
  }

  h2 {
    font-size: clamp(42px, 4.4vw, 70px);
    font-weight: 860;
    letter-spacing: -.06em;
    line-height: 1;
  }

  .eyebrow {
    color: var(--orange-deep);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
  }

  .hero {
    min-height: 0;
    padding: 24px 0 0;
  }

  .hero-grid {
    min-height: 690px;
    grid-template-columns: minmax(510px, .94fr) minmax(620px, 1.06fr);
    grid-template-areas:
      "copy visual"
      "download visual";
    grid-template-rows: 1fr auto;
    gap: clamp(28px, 3.6vw, 58px);
    align-items: stretch;
  }

  .hero-copy {
    grid-area: copy;
    align-self: center;
    padding: 58px 0 66px 30px;
    border-inline-start: 5px solid var(--orange);
  }

  .hero-copy .eyebrow { display: none; }

  .hero-copy h1 { margin-bottom: 26px; }

  .hero-copy > p:not(.eyebrow) {
    max-width: 650px;
    margin-bottom: 30px;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.55;
  }

  .hero-actions { gap: 14px 18px; }

  .hero-download {
    grid-area: download;
    align-self: start;
    max-width: 640px;
    margin: -42px 0 54px 30px;
    padding-top: 22px;
    border-color: rgba(17, 17, 19, .13);
  }

  .store-buttons-compact { gap: 0; }

  .store-buttons-compact .store-button {
    min-height: 60px;
    padding: 9px 18px;
    border-width: 0 0 0 1px;
    border-radius: 0;
  }

  .store-buttons-compact .store-button:first-child {
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .store-buttons-compact .store-button:hover {
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
  }

  .store-buttons-compact .store-button em {
    background: transparent;
    border-radius: 0;
  }

  .hero-visual {
    grid-area: visual;
    min-height: 690px;
    margin-inline-end: calc((100vw - min(var(--container), calc(100vw - 96px))) / -2);
    overflow: hidden;
    border-start-start-radius: 24px;
  }

  .hero-photo { object-position: 63% center; }

  .hero-visual::before {
    width: 18%;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.62) 34%, rgba(255,255,255,0) 100%);
  }

  .phone-hero {
    bottom: 24px;
    inset-inline-start: 2%;
    width: 300px;
  }

  .phone {
    border-color: #0c0d0f;
    border-radius: 40px;
  }

  .section-white,
  .section-cream { padding: clamp(96px, 9vw, 144px) 0; }

  .section-cream { background: var(--cream-soft); }

  .benefit-strip {
    position: relative;
    padding: 76px 0 82px;
    color: #fff;
    background: var(--graphite);
    border: 0;
  }

  .benefit-grid {
    position: relative;
    grid-template-columns: minmax(360px, 1.2fr) repeat(3, .72fr);
  }

  .benefit-heading {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline: clamp(120px, 10vw, 160px) clamp(34px, 4vw, 70px);
    border-inline-end: 1px solid rgba(255,255,255,.35);
  }

  .benefit-heading::before {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 0;
    color: transparent;
    content: "01";
    font-size: clamp(104px, 10vw, 158px);
    font-weight: 400;
    letter-spacing: -.09em;
    line-height: .78;
    -webkit-text-stroke: 1px var(--orange);
    transform: translateY(-50%);
  }

  .benefit-heading::after {
    position: absolute;
    inset-block: 10px;
    inset-inline-start: clamp(100px, 8.4vw, 138px);
    width: 4px;
    content: "";
    background: var(--orange);
  }

  .benefit-heading .eyebrow { display: none; }

  .benefit-heading h2 {
    max-width: 520px;
    color: #fff;
    font-size: clamp(34px, 3.2vw, 52px);
  }

  .benefit-grid article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px clamp(22px, 2.6vw, 42px);
    border-inline-start: 0;
  }

  .benefit-grid article + article { border-inline-start: 1px solid rgba(255,255,255,.35); }
  .benefit-grid article > span { margin-bottom: 30px; color: var(--orange); }
  .benefit-grid article h3 { color: #fff; font-size: 18px; }
  .benefit-grid article p { color: rgba(255,255,255,.65); }

  .features { background: #fff; }

  .feature-layout,
  .feature-details > .container,
  .pet-profile-layout,
  .journey-layout,
  .how-grid,
  .medical-showcase > .container,
  .faq-layout,
  .home-download-panel,
  .feedback-layout {
    position: relative;
  }

  .features .feature-copy {
    display: grid;
    grid-template-columns: minmax(300px, .62fr) minmax(0, 1.38fr);
    column-gap: clamp(55px, 8vw, 130px);
    align-items: start;
  }

  .features .feature-copy > .eyebrow {
    grid-column: 1;
    margin-bottom: 15px;
  }

  .features .feature-copy > h2 {
    grid-column: 1;
    max-width: 520px;
    margin: 0;
  }

  .features .feature-list {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
  }

  .feature-list article {
    position: relative;
    min-height: 190px;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding: 30px 0;
    transition: border-color 180ms ease, transform 180ms var(--ease);
  }

  .feature-list article::before {
    position: absolute;
    top: 30px;
    inset-inline-start: 0;
    color: var(--orange-deep);
    content: counter(feature-item, decimal-leading-zero);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
  }

  .feature-list { counter-reset: feature-item; }
  .feature-list article { counter-increment: feature-item; }
  .feature-list article:hover { border-bottom-color: var(--orange); transform: translateY(-2px); }
  .feature-list svg { width: 38px; height: 38px; margin-inline-start: 14px; stroke: var(--orange); }
  .feature-list h3 { font-size: 18px; }
  .feature-list p { max-width: 520px; font-size: 14px; line-height: 1.55; }

  .feature-details {
    background: var(--cream-soft);
    border-color: var(--border-strong);
  }

  .feature-details-heading { margin-bottom: 58px; }

  .capability-grid {
    grid-template-columns: 1fr;
    border-inline-start: 0;
  }

  .capability-card {
    min-height: 0;
    grid-template-columns: 74px minmax(280px, .8fr) minmax(280px, .85fr) minmax(250px, .7fr);
    grid-template-rows: auto;
    gap: clamp(25px, 3.3vw, 54px);
    align-items: start;
    padding: 34px 0;
    border-inline-end: 0;
    transition: padding 180ms var(--ease), border-color 180ms ease;
  }

  .capability-card:hover {
    padding-inline: 18px;
    border-bottom-color: var(--orange);
  }

  .capability-number { margin: 4px 0 0; font-size: 13px; }
  .capability-copy h3 { font-size: clamp(24px, 2vw, 31px); }
  .capability-copy > p:last-child { margin-bottom: 0; }
  .capability-points { margin: 3px 0 0; }
  .capability-use { margin: 3px 0 0; padding-top: 0; border-top: 0; }

  .included-strip {
    margin-top: 52px;
    border-inline-start: 0;
  }

  .included-strip p {
    min-height: 110px;
    border-inline-end-color: var(--border-strong);
  }

  .pet-profile-section { background: #fff; }

  .pet-profile-layout {
    grid-template-columns: minmax(0, .92fr) minmax(430px, .75fr);
    gap: clamp(72px, 9vw, 145px);
  }

  .profile-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 38px;
    border-top: 1px solid var(--border-strong);
  }

  .profile-category-list article {
    min-height: 168px;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
  }

  .profile-category-list svg { stroke: var(--orange); }

  .profile-device-stage {
    min-height: 700px;
    padding: 46px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .journey {
    padding-block: 0;
    background: #fff;
  }

  .journey-layout {
    width: 100%;
    grid-template-columns: minmax(470px, .84fr) minmax(0, 1.16fr);
    gap: 0;
  }

  .journey-photo-wrap {
    min-height: 640px;
    margin: 0;
  }

  .journey-photo {
    height: 640px;
    border-radius: 0;
    object-position: 58% center;
  }

  .journey-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px max(48px, calc((100vw - var(--container)) / 2));
    padding-inline-start: clamp(62px, 7vw, 118px);
  }

  .journey-copy h2 { max-width: 780px; }
  .journey-steps { margin-top: 34px; }

  .journey-steps li {
    grid-template-columns: 50px 1fr;
    padding: 20px 0;
  }

  .how {
    color: #fff;
    background: var(--graphite);
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .how-copy {
    display: grid;
    grid-template-columns: minmax(300px, .68fr) minmax(0, 1.32fr);
    gap: clamp(70px, 9vw, 150px);
    align-items: center;
  }

  .how-copy h2 { margin: 0; color: #fff; }
  .steps::before { background: rgba(255,255,255,.55); }
  .steps li > span { color: var(--orange); background: var(--graphite); border-color: var(--orange); }
  .steps h3 { color: #fff; font-size: 20px; }
  .steps p { color: rgba(255,255,255,.62); }

  .phone-chat {
    display: none;
  }

  .medical-showcase {
    color: #fff;
    background: linear-gradient(118deg, #17191c 0%, #17191c 72%, #1e2126 100%);
  }

  .medical-heading { margin-bottom: 54px; }
  .medical-heading h2 { color: #fff; }
  .medical-heading > p { color: rgba(255,255,255,.65); }
  .medical-heading .eyebrow { color: var(--orange); }

  .medical-workflow { border-top-color: rgba(255,255,255,.3); }
  .medical-workflow article { border-bottom-color: rgba(255,255,255,.2); }
  .medical-workflow article > span { color: var(--orange); background: transparent; border-color: rgba(255,255,255,.34); }
  .medical-workflow h3 { color: #fff; }
  .medical-workflow article p { color: rgba(255,255,255,.62); }

  .medicine-note {
    background: rgba(240,90,23,.08);
    border: 1px solid rgba(240,90,23,.45);
    border-inline-start-width: 4px;
    border-radius: 0;
  }

  .medicine-note h3 { color: #fff; }
  .medicine-note p { color: rgba(255,255,255,.65); }

  .medical-device-stage {
    min-height: 680px;
    padding: 38px 42px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .medical-device-card figcaption { color: rgba(255,255,255,.58); }

  .medical-evidence {
    margin-top: 44px;
    color: #fff;
    background: transparent;
    border-color: rgba(255,255,255,.28);
  }

  .medical-priority { border-color: rgba(255,255,255,.22); }
  .medical-priority strong { color: #fff; }
  .medical-priority span { color: rgba(255,255,255,.62); }
  .medical-sources > p { color: var(--orange); }
  .medical-sources > div { border-color: rgba(255,255,255,.2); }
  .medical-sources a { color: #fff; border-color: rgba(255,255,255,.2); }
  .medical-sources a:hover { background: rgba(255,255,255,.055); }
  .medical-sources a span,
  .medical-sources a i { color: var(--orange); }

  .faq {
    background: #fff;
  }

  .faq-layout {
    grid-template-columns: minmax(300px, .58fr) minmax(0, 1.42fr);
    gap: clamp(60px, 9vw, 145px);
  }

  .faq-list summary {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 22px;
    padding: 24px 52px 24px 0;
    font-size: 18px;
  }

  .faq-list { counter-reset: faq-item; }
  .faq-list details { counter-increment: faq-item; }
  .faq-list summary::marker { display: none; }
  .faq-list summary span { min-width: 0; }
  .faq-list summary::before {
    position: static;
    width: auto;
    height: auto;
    color: var(--orange-deep);
    content: counter(faq-item, decimal-leading-zero);
    background: transparent;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    transform: none;
  }

  .faq-list summary::after {
    inset-inline-end: 8px;
  }

  .faq-list details p { margin-inline-start: 70px; }

  .download-section {
    padding-block: 92px;
    background: var(--cream-soft);
  }

  .download-actions {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .store-buttons-large {
    gap: 0;
    border-top: 1px solid var(--border-strong);
  }

  .store-buttons-large .store-button {
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
  }

  .store-buttons-large .store-button:hover {
    background: rgba(255,255,255,.7);
    box-shadow: none;
  }

  .download-actions > .button { margin-top: 20px; }

  .cta-grid { grid-template-columns: 1.12fr .72fr .6fr; }

  .feedback-section {
    padding-block: clamp(92px, 8vw, 124px);
    background: #fff;
    border-top: 1px solid var(--border);
  }

  .feedback-intro h2 { font-size: clamp(40px, 4vw, 62px); }

  .feedback-contact {
    color: var(--ink);
    background: transparent;
    border-block: 1px solid var(--border-strong);
    border-radius: 0;
  }

  .feedback-contact > span { color: var(--muted); }
  .feedback-email-row a { color: var(--ink); }
  .feedback-email-row button { color: #fff; background: var(--graphite); }
  .feedback-email-row button:hover { color: #fff; background: var(--orange-deep); }
  .feedback-contact small { color: var(--green); }

  .feedback-form {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .feedback-type > span {
    min-height: 102px;
    border-radius: 8px;
  }

  .feedback-form > input,
  .feedback-form > textarea { border-radius: 7px; }

  .site-footer {
    padding: 62px 0 30px;
    color: #fff;
    background: var(--graphite);
  }

  .site-footer .brand,
  .site-footer .footer-top nav a { color: #fff; }

  .footer-top {
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(44px, 6vw, 94px);
    align-items: start;
  }

  .footer-top nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
    justify-content: start;
  }

  .footer-top nav:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: start;
  }

  .footer-top nav a {
    color: rgba(255,255,255,.68);
    font-weight: 600;
  }

  .footer-bottom {
    color: rgba(255,255,255,.52);
    border-top-color: rgba(255,255,255,.18);
  }

  /* Product, safety and legal pages share the same editorial language. */
  .page-hero,
  .legal-hero {
    background: #fff;
    border-bottom: 1px solid var(--border-strong);
  }

  .page-hero-grid { position: relative; }

  .feature-page-hero .page-hero-copy,
  .safety-page-hero .page-hero-copy {
    padding-inline-start: 28px;
    border-inline-start: 5px solid var(--orange);
  }

  .catalog-intro,
  .feature-chapter,
  .principles,
  .data-architecture,
  .legal-route { border-bottom: 1px solid var(--border); }

  .feature-chapter.section-cream,
  .legal-route.section-cream { background: var(--cream-soft); }

  .feature-chapter-grid,
  .safety-feature-grid,
  .legal-link-grid { gap: 0; }

  .feature-chapter-card,
  .safety-feature-grid article,
  .legal-link-grid a {
    border-radius: 0;
    box-shadow: none;
  }

  .legal-hero h1 { max-width: 1000px; }

  .legal-meta span,
  .page-kicker { border-radius: 0; }

  .legal-document section { scroll-margin-top: calc(var(--header-height) + 28px); }

  .legal-document h2 {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-strong);
  }

  .legal-alert,
  .emergency-panel,
  .legal-link-grid a,
  .deletion-choice article {
    border-radius: 8px;
  }
}

html[data-theme="dark"] {
  --cream: #222428;
  --cream-soft: #191b1e;
  --orange-deep: #ff7a36;
  --orange-soft: #382116;
  --ink: #f2f2f1;
  --ink-soft: #c6c7ca;
  --muted: #9fa1a6;
  --border: #33363b;
  --border-strong: #4b4e54;
  --graphite: #0f1012;
  --graphite-soft: #181a1e;
}

@media screen {
  html[data-theme="dark"] body,
  html[data-theme="dark"] .hero,
  html[data-theme="dark"] .features,
  html[data-theme="dark"] .pet-profile-section,
  html[data-theme="dark"] .journey,
  html[data-theme="dark"] .faq,
  html[data-theme="dark"] .feedback-section,
  html[data-theme="dark"] .page-hero,
  html[data-theme="dark"] .legal-hero { background: #121315; }

  html[data-theme="dark"] .site-header { background: rgba(18, 19, 21, .96); }
  html[data-theme="dark"] .benefit-strip,
  html[data-theme="dark"] .how,
  html[data-theme="dark"] .medical-showcase,
  html[data-theme="dark"] .site-footer { background: #0c0d0f; }
  html[data-theme="dark"] .feature-details,
  html[data-theme="dark"] .download-section,
  html[data-theme="dark"] .feature-chapter.section-cream,
  html[data-theme="dark"] .legal-route.section-cream { background: #191b1e; }
  html[data-theme="dark"] .hero-visual::before { background: linear-gradient(90deg, #121315 0%, rgba(18,19,21,.62) 34%, rgba(18,19,21,0) 100%); }
  html[data-theme="dark"] .profile-device-stage { background: transparent; }
  html[data-theme="dark"] .feedback-contact { color: var(--ink); background: transparent; }
  html[data-theme="dark"] .feedback-email-row a { color: var(--ink); }
  html[data-theme="dark"] .feedback-form { background: transparent; }
  html[data-theme="dark"] .store-buttons-compact .store-button,
  html[data-theme="dark"] .store-buttons-large .store-button,
  html[data-theme="dark"] .download-actions { background: transparent; }
  html[data-theme="dark"] .store-buttons-large .store-button:hover { background: rgba(255,255,255,.05); }
}

@media screen and (max-width: 1320px) {
  :root { --header-height: 74px; }
  .container { width: min(var(--container), calc(100% - 56px)); }
  .header-inner,
  .legal-header .header-inner { display: flex; gap: 8px; }
  .header-inner .brand { order: 0; margin-inline-end: auto; }
  .header-inner .language-picker { order: 1; }
  .header-inner .theme-toggle { order: 2; }
  .header-inner .menu-toggle { order: 3; }
  .header-cta { display: none; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: currentColor; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    inset-inline: 0;
    height: calc(100dvh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: 20px 28px max(32px, env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border);
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
  }
  .main-nav.is-open { visibility: visible; pointer-events: auto; transform: translateY(0); }
  .main-nav a { padding: 16px 2px; border-bottom: 1px solid var(--border); font-size: 21px; }
  html[data-theme="dark"] .main-nav { background: #121315; }

  .hero-grid { grid-template-columns: minmax(430px, .9fr) minmax(500px, 1.1fr); }
  .hero-visual { margin-inline-end: -28px; }
  .phone-hero { width: 255px; }
  .benefit-grid { grid-template-columns: 1fr 1fr 1fr; }
  .benefit-heading { grid-column: 1 / -1; min-height: 170px; margin-bottom: 34px; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .benefit-grid article + article { border-inline-start: 1px solid rgba(255,255,255,.3); }
  .features .feature-copy { grid-template-columns: 1fr; }
  .features .feature-copy > .eyebrow,
  .features .feature-copy > h2,
  .features .feature-list { grid-column: 1; grid-row: auto; }
  .features .feature-copy > h2 { margin-bottom: 48px; }
  .capability-card { grid-template-columns: 62px minmax(260px, .9fr) minmax(260px, 1fr); }
  .capability-use { grid-column: 2 / -1; }
  .journey-copy { padding-inline: 64px 28px; }
  .footer-top { grid-template-columns: auto 1fr; }
  .footer-top nav:last-child { grid-column: 1 / -1; }
}

@media screen and (max-width: 1024px) {
  .hero { padding-top: 0; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .hero-grid {
    grid-template-areas:
      "copy"
      "visual"
      "download";
    grid-template-rows: auto;
  }
  .hero-copy { max-width: 850px; padding: 72px 0 50px 28px; }
  .hero-visual { min-height: 620px; margin-inline: -28px; border-radius: 0; }
  .hero-photo { object-position: 57% center; }
  .phone-hero { inset-inline-start: 8%; width: 270px; }
  .hero-download { max-width: none; margin: 0; padding: 34px 0 48px; }
  .section-white,
  .section-cream { padding-block: 92px; }
  .capability-card { grid-template-columns: 58px 1fr; }
  .capability-points,
  .capability-use { grid-column: 2; }
  .included-strip { grid-template-columns: repeat(2, 1fr); }
  .pet-profile-layout { grid-template-columns: 1fr; }
  .profile-device-stage { width: min(720px, 100%); margin-inline: auto; }
  .journey-layout { grid-template-columns: 1fr; }
  .journey-photo-wrap,
  .journey-photo { min-height: 560px; height: 560px; }
  .journey-copy { padding: 78px 28px 92px; }
  .how-grid { grid-template-columns: 1fr; gap: 50px; }
  .how-copy { grid-template-columns: 1fr; gap: 46px; }
  .medical-heading,
  .medical-layout { grid-template-columns: 1fr; }
  .medical-device-stage { width: min(760px, 100%); margin-inline: auto; }
  .medical-evidence { grid-template-columns: 1fr; }
  .medical-priority { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .home-download-panel,
  .feedback-layout { grid-template-columns: 1fr; }
  .feedback-intro { position: static; }
  .feedback-form { width: min(760px, 100%); }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 680px) {
  :root { --header-height: 70px; }
  .container { width: calc(100% - 40px); }
  .header-inner .brand {
    min-width: 0;
    gap: 6px;
    font-size: clamp(14px, 3.8vw, 16px);
  }
  .header-inner .brand img { width: 42px; height: 42px; }
  .language-toggle,
  .theme-toggle,
  .menu-toggle { width: 42px; height: 42px; min-width: 42px; }
  .language-toggle { padding: 0 6px; }
  h1 { font-size: clamp(42px, 12.6vw, 58px); line-height: .98; }
  h2 { font-size: clamp(36px, 10.6vw, 48px); }
  .hero-copy { padding: 62px 0 42px 20px; border-inline-start-width: 4px; }
  .hero-copy > p:not(.eyebrow) { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .button { min-height: 50px; padding-inline: 10px; font-size: 13px; }
  .hero-download { margin: 0; padding: 30px 0 44px; }
  .store-buttons-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-buttons-compact .store-button { min-height: 66px; grid-template-columns: 25px 1fr; gap: 8px; padding-inline: 11px; }
  .store-buttons-compact .store-button:first-child { padding-inline-start: 0; }
  .store-buttons-compact .store-button em { display: none; }
  .hero-visual { min-height: 500px; margin-inline: -20px; }
  .hero-visual::before { display: none; }
  .hero-photo { object-position: 54% center; }
  .phone-hero {
    bottom: -30px;
    inset-inline-start: auto;
    inset-inline-end: auto;
    right: auto;
    left: 16px;
    width: min(160px, 41vw);
  }
  .section-white,
  .section-cream { padding-block: 76px; }
  .benefit-strip { padding-block: 62px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-heading { min-height: 160px; margin-bottom: 18px; padding-inline: 112px 0; }
  .benefit-heading::before { font-size: 104px; }
  .benefit-heading::after { inset-inline-start: 92px; }
  .benefit-heading h2 { font-size: 34px; }
  .benefit-grid article,
  .benefit-grid article:first-of-type {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 4px 14px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.25);
    border-inline-start: 0;
  }
  .benefit-grid article > span { grid-row: 1 / span 2; margin: 3px 0 0; }
  .benefit-grid article p { grid-column: 2; }
  .features .feature-copy > h2 { margin-bottom: 38px; }
  .features .feature-list { grid-template-columns: 1fr; gap: 0; }
  .feature-list article { min-height: 0; grid-template-columns: 52px 1fr; padding-block: 26px; }
  .capability-card { min-width: 0; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding-block: 28px; }
  .capability-copy,
  .capability-copy h3 { min-width: 0; overflow-wrap: anywhere; }
  .capability-card:hover { padding-inline: 0; }
  .capability-points,
  .capability-use { grid-column: 2; }
  .included-strip { grid-template-columns: 1fr; }
  .profile-category-list { grid-template-columns: 1fr; }
  .profile-category-list article { min-height: 0; }
  .profile-device-stage { min-height: 580px; padding: 32px 20px; }
  .journey-photo-wrap { min-height: 0; height: auto; }
  .journey-photo { min-height: 0; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
  .journey-copy { padding: 66px 20px 76px; }
  .steps { display: block; }
  .how-copy { display: block; }
  .how-copy h2 { margin-bottom: 44px; }
  .steps::before { top: 25px; bottom: 25px; inset-inline: 25px auto; width: 1px; height: auto; }
  .steps li { grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 34px; }
  .medical-heading { margin-bottom: 36px; }
  .medical-device-stage { min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 26px 8px 0; }
  .medical-device-card-raised { padding-bottom: 28px; }
  .medical-evidence { margin-top: 32px; }
  .medical-priority,
  .medical-sources { padding: 22px 18px; }
  .medical-sources > div { grid-template-columns: 1fr; }
  .faq-list summary { grid-template-columns: 36px 1fr; gap: 12px; padding-block: 21px; font-size: 17px; }
  .faq-list details p { margin-inline-start: 48px; padding-inline-end: 8px; }
  .download-section { padding-block: 76px; }
  .cta-grid { grid-template-columns: 1fr; gap: 25px; }
  .cta-actions { grid-column: auto; grid-template-columns: 1fr; }
  .feedback-layout { gap: 48px; }
  .feedback-types { grid-template-columns: 1fr; }
  .feedback-type > span { min-height: 90px; }
  .footer-top,
  .footer-top nav,
  .footer-top nav:last-child { grid-template-columns: 1fr; }
  .footer-top nav:last-child { grid-column: auto; }
  .page-hero-copy,
  .feature-page-hero .page-hero-copy,
  .safety-page-hero .page-hero-copy { padding-inline-start: 20px; }
}

@media screen and (max-width: 440px) {
  .site-header .brand > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }
  .container { width: calc(100% - 32px); }
  .hero-copy { padding-inline-start: 16px; }
  .hero-visual { margin-inline: -16px; min-height: 450px; }
  .benefit-heading { padding-inline-start: 98px; }
  .benefit-heading::before { font-size: 92px; }
  .benefit-heading::after { inset-inline-start: 80px; }
  .benefit-heading h2 { font-size: 31px; }
  .store-buttons-compact .store-button small { font-size: 9px; }
  .store-buttons-compact .store-button strong { font-size: 13px; }
}

/* Sync, calendar, nearby specialists and store badges */
.store-badge-wrap {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
}

.store-badge {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-width: 190px;
  min-height: 60px;
  padding: 9px 16px;
  color: #fff;
  text-align: left;
  background: #050505;
  border: 1px solid #555;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.store-badge:hover {
  color: #fff;
  background: #171717;
  border-color: #8c8c8c;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
  transform: translateY(-2px);
}

.store-badge:active { transform: translateY(0) scale(.985); }
.store-badge:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.store-brand-icon { width: 29px; height: 34px; justify-self: center; flex: none; }
.store-apple-icon { width: 31px; color: #fff; }
.store-badge span { display: grid; line-height: 1; }
.store-badge small { margin-bottom: 3px; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.store-badge strong { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -.035em; }
.store-buttons-compact { align-items: start; }
.store-buttons-compact .store-badge { min-width: 165px; min-height: 52px; grid-template-columns: 27px 1fr; gap: 8px; padding: 7px 12px; border-radius: 8px; }
.store-buttons-compact .store-brand-icon { width: 25px; height: 29px; }
.store-buttons-compact .store-badge small { font-size: 11px; }
.store-buttons-compact .store-badge strong { font-size: 16px; }
.store-buttons-large .store-badge { min-width: 220px; min-height: 68px; grid-template-columns: 36px 1fr; }
.store-buttons-large .store-brand-icon { width: 34px; height: 38px; }
.store-buttons-large .store-badge small { font-size: 11px; }
.store-buttons-large .store-badge strong { font-size: 22px; }

/* Editorial imagery breaks up dense copy without imitating app screens. */
.section-editorial,
.chapter-editorial {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e8ded0;
  border-radius: 34px;
  box-shadow: 0 24px 64px rgba(30, 24, 18, .12);
}

.section-editorial::after,
.chapter-editorial::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: inherit;
  pointer-events: none;
}

.section-editorial img,
.chapter-editorial img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capability-editorial {
  width: min(100%, 1180px);
  aspect-ratio: 3 / 2;
  margin: 0 auto clamp(58px, 7vw, 92px);
}

.profile-chapter-showcase,
.profile-chapter-showcase.reverse { grid-template-columns: 1fr; align-items: stretch; }
.chapter-editorial-profile { min-height: 0; aspect-ratio: 3 / 2; }
.chapter-editorial-profile img { object-position: 52% center; }
.editorial-matrix { border-inline-start: 0; }
.editorial-matrix article { padding-inline: clamp(24px, 2.5vw, 38px); }

.medical-principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
  margin-top: 70px;
}
.medical-principles-layout .principle-steps { max-width: none; margin: 0; }
.medical-answer-preview {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  margin: 0;
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: #e8ded0;
  border-radius: 34px;
  box-shadow: 0 24px 64px rgba(30, 24, 18, .12);
  overflow: hidden;
}
.medical-answer-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.principles-section { overflow: hidden; }

@media screen and (max-width: 1024px) {
  .medical-principles-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 42px; }
}

@media screen and (max-width: 720px) {
  .section-editorial,
  .chapter-editorial,
  .medical-answer-preview { border-radius: 24px; }
  .capability-editorial { aspect-ratio: 3 / 2; margin-bottom: 52px; }
  .chapter-editorial-profile { min-height: 0; aspect-ratio: 3 / 2; }
  .editorial-matrix { grid-template-columns: 1fr; }
  .medical-principles-layout { grid-template-columns: 1fr; gap: 48px; }
  .medical-answer-preview { position: relative; top: auto; width: 100%; min-height: 0; aspect-ratio: 3 / 2; margin-inline: auto; }
}

@media screen and (max-width: 440px) {
  .species-orb-current small { font-size: 11px; }
  .medical-device-card figcaption { font-size: 11px; }
}

.calendar-symbols {
  position: relative;
  padding: clamp(82px, 8vw, 130px) 0;
  color: #fff;
  background: #1b1b1d;
  overflow: hidden;
}

.calendar-symbols::after {
  position: absolute;
  right: -7vw;
  bottom: -180px;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(232,122,46,.16), transparent 65%);
  pointer-events: none;
}

.calendar-symbols-layout { position: relative; z-index: 1; }
.calendar-symbols-copy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, .55fr); gap: clamp(30px, 7vw, 120px); align-items: end; margin-bottom: clamp(46px, 6vw, 88px); padding-inline-start: clamp(20px, 3vw, 44px); border-inline-start: 4px solid var(--orange); }
.calendar-symbols-copy .eyebrow { grid-column: 1 / -1; margin: 0 0 -14px; color: #ff9b54; }
.calendar-symbols-copy h2 { max-width: 780px; margin: 0; color: #fff; font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.055em; }
.calendar-symbols-copy > p:last-child { margin: 0 0 5px; color: #c9c7c4; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; }
.calendar-icon-rail { display: grid; grid-template-columns: repeat(6, minmax(126px, 1fr)); gap: clamp(10px, 1.4vw, 22px); }
.calendar-icon-rail figure { min-width: 0; margin: 0; }
.calendar-icon-rail figure > span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  margin: clamp(12px, 1.2vw, 20px);
  padding: 0;
  background: #fffaf3;
  border: 3px solid #f26f21;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.55) inset;
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms var(--ease), filter 220ms var(--ease);
}
.calendar-icon-rail figure:hover > span { filter: drop-shadow(0 16px 24px rgba(0,0,0,.22)); transform: translateY(-7px) rotate(-1.5deg); }
.calendar-icon-rail figure:nth-child(even):hover > span { transform: translateY(-7px) rotate(1.5deg); }
.calendar-icon-rail img {
  display: block;
  width: 90%;
  height: 90%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  transform: scale(1.24);
  transform-origin: center;
}
.calendar-icon-rail figcaption { padding: 14px 4px 0; color: #e5e3df; font-size: 14px; font-weight: 750; }

.account-sync-section { padding: clamp(92px, 9vw, 150px) 0; overflow: hidden; }
.account-sync-layout { display: grid; grid-template-columns: minmax(360px, .78fr) minmax(620px, 1.22fr); gap: clamp(50px, 8vw, 130px); align-items: center; }
.account-sync-copy h2 { max-width: 650px; margin: 8px 0 28px; font-size: clamp(48px, 5.3vw, 80px); line-height: .96; letter-spacing: -.06em; }
.account-sync-copy .section-lead { max-width: 680px; }
.auth-methods { display: flex; flex-wrap: wrap; gap: 10px; margin: 31px 0; }
.auth-methods span { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 13px; color: var(--ink); background: var(--cream-soft); border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 750; }
.auth-methods svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.auth-methods b { display: grid; width: 20px; height: 20px; color: #4285f4; background: #fff; border: 1px solid var(--border); border-radius: 50%; place-items: center; font-size: 12px; }
.sync-boundary { max-width: 650px; padding: 22px 24px; background: var(--cream); border-inline-start: 4px solid var(--orange); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.sync-boundary strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 18px; }
.sync-boundary p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.sync-legal-links { display: flex; flex-wrap: wrap; gap: 11px 24px; margin: 24px 0 0; }
.sync-legal-links a { color: var(--orange-deep); font-weight: 800; text-underline-offset: 4px; }
.sync-visual { position: relative; display: grid; grid-template-columns: minmax(145px, .8fr) minmax(120px, .52fr) minmax(145px, .8fr); gap: clamp(9px, 1.4vw, 24px); align-items: center; min-height: 660px; padding: 55px 24px 64px; isolation: isolate; }
.sync-visual::before { position: absolute; z-index: -1; inset: 7% 2%; content: ""; background: radial-gradient(ellipse, rgba(232,122,46,.24), rgba(232,122,46,.08) 40%, transparent 71%); filter: blur(24px); }
.sync-phone { position: relative; width: 100%; max-width: 230px; padding: 7px; background: #151517; border: 0; border-radius: 30px; box-shadow: 0 27px 55px rgba(27,21,16,.2), 0 0 42px rgba(232,122,46,.12); overflow: hidden; transform: perspective(1100px) rotateX(var(--device-tilt-x, 0deg)) rotateY(var(--device-tilt-y, 0deg)) translate(var(--device-shift-x, 0), var(--device-shift-y, 0)); transition: transform 160ms ease, box-shadow 160ms ease; }
.sync-phone-left { justify-self: end; transform: perspective(1100px) rotate(-4deg) rotateX(var(--device-tilt-x, 0deg)) rotateY(var(--device-tilt-y, 0deg)) translate(var(--device-shift-x, 0), var(--device-shift-y, 0)); }
.sync-phone-right { justify-self: start; transform: perspective(1100px) rotate(4deg) rotateX(var(--device-tilt-x, 0deg)) rotateY(var(--device-tilt-y, 0deg)) translate(var(--device-shift-x, 0), var(--device-shift-y, 0)); }
.sync-phone img { display: block; width: 100%; height: auto; border-radius: 23px; }
.sync-phone .app-shot-dark { display: none; }
.sync-stream { position: relative; z-index: 2; display: grid; gap: 11px; }
.sync-stream::before { position: absolute; z-index: -1; top: -25px; bottom: -25px; left: 50%; width: 1px; content: ""; background: linear-gradient(transparent, var(--orange), transparent); }
.sync-stream span { padding: 9px 8px; color: var(--ink); text-align: center; background: rgba(255,255,255,.9); border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 7px 20px rgba(30,23,18,.08); font-size: 11px; font-weight: 800; white-space: nowrap; }
.media-local-note { position: absolute; right: 26px; bottom: 20px; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.media-local-note svg { width: 18px; fill: none; stroke: var(--orange-deep); stroke-width: 1.8; }

.specialists-showcase { padding: clamp(94px, 9vw, 150px) 0; border-top: 1px solid var(--border); }
.specialists-layout { display: grid; grid-template-columns: minmax(390px, .76fr) minmax(600px, 1.24fr); gap: clamp(50px, 7vw, 118px); align-items: center; }
.specialists-copy h2 { max-width: 690px; margin: 8px 0 28px; font-size: clamp(44px, 4.8vw, 72px); line-height: .98; letter-spacing: -.055em; }
.specialists-copy .section-lead { max-width: 680px; }
.specialist-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.specialist-filters button { min-height: 42px; padding: 9px 15px; color: var(--ink-soft); background: transparent; border: 1px solid var(--border-strong); border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: color 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease); }
.specialist-filters button:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.specialist-filters button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.specialist-filters button.is-active { color: #fff; background: var(--orange-deep); border-color: var(--orange-deep); }
.specialist-search { display: grid; gap: 10px; margin-top: 24px; }
.specialist-search > label { color: var(--ink); font-size: 13px; font-weight: 850; }
.specialist-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.specialist-search-row input { min-width: 0; min-height: 48px; padding: 10px 14px; color: var(--ink); background: var(--white); border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; }
.specialist-search-row input:focus { outline: 3px solid rgba(232, 79, 0, .2); border-color: var(--orange-deep); }
.specialist-search-row .button { min-height: 48px; padding-inline: 18px; }
.specialist-locate { display: inline-flex; width: fit-content; align-items: center; gap: 8px; min-height: 42px; padding: 7px 13px; color: var(--orange-deep); background: transparent; border: 0; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.specialist-locate:hover { color: var(--ink); background: var(--cream-soft); }
.specialist-locate:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.specialist-locate svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.specialist-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.5; }

.specialists-map { position: relative; min-height: 680px; background: #e8ebe5; border: 1px solid var(--border); border-radius: 34px; box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate; }
.specialists-map-canvas { position: absolute; inset: 0 300px 0 0; z-index: 1; background: #e8ebe5; }
.specialists-map.is-map-initial { min-height: 520px; }
.specialists-map.is-map-initial .specialists-map-canvas { inset-inline-end: 0; }
.specialists-map.is-map-initial .specialists-results { display: none; }
.specialists-map .leaflet-container { color: #202023; background: #e8ebe5; font-family: inherit; }
.specialists-map .leaflet-control-attribution { padding: 4px 7px; background: rgba(255,255,255,.9); font-size: 10px; }
.specialists-map .leaflet-control-attribution a { color: #934010; }
.specialists-map .leaflet-control-zoom { border: 0; box-shadow: 0 10px 28px rgba(30,27,23,.18); }
.specialists-map .leaflet-control-zoom a { color: #202023; border: 0; }
.specialists-map .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 18px 42px rgba(26,23,20,.2); }
.specialists-map .leaflet-popup-content { min-width: 190px; margin: 14px 16px; font-size: 12px; line-height: 1.45; }
.map-popup { display: grid; gap: 6px; }
.map-popup strong { font-size: 14px; }
.map-popup span { color: #65615d; }
.map-popup a { width: fit-content; color: #a94513; font-weight: 800; }

.specialist-marker-wrap { background: transparent; border: 0; }
.specialist-marker { display: grid; width: 34px; height: 34px; color: #fff; background: #202023; border: 3px solid #fff; border-radius: 50% 50% 50% 12px; box-shadow: 0 8px 18px rgba(25,24,22,.28); place-items: center; font-size: 11px; font-weight: 900; transform: rotate(-45deg); }
.specialist-marker span { transform: rotate(45deg); }
.specialist-marker-vet { background: #d74338; }
.specialist-marker-groomer { color: #202023; background: #f0c94b; }
.specialist-marker-trainer { background: #6744a1; }
.specialist-marker-behavior { background: #178b7e; }
.specialist-marker-sitter { background: #3477be; }
.specialist-marker-shop { background: #387d45; }
.user-location-marker { width: 22px; height: 22px; background: #1778dc; border: 5px solid #fff; border-radius: 50%; box-shadow: 0 0 0 7px rgba(23,120,220,.18), 0 8px 18px rgba(20,54,88,.25); }

.map-start { position: absolute; z-index: 520; top: 50%; left: calc((100% - 300px) / 2); display: grid; width: min(320px, calc(100% - 340px)); justify-items: center; padding: 25px; color: #202023; text-align: center; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.72); border-radius: 22px; box-shadow: 0 20px 50px rgba(25,24,22,.17); backdrop-filter: blur(12px); transform: translate(-50%, -50%); }
.map-start[hidden] { display: none; }
.map-start-icon { display: grid; width: 44px; height: 44px; color: #fff; background: var(--orange-deep); border-radius: 50%; place-items: center; font-size: 25px; }
.map-start strong { margin-top: 13px; font-size: 17px; }
.map-start p { margin: 7px 0 16px; color: #65615d; font-size: 12px; line-height: 1.5; }
.map-start button { min-height: 42px; padding: 9px 15px; color: #fff; background: #202023; border: 0; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; }
.map-start button:hover { background: var(--orange-deep); }

.specialists-results { position: absolute; z-index: 500; top: 0; right: 0; bottom: 0; display: grid; width: 300px; grid-template-rows: auto minmax(0, 1fr); color: #202023; background: rgba(250,249,247,.97); border-left: 1px solid rgba(39,35,31,.1); }
.specialists-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 19px 18px 15px; border-bottom: 1px solid rgba(39,35,31,.1); }
.specialists-results-head strong { font-size: 14px; }
.specialists-results-head span { color: #706b66; font-size: 11px; font-weight: 800; }
.specialists-result-list { overflow: auto; overscroll-behavior: contain; }
.specialist-result-card { position: relative; display: grid; gap: 7px; padding: 16px 48px 16px 18px; border-bottom: 1px solid rgba(39,35,31,.1); cursor: pointer; transition: background 150ms ease; }
.specialist-result-card:hover,
.specialist-result-card:focus-within { background: #fff; }
.specialist-result-card h3 { margin: 0; font-size: 14px; line-height: 1.25; }
.specialist-result-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: #6d6761; font-size: 11px; }
.specialist-result-address { margin: 0; color: #6d6761; font-size: 11px; line-height: 1.4; }
.specialist-result-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 3px; }
.specialist-result-actions button,
.specialist-result-actions a { padding: 0; color: #9f4114; background: transparent; border: 0; font: inherit; font-size: 11px; font-weight: 850; text-decoration: none; cursor: pointer; }
.specialist-result-favorite { position: absolute; top: 13px; right: 13px; display: grid; width: 31px; height: 31px; padding: 0; color: #817b74; background: transparent; border: 0; border-radius: 50%; place-items: center; font-size: 20px; cursor: pointer; }
.specialist-result-favorite:hover { color: var(--orange-deep); background: #f4eee8; }
.specialist-result-favorite[aria-pressed="true"] { color: var(--orange-deep); }
.specialists-empty { display: grid; min-height: 180px; align-content: center; justify-items: center; gap: 8px; padding: 25px; color: #6d6761; text-align: center; }
.specialists-empty strong { color: #202023; font-size: 14px; }
.specialists-empty p { margin: 0; font-size: 11px; line-height: 1.45; }
.map-loading { position: absolute; z-index: 620; top: 50%; left: calc((100% - 300px) / 2); display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: #202023; background: rgba(255,255,255,.94); border-radius: 999px; box-shadow: 0 16px 35px rgba(25,24,22,.15); transform: translate(-50%, -50%); }
.map-loading[hidden] { display: none; }
.map-loading span { width: 18px; height: 18px; border: 2px solid #ddd5cd; border-top-color: var(--orange-deep); border-radius: 50%; animation: map-spin .8s linear infinite; }
.map-loading strong { font-size: 12px; }
@keyframes map-spin { to { transform: rotate(360deg); } }

.download-showcase { display: grid; grid-template-columns: minmax(160px, .72fr) minmax(220px, 1fr); gap: 24px; align-items: center; padding: 0; background: transparent; border: 0; box-shadow: none; }
.download-app-preview { min-height: 260px; display: grid; place-items: center; overflow: visible; }
.download-phone-crop { position: relative; display: grid; align-content: center; justify-items: center; gap: 17px; width: 190px; min-height: 220px; padding: 22px; color: var(--ink); isolation: isolate; }
.download-phone-crop::before { position: absolute; z-index: -1; width: 190px; aspect-ratio: 1; content: ""; background: radial-gradient(circle, rgba(232,122,46,.3), rgba(232,122,46,.1) 42%, transparent 70%); filter: blur(18px); }
.download-phone-crop img { display: block; width: 132px; height: 132px; aspect-ratio: 1; object-fit: cover; border-radius: 31px; box-shadow: 0 25px 52px rgba(27,22,18,.25), 0 0 0 1px rgba(255,255,255,.12); }
.download-phone-crop span { font-size: 15px; font-weight: 850; }
.download-showcase .store-buttons { display: grid; grid-template-columns: 1fr; gap: 16px; }
.download-showcase .store-badge-wrap { justify-items: stretch; }
.download-showcase > .button { grid-column: 2; width: 100%; }

html[data-theme="dark"] .account-sync-section,
html[data-theme="dark"] .specialists-showcase { background: #121214; }
html[data-theme="dark"] .auth-methods span,
html[data-theme="dark"] .sync-boundary { color: var(--ink); background: #1f1f22; border-color: #3d3d43; }
html[data-theme="dark"] .download-phone-crop { color: var(--ink); }
html[data-theme="dark"] .sync-stream span { color: #f6f6f7; background: rgba(30,30,33,.94); border-color: #48484e; }
html[data-theme="dark"] .sync-phone .app-shot-light { display: none; }
html[data-theme="dark"] .sync-phone .app-shot-dark { display: block; }
html[data-theme="dark"] .specialist-filters button { color: #d7d7da; border-color: #525259; }
html[data-theme="dark"] .specialist-filters button:hover { color: #fff; border-color: #fff; }
html[data-theme="dark"] .specialist-filters button.is-active { border-color: var(--orange); background: var(--orange-deep); }
html[data-theme="dark"] .download-actions.download-showcase { color: var(--ink); background: transparent; }
html[dir="rtl"] .calendar-symbols-copy { border-inline-start: 4px solid var(--orange); }

@media screen and (max-width: 1120px) {
  .calendar-icon-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .account-sync-layout,
  .specialists-layout { grid-template-columns: 1fr; }
  .account-sync-copy,
  .specialists-copy { max-width: 820px; }
  .sync-visual { width: min(100%, 780px); min-height: 620px; margin-inline: auto; }
  .specialists-map { min-height: 650px; }
  .download-showcase { grid-template-columns: 160px 1fr; }
}

@media screen and (max-width: 720px) {
  .download-panel .store-buttons { grid-template-columns: 1fr; justify-items: start; }
  .download-panel .store-badge-wrap { width: min(100%, 230px); }
  .download-panel .store-badge { min-width: 0; }
  .store-buttons-compact { grid-template-columns: 1fr 1fr; gap: 10px; }
  .store-buttons-compact .store-badge { min-width: 0; }
  .calendar-symbols-copy { grid-template-columns: 1fr; padding-inline-start: 20px; }
  .calendar-symbols-copy .eyebrow { margin-bottom: -6px; }
  .calendar-icon-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-sync-layout,
  .specialists-layout { gap: 46px; }
  .account-sync-copy h2,
  .specialists-copy h2 { font-size: clamp(40px, 12vw, 58px); }
  .sync-visual { grid-template-columns: minmax(110px, 1fr) 86px minmax(110px, 1fr); min-height: 490px; padding: 34px 10px 58px; border-radius: 28px; }
  .sync-phone { padding: 5px; border-radius: 22px; }
  .sync-phone img { border-radius: 17px; }
  .sync-stream { gap: 7px; }
  .sync-stream span { padding: 7px 5px; font-size: 9px; }
  .media-local-note { right: 14px; bottom: 16px; }
  .specialist-search-row { grid-template-columns: 1fr; }
  .specialist-search-row .button { width: 100%; }
  .specialists-map { min-height: 780px; border-radius: 24px; }
  .specialists-map-canvas { inset: 0 0 auto; height: 440px; }
  .specialists-results { top: 440px; width: 100%; border-top: 1px solid rgba(39,35,31,.1); border-left: 0; }
  .map-start,
  .map-loading { top: 220px; left: 50%; }
  .map-start { width: min(320px, calc(100% - 48px)); }
  .specialists-map.is-map-initial { min-height: 440px; }
  .specialists-map.is-map-initial .specialists-map-canvas { height: 100%; }
  .download-showcase { grid-template-columns: 1fr; }
  .download-app-preview { display: grid; min-height: 210px; }
  .download-showcase > .button { grid-column: auto; }
}

@media screen and (max-width: 440px) {
  .store-buttons-compact { grid-template-columns: 1fr; }
  .store-buttons-compact .store-badge { min-width: 190px; }
  .store-buttons-large .store-badge { min-width: 0; }
  .sync-visual { grid-template-columns: 1fr 74px 1fr; min-height: 420px; margin-inline: -8px; }
  .sync-stream span { overflow: hidden; text-overflow: ellipsis; }
  .specialist-filters { gap: 7px; }
  .specialist-filters button { min-height: 44px; padding: 9px 12px; font-size: 12px; }
  .specialists-map { min-height: 760px; }
  .specialists-map-canvas { height: 420px; }
  .specialists-results { top: 420px; }
  .map-start,
  .map-loading { top: 210px; }
  .specialists-map.is-map-initial { min-height: 420px; }
}

/* Keep the mobile feature index touch-scrollable without exposing a desktop
   scrollbar that looks like a broken divider. The side padding leaves the
   next tab partially visible as an intentional cue that more sections exist. */
@media screen and (max-width: 680px) {
  .feature-index { overflow: hidden; }
  .feature-index::after {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: 38px;
    content: "";
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.98) 78%);
    pointer-events: none;
  }
  .feature-index-inner {
    padding-inline: 16px 28px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .feature-index-inner::-webkit-scrollbar { display: none; }
  html[data-theme="dark"] .feature-index::after {
    background: linear-gradient(to right, rgba(18,18,20,0), rgba(18,18,20,.98) 78%);
  }
  html[dir="rtl"]:not([lang="he"]) .feature-index::after {
    background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,.98) 78%);
  }
  html[dir="rtl"][data-theme="dark"]:not([lang="he"]) .feature-index::after {
    background: linear-gradient(to left, rgba(18,18,20,0), rgba(18,18,20,.98) 78%);
  }
}

@media screen and (max-width: 720px) {
  .sync-stream span { font-size: 11px; }
}

/* Keep supporting copy readable on compact screens and high-density displays. */
.language-option small,
.store-button small,
.store-button em,
.store-badge small,
.capability-kicker,
.capability-use span,
.medical-device-card figcaption,
.medical-sources > p,
.medical-sources a span,
.feedback-contact > span,
.knowledge-row:not(.knowledge-head) span::before,
.legal-row:not(.legal-row-head) span::before,
.storage-row:not(.storage-head) span::before,
.sync-stream span,
.specialists-results-head span,
.specialist-result-meta,
.specialist-result-address,
.specialist-result-actions a,
.specialists-empty p {
  font-size: 12px;
}

.eyebrow,
.species-orb-current small,
.store-buttons-compact .store-badge small,
.store-buttons-large .store-badge small {
  font-size: 12px;
}

.legal-document a,
.feedback-email-row a,
a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.specialists-map .leaflet-control-zoom a {
  width: 36px;
  height: 36px;
  line-height: 36px;
}

/* Keep tall application captures proportional to the feature catalogue.
   They support the copy without turning each chapter into a wall of phone
   artwork. These rules are scoped so the landing-page devices stay intact. */
.features-page .page-hero-screens {
  width: min(100%, 650px);
  min-height: 545px;
  justify-self: end;
  overflow: hidden;
}

.features-page .mini-phone {
  inset-block-start: 48px;
  inset-inline-start: 11%;
  width: 228px;
  height: auto;
  aspect-ratio: 372 / 802;
}

.features-page .mini-phone-raised {
  inset-block-start: 18px;
  inset-inline: auto 9%;
}

.features-page .showcase-phone {
  position: relative;
  min-height: 540px;
  padding-inline: 24px;
  isolation: isolate;
}

.features-page .showcase-phone::before {
  position: absolute;
  z-index: -1;
  width: min(100%, 360px);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(232, 122, 46, .24), rgba(232, 122, 46, .08) 43%, transparent 72%);
  filter: blur(20px);
}

.features-page .showcase-phone .phone {
  width: min(244px, 100%);
  height: auto;
  aspect-ratio: 1080 / 2340;
}

.features-page .nearby-layout > img {
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
}

@media screen and (max-width: 1180px) {
  .features-page .page-hero-screens { min-height: 510px; }
  .features-page .mini-phone { width: 210px; height: auto; }
}

@media screen and (max-width: 1050px) {
  .features-page .page-hero-screens {
    min-height: 500px;
    justify-self: center;
  }

  .features-page .showcase-phone {
    width: min(100%, 520px);
    min-height: 500px;
    margin-inline: auto;
  }

  .features-page .showcase-phone .phone { width: min(220px, 100%); }
}

@media screen and (max-width: 680px) {
  .features-page .page-hero-screens { min-height: 390px; }
  .features-page .mini-phone {
    inset-block-start: 42px;
    inset-inline-start: 5%;
    width: clamp(154px, 28vw, 186px);
    height: auto;
    aspect-ratio: 372 / 802;
    border-radius: 29px;
  }

  .features-page .mini-phone-raised {
    inset-block-start: 16px;
    inset-inline: auto 3%;
  }

  .features-page .showcase-phone {
    min-height: 455px;
    padding-inline: 16px;
  }

  .features-page .showcase-phone .phone { width: min(202px, 72vw); }
  .features-page .nearby-layout > img { aspect-ratio: 3 / 2; }
}

@media screen and (max-width: 400px) {
  .features-page .page-hero-screens { min-height: 360px; }
  .features-page .mini-phone { width: 143px; height: auto; }
  .features-page .showcase-phone { min-height: 430px; }
  .features-page .showcase-phone .phone { width: 190px; }
}

.calendar-chapter-symbols {
  padding: clamp(28px, 4vw, 54px);
  border-radius: 32px;
}

/* Pricing: decisive plan cards plus a short upgrade path, never a spreadsheet. */
.pricing-section {
  padding: clamp(96px, 9vw, 146px) 0;
  color: var(--ink);
  background: var(--cream-soft);
  border-block: 1px solid var(--border);
}

.pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  margin-bottom: clamp(46px, 5vw, 76px);
}

.pricing-heading > *,
.product-proof-heading > * { min-width: 0; }

.pricing-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  align-items: stretch;
}

.pricing-plan {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
  padding: clamp(30px, 3.5vw, 50px);
  background: rgba(255, 255, 255, .48);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
}

.pricing-plan-pro {
  position: relative;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 26px 70px rgba(23, 23, 25, .16);
  overflow: hidden;
}

.pricing-plan-pro::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--orange);
}

.pricing-plan-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 138px;
}

.pricing-plan-name,
.pricing-plan-price,
.pricing-plan-annual { margin: 0; }
.pricing-plan-name {
  margin: 0 0 14px;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pricing-plan-price {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 3.5vw, 58px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
}
.pricing-plan-price strong { font: inherit; font-variant-numeric: tabular-nums; }
.pricing-plan-price span { margin-inline-start: 8px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.pricing-plan-annual { margin-top: 13px; color: var(--ink-soft); font-size: 16px; font-weight: 750; }
.pricing-plan-annual strong { color: inherit; font: inherit; direction: ltr; unicode-bidi: isolate; }
.pricing-plan-badge {
  flex: none;
  padding: 8px 11px 7px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.pricing-plan-pro .pricing-plan-name { color: #ff9a53; }
.pricing-plan-pro .pricing-plan-price,
.pricing-plan-pro .pricing-plan-annual { color: var(--white); }
.pricing-plan-pro .pricing-plan-badge { color: var(--white); background: var(--orange-deep); border-color: var(--orange); }

.pricing-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(18px, 2.4vw, 34px);
  padding: 20px 0 0;
  margin: 0 0 24px;
  list-style: none;
  border-top: 1px solid var(--border);
}
.pricing-metrics li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  min-height: 78px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-metrics li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pricing-metrics svg,
.pricing-feature svg,
.pricing-trust svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pricing-metrics svg { color: var(--orange-deep); }
.pricing-metrics span { min-width: 0; }
.pricing-metrics strong,
.pricing-metrics small { display: block; overflow-wrap: normal; hyphens: auto; }
.pricing-metrics strong { color: var(--ink); font-size: 16px; font-weight: 850; line-height: 1.25; }
.pricing-metrics small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.pricing-plan-pro .pricing-metrics { border-color: rgba(255,255,255,.2); }
.pricing-plan-pro .pricing-metrics li { border-color: rgba(255,255,255,.16); }
.pricing-plan-pro .pricing-metrics svg { color: #ff9a53; }
.pricing-plan-pro .pricing-metrics strong { color: var(--white); }
.pricing-plan-pro .pricing-metrics small { color: rgba(255,255,255,.66); }
.pricing-plan-detail { min-height: 42px; margin: 0 0 25px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pricing-plan-pro .pricing-plan-detail { color: rgba(255,255,255,.66); }
.pricing-plan .button { justify-self: stretch; width: 100%; }
.pricing-plan-pro .button-primary { color: var(--white); background: var(--orange-deep); }
.pricing-plan-pro .button-primary:hover { background: var(--button-orange-hover); }

.pricing-path { margin-top: clamp(58px, 6vw, 88px); }
.pricing-path-heading {
  margin-bottom: 22px;
}
.pricing-path-heading h3 { margin: 0; font-size: clamp(30px, 3vw, 46px); line-height: 1; letter-spacing: -.045em; }
.pricing-feature-list { border-top: 2px solid var(--ink); }
.pricing-feature {
  display: grid;
  grid-template-columns: minmax(160px, .56fr) minmax(220px, 1fr) 44px minmax(240px, 1.2fr);
  gap: clamp(12px, 1.8vw, 28px);
  align-items: center;
  min-width: 0;
  min-height: 108px;
  padding: 21px 0;
  border-bottom: 1px solid var(--border-strong);
}
.pricing-feature-name { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 13px; align-items: center; min-width: 0; }
.pricing-feature-name svg { color: var(--orange-deep); }
.pricing-feature-name h4 { margin: 0; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.pricing-feature-value { min-width: 0; }
.pricing-feature-value p { margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.pricing-feature-value-pro p { color: var(--ink); font-weight: 720; }
.pricing-tier-label { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pricing-feature-value-pro .pricing-tier-label { color: var(--orange-deep); }
.pricing-feature-arrow { color: var(--orange-deep); font-size: 26px; font-weight: 700; text-align: center; }

.pricing-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: clamp(34px, 4vw, 52px) 0 0;
  list-style: none;
  background: rgba(255,255,255,.48);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.pricing-trust li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 78px; padding: 18px clamp(18px, 2.5vw, 34px); color: var(--ink-soft); font-size: 13px; font-weight: 720; line-height: 1.4; }
.pricing-trust li + li { border-inline-start: 1px solid var(--border); }
.pricing-trust svg { color: var(--orange-deep); }

.ai-request-explainer {
  margin-top: clamp(34px, 4vw, 54px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: clip;
}
.ai-request-explainer summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 2.6vw, 34px);
  cursor: pointer;
  list-style: none;
}
.ai-request-explainer summary::-webkit-details-marker { display: none; }
.ai-request-explainer summary:focus-visible { outline: 3px solid rgba(232,122,46,.38); outline-offset: -4px; }
.ai-request-explainer summary > span:first-child { display: grid; gap: 5px; }
.ai-request-explainer summary small { color: var(--orange-deep); font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.ai-request-explainer summary strong { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -.03em; }
.ai-request-summary-note { color: var(--ink-soft); font-size: 13px; font-weight: 720; }
.ai-request-explainer summary > svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms var(--ease); }
.ai-request-explainer[open] summary > svg { transform: rotate(180deg); }
.ai-request-body {
  display: grid;
  grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr);
  gap: clamp(34px, 6vw, 86px);
  padding: 0 clamp(22px, 3.2vw, 44px) clamp(28px, 3.8vw, 50px);
  border-top: 1px solid var(--border);
}
.ai-request-body > p { max-width: 440px; margin: 28px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.58; }
.ai-request-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--border-strong); }
.ai-request-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 66px; padding: 12px 18px 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 700; line-height: 1.35; }
.ai-request-list li:nth-child(odd) { border-inline-end: 1px solid var(--border); }
.ai-request-list li:nth-child(even) { padding-inline-start: 18px; }
.ai-request-list span { color: var(--orange-deep); font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; }

html[data-theme="dark"] .pricing-section { background: #171719; border-color: #343439; }
html[data-theme="dark"] .pricing-plan-free,
html[data-theme="dark"] .pricing-trust,
html[data-theme="dark"] .ai-request-explainer { background: #1e1e21; border-color: #38383d; }
html[data-theme="dark"] .pricing-plan-pro { background: #0d0d0f; border-color: #3d3d42; }
html[data-theme="dark"] .pricing-plan-free .pricing-plan-badge { color: #171719; background: #f6f0e8; border-color: #f6f0e8; }
html[data-theme="dark"] .pricing-feature-list { border-top-color: #f6f0e8; }

@media screen and (max-width: 980px) {
  .pricing-heading { grid-template-columns: 1fr; align-items: start; }
  .pricing-plan { padding: 30px 26px; }
  .pricing-plan-top { min-height: 128px; }
  .pricing-plan-badge { max-width: 124px; line-height: 1.2; text-align: center; white-space: normal; }
  .pricing-plan-price { font-size: clamp(35px, 5vw, 50px); }
  .pricing-plan-price span { display: block; margin: 7px 0 0; font-size: 14px; }
  .pricing-metrics { grid-template-columns: 1fr; }
  .pricing-metrics li:last-child:nth-child(odd) { grid-column: auto; }
  .pricing-path-heading { display: block; }
  .pricing-feature { grid-template-columns: minmax(135px, .48fr) minmax(180px, 1fr) 34px minmax(200px, 1.1fr); gap: 14px; }
  .pricing-trust li { padding-inline: 20px; }
  .ai-request-body { grid-template-columns: 1fr; gap: 24px; }
  .ai-request-body > p { margin-bottom: 0; }
}

@media screen and (max-width: 760px) {
  .pricing-section { padding: 76px 0; }
  .pricing-heading { gap: 22px; margin-bottom: 42px; }
  .pricing-heading h2 { font-size: clamp(39px, 12vw, 54px); }
  .pricing-plans { grid-template-columns: 1fr; }
  .pricing-plan { padding: 30px 22px 34px; border-radius: 22px; }
  .pricing-plan-top { min-height: 120px; }
  .pricing-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-metrics li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pricing-path { margin-top: 54px; }
  .pricing-path-heading { display: block; }
  .pricing-feature-list { border-top-width: 1px; }
  .pricing-feature { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); gap: 10px; padding: 22px 0; }
  .pricing-feature-name { grid-column: 1 / -1; margin-bottom: 2px; }
  .pricing-feature-value p { font-size: 13px; }
  .pricing-feature-arrow { font-size: 22px; }
  .pricing-trust { grid-template-columns: 1fr; }
  .pricing-trust li { min-height: 64px; }
  .pricing-trust li + li { border-block-start: 1px solid var(--border); border-inline-start: 0; }
  .ai-request-explainer { border-radius: 14px; }
  .ai-request-explainer summary { grid-template-columns: minmax(0, 1fr) 22px; gap: 14px; padding: 22px; }
  .ai-request-summary-note { display: none; }
  .ai-request-body { padding-inline: 22px; }
  .ai-request-list { grid-template-columns: 1fr; }
  .ai-request-list li:nth-child(odd) { border-inline-end: 0; }
  .ai-request-list li:nth-child(even) { padding-inline-start: 0; }
}

@media screen and (max-width: 480px) {
  .pricing-section { padding: 68px 0; }
  .pricing-heading h2 { font-size: clamp(36px, 11.5vw, 48px); }
  .pricing-plan-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 112px; }
  .pricing-plan-badge { max-width: 110px; white-space: normal; text-align: center; line-height: 1.15; }
  .pricing-plan-price { font-size: 38px; }
  .pricing-metrics li { grid-template-columns: 24px minmax(0, 1fr); gap: 9px; min-height: 68px; padding: 15px 0; }
  .pricing-metrics strong { font-size: 15px; }
  .pricing-feature { gap: 8px; }
  .pricing-feature-value-pro { padding: 10px 11px; background: rgba(232,122,46,.09); border-radius: 12px; }
  .ai-request-explainer summary strong { font-size: 21px; }
}

@media screen and (max-width: 720px) {
  .calendar-chapter-symbols {
    padding: 22px 18px 26px;
    border-radius: 24px;
  }
}

/* Current product proof: real screens from the latest application source. */
[data-tilt-device].phone {
  box-shadow: var(--device-shadow-x) var(--device-shadow-y) 44px rgba(13, 15, 18, .18), 0 7px 14px rgba(13, 15, 18, .1);
}

.product-proof {
  position: relative;
  padding: clamp(92px, 9vw, 150px) 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.product-proof::before {
  position: absolute;
  top: 4%;
  right: -12%;
  width: 48vw;
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(232,122,46,.12), transparent 67%);
  pointer-events: none;
}

.product-proof-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .58fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(52px, 6vw, 84px);
}

.product-proof-heading h2 {
  max-width: 900px;
  margin: 0;
  overflow-wrap: anywhere;
}

.product-proof-heading > p {
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.product-proof-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(16px, 2vw, 28px);
}

.product-proof-card {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  padding: clamp(28px, 3vw, 46px);
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
}

.product-proof-card-wide {
  grid-row: span 2;
  grid-template-columns: minmax(210px, 1fr) minmax(350px, 390px);
  gap: clamp(16px, 1.6vw, 22px);
  padding: clamp(28px, 2.5vw, 36px);
  color: #fff;
  background: #19191b;
  border-color: #2c2c30;
}

.product-proof-copy { align-self: start; }
.product-proof-copy > span {
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}
.product-proof-card-wide .product-proof-copy > span { color: #ff9851; }
.product-proof-copy h3 {
  margin: 28px 0 13px;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.product-proof-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}
.product-proof-card-wide .product-proof-copy { align-self: start; padding-top: 10px; }
.product-proof-card-wide .product-proof-copy p { color: rgba(255,255,255,.68); }

.product-proof-device,
.nearby-app-screen,
.feature-screen-band > img {
  position: relative;
  justify-self: center;
  padding: 7px;
  background: #111113;
  border: 1px solid #2c2c30;
  border-radius: 29px;
  box-shadow: 0 18px 38px rgba(20,18,16,.16);
  overflow: hidden;
}

.product-proof-device { width: 100%; max-width: 250px; }
.product-proof-card-wide .product-proof-device { max-width: 390px; }
.product-proof-card:not(.product-proof-card-wide) .product-proof-device { max-width: 170px; }
.product-proof-device img,
.nearby-app-screen img,
.feature-screen-band > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.feature-screen-band {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  margin-top: clamp(46px, 6vw, 82px);
  padding: clamp(30px, 4vw, 58px);
  color: #fff;
  background: #19191b;
  border-radius: 30px;
}
.feature-screen-band > img { width: 210px; }
.feature-screen-band div { display: grid; gap: 13px; }
.feature-screen-band span { color: #ff9851; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.feature-screen-band strong { max-width: 720px; font-size: clamp(24px, 3vw, 42px); line-height: 1.12; letter-spacing: -.035em; }

.nearby-app-screen {
  width: min(100%, 300px);
  align-self: center;
  padding: 8px;
}

.pricing-heading-balanced {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .5fr);
  gap: clamp(32px, 6vw, 90px);
}
.pricing-heading-balanced > p { margin: 0 0 4px; color: var(--ink-soft); line-height: 1.6; }
.pricing-plans-compact .pricing-plan { grid-template-rows: auto 1fr auto; }
.pricing-plans-compact .pricing-plan-top { min-height: 122px; }
.pricing-plans-compact .pricing-plan-price { max-width: 460px; font-size: clamp(27px, 2.5vw, 40px); line-height: 1.04; }
.pricing-metrics-clean { grid-template-columns: 1fr; }
.pricing-metrics-clean li { min-height: 70px; grid-template-columns: 1fr; gap: 0; }
.pricing-metrics-clean li:last-child:nth-child(odd) { grid-column: auto; }
.pricing-clarity {
  display: grid;
  grid-template-columns: minmax(220px, .5fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(24px, 3vw, 38px) 0;
  border-block: 1px solid var(--border-strong);
}
.pricing-clarity strong { font-size: clamp(20px, 2vw, 28px); line-height: 1.25; }
.pricing-clarity p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

html[data-theme="dark"] .product-proof { background: #121214; }
html[data-theme="dark"] .product-proof-card:not(.product-proof-card-wide) { background: #1d1d20; border-color: #38383d; }
html[data-theme="dark"] .feature-screen-band { border: 1px solid #343438; }

@media screen and (max-width: 1024px) {
  .product-proof-heading,
  .pricing-heading-balanced { grid-template-columns: 1fr; }
  .product-proof-heading > p,
  .pricing-heading-balanced > p { max-width: 720px; }
  .product-proof-grid { grid-template-columns: 1fr 1fr; }
  .product-proof-card-wide { grid-row: auto; grid-column: 1 / -1; }
  .product-proof-card { grid-template-columns: minmax(0, 1fr) 170px; }
  .product-proof-card-wide { min-height: 650px; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
  .product-proof-card-wide .product-proof-device { max-width: 300px; }
}

@media screen and (max-width: 720px) {
  .hero-visual { min-height: 470px; margin-inline: 0; border-radius: 26px; }
  .hero-photo { object-position: 68% center; }
  .phone-hero { width: 172px; bottom: 17px; inset-inline-start: 12px; }
  .product-proof { padding: 76px 0; }
  .product-proof-heading { gap: 24px; margin-bottom: 42px; }
  .product-proof-heading > p { font-size: 15px; }
  .product-proof-grid { grid-template-columns: 1fr; }
  .product-proof-card,
  .product-proof-card-wide { grid-column: auto; grid-template-columns: minmax(0, 1fr) minmax(120px, 155px); min-height: 330px; padding: 25px 22px; border-radius: 23px; }
  .product-proof-copy h3 { margin-top: 20px; font-size: clamp(22px, 7vw, 30px); }
  .product-proof-copy p { font-size: 13px; }
  .product-proof-device,
  .product-proof-card:not(.product-proof-card-wide) .product-proof-device { max-width: 150px; padding: 5px; border-radius: 21px; }
  .product-proof-device img { border-radius: 16px; }
  .feature-screen-band { grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 23px; }
  .feature-screen-band > img { width: 130px; padding: 5px; border-radius: 20px; }
  .feature-screen-band > img { border-radius: 16px; }
  .pricing-clarity { grid-template-columns: 1fr; gap: 12px; }
}

@media screen and (max-width: 440px) {
  .hero-visual { min-height: 420px; }
  .hero-photo { object-position: 70% center; }
  .phone-hero { width: 148px; bottom: 15px; inset-inline-start: 10px; }
  .product-proof-card,
  .product-proof-card-wide { grid-template-columns: 1fr; }
  .product-proof-device,
  .product-proof-card:not(.product-proof-card-wide) .product-proof-device { width: 154px; max-width: none; }
  .feature-screen-band { grid-template-columns: 102px minmax(0, 1fr); gap: 18px; padding: 20px; }
  .feature-screen-band > img { width: 102px; }
  .feature-screen-band strong { font-size: 20px; }
  .pricing-plans-compact .pricing-plan-top { grid-template-columns: 1fr; gap: 14px; }
  .pricing-plans-compact .pricing-plan-badge { justify-self: start; }
  .pricing-plans-compact .pricing-plan-price { font-size: 29px; }
}

/* Primary store callout: visible in the first viewport without competing with the product image. */
.hero-download {
  position: relative;
  max-width: 640px;
  margin: 0 0 42px 30px;
  padding: 19px;
  background: linear-gradient(135deg, #fff8f0 0%, #ffe3cd 100%);
  border: 1px solid #efb181;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(99, 49, 18, .13);
  overflow: hidden;
}

.hero-download::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: var(--orange);
}

html[dir="rtl"] .hero-download::before { inset: 0 0 0 auto; }

.hero-download-head {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-download-head > img {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(66, 31, 10, .18);
}

.hero-download-head strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.025em;
}

.hero-download .hero-download-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.hero-download .store-buttons-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hero-download .store-badge-wrap { justify-items: stretch; }
.hero-download .store-badge { width: 100%; min-width: 0; }

.store-badge-coming-soon small {
  color: #ffad73;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

html[data-theme="dark"] .hero-download {
  background: linear-gradient(135deg, #241b16 0%, #18181b 100%);
  border-color: #7c4a2d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .hero-download-head strong { color: #f4f2ef; }
html[data-theme="dark"] .hero-download .hero-download-label { color: #bab6b1; }

@media screen and (max-width: 1024px) {
  .hero-grid {
    grid-template-areas:
      "copy"
      "download"
      "visual";
  }

  .hero-copy { padding-bottom: 38px; }
  .hero-download { width: min(640px, 100%); margin: 0 0 36px; }
}

@media screen and (max-width: 720px) {
  .hero-copy { padding-bottom: 28px; }
  .hero-download { margin-bottom: 28px; padding: 17px; border-radius: 20px; }
  .hero-download .store-buttons-compact { gap: 14px; }
  .hero-download .store-badge { min-height: 62px; padding-inline: 11px; }
}

@media screen and (max-width: 440px) {
  .hero-download { padding: 16px; }
  .hero-download-head { margin-bottom: 14px; }
  .hero-download-head > img { width: 46px; height: 46px; border-radius: 12px; }
  .hero-download .store-buttons-compact { grid-template-columns: 1fr; gap: 12px; }
  .hero-download .store-buttons-compact .store-badge { min-width: 0; }
}

/* Final responsive QA: keep the product screen clear of faces and make every
   compact interactive target comfortable to use with a thumb. */
@media screen and (max-width: 680px) {
  .sync-legal-links a,
  .resource-preview .text-link,
  .feedback-email-row a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .site-footer .footer-top nav { gap: 4px; }
  .site-footer .footer-top nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding-block: 8px;
  }

  .specialists-map .leaflet-control-zoom a {
    width: 44px;
    height: 44px;
    line-height: 44px;
  }

  .guide-index {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .guide-index::-webkit-scrollbar { display: none; }
}

/* On tablets the application screen has its own column. It no longer masks
   the owner or pet in the lifestyle photograph. */
@media screen and (min-width: 721px) and (max-width: 1050px) {
  .hero-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(210px, 27vw, 245px);
    min-height: 620px;
    overflow: hidden;
    background: var(--cream-soft);
  }

  .hero-photo-picture {
    grid-column: 1;
    width: 100%;
    height: 620px;
  }

  .phone-hero {
    position: relative;
    grid-column: 2;
    align-self: end;
    justify-self: center;
    inset: auto;
    width: clamp(190px, 23vw, 225px);
    margin: 0 auto 26px;
  }
}

/* On phones the device sits in a dedicated lower band with only a small,
   deliberate overlap at the photograph edge. */
@media screen and (max-width: 720px) {
  .hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 420px auto;
    min-height: 0;
    overflow: hidden;
    background: var(--cream-soft);
  }

  .hero-photo-picture {
    grid-row: 1;
    width: 100%;
    height: 420px;
  }

  .phone-hero {
    position: relative;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    inset: auto;
    width: min(170px, 36vw);
    margin: -34px 0 24px 18px;
  }

  html[data-theme="dark"] .hero-visual { background: #19191b; }
}

@media screen and (max-width: 360px) {
  .hero-actions { grid-template-columns: 1fr; }
}

/* Search landing pages: focused product stories, not generic text blocks. */
.solution-page { background: var(--white); }
.care-paths { padding: 0; color: #fff; background: #18191b; }
.care-paths-grid { display: grid; grid-template-columns: 1.15fr repeat(4,1fr); }
.care-paths-heading, .care-paths a { min-height: 168px; padding: 30px 26px; border-right: 1px solid rgba(255,255,255,.13); }
.care-paths-heading { display: flex; flex-direction: column; justify-content: space-between; }
.care-paths-heading .eyebrow { color: #ffb67d; }
.care-paths-heading > strong { max-width: 210px; font-size: 24px; line-height: 1.05; }
.care-paths a { position: relative; display: flex; flex-direction: column; color: #fff; text-decoration: none; transition: background 180ms ease; }
.care-paths a:last-child { border-right: 0; }
.care-paths a:hover, .care-paths a:focus-visible { background: #242528; }
.care-paths a > span { color: #ffb67d; font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.care-paths a > strong { margin-top: auto; padding-top: 24px; font-size: 17px; line-height: 1.2; }
.care-paths a > small { margin-top: 6px; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.35; }
.solution-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 112px) 0 clamp(72px, 8vw, 128px);
  background:
    radial-gradient(circle at 78% 22%, rgba(232,122,46,.18), transparent 28%),
    linear-gradient(145deg, var(--cream-soft) 0 54%, #f3e5d6 54% 100%);
}
.solution-hero::before {
  position: absolute;
  top: 9%;
  right: 3%;
  width: clamp(230px, 27vw, 430px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(185,79,12,.18);
  border-radius: 50%;
}
.solution-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .72fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: center;
}
.solution-hero-copy { max-width: 760px; }
.solution-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: .99;
  letter-spacing: -.056em;
}
.solution-lead {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.58;
}
.solution-actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; margin-top: 34px; }
.solution-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.solution-proof li {
  padding: 10px 14px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(185,79,12,.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 720;
  backdrop-filter: blur(8px);
}
.solution-device-stage {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  isolation: isolate;
}
.solution-device-stage::after {
  position: absolute;
  z-index: -2;
  bottom: 5%;
  left: 50%;
  width: 72%;
  height: 13%;
  content: "";
  background: rgba(38,28,20,.18);
  border-radius: 50%;
  filter: blur(30px);
  transform: translateX(-50%);
}
.solution-device-stage .phone { position: relative; width: min(328px, 78%); transform: rotate(2.5deg); }
.solution-hero-calendar .solution-device-stage .phone { transform: rotate(-2.2deg); }
.solution-hero-records .solution-device-stage .phone { transform: rotate(1.8deg); }
.solution-hero-ai .solution-device-stage .phone { transform: rotate(-1.6deg); }
.solution-orbit { position: absolute; z-index: -1; border: 1px solid rgba(232,122,46,.36); border-radius: 50%; }
.solution-orbit-one { width: 82%; aspect-ratio: 1; }
.solution-orbit-two { width: 62%; aspect-ratio: 1; border-color: rgba(23,23,25,.12); transform: rotate(24deg); }
.solution-summary, .solution-detail, .solution-related, .solution-faq { padding: clamp(78px, 8vw, 132px) 0; }
.solution-summary h2, .solution-section-heading h2, .solution-faq h2, .solution-detail h2, .solution-safety-band h2 {
  margin: 0;
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.03;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.solution-summary > .container > h2 { max-width: 820px; }
.solution-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(42px, 5vw, 76px);
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.solution-stat-grid article { min-height: 270px; padding: clamp(28px, 3vw, 44px); background: var(--white); }
.solution-stat-grid article > span { color: var(--orange-deep); font-size: 13px; font-weight: 850; letter-spacing: .12em; }
.solution-stat-grid h3 { margin: 58px 0 14px; font-size: clamp(21px, 2vw, 28px); line-height: 1.08; }
.solution-stat-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.solution-icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(42px, 5vw, 76px); }
.solution-icon-grid article { display: grid; grid-template-columns: 86px 1fr; gap: 4px 20px; align-items: center; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: 22px; }
.solution-icon-grid img { grid-row: 1 / 3; width: 86px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.solution-icon-grid h3 { margin: 0; font-size: 21px; }
.solution-icon-grid p { margin: 0; color: var(--muted); line-height: 1.5; }
.solution-detail-grid { display: grid; grid-template-columns: minmax(340px, .85fr) minmax(0, 1fr); gap: clamp(55px, 8vw, 130px); align-items: center; }
.solution-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin: 0; border-radius: 34px; box-shadow: 0 22px 58px rgba(35,28,21,.12); }
.solution-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.solution-media-device { display: grid; max-width: 430px; min-height: 620px; aspect-ratio: auto; margin-inline: auto; place-items: end center; background: linear-gradient(155deg, #f2e4d6, #e7cbb2); }
.solution-media-device img { width: min(300px, 80%); height: auto; aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(30,24,20,.16)); transform: translateY(12%); }
.solution-detail-copy > p:not(.eyebrow) { max-width: 690px; margin: 24px 0 0; color: var(--ink-soft); font-size: 19px; line-height: 1.65; }
.solution-steps { display: grid; gap: 22px; margin: 38px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.solution-steps li { position: relative; display: grid; gap: 5px; padding-left: 58px; counter-increment: steps; }
.solution-steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 38px; aspect-ratio: 1; content: counter(steps, decimal-leading-zero); color: var(--orange-deep); background: var(--orange-soft); border-radius: 50%; place-items: center; font-size: 11px; font-weight: 850; }
.solution-steps strong { font-size: 18px; }
.solution-steps span { color: var(--muted); line-height: 1.55; }
.solution-section-heading { display: grid; grid-template-columns: minmax(180px,.35fr) minmax(0,1fr); gap: 40px; align-items: end; }
.solution-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }
.solution-link-grid a { position: relative; display: flex; min-height: 270px; flex-direction: column; padding: 30px; color: var(--ink); background: var(--white); border: 1px solid var(--border); border-radius: 24px; text-decoration: none; transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease; }
.solution-link-grid a::after { position: absolute; right: 28px; bottom: 26px; content: "→"; color: var(--orange-deep); font-size: 26px; }
.solution-link-grid a:hover, .solution-link-grid a:focus-visible { border-color: var(--orange); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.solution-link-grid span { color: var(--orange-deep); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.solution-link-grid strong { max-width: 330px; margin-top: 44px; font-size: 24px; line-height: 1.12; }
.solution-link-grid small { max-width: 330px; margin-top: 14px; padding-right: 30px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.solution-faq-grid { display: grid; grid-template-columns: minmax(280px,.6fr) minmax(0,1fr); gap: clamp(55px,8vw,130px); align-items: start; }
.solution-faq-list { border-top: 1px solid var(--border); }
.solution-faq-list details { border-bottom: 1px solid var(--border); }
.solution-faq-list summary { padding: 26px 44px 26px 0; cursor: pointer; font-size: 19px; font-weight: 760; line-height: 1.4; }
.solution-faq-list p { max-width: 720px; margin: -8px 0 26px; color: var(--muted); line-height: 1.65; }
.solution-safety-band { padding: clamp(64px,7vw,96px) 0; color: #fff; background: #1a1b1d; }
.solution-safety-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: clamp(30px,5vw,76px); align-items: center; }
.solution-safety-band .eyebrow { color: #ffb67d; }
.solution-safety-band h2 { max-width: 700px; color: #fff; }
.solution-safety-band p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.solution-safety-band .button-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.34); white-space: nowrap; }
.solution-safety-band .button-secondary:hover { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.72); }
html[dir="rtl"] .solution-steps li { padding-right: 58px; padding-left: 0; }
html[dir="rtl"] .solution-steps li::before { right: 0; left: auto; }
html[dir="rtl"] .solution-link-grid a::after { right: auto; left: 28px; transform: scaleX(-1); }
html[dir="rtl"] .solution-link-grid small { padding-right: 0; padding-left: 30px; }

html[data-theme="dark"] .solution-page { background: #121214; }
html[data-theme="dark"] .solution-hero { background: radial-gradient(circle at 78% 22%, rgba(232,122,46,.16), transparent 29%), linear-gradient(145deg, #19191b 0 54%, #221b17 54% 100%); }
html[data-theme="dark"] .solution-proof li { background: rgba(28,28,31,.68); border-color: rgba(232,122,46,.25); }
html[data-theme="dark"] .solution-stat-grid, html[data-theme="dark"] .solution-stat-grid article, html[data-theme="dark"] .solution-icon-grid article, html[data-theme="dark"] .solution-link-grid a { background: #18181b; }
html[data-theme="dark"] .solution-stat-grid { border-color: #343438; }
html[data-theme="dark"] .solution-media-device { background: linear-gradient(155deg, #26211d, #31241c); }

@media screen and (max-width: 1050px) {
  .care-paths-grid { grid-template-columns: repeat(2,1fr); }
  .care-paths-heading { grid-column: 1 / -1; min-height: 130px; }
  .care-paths-heading, .care-paths a { border-bottom: 1px solid rgba(255,255,255,.13); }
  .solution-hero-grid { grid-template-columns: minmax(0,1fr) 330px; gap: 44px; }
  .solution-device-stage { min-height: 560px; }
  .solution-device-stage .phone { width: 270px; }
  .solution-stat-grid { grid-template-columns: repeat(2,1fr); }
  .solution-icon-grid { grid-template-columns: repeat(2,1fr); }
  .solution-safety-grid { grid-template-columns: 1fr 1fr; }
  .solution-safety-grid .button { justify-self: start; }
}

@media screen and (max-width: 760px) {
  .care-paths-grid { display: block; }
  .care-paths-heading, .care-paths a { min-height: 0; padding: 24px 20px; border-right: 0; }
  .care-paths-heading { gap: 24px; }
  .care-paths a { display: grid; grid-template-columns: 38px 1fr; gap: 4px 10px; }
  .care-paths a > span { grid-row: 1 / 3; padding-top: 4px; }
  .care-paths a > strong { margin: 0; padding: 0; }
  .care-paths a > small { margin: 0; }
  .solution-hero { padding-top: 42px; background: linear-gradient(168deg, var(--cream-soft) 0 62%, #f3e5d6 62% 100%); }
  .solution-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .solution-hero-copy h1 { font-size: clamp(40px,12vw,58px); }
  .solution-summary h2, .solution-section-heading h2, .solution-faq h2, .solution-detail h2, .solution-safety-band h2 { font-size: clamp(32px,10vw,44px); }
  .solution-actions { display: grid; grid-template-columns: 1fr; justify-items: start; }
  .solution-proof { gap: 8px; }
  .solution-proof li { font-size: 12px; }
  .solution-device-stage { min-height: 520px; margin-top: 12px; }
  .solution-device-stage .phone { width: min(260px,67vw); transform: rotate(1.5deg); }
  .solution-orbit-one { width: min(440px,106%); }
  .solution-orbit-two { width: min(330px,78%); }
  .solution-stat-grid, .solution-icon-grid, .solution-link-grid { grid-template-columns: 1fr; }
  .solution-stat-grid article { min-height: 230px; }
  .solution-stat-grid h3 { margin-top: 44px; }
  .solution-icon-grid article { grid-template-columns: 72px 1fr; }
  .solution-icon-grid img { width: 72px; }
  .solution-detail-grid, .solution-faq-grid, .solution-section-heading, .solution-safety-grid { grid-template-columns: minmax(0,1fr); }
  .solution-detail-grid > *, .solution-faq-grid > *, .solution-section-heading > *, .solution-safety-grid > * { min-width: 0; }
  .solution-detail-grid { gap: 46px; }
  .solution-media { border-radius: 24px; }
  .solution-media-device { min-height: 520px; }
  .solution-media-device img { width: min(270px,72%); }
  .solution-section-heading { gap: 12px; }
  .solution-link-grid { margin-top: 36px; }
  .solution-link-grid a { min-height: 230px; }
  .solution-faq-grid { gap: 36px; }
  html[data-theme="dark"] .solution-hero { background: linear-gradient(168deg, #19191b 0 62%, #221b17 62% 100%); }
}

/* Release refinement: the home page is an overview, while dedicated pages
   carry the long-form details. This keeps the catalogue readable on phones. */
.feature-details .capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--border-strong);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
}
.feature-details .capability-card {
  min-height: 310px;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 22px;
  align-content: start;
  padding: clamp(30px, 3.6vw, 50px);
  background: var(--white);
  border: 0;
  transition: background-color 180ms ease, transform 180ms var(--ease);
}
.feature-details .capability-card:hover {
  padding: clamp(30px, 3.6vw, 50px);
  background: color-mix(in srgb, var(--orange) 5%, var(--white));
  transform: translateY(-2px);
}
.feature-details .capability-number { margin-top: 4px; }
.feature-details .capability-copy h3 { margin-bottom: 14px; }
.feature-details .capability-copy h3 a { color: inherit; text-decoration: none; }
.feature-details .capability-copy h3 a::after {
  display: inline-block;
  margin-inline-start: .38em;
  color: var(--orange);
  content: "↗";
  font-size: .72em;
  transition: transform 180ms var(--ease);
}
.feature-details .capability-card:hover h3 a::after { transform: translate(2px, -2px); }
.feature-details .capability-copy h3 a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; border-radius: 4px; }

.editorial-note { padding: clamp(54px, 7vw, 88px) 0; background: var(--graphite); color: #fff; }
.editorial-note-grid {
  display: grid;
  grid-template-columns: minmax(260px, .76fr) minmax(0, 1.24fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: start;
}
.editorial-note h2 { max-width: 620px; margin: 0; font-size: clamp(31px, 4vw, 54px); }
.editorial-note-grid > div:last-child > p:first-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.72;
}
.editorial-note-meta { margin: 24px 0 18px; color: rgba(255,255,255,.58); font-size: 14px; font-weight: 750; }
.editorial-sources { display: flex; flex-wrap: wrap; gap: 10px; }
.editorial-sources a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.editorial-sources a:hover { background: rgba(255,255,255,.08); border-color: var(--orange); }
.editorial-sources a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
html[data-theme="dark"] .feature-details .capability-card { background: #17181b; }
html[data-theme="dark"] .feature-details .capability-card:hover { background: #202126; }

@media screen and (max-width: 900px) {
  .feature-details .capability-grid { grid-template-columns: 1fr; }
  .feature-details .capability-card { min-height: 0; }
  .editorial-note-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media screen and (max-width: 680px) {
  .feature-details .capability-grid { border-radius: 18px; }
  .feature-details .capability-card { grid-template-columns: 36px minmax(0, 1fr); gap: 15px; padding: 27px 21px; }
  .feature-details .capability-card:hover { padding: 27px 21px; transform: none; }
  .feature-details .capability-copy h3 {
    font-size: 24px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }
  .feature-details .capability-copy > p:last-child { font-size: 15px; line-height: 1.62; }
  .editorial-sources { display: grid; }
  .editorial-sources a { width: 100%; border-radius: 12px; }
}

/* --------------------------------------------------------------------------
   Product editorial system v2 · August 2026
   Internal pages use the same visual confidence as the home page: compact
   narrative blocks, real product screens and clear surfaces instead of long
   document-like rows.
   -------------------------------------------------------------------------- */

/* Full feature catalogue --------------------------------------------------- */
.features-page .feature-index {
  position: static;
  top: auto;
  z-index: auto;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.features-page .feature-index-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}
.features-page .feature-index a {
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 15px 4px;
  color: rgba(255,255,255,.86);
  border: 0;
  border-top: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  transition: color 180ms ease, padding-inline 180ms var(--ease), border-color 180ms ease;
}
.features-page .feature-index a span {
  color: #f3a56f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.features-page .feature-index a:hover,
.features-page .feature-index a:focus-visible {
  padding-inline: 10px 0;
  color: #fff;
  background: transparent;
  border-color: rgba(243,165,111,.7);
}
.features-page .catalog-intro {
  padding: clamp(55px, 7vw, 92px) 0;
  color: #fff;
  background: var(--graphite);
  scroll-margin-top: calc(var(--header-height) + 12px);
}
.features-page .catalog-intro-layout {
  display: grid;
  grid-template-columns: minmax(280px, .76fr) minmax(480px, 1.24fr);
  gap: clamp(54px, 8vw, 128px);
  align-items: start;
}
.features-page .catalog-intro .compact-heading { display: block; }
.features-page .catalog-intro-label {
  margin: 0 0 22px;
  color: #f3a56f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.features-page .catalog-intro h2 { max-width: 920px; color: #fff; }

.features-page .feature-chapter {
  position: relative;
  padding: clamp(76px, 8vw, 118px) 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.features-page .feature-chapter::before {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.features-page .chapter-layout {
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 34px clamp(46px, 6vw, 94px);
  align-items: start;
}
.features-page .chapter-layout > :not(.chapter-heading) { grid-column: 2; }
.features-page .chapter-heading {
  position: sticky;
  top: calc(var(--header-height) + 42px);
  grid-column: 1;
  display: block;
  padding: 28px 8px 0 0;
  background: transparent;
  border: 0;
  border-top: 3px solid var(--orange-deep);
  border-radius: 0;
  box-shadow: none;
}
.features-page .section-cream .chapter-heading { background: transparent; }
.features-page .chapter-heading > span {
  width: auto;
  height: auto;
  display: block;
  padding: 0;
  color: var(--orange-deep);
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: .13em;
}
.features-page .chapter-heading h2 {
  margin-top: 24px;
  font-size: clamp(31px, 3vw, 45px);
  line-height: 1.02;
}
.features-page .chapter-heading p { margin-top: 20px; font-size: 16px; line-height: 1.62; }

.features-page .feature-matrix {
  counter-reset: feature-matrix-item;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(40, 30, 20, .055);
}
.features-page .feature-matrix article {
  position: relative;
  min-height: 174px;
  padding: 52px 30px 28px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  counter-increment: feature-matrix-item;
  transition: background-color 180ms ease;
}
.features-page .feature-matrix article:nth-child(odd) { border-inline-end: 1px solid var(--border); }
.features-page .feature-matrix article:nth-last-child(-n + 2) { border-bottom: 0; }
.features-page .feature-matrix article::before {
  position: absolute;
  top: 23px;
  inset-inline-start: 28px;
  color: var(--orange-deep);
  content: counter(feature-matrix-item, decimal-leading-zero);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.features-page .feature-matrix article:hover {
  background: var(--orange-soft);
}
.features-page .feature-matrix article:nth-child(4n + 1),
.features-page .feature-matrix article:nth-child(4n + 4) { background: transparent; }
.features-page .feature-matrix h3 { font-size: 20px; }
.features-page .feature-matrix p { font-size: 14px; line-height: 1.62; }
.features-page .compact-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.features-page .chapter-showcase,
.features-page .chapter-showcase.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: 26px;
  align-items: stretch;
}

@media screen and (min-width: 1121px) {
  .features-page #records .chapter-showcase.reverse {
    grid-template-columns: minmax(350px, 390px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .features-page #records .showcase-phone {
    min-height: 780px;
    align-self: start;
  }

  .features-page #records .showcase-phone .phone {
    width: 340px;
  }

  .features-page #records .compact-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.features-page .profile-chapter-showcase,
.features-page .profile-chapter-showcase.reverse { grid-template-columns: 1fr; }
.features-page .chapter-editorial { border-radius: 26px; box-shadow: 0 18px 46px rgba(30, 24, 18, .09); }
.features-page .showcase-phone {
  min-height: 610px;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 35%, rgba(232,122,46,.22), transparent 34%),
    var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.features-page .showcase-phone .phone {
  width: 265px;
  height: auto;
  aspect-ratio: 1080 / 2340;
}
.features-page #records .showcase-phone {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 20px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.features-page #records .showcase-phone::before {
  position: absolute;
  z-index: -1;
  width: min(92%, 360px);
  height: 72%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(232,122,46,.22), rgba(232,122,46,.07) 46%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}
.features-page #records .showcase-phone .phone {
  box-shadow: 0 28px 62px rgba(31,24,19,.17);
}
.features-page .workflow-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--graphite);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(30,24,18,.11);
}
.features-page .workflow-band > div {
  min-height: 210px;
  padding: 30px;
  background: transparent;
  border: 0;
  border-inline-end: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
}
.features-page .workflow-band > div:last-child { border-inline-end: 0; }
.features-page .workflow-band h3 { color: #fff; }
.features-page .workflow-band p { color: rgba(255,255,255,.66); }
.features-page .fact-note {
  max-width: none;
  padding: 28px 30px;
  border: 1px solid color-mix(in srgb, var(--orange) 28%, var(--border));
  border-inline-start: 5px solid var(--orange-deep);
  border-radius: 18px;
}
.features-page .nearby-layout {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 26px;
}
.features-page .nearby-app-screen {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(155deg, #f1e6d7, #fff8f0);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.features-page .nearby-app-screen img { width: min(100%, 240px); }
.features-page .calendar-chapter-symbols { margin-top: 6px; }

/* Practical guides --------------------------------------------------------- */
.guide-page .guide-index {
  padding: 12px 0;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  box-shadow: 0 10px 30px rgba(30,24,18,.06);
}
.guide-page .guide-index-grid { gap: 10px; }
.guide-page .guide-index a {
  min-height: 58px;
  padding: 12px 18px;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.guide-page .guide-index a:last-child { border-inline-end: 1px solid var(--border); }
.guide-page .guide-index a:hover { background: var(--orange-soft); border-color: var(--orange); }
.guide-page .guide-article { padding: clamp(74px, 8vw, 112px) 0; }
.guide-page .guide-article-grid {
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
}
.guide-page .guide-article-heading {
  top: calc(var(--header-height) + 104px);
  padding: 28px;
  background: var(--graphite);
  border-radius: 26px;
  box-shadow: 0 20px 52px rgba(30,24,18,.12);
}
.guide-page .guide-article-heading > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin: 0 0 26px;
  color: #fff;
  background: var(--orange-deep);
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
}
.guide-page .guide-article-heading .eyebrow { color: #ffad73; }
.guide-page .guide-article-heading h2 { color: #fff; font-size: clamp(31px, 3.2vw, 48px); }
.guide-page .guide-article-heading > p:last-of-type { color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.6; }
.guide-article-media {
  position: relative;
  height: 310px;
  display: grid;
  place-items: center;
  margin: 28px 0 0;
  overflow: hidden;
  background: linear-gradient(150deg, #f3e5d5, #fff8ef);
  border-radius: 18px;
}
.guide-article-media::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255,255,255,.34);
  border-radius: inherit;
  pointer-events: none;
}
.guide-article-media-device img {
  width: 148px;
  height: auto;
  display: block;
  padding: 5px;
  background: #111;
  border-radius: 23px;
  box-shadow: 0 20px 38px rgba(28,20,14,.25);
  transform: rotate(-2deg) translateY(35px);
}
.guide-article:nth-of-type(even) .guide-article-media-device img { transform: rotate(2deg) translateY(35px); }
.guide-article-media-photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-page .guide-article-body {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.guide-step {
  position: relative;
  min-height: 235px;
  padding: 30px;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.guide-step::before {
  width: 10px;
  height: 10px;
  display: block;
  margin-bottom: 28px;
  content: "";
  background: var(--orange-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--orange) 13%, transparent);
}
.guide-step:nth-child(3) { grid-column: 1 / -1; min-height: 0; }
.guide-page .guide-step h3 { margin: 0 0 12px; padding: 0; font-size: 23px; }
.guide-page .guide-step p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.68; }
.guide-page .guide-callout {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px 28px;
  border-radius: 16px;
}

/* Safety and data ---------------------------------------------------------- */
.safety-page-hero {
  background:
    linear-gradient(135deg, rgba(232,122,46,.1), transparent 46%),
    var(--cream-soft);
}
.safety-hero-visual {
  position: relative;
  min-height: 700px;
  overflow: visible;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(232,122,46,.19), rgba(232,122,46,.06) 42%, transparent 70%);
  border: 0;
  border-radius: 0;
}
.safety-hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 10% 14%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(232,122,46,.2), rgba(232,122,46,.05) 48%, transparent 72%);
  border: 0;
  border-radius: 50%;
  filter: blur(14px);
}
.safety-hero-phone {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 330px;
  height: auto;
  aspect-ratio: 1080 / 2340;
  transform: translateX(50%) rotate(1.8deg);
  box-shadow: 0 30px 70px rgba(31,24,19,.17);
}
.principles-section .compact-heading {
  padding: 34px;
  color: #fff;
  background: var(--graphite);
  border-radius: 24px;
}
.principles-section .compact-heading h2 { color: #fff; }
.medical-principles-layout { margin-top: 30px; }
.medical-principles-layout .principle-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}
.medical-principles-layout .principle-steps li {
  min-height: 220px;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 28px;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.medical-principles-layout .principle-steps li:last-child { grid-column: 1 / -1; min-height: 0; }
.medical-answer-preview { border-radius: 24px; box-shadow: 0 18px 45px rgba(30,24,18,.1); }
.knowledge-table {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(30,24,18,.06);
}
.data-grid {
  gap: 14px;
  background: transparent;
  border: 0;
}
.data-grid article {
  min-height: 230px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.data-grid article:nth-child(3n + 1) { background: #fff8f1; }
.control-list { display: grid; gap: 12px; border: 0; }
.control-list li {
  padding: 24px;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.legal-link-grid {
  gap: 12px;
  background: transparent;
  border: 0;
}
.legal-link-grid a {
  min-height: 190px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease;
}
.legal-link-grid a:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 38px rgba(30,24,18,.07);
  transform: translateY(-3px);
}

/* Support and legal documents -------------------------------------------- */
.legal-page .legal-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(108deg, rgba(232,122,46,.12), transparent 42%),
    var(--cream-soft);
}
.legal-page .legal-hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  content: "";
  border: 1px solid rgba(185,79,12,.14);
  border-radius: 50%;
  pointer-events: none;
}
.legal-page .legal-meta { gap: 10px; border-top: 0; }
.legal-page .legal-meta span {
  padding: 9px 13px;
  background: color-mix(in srgb, var(--white) 72%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.legal-page .legal-layout {
  max-width: 1280px;
  grid-template-columns: 270px minmax(0, 900px);
  gap: clamp(36px, 6vw, 84px);
  padding: 60px clamp(24px, 4vw, 58px) 100px;
  margin: 48px auto 80px;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 30px;
}
.legal-page .legal-toc {
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  color: #fff;
  background: var(--graphite);
  border: 0;
  border-radius: 20px;
}
.legal-page .legal-toc a {
  padding: 9px 0;
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.legal-page .legal-toc a:hover { color: #ffad73; }
.legal-page .legal-document section {
  padding: 34px 36px;
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(30,24,18,.04);
}
.legal-page .legal-document h2,
.legal-page .legal-document section:first-of-type h2 { margin-top: 0; }
.legal-page .legal-document h2 { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.legal-page .legal-alert,
.legal-page .danger-alert { border-radius: 16px; }
.legal-page .legal-table,
.legal-page .storage-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.support-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.support-hero-photo {
  position: relative;
  height: 470px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 56px rgba(30,24,18,.13);
}
.support-hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255,255,255,.4);
  border-radius: inherit;
  pointer-events: none;
}
.support-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.support-page .feedback-section { background: var(--cream-soft); }
.support-page .feedback-layout { gap: 18px; align-items: stretch; }
.support-page .feedback-intro {
  position: static;
  min-height: 100%;
  padding: clamp(32px, 4.5vw, 58px);
  color: #fff;
  background: var(--graphite);
  border-radius: 28px;
}
.support-page .feedback-intro h2 { color: #fff; }
.support-page .feedback-intro > p:not(.eyebrow):not(.feedback-note) { color: rgba(255,255,255,.68); }
.support-page .feedback-note { color: rgba(255,255,255,.58); }
.support-page .feedback-contact {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.support-page .feedback-contact > span { color: rgba(255,255,255,.62); }
.support-page .feedback-contact .feedback-email-row a { color: #fff; }
.support-page .feedback-form {
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(30,24,18,.08);
}

/* Dark theme --------------------------------------------------------------- */
html[data-theme="dark"] .features-page .feature-index,
html[data-theme="dark"] .guide-page .guide-index { background: rgba(18,18,20,.94); }
html[data-theme="dark"] .features-page .feature-index { background: transparent; }
html[data-theme="dark"] .features-page .feature-index a:hover,
html[data-theme="dark"] .features-page .feature-index a:focus-visible { background: transparent; }
html[data-theme="dark"] .features-page .chapter-heading,
html[data-theme="dark"] .features-page .feature-matrix article,
html[data-theme="dark"] .guide-page .guide-index a,
html[data-theme="dark"] .guide-step,
html[data-theme="dark"] .medical-principles-layout .principle-steps li,
html[data-theme="dark"] .data-grid article,
html[data-theme="dark"] .control-list li,
html[data-theme="dark"] .legal-link-grid a,
html[data-theme="dark"] .legal-page .legal-document section,
html[data-theme="dark"] .support-page .feedback-form { background: #1a1a1d; border-color: #39393e; }
html[data-theme="dark"] .features-page .section-cream .chapter-heading,
html[data-theme="dark"] .features-page .feature-matrix article:nth-child(4n + 1),
html[data-theme="dark"] .features-page .feature-matrix article:nth-child(4n + 4),
html[data-theme="dark"] .data-grid article:nth-child(3n + 1) { background: #201c19; }
html[data-theme="dark"] .features-page .chapter-heading { background: transparent; }
html[data-theme="dark"] .features-page .feature-matrix {
  background: #1a1a1d;
  border-color: #39393e;
  box-shadow: none;
}
html[data-theme="dark"] .features-page .feature-matrix article,
html[data-theme="dark"] .features-page .feature-matrix article:nth-child(4n + 1),
html[data-theme="dark"] .features-page .feature-matrix article:nth-child(4n + 4) { background: transparent; }
html[data-theme="dark"] .features-page .feature-matrix article:hover { background: #2b211a; }
html[data-theme="dark"] .features-page .showcase-phone,
html[data-theme="dark"] .features-page .nearby-app-screen,
html[data-theme="dark"] .guide-article-media,
html[data-theme="dark"] .safety-hero-visual { background: #211d1a; border-color: #39393e; }
html[data-theme="dark"] .knowledge-table { background: #171719; border-color: #39393e; }
html[data-theme="dark"] .legal-page .legal-layout { background: #151517; border-color: #39393e; }
html[data-theme="dark"] .legal-page .legal-meta span { background: #222226; border-color: #39393e; }
html[data-theme="dark"] .support-page .feedback-section { background: #121214; }
html[data-theme="dark"] .features-page .feature-chapter,
html[data-theme="dark"] .guide-page .guide-article,
html[data-theme="dark"] .principles-section,
html[data-theme="dark"] .emergency-section,
html[data-theme="dark"] .privacy-controls,
html[data-theme="dark"] .legal-page main { background: #121315; }
html[data-theme="dark"] .features-page .feature-chapter.section-cream,
html[data-theme="dark"] .guide-page .guide-article.section-cream,
html[data-theme="dark"] .answer-anatomy.section-cream,
html[data-theme="dark"] .data-section.section-cream,
html[data-theme="dark"] .legal-route.section-cream { background: #191b1e; }

/* Responsive --------------------------------------------------------------- */
@media screen and (max-width: 1120px) {
  .features-page .chapter-layout { grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); gap: 34px 40px; }
  .features-page .chapter-heading { padding: 25px; }
  .features-page .compact-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-page .chapter-showcase,
  .features-page .chapter-showcase.reverse { grid-template-columns: 1fr; }
  .features-page .showcase-phone { min-height: 530px; order: 0; }
  .features-page .showcase-phone .phone { width: 230px; height: auto; }
  .features-page #records .showcase-phone {
    min-height: 0;
    padding-block: 16px 8px;
  }
  .features-page #records .showcase-phone .phone {
    width: min(360px, 100%);
    height: auto;
  }
  .features-page .nearby-layout { grid-template-columns: 1fr; }
  .features-page .nearby-app-screen { min-height: 520px; }
  .features-page .workflow-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-page .workflow-band > div:nth-child(2) { border-inline-end: 0; }
  .features-page .workflow-band > div:nth-child(-n + 2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .guide-page .guide-article-grid { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 38px; }
  .guide-page .guide-article-body { grid-template-columns: 1fr; }
  .guide-step:nth-child(3), .guide-page .guide-callout { grid-column: auto; }
  .support-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .7fr); }
}

@media screen and (max-width: 900px) {
  .features-page .catalog-intro-layout { grid-template-columns: 1fr; gap: 42px; }
  .features-page .chapter-layout,
  .guide-page .guide-article-grid,
  .support-hero-grid { grid-template-columns: 1fr; }
  .features-page .chapter-layout > :not(.chapter-heading) { grid-column: 1; }
  .features-page .chapter-heading,
  .guide-page .guide-article-heading { position: relative; top: auto; }
  .features-page .feature-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-page .compact-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-page .guide-article-heading { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; }
  .guide-page .guide-article-heading > span,
  .guide-page .guide-article-heading > .eyebrow,
  .guide-page .guide-article-heading > h2,
  .guide-page .guide-article-heading > p { grid-column: 1; }
  .guide-page .guide-article-media { grid-column: 2; grid-row: 1 / 6; height: 100%; min-height: 320px; margin: 0; }
  .guide-page .guide-article-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-step:nth-child(3), .guide-page .guide-callout { grid-column: 1 / -1; }
  .support-hero-photo { height: 420px; }
  .legal-page .legal-layout { grid-template-columns: 1fr; margin-inline: 20px; }
  .legal-page .legal-toc { position: static; }
  .legal-page .legal-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
}

@media screen and (max-width: 680px) {
  .features-page .feature-index { overflow: visible; padding: 0; }
  .features-page .feature-index::after { content: none; }
  .features-page .feature-index-inner {
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 0;
  }
  .features-page .feature-index a { min-height: 54px; padding-block: 12px; }
  .features-page .feature-index a:hover,
  .features-page .feature-index a:focus-visible { padding-inline: 8px 0; }
  .features-page .catalog-intro { padding-block: 52px; }
  .features-page .feature-chapter { padding-block: 66px; }
  .features-page .chapter-layout { gap: 26px; }
  .features-page .chapter-heading { padding: 22px 0 0; border-radius: 0; }
  .features-page .chapter-heading h2 { margin-top: 24px; font-size: 34px; }
  .features-page .chapter-heading p { font-size: 15px; }
  .features-page .feature-matrix,
  .features-page .compact-matrix { grid-template-columns: 1fr; gap: 0; border-radius: 19px; }
  .features-page .feature-matrix article { min-height: 0; padding: 48px 22px 24px; border-radius: 0; border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .features-page .feature-matrix article:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .features-page .feature-matrix article:last-child { border-bottom: 0; }
  .features-page .feature-matrix article::before { top: 20px; inset-inline-start: 22px; }
  .features-page .feature-matrix article:hover { transform: none; }
  .features-page .chapter-editorial { border-radius: 20px; }
  .features-page .showcase-phone { min-height: 480px; padding: 20px; }
  .features-page .showcase-phone .phone { width: 210px; height: auto; }
  .features-page #records .showcase-phone {
    min-height: 0;
    padding: 10px 0 4px;
  }
  .features-page #records .showcase-phone .phone {
    width: min(300px, 88vw);
    height: auto;
  }
  .features-page .workflow-band { grid-template-columns: 1fr; gap: 0; border-radius: 19px; }
  .features-page .workflow-band > div,
  .features-page .workflow-band > div:nth-child(2) { min-height: 0; padding: 24px; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .features-page .workflow-band > div:last-child { border-bottom: 0; }
  .features-page .nearby-app-screen { min-height: 450px; padding: 20px; }

  .guide-page .guide-index-grid { gap: 8px; }
  .guide-page .guide-article { padding-block: 62px; }
  .guide-page .guide-article-heading { display: block; padding: 23px; border-radius: 21px; }
  .guide-page .guide-article-heading h2 { font-size: 34px; }
  .guide-page .guide-article-media { height: 285px; min-height: 0; margin-top: 24px; }
  .guide-page .guide-article-body { grid-template-columns: 1fr; gap: 10px; }
  .guide-step,
  .guide-step:nth-child(3) { min-height: 0; grid-column: auto; padding: 24px; border-radius: 16px; }
  .guide-step::before { margin-bottom: 22px; }
  .guide-page .guide-callout { grid-column: auto; }

  .safety-hero-visual {
    display: block;
    min-height: 610px;
    padding: 0;
    border-radius: 0;
  }
  .safety-hero-visual::before { inset: 12% 8%; }
  .safety-hero-phone {
    right: 50%;
    bottom: 0;
    width: 270px;
    height: auto;
    transform: translateX(50%) rotate(1.5deg);
  }
  .principles-section .compact-heading { padding: 25px; border-radius: 19px; }
  .medical-principles-layout .principle-steps { grid-template-columns: 1fr; }
  .medical-principles-layout .principle-steps li,
  .medical-principles-layout .principle-steps li:last-child { min-height: 0; grid-column: auto; padding: 23px; }
  .data-grid { grid-template-columns: 1fr; gap: 10px; }
  .data-grid article { min-height: 0; padding: 24px; border-radius: 16px; }
  .legal-link-grid { gap: 9px; }
  .legal-link-grid a { min-height: 0; border-radius: 15px; }

  .legal-page .legal-layout {
    padding: 18px;
    margin: 24px 12px 60px;
    border-radius: 22px;
  }
  .legal-page .legal-toc { padding: 20px; border-radius: 16px; }
  .legal-page .legal-toc nav { grid-template-columns: 1fr; }
  .legal-page .legal-document section { padding: 25px 22px; border-radius: 16px; }
  .legal-page .legal-document h2 { font-size: 26px; }
  .support-hero-photo { height: 320px; border-radius: 21px; }
  .support-page .feedback-layout { gap: 12px; }
  .support-page .feedback-intro,
  .support-page .feedback-form { padding: 25px 22px; border-radius: 21px; }
}

@media print {
  .features-page .chapter-layout,
  .guide-page .guide-article-grid,
  .legal-page .legal-layout { display: block; margin: 0; padding: 20px 0; background: #fff; border: 0; }
  .features-page .chapter-heading,
  .guide-page .guide-article-heading,
  .legal-page .legal-document section { position: static; padding: 0; color: #000; background: #fff; border: 0; box-shadow: none; }
  .guide-page .guide-article-heading h2 { color: #000; }
  .guide-article-media,
  .support-hero-photo,
  .safety-hero-visual { display: none; }
}

/* -------------------------------------------------------------------------
   Purpose-built phone and tablet layouts

   These rules intentionally live after the older responsive layer. Desktop
   starts at 1121px and is therefore left byte-for-byte visually unchanged.
   ------------------------------------------------------------------------- */

@media screen and (min-width: 721px) and (max-width: 1120px) {
  :root { --header-height: 74px; }

  .container { width: min(920px, calc(100% - 56px)); }
  .header-inner { min-height: var(--header-height); }
  .site-header .brand img { width: 44px; height: 44px; }
  .site-header .brand > span { font-size: 20px; }

  h1 { font-size: clamp(48px, 7vw, 66px); line-height: .98; }
  h2 { font-size: clamp(39px, 5.8vw, 54px); line-height: 1.01; }
  .section-white,
  .section-cream { padding-block: 82px; }

  .hero-copy { max-width: 760px; padding: 66px 0 46px 24px; }
  .hero-copy > p:not(.eyebrow) { max-width: 670px; font-size: 19px; }
  .hero-actions { gap: 12px; }
  .hero-download { padding: 28px 0 38px; }
  .hero-visual { min-height: 560px; }
  .hero-photo-picture { height: 560px; }

  .feature-details-heading { margin-bottom: 46px; }
  .capability-grid { gap: 16px; border: 0; }
  .capability-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    gap: 0 16px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: 22px;
  }
  .capability-number { margin: 4px 0 0; }
  .capability-points,
  .capability-use { grid-column: 2; }
  .capability-points { margin-bottom: 24px; }
  .included-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .included-strip p { min-height: 104px; }

  .pet-profile-layout { gap: 34px; }
  .profile-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
  .profile-category-list article { padding: 22px; background: var(--cream-soft); border-radius: 18px; }
  .profile-device-stage { min-height: 620px; }

  .product-proof { padding-block: 82px; }
  .product-proof-heading { gap: 20px; margin-bottom: 44px; }
  .product-proof-grid { gap: 16px; }
  .product-proof-card { min-height: 400px; grid-template-columns: minmax(0, 1fr) 155px; padding: 28px; border-radius: 24px; }
  .product-proof-card-wide { min-height: 520px; grid-template-columns: minmax(0, 1fr) 245px; }
  .product-proof-card-wide .product-proof-device { max-width: 245px; }
  .product-proof-copy h3 { font-size: clamp(27px, 4vw, 36px); }

  .pricing-plans { gap: 16px; }
  .pricing-plan { padding: 30px; border-radius: 24px; }
  .pricing-clarity { gap: 26px; }

  .features-page .page-hero { padding-block: 62px 70px; }
  .features-page .catalog-intro { padding-block: 64px; }
  .features-page .catalog-intro-layout { gap: 36px; }
  .features-page .feature-index-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-page .feature-chapter { padding-block: 78px; }
  .features-page .chapter-layout { gap: 28px; }
  .features-page .chapter-heading {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px 20px;
    padding: 0 0 26px;
    border-top: 0;
    border-bottom: 2px solid var(--orange-deep);
  }
  .features-page .chapter-heading > span { grid-row: 1 / span 2; padding-top: 7px; }
  .features-page .chapter-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 46px); }
  .features-page .chapter-heading p { grid-column: 2; max-width: 720px; margin: 0; }
  .features-page .chapter-showcase,
  .features-page .chapter-showcase.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: 20px;
  }
  .features-page .profile-chapter-showcase,
  .features-page .profile-chapter-showcase.reverse { grid-template-columns: 1fr; }
  .features-page #records .chapter-showcase.reverse { grid-template-columns: 260px minmax(0, 1fr); }
  .features-page .feature-matrix article { min-height: 160px; padding: 50px 24px 24px; }
  .features-page .showcase-phone { min-height: 520px; padding: 24px; }
  .features-page .showcase-phone .phone { width: 220px; }
  .features-page #records .showcase-phone {
    min-height: 590px;
    align-self: start;
    display: grid;
    place-items: start center;
    padding: 18px 10px;
    overflow: hidden;
  }
  .features-page #records .showcase-phone::before { height: 80%; }
  .features-page #records .showcase-phone .phone { width: 246px; }
  .features-page .workflow-band > div { min-height: 176px; padding: 25px; }
  .features-page .feature-screen-band { grid-template-columns: 175px minmax(0, 1fr); padding: 34px; }
  .features-page .feature-screen-band > img { width: 175px; }
  .features-page .nearby-app-screen { width: 245px; min-height: 0; }

  .guide-page .guide-article { padding-block: 76px; }
  .guide-page .guide-article-heading { grid-template-columns: minmax(0, 1fr) 250px; }
  .guide-page .guide-article-media { min-height: 300px; }
  .guide-page .guide-article-body { gap: 14px; }

  .support-hero-grid { gap: 34px; }
  .support-hero-photo { height: 390px; }
  .legal-page .legal-layout { margin-inline: 28px; }
}

@media screen and (max-width: 720px) {
  :root {
    --header-height: 64px;
    --mobile-card-width: min(84vw, 318px);
  }

  html { scroll-padding-top: 72px; }
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: var(--header-height); gap: 7px; }
  .header-inner .brand { gap: 7px; }
  .header-inner .brand img { width: 38px; height: 38px; }
  .header-inner .brand > span { font-size: clamp(15px, 4.8vw, 18px); }
  .language-toggle,
  .theme-toggle,
  .menu-toggle { width: 38px; height: 38px; min-width: 38px; border-radius: 10px; }
  .language-toggle { font-size: 11px; }
  .main-nav { padding: 18px 16px max(28px, env(safe-area-inset-bottom)); }
  .main-nav a { padding: 14px 2px; font-size: 19px; }

  h1 { font-size: clamp(39px, 11.5vw, 48px); line-height: .98; letter-spacing: -.06em; }
  h2 { font-size: clamp(32px, 9.5vw, 40px); line-height: 1.02; }
  .eyebrow { margin-bottom: 18px; }
  .section-white,
  .section-cream { padding-block: 60px; }

  .hero-copy { padding: 42px 0 30px 14px; }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 26px; font-size: 16px; line-height: 1.52; }
  .hero-actions { grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .button { min-height: 52px; font-size: 14px; }
  .hero-download { padding: 22px 0 28px; }
  .hero-download-card { padding: 14px; border-radius: 19px; }
  .store-buttons-compact { grid-template-columns: 1fr; gap: 9px; }
  .store-buttons-compact .store-button { min-height: 60px; }
  .hero-visual {
    grid-template-rows: 305px auto;
    min-height: 0;
    margin-inline: 0;
    border-radius: 22px;
  }
  .hero-photo-picture { height: 305px; }
  .hero-photo { object-position: 60% center; }
  .phone-hero { width: min(146px, 39vw); margin: -25px 0 18px 14px; }

  .benefit-strip { padding-block: 50px; }
  .benefit-heading { min-height: 126px; margin-bottom: 10px; padding-inline-start: 82px; }
  .benefit-heading::before { font-size: 76px; }
  .benefit-heading::after { inset-inline-start: 66px; }
  .benefit-heading h2 { font-size: 29px; }
  .benefit-grid article,
  .benefit-grid article:first-of-type { padding: 20px 0; }

  .feature-details-heading { margin-bottom: 32px; }
  .capability-grid,
  .product-proof-grid,
  .pricing-plans,
  .features-page .feature-matrix,
  .features-page .compact-matrix {
    display: flex;
    gap: 12px;
    width: calc(100vw - 16px);
    margin-inline-end: calc(16px - 100vw);
    padding-inline-end: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .capability-grid::-webkit-scrollbar,
  .product-proof-grid::-webkit-scrollbar,
  .pricing-plans::-webkit-scrollbar,
  .features-page .feature-matrix::-webkit-scrollbar,
  .features-page .compact-matrix::-webkit-scrollbar { display: none; }

  .capability-card {
    flex: 0 0 var(--mobile-card-width);
    min-height: 390px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    gap: 0 13px;
    padding: 25px 22px;
    background: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    scroll-snap-align: start;
  }
  .capability-card:hover { padding-inline: 22px; }
  .capability-number { margin: 4px 0 0; }
  .capability-copy h3 { font-size: 25px; }
  .capability-copy > p:last-child { font-size: 15px; line-height: 1.55; }
  .capability-points,
  .capability-use { grid-column: 2; }
  .capability-points { gap: 8px; margin-bottom: 20px; }
  .included-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; border-radius: 18px; overflow: hidden; }
  .included-strip p { min-height: 98px; padding: 17px; }

  .calendar-symbols-layout { gap: 30px; }
  .calendar-icon-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .calendar-icon-rail figure { min-width: 0; }
  .calendar-icon-rail figure > span { width: 74px; height: 74px; }
  .calendar-icon-rail figcaption { font-size: 12px; overflow-wrap: anywhere; }

  .pet-profile-layout { gap: 36px; }
  .profile-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .profile-category-list article { grid-template-columns: 34px 1fr; gap: 10px; padding: 18px 14px; background: var(--cream-soft); border-radius: 16px; }
  .profile-category-list svg { width: 32px; height: 32px; }
  .profile-category-list h3 { font-size: 16px; }
  .profile-category-list p { font-size: 13px; line-height: 1.45; }
  .profile-device-stage { min-height: 510px; padding: 22px 10px; }
  .phone-profile { width: min(235px, 72vw); }

  .journey-photo { aspect-ratio: 4 / 3; }
  .journey-copy { padding: 54px 16px 62px; }
  .how-grid { gap: 32px; }
  .steps li { padding-bottom: 26px; }

  .medical-device-stage { gap: 8px; padding-inline: 0; }
  .medical-workflow article { grid-template-columns: 42px 1fr; gap: 14px; }
  .medical-evidence { border-radius: 19px; }

  .product-proof { padding-block: 60px; }
  .product-proof-heading { gap: 16px; margin-bottom: 30px; }
  .product-proof-heading > p { font-size: 15px; }
  .product-proof-card,
  .product-proof-card-wide {
    flex: 0 0 var(--mobile-card-width);
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 22px;
    padding: 24px 22px;
    border-radius: 22px;
    scroll-snap-align: start;
  }
  .product-proof-copy h3 { margin: 18px 0 10px; font-size: 27px; }
  .product-proof-copy p { font-size: 14px; line-height: 1.5; }
  .product-proof-device,
  .product-proof-card:not(.product-proof-card-wide) .product-proof-device,
  .product-proof-card-wide .product-proof-device { width: 166px; max-width: none; align-self: end; }

  .feature-screen-band { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 19px; border-radius: 20px; }
  .feature-screen-band > img { width: 96px; }
  .feature-screen-band strong { font-size: 19px; }

  .pricing-heading-balanced { gap: 14px; }
  .pricing-plans { width: calc(100vw - 16px); }
  .pricing-plan {
    flex: 0 0 min(87vw, 330px);
    min-height: 610px;
    padding: 25px 22px;
    border-radius: 21px;
    scroll-snap-align: start;
  }
  .pricing-plans-compact .pricing-plan-top { min-height: 100px; }
  .pricing-plan-features li { font-size: 14px; }
  .pricing-clarity { gap: 8px; padding-block: 24px; }

  .features-page .page-hero { padding-block: 46px 54px; }
  .features-page .page-hero-copy { padding-inline-start: 14px; }
  .features-page .page-hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .features-page .catalog-intro { padding-block: 48px; }
  .features-page .catalog-intro-layout { gap: 26px; }
  .features-page .catalog-intro h2 { font-size: 34px; }
  .features-page .feature-index { overflow: hidden; }
  .features-page .feature-index-inner {
    display: flex;
    gap: 8px;
    width: calc(100vw - 16px);
    margin-inline-end: calc(16px - 100vw);
    padding-inline-end: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }
  .features-page .feature-index-inner::-webkit-scrollbar { display: none; }
  .features-page .feature-index a {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-grid;
    grid-template-columns: auto auto;
    gap: 8px;
    padding: 10px 14px;
    color: #fff;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    font-size: 13px;
    scroll-snap-align: start;
  }
  .features-page .feature-index a:hover,
  .features-page .feature-index a:focus-visible { padding-inline: 14px; background: rgba(255,255,255,.12); }
  .features-page .feature-chapter { padding-block: 58px; }
  .features-page .chapter-layout { gap: 24px; }
  .features-page .chapter-heading {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 0 0 22px;
    border-top: 0;
    border-bottom: 2px solid var(--orange-deep);
  }
  .features-page .chapter-heading > span { grid-row: 1 / span 2; padding-top: 6px; }
  .features-page .chapter-heading h2 { margin: 0; font-size: 33px; line-height: 1.02; }
  .features-page .chapter-heading p { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.55; }
  .features-page .chapter-showcase,
  .features-page .chapter-showcase.reverse { grid-template-columns: 1fr; gap: 18px; }

  .features-page .feature-matrix,
  .features-page .compact-matrix { width: calc(100vw - 16px); }
  .features-page .feature-matrix article,
  .features-page .feature-matrix article:nth-child(odd),
  .features-page .feature-matrix article:nth-last-child(-n + 2),
  .features-page .feature-matrix article:last-child {
    flex: 0 0 var(--mobile-card-width);
    min-height: 230px;
    padding: 48px 22px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    scroll-snap-align: start;
  }
  .features-page .feature-matrix h3 { font-size: 20px; }
  .features-page .feature-matrix p { font-size: 14px; line-height: 1.55; }

  .features-page .showcase-phone {
    min-height: 410px;
    display: grid;
    place-items: center;
    padding: 22px;
    border-radius: 20px;
    overflow: hidden;
  }
  .features-page .showcase-phone .phone { width: 178px; }
  .features-page #records .chapter-showcase.reverse { display: grid; grid-template-columns: 1fr; }
  .features-page #records .showcase-phone {
    min-height: 420px;
    order: 0;
    display: grid;
    place-items: start center;
    padding: 16px 0 0;
    overflow: hidden;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: 20px;
  }
  .features-page #records .showcase-phone::before { width: 82%; height: 80%; }
  .features-page #records .showcase-phone .phone { width: min(205px, 62vw); }
  .features-page #records .compact-matrix { order: 1; }

  .features-page .workflow-band {
    display: flex;
    gap: 10px;
    width: calc(100vw - 16px);
    margin-inline-end: calc(16px - 100vw);
    padding: 0 16px 0 0;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
  }
  .features-page .workflow-band::-webkit-scrollbar { display: none; }
  .features-page .workflow-band > div,
  .features-page .workflow-band > div:nth-child(2),
  .features-page .workflow-band > div:last-child {
    flex: 0 0 var(--mobile-card-width);
    min-height: 220px;
    padding: 24px;
    background: var(--graphite);
    border: 0;
    border-radius: 18px;
    scroll-snap-align: start;
  }
  .features-page .feature-screen-band { margin-top: 26px; }
  .features-page .nearby-layout { gap: 18px; }
  .features-page .nearby-app-screen { min-height: 0; width: min(204px, 64vw); padding: 6px; }
  .features-page .calendar-chapter-symbols { padding: 18px 12px 20px; }
  .features-page .fact-note { padding: 22px; border-radius: 16px; }

  .guide-page .guide-index { overflow: hidden; }
  .guide-page .guide-index-grid { display: flex; width: calc(100vw - 16px); overflow-x: auto; scrollbar-width: none; }
  .guide-page .guide-index-grid::-webkit-scrollbar { display: none; }
  .guide-page .guide-index a { flex: 0 0 var(--mobile-card-width); scroll-snap-align: start; }
  .guide-page .guide-article { padding-block: 56px; }
  .guide-page .guide-article-heading { padding: 20px; }
  .guide-page .guide-article-heading h2 { font-size: 31px; }
  .guide-page .guide-article-media { height: 230px; margin-top: 20px; }
  .guide-step { padding: 22px; }

  .safety-page .page-hero { padding-bottom: 0; }
  .safety-hero-visual { min-height: 470px; }
  .safety-hero-phone { width: 220px; }

  .support-hero-grid { gap: 28px; }
  .support-hero-photo { height: 270px; }
  .support-page .feedback-intro,
  .support-page .feedback-form { padding: 22px 18px; }

  .legal-page .legal-layout { margin: 16px 8px 52px; padding: 12px; }
  .legal-page .legal-document section { padding: 22px 18px; }
  .legal-page .legal-document h2 { font-size: 25px; }

  .footer-top { gap: 32px; }
  .footer-top nav { gap: 12px; }
}

@media screen and (max-width: 390px) {
  :root { --mobile-card-width: min(86vw, 308px); }
  .header-inner .brand > span { font-size: 15px; }
  h1 { font-size: 40px; }
  .hero-photo-picture { height: 286px; }
  .hero-visual { grid-template-rows: 286px auto; }
  .phone-hero { width: 136px; }
  .calendar-icon-rail figure > span { width: 66px; height: 66px; }
  .profile-category-list { grid-template-columns: 1fr; }
  .feature-screen-band { grid-template-columns: 82px minmax(0, 1fr); }
  .feature-screen-band > img { width: 82px; }
}

/* ========================================================================
   MOBILE / TABLET COMPOSITION V2

   A self-contained responsive composition. Everything below is capped at
   1120px so the approved desktop presentation remains untouched.
   ======================================================================== */

@media screen and (max-width: 1120px) {
  html { overflow-x: clip; }
  body { overflow-x: clip; }

  .site-header {
    border-bottom: 1px solid color-mix(in srgb, var(--border-strong) 72%, transparent);
    box-shadow: 0 8px 28px rgba(35, 27, 20, .055);
  }

  .header-inner { padding-block: 8px; }
  .header-cta { display: none; }

  .main-nav {
    z-index: 100;
    background: color-mix(in srgb, var(--white) 96%, transparent);
    backdrop-filter: blur(18px);
  }

  .main-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  main :is(h1, h2, h3, p, li, a, strong, span) { overflow-wrap: break-word; }
  main :is(.phone, .phone-screen, .app-screenshot) { overflow-wrap: normal; }

  .page-hero,
  .legal-hero,
  .guide-hero,
  .solution-hero { border-bottom: 0; }

  .page-hero-grid,
  .solution-hero-grid,
  .guide-hero-grid,
  .support-hero-grid { min-width: 0; }

  .page-hero-grid > *,
  .solution-hero-grid > *,
  .guide-hero-grid > *,
  .support-hero-grid > *,
  .chapter-showcase > *,
  .solution-detail-grid > * { min-width: 0; }

  .button { justify-content: center; text-align: center; }

  .site-footer { padding-block: 54px 30px; }
  .footer-top { align-items: start; }
  .footer-top nav a { padding-block: 4px; }

  /* Consistent visual cards across long content pages. */
  .solution-detail,
  .solution-related,
  .solution-faq,
  .guide-article,
  .features-page .feature-chapter,
  .principles-section,
  .data-section { scroll-margin-top: calc(var(--header-height) + 18px); }

  .solution-link-grid a,
  .solution-faq-list details,
  .guide-step,
  .guide-callout,
  .data-grid article,
  .feature-matrix article {
    box-shadow: 0 10px 30px rgba(42, 31, 22, .055);
  }
}

/* Tablet: a real split layout with deliberate media proportions. */
@media screen and (min-width: 721px) and (max-width: 1120px) {
  :root { --header-height: 72px; }

  .container { width: min(944px, calc(100% - 48px)); }

  .hero { padding: 24px 0 48px; }
  .hero-grid {
    min-height: 620px;
    grid-template-columns: minmax(0, .93fr) minmax(350px, 1.07fr);
    grid-template-areas:
      "copy visual"
      "download visual";
    grid-template-rows: 1fr auto;
    gap: 20px 30px;
    padding: 26px;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
  }

  .hero-copy {
    grid-area: copy;
    align-self: end;
    padding: 18px 0 16px 18px;
    border-inline-start: 4px solid var(--orange);
  }

  .hero-copy h1 {
    max-width: 560px;
    margin-bottom: 22px;
    font-size: clamp(43px, 5.5vw, 61px);
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 570px;
    margin-bottom: 24px;
    font-size: 17px;
  }

  .hero-actions { display: flex; gap: 10px; }
  .hero-actions .button { min-height: 50px; padding-inline: 17px; font-size: 13px; }

  .hero-visual {
    grid-area: visual;
    display: block;
    min-height: 568px;
    margin: 0;
    border-radius: 23px;
    overflow: hidden;
  }

  .hero-photo-picture { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-photo { object-position: 70% center; }
  .hero-visual::before { width: 0; background: none; }

  .phone-hero {
    position: absolute;
    bottom: 20px;
    inset: auto auto 20px 18px;
    width: 190px;
    margin: 0;
    filter: drop-shadow(0 18px 24px rgba(17, 17, 19, .2));
  }

  .hero-download {
    grid-area: download;
    max-width: none;
    margin: 0 0 2px;
    padding: 16px 0 0;
    border-top: 1px solid var(--border-strong);
  }

  .hero-download-head { margin-bottom: 12px; }
  .hero-download-head img { width: 38px; height: 38px; border-radius: 10px; }
  .hero-download-label { margin: 0; }
  .store-buttons-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store-buttons-compact .store-button {
    min-height: 54px;
    padding: 8px 10px;
    background: #0d0e10;
    border: 1px solid #0d0e10;
    border-radius: 12px;
  }
  .store-buttons-compact .store-button:first-child { padding-inline-start: 10px; }
  .store-buttons-compact .store-button:hover { background: #1c1d20; transform: translateY(-2px); }

  .store-buttons-compact .store-badge {
    min-width: 0;
    min-height: 54px;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .solution-hero::before { display: none; }
  .solution-hero-grid {
    padding: 28px;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: 30px;
  }
  .solution-device-stage { min-height: 500px; }
  .solution-device-stage .phone { width: 238px; }

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .benefit-heading {
    grid-column: 1 / -1;
    min-height: 0;
    margin-bottom: 18px;
    padding: 0 0 28px 88px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }
  .benefit-heading::before { font-size: 68px; }
  .benefit-heading::after { inset-inline-start: 59px; }
  .benefit-heading h2 { max-width: 760px; font-size: 43px; }
  .benefit-grid article { min-height: 210px; padding: 28px; }

  .care-paths-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-paths-heading { grid-column: 1 / -1; min-height: 0; padding: 26px 0; }
  .care-paths-grid > a { min-height: 142px; }

  .page-hero-grid,
  .solution-hero-grid,
  .guide-hero-grid,
  .support-hero-grid {
    grid-template-columns: minmax(0, .98fr) minmax(310px, 1.02fr);
    gap: 32px;
    align-items: center;
  }

  .page-hero,
  .solution-hero,
  .guide-hero,
  .legal-hero { padding-block: 54px 64px; }

  .page-hero :is(h1, .page-hero-copy h1),
  .solution-hero h1,
  .guide-hero h1,
  .legal-hero h1 { font-size: clamp(45px, 6.2vw, 62px); }

  .page-hero-screens,
  .safety-hero-visual {
    min-height: 520px;
    border-radius: 26px;
    overflow: hidden;
  }
  .safety-hero-phone {
    right: 50%;
    bottom: 14px;
    width: 220px;
    transform: translateX(50%) rotate(1deg);
  }

  .solution-hero-media,
  .guide-hero figure,
  .support-hero-photo { height: 420px; min-height: 0; border-radius: 25px; }

  /* A fixed height plus the figure's 4:3 aspect ratio used to force a
     560px intrinsic width, which was wider than the tablet grid column. */
  .guide-hero figure {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    aspect-ratio: auto;
  }

  .solution-detail-grid { grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); gap: 42px; }
  .solution-media { min-height: 520px; border-radius: 24px; }
  .solution-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .solution-link-grid a { padding: 24px; border-radius: 20px; }
  .solution-faq-grid { grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: 42px; }

  .features-page .chapter-layout { display: grid; grid-template-columns: 1fr; }
  .features-page .chapter-showcase,
  .features-page .chapter-showcase.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(245px, 300px);
    align-items: start;
  }
  .features-page .profile-chapter-showcase,
  .features-page .profile-chapter-showcase.reverse { grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr); }
  .features-page #records .chapter-showcase.reverse {
    grid-template-columns: minmax(245px, 290px) minmax(0, 1fr);
    padding: 22px;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: 26px;
  }
  .features-page #records .showcase-phone {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    min-height: 540px;
    padding: 18px;
    background: var(--white);
    border-radius: 22px;
  }
  .features-page #records .showcase-phone .phone { width: 228px; }
  .features-page .feature-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .features-page .feature-matrix article { min-height: 0; padding: 40px 20px 22px; border-radius: 17px; }
  .features-page #records .feature-matrix article { background: var(--white); }
  .features-page .chapter-editorial { min-height: 450px; border-radius: 24px; }

  .guide-article-grid { grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 26px; }
  .guide-article-heading { position: sticky; top: calc(var(--header-height) + 20px); padding: 26px; border-radius: 22px; }
  .guide-article-media { height: 250px; }

  .legal-page .legal-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    padding: 22px;
    border-radius: 26px;
  }
  .legal-page .legal-toc { position: sticky; top: calc(var(--header-height) + 20px); }
  .legal-page .legal-document section { padding: 32px; }

  .support-page .feedback-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
}

/* Phone: a compact, editorial mobile product rather than stacked desktop. */
@media screen and (max-width: 720px) {
  :root {
    --header-height: 60px;
    --mobile-gutter: 16px;
  }

  html { scroll-padding-top: 70px; }
  .container { width: calc(100% - (var(--mobile-gutter) * 2)); }

  .site-header { min-height: var(--header-height); }
  .header-inner { min-height: var(--header-height); padding-block: 6px; }
  .header-inner .brand img { width: 36px; height: 36px; }
  .header-inner .brand > span { font-size: 16px; letter-spacing: -.025em; }
  .language-toggle,
  .theme-toggle,
  .menu-toggle { width: 36px; height: 36px; min-width: 36px; border-radius: 10px; }

  h1 { font-size: clamp(32px, 9.8vw, 40px); font-weight: 820; line-height: 1; letter-spacing: -.052em; }
  h2 { font-size: clamp(29px, 8.7vw, 37px); line-height: 1.02; letter-spacing: -.048em; }
  h3 { letter-spacing: -.025em; }
  .eyebrow,
  .page-kicker { font-size: 10px; letter-spacing: .13em; }
  .section-white,
  .section-cream { padding-block: 52px; }

  /* Home hero: copy -> image with device -> compact stores. */
  .hero { padding: 12px 0 34px; background: var(--white); }
  .hero-grid {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "download";
    grid-template-rows: auto auto auto;
    gap: 14px;
    padding: 20px;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: 25px;
    overflow: visible;
  }

  .hero-copy {
    grid-area: copy;
    padding: 0 0 2px;
    border: 0;
  }
  .hero-copy .eyebrow { display: block; margin-bottom: 12px; }
  .hero-copy h1 { max-width: none; margin-bottom: 15px; }
  .hero-copy > p:not(.eyebrow) {
    max-width: none;
    margin-bottom: 17px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.47;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .hero-actions .button {
    min-height: 47px;
    padding: 11px 15px;
    border-radius: 12px;
    font-size: 13px;
  }
  .hero-actions .button-secondary {
    min-width: 48px;
    max-width: 112px;
    padding-inline: 12px;
  }

  .hero-visual {
    grid-area: visual;
    position: relative;
    min-height: 0;
    height: 286px;
    display: block;
    margin: 0;
    border-radius: 19px;
    overflow: hidden;
    background: #ded7cc;
  }
  .hero-photo-picture { display: block; height: 100%; }
  .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
  }
  .hero-visual::before { display: none; }
  .phone-hero {
    position: absolute;
    z-index: 4;
    bottom: 12px;
    inset-inline-start: 12px;
    width: 112px;
    height: auto;
    margin: 0;
    border-width: 5px;
    border-radius: 24px;
    filter: drop-shadow(0 12px 16px rgba(17, 17, 19, .24));
    transform: rotate(-2deg);
  }
  .phone-hero .phone-screen { border-radius: 18px; }
  .phone-hero::after { border-radius: 19px; }

  .hero-download {
    grid-area: download;
    max-width: none;
    margin: 0;
    padding: 13px 0 0;
    border-top: 1px solid var(--border-strong);
  }
  .hero-download-head { display: none; }
  .hero-download .store-buttons-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store-buttons-compact .store-button,
  .store-buttons-compact .store-button:first-child {
    min-height: 52px;
    padding: 7px 8px;
    color: #fff;
    background: #0d0e10;
    border: 1px solid #0d0e10;
    border-radius: 11px;
  }
  .store-buttons-compact .store-brand-icon { width: 21px; }
  .store-buttons-compact .store-button small { font-size: 8px; }
  .store-buttons-compact .store-button strong { font-size: 13px; }
  .store-buttons-compact .store-badge {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 7px;
    padding: 7px 8px;
    border-radius: 11px;
  }
  .store-buttons-compact .store-badge small { font-size: 8px; }
  .store-buttons-compact .store-badge strong { font-size: 13px; white-space: nowrap; }

  /* Home navigation and trust blocks become intentional sections. */
  .benefit-strip { padding-block: 46px; }
  .benefit-grid { display: grid; grid-template-columns: 1fr; }
  .benefit-heading {
    min-height: 0;
    margin: 0 0 8px;
    padding: 0 0 25px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
  .benefit-heading::before,
  .benefit-heading::after { display: none; }
  .benefit-heading h2 { max-width: 330px; font-size: 30px; }
  .benefit-grid article,
  .benefit-grid article:first-of-type {
    min-height: 0;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 22px 0;
  }
  .benefit-grid article > span { grid-row: 1 / span 2; }
  .benefit-grid article h3 { margin: 0 0 6px; font-size: 20px; }
  .benefit-grid article p { font-size: 14px; line-height: 1.48; }

  .care-paths { padding-block: 16px; }
  .care-paths-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .care-paths-heading { grid-column: 1 / -1; min-height: 0; padding: 15px 2px 9px; }
  .care-paths-grid > a {
    min-height: 148px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 17px;
  }
  .care-paths-grid > a span { margin-bottom: auto; }
  .care-paths-grid > a strong { margin: 14px 0 6px; font-size: 16px; line-height: 1.1; }
  .care-paths-grid > a small { font-size: 12px; line-height: 1.35; }

  .species-cluster { min-height: 350px; }
  .species-orb-current {
    width: 132px;
    height: 132px;
    padding: 9px 7px 8px;
    border-radius: 50%;
  }
  .species-orb-photo { width: 68px; height: 68px; }
  .species-orb-dog { left: 29%; }
  .species-orb-cat { left: 71%; }

  .section-editorial.capability-editorial { aspect-ratio: 4 / 3; margin-bottom: 22px; border-radius: 20px; }

  .capability-grid,
  .product-proof-grid,
  .pricing-plans,
  .features-page .feature-matrix,
  .features-page .compact-matrix {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .capability-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .capability-card {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0 12px;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .capability-card:hover { padding-inline: 18px; }
  .capability-copy h3 { font-size: 23px; }
  .capability-points,
  .capability-use { grid-column: 2; }
  .included-strip { grid-template-columns: 1fr; }
  .included-strip p { min-height: 0; }

  .profile-category-list { grid-template-columns: 1fr; }
  .profile-device-stage { min-height: 440px; }

  .product-proof-grid { display: grid; grid-template-columns: 1fr; gap: 11px; }
  .product-proof-card,
  .product-proof-card-wide {
    width: 100%;
    min-height: 470px;
    padding: 23px;
  }

  .pricing-plans { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .pricing-plan { width: 100%; min-height: 0; }

  /* Shared page heroes: copy and media form one compact opening card. */
  .page-hero,
  .solution-hero,
  .guide-hero,
  .legal-hero { padding: 20px 0 42px; background: var(--white); }

  .page-hero-grid,
  .solution-hero-grid,
  .guide-hero-grid,
  .support-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 21px;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: 24px;
  }

  .solution-hero::before { display: none; }
  .solution-hero-grid { padding: 21px; }
  .solution-device-stage {
    min-height: 350px;
    margin: 0;
    background: color-mix(in srgb, var(--orange-soft) 45%, var(--white));
    border-radius: 18px;
    overflow: hidden;
  }
  .solution-device-stage .phone { width: 168px; transform: rotate(1.25deg); }
  .solution-orbit-one { width: 92%; }
  .solution-orbit-two { width: 68%; }
  .solution-device-stage::after { width: 55%; filter: blur(20px); }
  .solution-actions { display: grid; grid-template-columns: 1fr; gap: 13px; margin-top: 22px; }
  .solution-actions .button { width: 100%; }
  .solution-proof { gap: 6px; margin-top: 20px; }
  .solution-proof li { padding: 8px 10px; font-size: 11px; }

  .page-hero-copy,
  .features-page .page-hero-copy,
  .feature-page-hero .page-hero-copy,
  .safety-page-hero .page-hero-copy { padding: 0; border: 0; }

  .page-hero h1,
  .solution-hero h1,
  .guide-hero h1,
  .legal-hero h1 { margin-bottom: 16px; font-size: clamp(34px, 10vw, 42px); }
  .page-lead,
  .solution-hero-copy > p:not(.eyebrow),
  .guide-hero p:not(.eyebrow),
  .legal-summary { font-size: 15px; line-height: 1.52; }

  .page-hero .hero-actions,
  .solution-hero .hero-actions { grid-template-columns: 1fr; }
  .page-hero .hero-actions .button,
  .solution-hero .hero-actions .button { width: 100%; max-width: none; }

  .page-hero-screens,
  .safety-hero-visual {
    min-height: 360px;
    margin: 0;
    border-radius: 19px;
    overflow: hidden;
  }
  .safety-hero-phone { width: 176px; }
  .solution-hero-media,
  .guide-hero figure,
  .support-hero-photo {
    width: 100%;
    height: 250px;
    min-height: 0;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
  }

  /* Feature catalog: sequential chapters and a correctly sized records shot. */
  .features-page .page-hero { padding-block: 20px 38px; }
  .features-page .catalog-intro { padding-block: 46px; }
  .features-page .catalog-intro-layout { gap: 20px; }
  .features-page .catalog-intro h2 { font-size: 31px; }
  .features-page .feature-index { position: sticky; top: var(--header-height); z-index: 20; padding-block: 8px; }
  .features-page .feature-index-inner {
    width: calc(100vw - 16px);
    margin-inline-end: calc(16px - 100vw);
  }
  .features-page .feature-chapter { padding-block: 50px; }
  .features-page .chapter-layout { gap: 19px; }
  .features-page .chapter-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px 11px;
    padding: 0 0 19px;
    border-bottom: 2px solid var(--orange);
  }
  .features-page .chapter-heading > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: var(--orange-deep);
    border-radius: 50%;
    font-size: 12px;
  }
  .features-page .chapter-heading h2 { font-size: 30px; }
  .features-page .chapter-heading p { font-size: 14px; line-height: 1.48; }
  .features-page .chapter-showcase,
  .features-page .chapter-showcase.reverse,
  .features-page .profile-chapter-showcase,
  .features-page .profile-chapter-showcase.reverse,
  .features-page #records .chapter-showcase.reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .features-page .chapter-editorial {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 19px;
  }
  .features-page .feature-matrix,
  .features-page .compact-matrix { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .features-page .feature-matrix article,
  .features-page .feature-matrix article:nth-child(odd),
  .features-page .feature-matrix article:nth-last-child(-n + 2),
  .features-page .feature-matrix article:last-child {
    width: 100%;
    min-height: 0;
    padding: 21px 19px 20px;
    border-radius: 16px;
  }
  .features-page .feature-matrix article::before { position: static; display: block; margin-bottom: 12px; }
  .features-page .feature-matrix h3 { font-size: 20px; }

  .features-page .showcase-phone,
  .features-page #records .showcase-phone {
    min-height: 0;
    height: 410px;
    order: 0;
    display: grid;
    place-items: start center;
    padding: 15px 0 0;
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: 19px;
    overflow: hidden;
  }
  .features-page .showcase-phone .phone,
  .features-page #records .showcase-phone .phone { width: 196px; }
  .features-page #records .showcase-phone::before { width: 76%; height: 78%; }
  .features-page #records .compact-matrix { order: 1; }
  .features-page .fact-note { margin-top: 2px; }

  .features-page .workflow-band {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .features-page .workflow-band > div,
  .features-page .workflow-band > div:nth-child(2),
  .features-page .workflow-band > div:last-child {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 13px;
    padding: 19px;
    border-radius: 16px;
  }
  .features-page .workflow-band > div > strong { grid-row: 1 / span 2; }

  /* Solution pages. */
  .solution-detail,
  .solution-related,
  .solution-faq { padding-block: 52px; }
  .solution-summary { padding-block: 52px; }
  .solution-summary h2 { font-size: 31px; }
  .solution-stat-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 28px;
    overflow: visible;
    background: transparent;
    border: 0;
  }
  .solution-stat-grid article {
    min-height: 0;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 16px;
  }
  .solution-stat-grid article > span { grid-row: 1 / span 2; padding-top: 3px; }
  .solution-stat-grid h3 { margin: 0 0 4px; font-size: 20px; }
  .solution-stat-grid p { font-size: 14px; line-height: 1.47; }
  .solution-icon-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }
  .solution-icon-grid article { grid-template-columns: 60px 1fr; padding: 17px; border-radius: 16px; }
  .solution-icon-grid img { width: 60px; }
  .solution-detail-grid,
  .solution-faq-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .solution-media { width: 100%; min-height: 0; aspect-ratio: 4 / 3; border-radius: 20px; }
  .solution-detail-copy h2,
  .solution-section-heading h2,
  .solution-faq-grid h2 { font-size: 31px; }
  .solution-steps { gap: 9px; }
  .solution-steps li { padding: 18px; border-radius: 15px; }
  .solution-link-grid { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .solution-link-grid a { min-height: 0; padding: 20px; border-radius: 17px; }
  .solution-faq-list details { padding: 0 18px; border-radius: 15px; }
  .solution-faq-list summary { padding-block: 18px; }

  /* Guides. */
  .guide-index-grid {
    width: calc(100vw - 16px);
    margin-inline-end: calc(16px - 100vw);
    gap: 9px;
  }
  .guide-page .guide-index a { min-height: 150px; flex-basis: min(78vw, 292px); }
  .guide-page .guide-article { padding-block: 48px; }
  .editorial-note { padding-block: 40px; }
  .editorial-note-grid { grid-template-columns: 1fr; gap: 18px; }
  .editorial-note h2 { font-size: 28px; }
  .editorial-note-grid > div:last-child > p:first-child { font-size: 15px; line-height: 1.55; }
  .editorial-note-meta { margin: 17px 0 13px; }
  .guide-article-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .guide-page .guide-article-heading {
    position: static;
    padding: 21px;
    color: #fff;
    background: var(--graphite);
    border: 0;
    border-radius: 19px;
  }
  .guide-page .guide-article-heading h2 { color: #fff; font-size: 29px; }
  .guide-page .guide-article-heading > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
  .guide-article-media { height: 220px; border-radius: 15px; }
  .guide-step,
  .guide-callout { padding: 20px; border-radius: 16px; }

  /* Safety, support and legal pages. */
  .principles-section,
  .data-section { padding-block: 50px; }
  .principles-section .compact-heading,
  .data-section .compact-heading { padding: 0 0 22px; background: transparent; border: 0; }
  .principles-section .compact-heading h2,
  .data-section .compact-heading h2 { font-size: 31px; }
  .medical-principles-layout { gap: 11px; }
  .principle-steps { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .medical-principles-layout .principle-steps li,
  .medical-principles-layout .principle-steps li:last-child { padding: 19px; border-radius: 16px; }
  .data-grid { gap: 9px; }
  .data-grid article { padding: 20px; border-radius: 16px; }

  .support-page .legal-hero { padding-top: 20px; }
  .support-page .legal-meta { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .support-page .feedback-section { padding-block: 48px; }
  .support-page .feedback-layout { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .support-page .feedback-intro,
  .support-page .feedback-form { padding: 20px; border-radius: 18px; }
  .feedback-types { grid-template-columns: 1fr; }

  .legal-page .legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-width: 0;
    justify-content: stretch;
    margin: 0 var(--mobile-gutter) 46px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .legal-page .legal-toc {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 18px;
    border-radius: 17px;
  }
  .legal-page .legal-toc nav {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .legal-page .legal-toc nav::-webkit-scrollbar { display: none; }
  .legal-page .legal-toc nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    color: #fff;
    white-space: nowrap;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
  }
  .legal-page .legal-document {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: grid;
    gap: 9px;
  }
  .legal-page .legal-document section { padding: 21px 18px; border-radius: 17px; }
  .legal-page .legal-document h2 { font-size: 25px; }
  .legal-page .legal-hero h1 {
    font-size: 30px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .footer-top { display: grid; grid-template-columns: 1fr; gap: 26px; }
  .footer-top nav { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .footer-bottom { margin-top: 30px; }
}

@media screen and (max-width: 390px) {
  .hero-grid { padding: 17px; }
  .hero-visual { height: 262px; }
  .hero > .container .hero-actions { grid-template-columns: minmax(0, 1fr) auto; }
  .hero > .container .hero-actions .button-secondary { max-width: 104px; }
  .care-paths-grid { grid-template-columns: 1fr; }
  .care-paths-grid > a { min-height: 124px; }
  .page-hero-grid,
  .solution-hero-grid,
  .guide-hero-grid,
  .support-hero-grid { padding: 18px; }
  .features-page .showcase-phone,
  .features-page #records .showcase-phone { height: 388px; }
}

/* Small tablets need the medical-record screenshot and its explanations in
   sequence. Keeping them side by side leaves both columns too narrow for
   readable headings in the longer locales. */
@media screen and (min-width: 721px) and (max-width: 900px) {
  .features-page .chapter-layout > :not(.chapter-heading) {
    grid-column: 1;
  }

  .features-page #records .chapter-showcase.reverse {
    grid-template-columns: 1fr;
  }

  .features-page #records .showcase-phone {
    position: relative;
    top: auto;
    width: 100%;
    height: 640px;
    min-height: 0;
    place-items: center;
    padding: 22px;
  }

  .features-page #records .showcase-phone .phone {
    width: min(270px, 42vw);
  }
}

@media screen and (min-width: 901px) and (max-width: 1120px) {
  .features-page .chapter-layout > :not(.chapter-heading) {
    grid-column: 1;
  }

  .features-page .chapter-heading {
    width: 100%;
  }
}

@media screen and (max-width: 720px) {
  .features-page #records .showcase-phone {
    position: relative;
    top: auto;
    height: 470px;
    min-height: 0;
    place-items: center;
    padding: 16px;
  }

  .features-page #records .showcase-phone .phone {
    width: min(205px, 60vw);
  }
}

@media screen and (max-width: 390px) {
  .features-page #records .showcase-phone {
    height: 452px;
  }
}

/* Keep the compact header comfortable for touch input. The 44 px controls
   meet the common minimum target size without changing the desktop header. */
@media screen and (max-width: 720px) {
  :root { --header-height: 68px; }

  html { scroll-padding-top: 76px; }
  .language-toggle,
  .theme-toggle,
  .menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
}

html[data-theme="dark"] .features-page #records .chapter-showcase.reverse {
  background: #171719;
  border-color: #39393e;
}

html[data-theme="dark"] .features-page #records .showcase-phone {
  background: #211d1a;
  border-color: #39393e;
}

html[data-theme="dark"] .features-page #records .feature-matrix article {
  background: #1a1a1d;
}

/* Hero device refinement: a slim, edge-to-edge Android frame around the
   genuine app capture. Scoped to the first phone on the home page only. */
.hero .phone-hero {
  background: #090a0c;
  border: 1.5px solid #34373d;
  border-radius: clamp(24px, 3.2vw, 40px);
  box-shadow:
    0 18px 34px rgba(16, 17, 19, .22),
    0 3px 9px rgba(16, 17, 19, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
  filter: none;
}

.hero .phone-hero .phone-screen {
  inset: clamp(4px, .7vw, 7px);
  background: #f8f5ef;
  border-radius: clamp(20px, 2.7vw, 34px);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .12);
}

.hero .phone-hero::before {
  z-index: 22;
  top: clamp(7px, 1vw, 11px);
  left: 50%;
  width: clamp(5px, .55vw, 7px);
  height: clamp(5px, .55vw, 7px);
  background: #08090a;
  border: 1px solid #2f3339;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  transform: translateX(-50%);
}

.hero .phone-hero::after {
  position: absolute;
  z-index: 18;
  top: 20%;
  left: -3px;
  display: block;
  width: 2px;
  height: clamp(18px, 6%, 30px);
  content: "";
  background: #24272c;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 36px 0 #24272c;
}

html[data-theme="dark"] .hero .phone-hero .phone-screen { background: #151517; }
