/* Taylo web. Tokens mirror work_app/docs/design/tokens.json; light theme only. */
:root {
  --surface: #fafaf8;
  --surface-raised: #ffffff;
  --surface-muted: #f2f2ef;
  --line: #e6e6e2;
  --ink: #111111;
  --ink-muted: #6b6b66;
  --ink-faint: #8a8a84;
  --primary: #111111;
  --on-primary: #ffffff;
  --chat-ai: #f3f3f2;
  --chat-ai-ink: #3d4045;
  --chat-user: #1f2428;
  --honey: #e2a03f;
  --honey-soft: #fbf1df;
  --honey-ink: #7a4d0b;
  --sage-soft: #e9eddc;
  --sage-ink: #4e5c2c;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-float: 0 10px 30px rgba(17, 17, 17, 0.08), 0 1px 2px rgba(17, 17, 17, 0.04);
  --shadow-card: 0 1px 2px rgba(17, 17, 17, 0.05);

  --f-display: "Outfit", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --f-text: "DM Sans", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --f-script: "Caveat", "Bradley Hand", cursive;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 88px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/1.5 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 6px;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- buttons (design/components/Button.md) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font: 600 15px/1 var(--f-text);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.985); }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--primary); color: var(--on-primary); border: 0; }
.btn-primary:hover { background: #2a2a28; }
.btn-primary .icon { transition: transform 0.2s ease; }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-secondary { background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: #cfcfca; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 17px; }
/* hero CTA: a soft ring breathes out every few seconds; still on hover and for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .btn-pulse { animation: pulse-ring 2.6s 1.6s ease-out infinite; }
  .btn-pulse:hover, .btn-pulse:focus-visible { animation: none; }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.32); transform: scale(1); }
  14% { transform: scale(1.025); }
  28% { transform: scale(1); }
  70% { box-shadow: 0 0 0 16px rgba(17, 17, 17, 0); }
  100% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); transform: scale(1); }
}

/* ---------- header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  /* logo | centred nav | empty column of the same width, so the nav sits in the exact middle */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-8);
}
.brand img { height: 30px; width: auto; }
.brand { justify-self: start; }
/* a quiet surface-muted pill, like a segmented-control track */
.nav {
  display: flex;
  gap: var(--space-1);
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
}
.nav a {
  font: 500 15px/1 var(--f-text);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: background-color 0.15s ease;
}
.nav a:hover { background: var(--surface-raised); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  /* Header + hero fill exactly one screen; below 560px of height the page simply scrolls. */
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 560px;
  max-height: 940px;
  padding: clamp(8px, 2.5vh, 32px) var(--gutter) clamp(16px, 4vh, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.hero-copy { max-width: 600px; }
/* eyebrow in the `label` style (tokens.json): uppercase, tracked, ink-muted */
.eyebrow {
  margin: 0 0 clamp(10px, 2vh, 18px);
  font: 700 13px/16px var(--f-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.display {
  margin: 0;
  font: 600 clamp(34px, min(4.2vw, 7vh), 64px)/1.06 var(--f-display);
  text-wrap: balance;
  letter-spacing: -0.035em;
  color: var(--ink);

}
.display .line { display: block; white-space: nowrap; }
.mark {
  position: relative;
  white-space: nowrap;
}
/* Hand-drawn honey stroke under one word: decoration only. */
.mark svg {
  position: absolute;
  left: -2%;
  bottom: -0.1em;
  width: 104%;
  height: 0.28em;
  overflow: visible;
  z-index: -1;
}
.mark path {
  fill: none;
  stroke: var(--honey);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 0.9s 0.5s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.sub {
  margin: clamp(12px, 2.6vh, 24px) 0 0;
  max-width: 500px;
  font: 400 clamp(16px, min(1.4vw, 2.3vh), 20px)/1.55 var(--f-text);
  color: var(--ink-muted);
}
.cta { margin-top: clamp(16px, 3.6vh, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }

.stores { margin-top: clamp(16px, 4.4vh, 40px); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease;
}
.store:hover { border-color: #cfcfca; }
.store svg { width: 22px; height: 22px; fill: var(--ink); }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font: 500 10.5px/1.2 var(--f-text); color: var(--ink-muted); }
.store b { font: 600 15.5px/1.15 var(--f-text); letter-spacing: -0.01em; }

/* ---------- hero visual: a fixed 740×750 canvas scaled to its column ---------- */
.visual { --k: 1; position: relative; width: 100%; height: 100%; min-height: 0; }
.canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 740px;
  height: 750px;
  transform: translate(-50%, -50%) scale(var(--k));
  transform-origin: center;
}

/* a quiet warm disc behind the phone; no picture, no gradient */
.halo {
  position: absolute;
  left: 80px;
  top: 90px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: var(--honey-soft);
}
/* pet-note (tokens.json · Handwritten): the pet's name with a small arrow to the photo, once per screen */
.pet-note {
  position: absolute;
  right: 120px;
  top: -6px;
  z-index: 2;
  font: 500 21px/22px var(--f-script);
  color: var(--ink);
}
.pet-note svg { margin-left: 10px; width: 26px; height: 23px; }

/* phone, drawn at 390×844 like the app and scaled down */
.phone {
  position: absolute;
  left: 192px;
  top: 2px;
  width: 414px;
  height: 868px;
  padding: 12px;
  border-radius: 62px;
  background: #121211;
  box-shadow: 0 50px 90px -40px rgba(60, 40, 10, 0.45), 0 2px 6px rgba(17, 17, 17, 0.1);
  scale: 0.86;
  transform-origin: top left;
  z-index: 1;
}
.screen {
  position: relative;
  width: 390px;
  height: 844px;
  border-radius: 50px;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}
.island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 122px;
  height: 35px;
  margin-left: -61px;
  border-radius: 20px;
  background: #000;
  z-index: 5;
}
.status {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 32px 0 42px;
  font: 600 16px/1 var(--f-text);
}
.status-icons { display: flex; gap: 6px; align-items: center; }
.status-icons svg { height: 12px; width: auto; fill: var(--ink); }

.app { padding: 12px 20px 0; display: flex; flex-direction: column; gap: 28px; }
.app-header { display: flex; align-items: center; justify-content: space-between; }
.app-header img { height: 29px; width: auto; }
.me {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font: 600 14px/1 var(--f-text);
  color: var(--ink-muted);
}
.app-hero { position: relative; min-height: 150px; }
.app-photo {
  position: absolute;
  right: -20px;
  top: -8px;
  width: 150px;
  height: 172px;
  border-radius: 86px 0 0 86px;
  background: var(--honey-soft);
  overflow: hidden;
}
.app-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; scale: 1.2; transform-origin: 56% 58%; }
.app-greeting { max-width: 215px; padding-top: 16px; }
.app-hi { font: 400 17px/22px var(--f-display); color: var(--ink-muted); }
.app-h1 { margin-top: 6px; font: 600 30px/34px var(--f-display); letter-spacing: -0.02em; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile {
  background: var(--surface-muted);
  border-radius: var(--radius-md);
  padding: 12px 8px 11px 12px;
}
.tile .icon { width: 22px; height: 22px; }
.tile span { display: block; margin-top: 8px; font: 500 12.5px/15px var(--f-text); }

.section-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.section-title b { font: 700 16px/22px var(--f-display); letter-spacing: -0.01em; }
.section-title span { font: 500 13px/18px var(--f-text); color: var(--ink-muted); }
.list-card {
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2px 16px;
}
.group-label {
  padding: 14px 0 2px;
  font: 700 11px/14px var(--f-text);
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row > svg:first-child, .row .disc { width: 52px; height: 52px; flex: none; }
.disc { border-radius: 50%; display: grid; place-items: center; background: var(--honey-soft); color: var(--honey-ink); }
.row-text { flex: 1; min-width: 0; }
.row-text b { display: block; font: 600 15px/20px var(--f-text); }
.row-text span { display: block; font: 500 13px/18px var(--f-text); color: var(--ink-muted); }
.row-text .attn { color: var(--honey-ink); }
.row .chev { width: 18px; height: 18px; color: var(--ink-faint); }

.ask-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 84px;
  padding: 8px 20px 12px;
  background: var(--surface);
}
.ask {
  height: 68px;
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
}
.ask .search { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-muted); display: grid; place-items: center; }
.ask .search .icon { width: 20px; height: 20px; }
.ask p { flex: 1; margin: 0; font: 400 15px/1 var(--f-text); color: var(--ink-muted); }
.ask .send { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; }
.ask .send .icon { width: 20px; height: 20px; }

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 84px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 8px;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font: 600 12px/16px var(--f-text); color: var(--ink-faint); }
.tab.active { color: var(--ink); }
.tab .icon { width: 24px; height: 24px; }
.home-ind { position: absolute; bottom: 8px; left: 50%; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--ink); }

/* floating cards over the scene */
.float {
  position: absolute;
  z-index: 3;
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}
.push {
  left: 482px;
  top: 14px;
  width: 258px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 22px;
}
.app-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.app-icon img { width: 82%; height: auto; }
.push-text { flex: 1; min-width: 0; }
.push-meta { display: flex; justify-content: space-between; font: 600 12px/16px var(--f-text); color: var(--ink-muted); letter-spacing: 0.02em; }
.push-meta span:last-child { font-weight: 500; letter-spacing: 0; }
.push-title { margin-top: 2px; font: 600 15px/20px var(--f-text); }
.push-body { font: 400 14px/20px var(--f-text); color: var(--ink-muted); }

.chat {
  left: 450px;
  top: 540px;
  width: 290px;
  padding: 14px;
  border-radius: var(--radius-xl);
}
.chat-top { display: flex; gap: 10px; align-items: flex-end; }
.chat .app-icon { width: 32px; height: 32px; border-radius: 9px; }
.bubble {
  background: var(--chat-ai);
  color: var(--chat-ai-ink);
  border-radius: 20px 20px 20px 6px;
  padding: 11px 14px;
  font: 400 14px/20px var(--f-text);
}
.bubble b { color: var(--ink); font-weight: 600; }
.replies { display: flex; gap: 8px; margin: 12px 0 0 42px; }
.reply {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  font: 600 13px/1 var(--f-text);
  background: var(--surface-raised);
}
.reply.on { border-color: var(--ink); }

.order {
  left: 0;
  top: 318px;
  width: 242px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.order-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  display: grid;
  place-items: center;
  flex: none;
}
/* product shot on a surface-muted well; multiply drops the packshot's white ground */
.order-thumb img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
.order-text { min-width: 0; }
.order-title { font: 600 14px/19px var(--f-text); white-space: nowrap; }
.order-meta { font: 500 13px/18px var(--f-text); color: var(--ink-muted); }
.order-status { margin-top: 2px; font: 600 13px/18px var(--f-text); color: var(--honey-ink); }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .d1 { animation-delay: 0.05s; }
  .d2 { animation-delay: 0.15s; }
  .d3 { animation-delay: 0.25s; }
  .d4 { animation-delay: 0.35s; }
  .d5 { animation-delay: 0.6s; }
  .d6 { animation-delay: 0.9s; }
  .d7 { animation-delay: 1.15s; }
  .bob { animation: rise 0.8s 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards, bob 6s 1.7s ease-in-out infinite; }
  .bob-3 { animation: rise 0.8s 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) forwards, bob 6.5s 2.2s ease-in-out infinite; }
  .bob-2 { animation: rise 0.8s 1.15s cubic-bezier(0.2, 0.7, 0.2, 1) forwards, bob 7s 2s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .mark path { animation: none; stroke-dashoffset: 0; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- block 2 · what Taylo helps with: shared pieces ---------- */
.helps {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter) clamp(72px, 9vw, 120px);
}
.h2 {
  margin: 0;
  font: 600 clamp(32px, 3.8vw, 54px)/1.08 var(--f-display);
  letter-spacing: -0.03em;
}
.h2 .muted { color: var(--ink-muted); }
.spot { width: 44px; height: 44px; flex: none; }

/* chat pieces (design/README.md · Chat) */
.pet-row { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.pet-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 55% 55%; }
.pet-row b { display: block; font: 600 15px/20px var(--f-text); }
.pet-row span { display: block; font: 500 12.5px/17px var(--f-text); color: var(--ink-muted); }
.msg { font: 400 14px/20px var(--f-text); padding: 10px 14px; border-radius: 20px; }
.msg-user {
  align-self: flex-end;
  max-width: 82%;
  background: var(--chat-user);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.msg-short { padding: 8px 14px; }
.msg-ai { display: flex; gap: 8px; align-items: flex-end; }
.msg-ai .app-icon { width: 30px; height: 30px; border-radius: 9px; }
.msg-ai-stack { display: flex; flex-direction: column; gap: 6px; max-width: 86%; }
.msg-taylo { background: var(--chat-ai); color: var(--chat-ai-ink); }
.msg-taylo:last-child { border-bottom-left-radius: 6px; }
.msg-taylo b { color: var(--ink); font-weight: 600; }

/* done by Taylo: booked / ordered (sage = all set, design/README.md · Colour) */
.booked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line);
}
.booked-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.booked-check .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.booked b { display: block; font: 600 14px/19px var(--f-text); }
.booked span { display: block; font: 500 12.5px/17px var(--f-text); color: var(--ink-muted); }

/* care routines (design/README.md · Care) */
.routine { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.routine + .routine { border-top: 1px solid var(--line); }
.routine > div { flex: 1; min-width: 0; }
.routine b { display: block; font: 600 14px/19px var(--f-text); }
.routine span { display: block; font: 500 12.5px/17px var(--f-text); color: var(--ink-muted); }
.routine em { font: 500 12.5px/17px var(--f-text); font-style: normal; color: var(--ink-muted); white-space: nowrap; }
.routine em.booked-tag {
  font: 600 12px/1 var(--f-text);
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: var(--sage-soft);
  color: var(--sage-ink);
}

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .rv.in { opacity: 1; transform: none; }
}

/* ---------- block 2 · list on the left, a phone on the right; scrolling steps through the screens ---------- */
.helps-b-head { text-align: center; margin-bottom: clamp(24px, 3.5vh, 48px); }

/* each direction gets 70% of a screen of scrolling */
.sc-track { --step: 70vh; position: relative; }
.sc-snap { display: none; }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.sc-list { display: flex; flex-direction: column; gap: 4px; }
.sc-tab {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  padding: 18px 20px 20px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.sc-tab:hover { background: var(--surface-muted); }
.sc-tab.is-active { background: var(--surface-raised); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.sc-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-muted);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink-faint);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.sc-ico .icon { width: 20px; height: 20px; }
.sc-tab.is-active .sc-ico { background: var(--ink); color: var(--on-primary); }
.sc-txt { display: block; padding-top: 10px; }
.sc-txt b {
  display: block;
  font: 600 20px/1.2 var(--f-display);
  letter-spacing: -0.015em;
  color: var(--ink-muted);
  transition: color 0.3s ease;
}
.sc-tab.is-active .sc-txt b { color: var(--ink); }
/* the description opens only on the active row */
.sc-txt > span {
  display: block;
  max-height: 0;
  font: 400 15px/1.5 var(--f-text);
  color: var(--ink-muted);
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}
.sc-tab.is-active .sc-txt > span { max-height: 72px; opacity: 1; margin-top: 6px; }
.sc-bar { display: none; }

/* stage: a warm disc and one phone; the four screens cross-fade inside the same frame */
/* close-up: the phone near life size rises from a warm panel and is cut by its bottom edge */
.sc-stage {
  --dk: 1;
  position: relative;
  height: clamp(460px, calc(100vh - 210px), 720px);
  border-radius: 32px;
  background: var(--sc-bg-0);
  overflow: hidden;
  transition: background-color 0.6s ease;
  /* one soft pastel per direction, all from the spot-icon disc colours (tokens.json) */
  --sc-bg-0: #fbf1df;
  --sc-bg-1: #eef2e5;
  --sc-bg-2: #fdede2;
  --sc-bg-3: #efebfc;
}
.sc-stage[data-i="1"] { background: var(--sc-bg-1); }
.sc-stage[data-i="2"] { background: var(--sc-bg-2); }
.sc-stage[data-i="3"] { background: var(--sc-bg-3); }
.sc-stage::before {
  display: none;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%, 92%, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--honey-soft);
  transform: translate(-50%, -50%);
}
.sc-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.sc-panel[hidden] { display: flex; visibility: hidden; }
.sc-panel.is-active { opacity: 1; }
.sc-cap { display: none; }

/* no device: just the app screen, a floating card drawn at the app's size and zoomed to fit */
.dev-wrap { flex: none; }
.dev { width: 390px; zoom: var(--dk); }
.dev-screen {
  position: relative;
  width: 390px;
  padding: 22px 0 16px;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 30px 70px -30px rgba(60, 40, 10, 0.35), 0 1px 2px rgba(17, 17, 17, 0.06);
  color: var(--ink);
}
/* device chrome is gone */
.dev-screen > .island, .dev-screen > .status, .dev-screen > .tabbar { display: none; }
/* the screen content slides up a touch as it arrives */
.dev-screen > .s-body { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sc-panel:not(.is-active) .dev-screen > .s-body { transform: translateY(14px); }

/* app screens, drawn at the app's own size (tokens.json) */
.s-head { padding: 6px 20px 12px; }
.s-head b { font: 700 30px/36px var(--f-display); letter-spacing: -0.02em; }
.s-back { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 14px; }
.s-back .icon { width: 26px; height: 26px; }
.s-back b { font: 600 17px/22px var(--f-text); }
.s-back span { width: 26px; }
.s-body { padding: 4px 16px; display: flex; flex-direction: column; gap: 10px; }
.c-user {
  align-self: flex-end;
  max-width: 80%;
  padding: 11px 16px;
  border-radius: 22px 22px 6px 22px;
  background: var(--chat-user);
  color: #fff;
  font: 400 15px/21px var(--f-text);
}
.c-short { padding: 9px 16px; }
.c-ai { display: flex; gap: 10px; align-items: flex-end; }
.c-ai .app-icon { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.c-stack { display: flex; flex-direction: column; gap: 6px; }
.c-bubble {
  max-width: 280px;
  padding: 11px 16px;
  border-radius: 22px 22px 22px 6px;
  background: var(--chat-ai);
  color: var(--chat-ai-ink);
  font: 400 15px/21px var(--f-text);
}
.c-stack .c-bubble:not(:last-child) { border-radius: 22px; }
.c-bubble b { color: var(--ink); font-weight: 600; }
.c-card {
  margin-left: 42px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: 0 0 0 1px var(--line);
}
.grow { flex: 1; min-width: 0; }
.grow b, .care-pet b { display: block; font: 600 14px/19px var(--f-text); }
.grow span, .care-pet span { display: block; font: 500 12.5px/17px var(--f-text); color: var(--ink-muted); }
.c-row { display: flex; align-items: center; gap: 12px; }

/* BookingCard + SlotChips */
.bk-pro { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bk-init {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #efebfc;
  color: #8a72e8;
  display: grid;
  place-items: center;
  font: 600 14px/1 var(--f-text);
  flex: none;
}
.bk-pro b { display: block; font: 600 14px/19px var(--f-text); }
.bk-pro span { display: block; font: 500 12px/16px var(--f-text); color: var(--ink-muted); }
.bk-svc { margin-top: 12px; font: 600 14px/19px var(--f-text); }
.bk-when { font: 600 17px/23px var(--f-display); }
.bk-meta { font: 500 12.5px/17px var(--f-text); color: var(--ink-muted); }
.slots { display: flex; gap: 8px; margin-top: 12px; }
.slots span {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font: 600 13.5px/17px var(--f-text);
}
.slots i { font: 500 11.5px/14px var(--f-text); font-style: normal; color: var(--ink-muted); }
.slots .on { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.slots .on i { color: rgba(255, 255, 255, 0.75); }

/* done by Taylo */
.c-done {
  margin-left: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--sage-soft);
  color: var(--sage-ink);
}
.c-done .booked-check { background: var(--surface-raised); }
.c-done b { display: block; font: 600 14px/19px var(--f-text); }
.c-done span { display: block; font: 500 12.5px/17px var(--f-text); opacity: 0.85; }

/* TriageLevel pill */
.triage {
  margin-left: 42px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--honey-soft);
  color: var(--honey-ink);
  font: 600 12px/1 var(--f-text);
}
.triage i { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); }

/* OfferCard */
.offer { display: flex; gap: 12px; align-items: center; }
.offer-img { width: 72px; height: 72px; border-radius: 12px; background: var(--surface-muted); display: grid; place-items: center; flex: none; }
.offer-img img { width: 60px; height: 60px; object-fit: contain; mix-blend-mode: multiply; }
.offer-price { margin: 4px 0 1px; font: 600 17px/22px var(--f-display); }
.c-note { margin-left: 42px; font: 500 12.5px/17px var(--f-text); color: var(--sage-ink); }

/* QuickReplies + ChatComposer, pinned above the tab bar */
.s-replies { display: flex; justify-content: flex-end; gap: 8px; margin: 14px 16px 0; }
.s-replies span {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  box-shadow: 0 0 0 1px var(--line);
  display: inline-flex;
  align-items: center;
  font: 600 14px/1 var(--f-text);
}
.s-compose {
  margin: 14px 16px 0;
  height: 58px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 10px;
}
.s-compose .plus {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-muted);
  display: grid;
  place-items: center;
  font: 300 24px/1 var(--f-text);
  font-style: normal;
}
.s-compose span { flex: 1; font: 400 15px/1 var(--f-text); color: var(--ink-muted); }
.s-compose .send { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; }
.s-compose .send .icon { width: 20px; height: 20px; }

/* Care screen */
.care-pet { display: flex; align-items: center; gap: 12px; margin: 2px 4px 6px; }
.care-pet img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 55% 55%; }
.care-list { margin-left: 0; padding: 4px 14px; box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.add-routine {
  padding: 15px;
  border: 1.5px dashed #d6d6d1;
  border-radius: 18px;
  text-align: center;
  font: 600 14px/1 var(--f-text);
  color: var(--ink-muted);
}

/* wide screens: the track is tall, the stage sticks, a light snap lands on each direction */
@media (min-width: 900px) {
  html { scroll-snap-type: y proximity; }
  .sc-track { height: calc(100vh + 4 * var(--step)); }
  .sc-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sc-snap { display: block; position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; }
  .sc-snap:nth-child(1) { top: calc(0.5 * var(--step)); }
  .sc-snap:nth-child(2) { top: calc(1.5 * var(--step)); }
  .sc-snap:nth-child(3) { top: calc(2.5 * var(--step)); }
  .sc-snap:nth-child(4) { top: calc(3.5 * var(--step)); }
  .helps-b { padding-top: clamp(32px, 4vw, 56px); padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-panel, .dev-screen > .s-body, .sc-txt > span { transition: none; }
}

/* phones and small tablets: a swipeable carousel, one screen per card, the next one peeking in */
@media (max-width: 899px) {
  .showcase { display: block; }
  .sc-list { display: none; }
  .sc-stage {
    height: auto;
    display: flex;
    gap: 12px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
    background: transparent;
    border-radius: 0;
  }
  .sc-stage::-webkit-scrollbar { display: none; }
  .sc-stage::before { display: none; }
  .sc-panel, .sc-panel[hidden] {
    position: relative;
    inset: auto;
    visibility: visible;
    opacity: 1;
    flex: 0 0 min(84%, 400px);
    scroll-snap-align: start;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 22px 0 0;
    border-radius: 26px;
    background: var(--sc-bg-0);
    overflow: hidden;
  }
  .sc-panel:nth-child(2) { background: var(--sc-bg-1); }
  .sc-panel:nth-child(3) { background: var(--sc-bg-2); }
  .sc-panel:nth-child(4) { background: var(--sc-bg-3); }
  .sc-panel:not(.is-active) .dev-screen > .s-body { transform: none; }
  .sc-cap { display: block; padding: 0 8px 18px; }
  .sc-cap b { display: block; font: 600 21px/1.2 var(--f-display); letter-spacing: -0.015em; }
  .sc-cap span { display: block; margin-top: 4px; font: 400 14px/1.45 var(--f-text); color: var(--ink-muted); }
  /* the phone rises from the bottom of the card, cropped below the fold of the card */
  .sc-panel { padding: 22px 12px 12px; }
  .dev-wrap { align-self: center; }
  .dev-screen { box-shadow: var(--shadow-card); }
  .sc-dots { display: flex; }
}
.sc-dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; }
.sc-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--line);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.sc-dots button.is-active { width: 22px; background: var(--ink); }

/* ---------- block 3 · what makes Taylo different ---------- */
.diff {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(80px, 10vw, 128px);
}
.diff-head { text-align: center; }

/* the one question both get */
.diff-ask { margin: clamp(32px, 4vw, 48px) auto clamp(28px, 3vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.diff-ask-label { font: 700 11px/14px var(--f-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.diff-q {
  padding: 14px 22px;
  border-radius: 24px 24px 6px 24px;
  background: var(--chat-user);
  color: #fff;
  font: 500 17px/24px var(--f-text);
}

.diff-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-4); align-items: stretch; }
.diff-card { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; }
.diff-who { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.diff-who b { font: 600 20px/1.2 var(--f-display); letter-spacing: -0.015em; }
.diff-who .app-icon { width: 36px; height: 36px; border-radius: 10px; }

/* left: quiet, generic, unfinished */
.diff-bot { background: var(--surface-muted); color: var(--ink-muted); }
.diff-bot .diff-who b { color: var(--ink-muted); }
.bot-icon { width: 36px; height: 36px; border-radius: 10px; background: #e3e3df; color: var(--ink-faint); display: grid; place-items: center; }
.bot-icon .icon { width: 18px; height: 18px; }
.bot-answer {
  padding: 16px 18px;
  border-radius: 22px 22px 22px 6px;
  background: #e9e9e5;
  font: 400 15px/23px var(--f-text);
  color: var(--chat-ai-ink);
}
.bot-left { margin-top: 24px; }
.bot-left p { margin: 0 0 10px; font: 600 14px/20px var(--f-text); color: var(--ink); }
.bot-left ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bot-left li { display: flex; align-items: center; gap: 12px; font: 400 15px/21px var(--f-text); }
.bot-left li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-faint); flex: none; }
.diff-end {
  margin-top: auto;
  padding-top: 24px;
  font: 500 13px/18px var(--f-text);
  color: var(--ink-faint);
}

/* right: Taylo carries it through, four steps on a rail */
.diff-taylo { background: var(--surface-raised); box-shadow: var(--shadow-float), 0 0 0 1px var(--line); }
.flow { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.flow li { position: relative; padding: 0 0 24px 44px; counter-increment: step; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-primary);
  display: grid;
  place-items: center;
  font: 600 13px/1 var(--f-text);
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.5px;
  top: 32px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.flow-step { display: block; font: 600 17px/26px var(--f-display); letter-spacing: -0.01em; }
.flow p { margin: 0 0 12px; font: 400 14px/20px var(--f-text); color: var(--ink-muted); }

.ctx { display: flex; flex-wrap: wrap; gap: 6px; }
.ctx span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  font: 500 13px/1 var(--f-text);
}
.ctx .ctx-pet { padding-left: 3px; background: var(--honey-soft); color: var(--honey-ink); font-weight: 600; }
.ctx-pet img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: 55% 55%; }

.pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line);
}
.pick-img { width: 52px; height: 52px; border-radius: 12px; background: var(--surface-muted); display: grid; place-items: center; flex: none; }
.pick-img img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
.pick-txt { flex: 1; min-width: 0; }
.pick-txt b { display: block; font: 600 14px/19px var(--f-text); }
.pick-txt span { display: block; font: 500 12.5px/17px var(--f-text); color: var(--sage-ink); }
.pick-price { font: 600 16px/1 var(--f-display); }

.act { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.act-yes {
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--chat-user);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font: 600 13.5px/1 var(--f-text);
}
.act-arrow { width: 18px; height: 18px; color: var(--ink-faint); }
.act-done {
  height: 36px;
  padding: 0 14px 0 10px;
  border-radius: var(--radius-pill);
  background: var(--sage-soft);
  color: var(--sage-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 13.5px/1 var(--f-text);
}
.act-done .icon { width: 16px; height: 16px; stroke-width: 2.4; }

.follow {
  padding: 12px 16px;
  border-radius: 20px 20px 20px 6px;
  background: var(--chat-ai);
  color: var(--chat-ai-ink);
  font: 400 14px/20px var(--f-text);
}
.follow em { display: block; margin-top: 4px; font-style: normal; color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .diff-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .diff-card { padding: 22px 18px; border-radius: 24px; }
  .diff-q { font-size: 16px; }
  .pick { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; row-gap: 6px; }
  .pick-img { grid-row: span 2; }
  .pick-price { grid-column: 2; }
}

/* ---------- trust: dog parents ---------- */
.trust {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(24px, 4vw, 48px);
}
.trust-card {
  border-radius: 36px;
  background: var(--ink);
  color: var(--on-primary);
  overflow: hidden;
  padding: 0 0 clamp(48px, 6vw, 80px);
}
.tr-marquee {
  overflow: hidden;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tr-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tr-run 48s linear infinite; }
.tr-track span { font: 500 20px/1 var(--f-display); letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.tr-paw { width: 18px; height: 18px; fill: var(--honey); opacity: 0.8; flex: none; }
@keyframes tr-run { to { transform: translateX(-50%); } }
.trust-card:hover .tr-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .tr-track { animation: none; } }

.tr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 7vw, 108px) 0;
}
.tr-copy h2 {
  margin: 0;
  max-width: 460px;
  font: 600 clamp(32px, 3.6vw, 50px)/1.08 var(--f-display);
  letter-spacing: -0.03em;
}
.tr-copy p { margin: 18px 0 0; max-width: 430px; font: 400 clamp(16px, 1.3vw, 18px)/1.6 var(--f-text); color: rgba(255, 255, 255, 0.72); }
.tr-stats { display: flex; gap: clamp(20px, 3vw, 40px); margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.tr-stats dt { font: 600 clamp(28px, 2.6vw, 36px)/1 var(--f-display); letter-spacing: -0.02em; color: var(--honey); }
.tr-stats dd { margin: 8px 0 0; font: 500 13px/1.35 var(--f-text); color: rgba(255, 255, 255, 0.6); max-width: 120px; }
.tr-stats sup, .tr-source sup { font-size: 0.7em; }
.tr-source { margin: 20px 0 0 !important; font: 400 11.5px/1.4 var(--f-text) !important; color: rgba(255, 255, 255, 0.4) !important; }
.tr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tr-btn-light { background: var(--on-primary); color: var(--ink); border: 0; }
.tr-btn-light:hover { background: var(--honey-soft); }
.tr-btn-line { background: transparent; color: var(--on-primary); border: 1px solid rgba(255, 255, 255, 0.45); }
.tr-btn-line:hover { border-color: #fff; }

/* collage: three photos stepped like a staircase, two paws for warmth */
.tr-collage { position: relative; height: clamp(380px, 38vw, 500px); }
.tr-ph { position: absolute; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.tr-a { left: 12%; top: 0; width: 34%; height: 44%; object-position: 45% 40%; }
.tr-b { left: 48%; top: 10%; width: 44%; height: 58%; object-position: 50% 45%; }
.tr-c { left: 12%; top: 48%; width: 36%; height: 52%; object-position: 45% 45%; }
.tr-deco { position: absolute; }
.tr-d1 { left: 0; top: 30%; width: 36px; height: 36px; fill: var(--honey); transform: rotate(-18deg); }
.tr-d2 { right: 2%; bottom: 8%; width: 46px; height: 46px; fill: var(--sage-soft); transform: rotate(14deg); }

@media (max-width: 900px) {
  .tr-grid { grid-template-columns: 1fr; }
  .tr-collage { height: clamp(320px, 80vw, 460px); }
}
@media (max-width: 560px) {
  .trust-card { border-radius: 28px; }
  .tr-grid { padding: 40px 22px 0; }
  .tr-actions .btn { flex: 1; }
  .tr-track span { font-size: 17px; }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 128px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-side { position: sticky; top: 40px; }
.faq-note { margin: 20px 0 0; max-width: 320px; font: 400 16px/1.55 var(--f-text); color: var(--ink-muted); }

.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--f-display);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
/* a round +, turning into × when open */
.qa summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.75px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.75px 14px no-repeat,
    var(--surface-muted);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover::after { background-color: #e8e8e4; }
.qa-a { padding: 0 64px 26px 4px; }
.qa-a p { margin: 0; font: 400 16px/1.65 var(--f-text); color: var(--ink-muted); }
.qa-a p + p { margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .qa[open] .qa-a { animation: qa-in 0.35s ease; }
}
@keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; }
  .qa-a { padding-right: 8px; }
}

/* ---------- final CTA ---------- */
.final {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(56px, 7vw, 96px);
}
.final-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: clamp(480px, 46vw, 600px);
  border-radius: 36px;
  background: var(--honey-soft);
  overflow: hidden;
}
.final-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(36px, 5vw, 72px);
}
.final-h {
  margin: 0;
  max-width: 520px;
  font: 600 clamp(36px, 4.2vw, 60px)/1.04 var(--f-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.final-sub {
  margin: 20px 0 32px;
  max-width: 440px;
  font: 400 clamp(16px, 1.3vw, 19px)/1.55 var(--f-text);
  color: var(--ink-muted);
}
.final-stores { margin-top: 20px; }
.final-photo { position: relative; min-height: 320px; }
.final-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }
.final-push {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 20px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-float);
}
.final-push .app-icon { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.final-push b { display: block; font: 600 14px/19px var(--f-text); }
.final-push small { display: block; font: 500 12.5px/17px var(--f-text); color: var(--ink-muted); }

/* ---------- footer ---------- */
.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  border-top: 1px solid var(--line);
}
.site-footer .brand img { height: 24px; width: auto; }
.foot-nav { display: flex; gap: var(--space-6); }
.foot-nav a { font: 500 14px/1 var(--f-text); color: var(--ink-muted); }
.foot-nav a:hover { color: var(--ink); }
.foot-copy { margin: 0 0 0 auto; font: 500 13px/1 var(--f-text); color: var(--ink-faint); }

@media (max-width: 860px) {
  .final-card { grid-template-columns: 1fr; }
  .final-photo { order: -1; min-height: 0; height: clamp(280px, 62vw, 420px); }
}
@media (max-width: 560px) {
  .final-card { border-radius: 28px; }
  .final-copy { padding: 28px 22px 32px; align-items: stretch; }
  .final-copy .btn-lg { width: 100%; }
  .final-push { left: 12px; right: 12px; bottom: 12px; }
  .site-footer { flex-wrap: wrap; gap: 16px 24px; }
  .foot-copy { margin: 0; width: 100%; }
}

/* ---------- legal pages (privacy.html, terms.html) ---------- */
.legal-header {
  max-width: 820px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-header .brand img { height: 28px; width: auto; }
.legal-back { font: 500 14px/1 var(--f-text); color: var(--ink-muted); }
.legal-back:hover { color: var(--ink); }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) var(--gutter) 96px; }
.legal h1 { margin: 10px 0 0; font: 600 clamp(36px, 5vw, 52px)/1.05 var(--f-display); letter-spacing: -0.03em; }
.legal-date { margin: 12px 0 0; font: 500 14px/20px var(--f-text); color: var(--ink-muted); }
.legal-summary { margin: 32px 0 0; padding: 22px 24px; border-radius: 22px; background: var(--sage-soft); color: var(--sage-ink); }
.legal-summary.legal-warn { background: var(--honey-soft); color: var(--honey-ink); }
.legal-summary > b { display: block; font: 600 16px/22px var(--f-display); }
.legal-summary ul { margin: 10px 0 0; padding-left: 20px; }
.legal-summary li { font: 400 15px/1.55 var(--f-text); }
.legal-summary li + li { margin-top: 4px; }
.legal-toc { margin: 32px 0 8px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.legal-toc a { font: 500 13.5px/20px var(--f-text); color: var(--ink-muted); }
.legal-toc a:hover { color: var(--ink); }
.legal section { padding-top: 32px; scroll-margin-top: 16px; }
.legal h2 { margin: 0 0 12px; font: 600 22px/1.25 var(--f-display); letter-spacing: -0.015em; }
.legal h3 { margin: 18px 0 8px; font: 600 16px/22px var(--f-text); }
.legal p, .legal section li { font: 400 16px/1.7 var(--f-text); color: var(--chat-ai-ink); }
.legal p { margin: 0 0 12px; }
.legal section ul { margin: 0 0 12px; padding-left: 22px; }
.legal section li + li { margin-top: 6px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal .caps { font-size: 14px; line-height: 1.65; letter-spacing: 0.01em; }
/* placeholders still to fill in before publishing */
.legal mark.ph { background: var(--honey-soft); color: var(--honey-ink); padding: 0 4px; border-radius: 4px; }
.foot-nav a[aria-current="page"] { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .display { font-size: clamp(34px, min(3.8vw, 7vh), 64px); }
}
@media (max-width: 1080px) {
  /* Stacked: the phone scene first, under the logo; it takes what the copy leaves and is cropped at the bottom. */
  .hero { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: clamp(16px, 3vh, 32px); max-height: none; }
  .hero-copy { max-width: 640px; align-self: start; }
  .visual { order: -1; max-width: 740px; width: 100%; margin: 0 auto; overflow: hidden; }
  .canvas { top: 0; transform: translateX(-50%) scale(var(--k)); transform-origin: top center; }
  .chat { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .hero { padding-top: 4px; padding-bottom: 0; }
  .display { font-size: clamp(30px, min(9vw, 5vh), 40px); }
  .sub { font-size: 16px; }
  .btn-lg { height: 54px; font-size: 16px; }
  .stores { gap: var(--space-2); }
  .store { height: 48px; }
  .brand img { height: 26px; }
  .cta .btn-lg { width: 100%; }
  .cta { align-items: stretch; }
  .stores { margin-top: var(--space-6); }
  .store { flex: 1; justify-content: center; padding: 0 12px; }
}
