/* Xipoe, paper and ink (design/data-model.md, "Paper and ink"): one ink on warm paper, one green that means
   progress and nothing else, the blue past a target, the dogs' own colours only in the tree. Tokens mirror
   Packages/SquadWalkKit/Sources/DesignSystem/Palette.swift. */

@font-face { font-family: "Geist"; src: url("fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-Italic.woff2") format("woff2"); font-style: italic; font-weight: 500; font-display: swap; }

:root {
  --paper: #F7F5F0; --card: #FFFFFF; --ink: #151513; --ink2: #6B6A66; --ink3: #A6A5A0;
  --line: #E9E8E4; --wash: #F0EFEB; --green: #0A8B47; --vivid: #14B866; --beyond: #1F78C8;
  --on-ink: #F7F5F0; --night: #0C0B0E; --night-ink: #F3EFE8; --night-ink2: #A09F99;
  --pixie: #C8642F; --nova: #5E63D6;
  --shadow: 0 1px 2px rgba(21,21,19,.06), 0 8px 24px rgba(21,21,19,.07), 0 30px 60px -20px rgba(21,21,19,.18);
  --radius: 28px; --gutter: 16px; --max: 1160px;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121212; --card: #1C1C1B; --ink: #F3EFE8; --ink2: #A09F99; --ink3: #5E5D58;
    --line: #2C2C2A; --wash: #242423; --green: #34D27F; --vivid: #34D27F; --beyond: #5DADE2;
    --on-ink: #121212; --pixie: #E8875A; --nova: #9C96FF;
    --shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px #2C2C2A;
  }
}
:root[data-theme="dark"] {
  --paper: #121212; --card: #1C1C1B; --ink: #F3EFE8; --ink2: #A09F99; --ink3: #5E5D58;
  --line: #2C2C2A; --wash: #242423; --green: #34D27F; --vivid: #34D27F; --beyond: #5DADE2;
  --on-ink: #121212; --pixie: #E8875A; --nova: #9C96FF;
  --shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px #2C2C2A;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Type */
.label { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin: 0; }
.it { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink2); max-width: 34em; text-wrap: pretty; }
p { text-wrap: pretty; }

/* Buttons: the app's ink pill and its outline pill */
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font: 600 17px/1 var(--sans); text-decoration: none;
  border: 1px solid var(--ink); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  box-shadow: 0 1px 2px rgba(21,21,19,.1), 0 10px 24px -8px rgba(21,21,19,.35);
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: scale(.97); }
.pill.quiet { background: transparent; color: var(--ink); box-shadow: none; }
.pill svg { width: 20px; height: 20px; flex: none; }
.pill.small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.cta-note { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); margin: 14px 0 0; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  background: color-mix(in srgb, var(--paper) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: none; gap: 28px; font-size: 15px; color: var(--ink2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* Sections */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Phone frame around a real screenshot or recording. The frame takes its height from the screen inside it, so the
   screen can never spill past the bezel (Safari resolved height:100% inside an aspect-ratio box against the padded
   height, and every screen poked out below its frame). Radii: outer 15% of the width, inner the outer less the bezel. */
.phone {
  position: relative; width: 100%; max-width: 320px; border-radius: 15% / 7.15%;
  padding: 3.2%; background: #0E0E0D; box-shadow: var(--shadow), inset 0 0 0 1.5px #3A3A38;
}
.phone > img, .phone > .screen, .phone > .shots { display: block; width: 100%; height: auto; aspect-ratio: 390 / 848;
  border-radius: 12.6% / 5.8%; object-fit: cover; background: var(--paper); overflow: hidden; }
.phone .screen { display: grid; place-items: center; }
.phone .screen video { width: 100%; height: auto; }
.phone .screen video.full { height: 100%; object-fit: cover; }
.phone.lift { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 30px 80px -20px rgba(21,21,19,.45); }
/* On a dark page the black bezel vanishes: a hairline keeps the phone's edge */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone { box-shadow: 0 0 0 1px #3A3A38, 0 30px 80px -30px rgba(0,0,0,.8); } }
:root[data-theme="dark"] .phone { box-shadow: 0 0 0 1px #3A3A38, 0 30px 80px -30px rgba(0,0,0,.8); }
/* A screen shown down to just above the tab bar: content scrolls under iOS's glass tab bar in the captures, which
   reads as broken icons on a still picture, so these phones fade out before it */
.phone.top { padding-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.phone.top > .shots { aspect-ratio: 390 / 740; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.shots img { object-position: top; }
.phone.top > img { aspect-ratio: 390 / 740; object-position: top; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* iOS shows its own big play button when it will not autoplay (Low Power Mode); the poster stands in instead and the
   films start on the first touch (site.js) */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls { display: none !important; }

/* Hero */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(64px, 10vw, 120px); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.hero h1 { margin: 22px 0 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.stage .phone.main { max-width: 300px; z-index: 2; transform: rotate(-2deg); }
.stage .phone.back { position: absolute; max-width: 250px; right: 2%; top: 7%; z-index: 1; transform: rotate(7deg); opacity: .98; }
.stage .phone.back2 { position: absolute; max-width: 250px; left: 2%; top: 14%; z-index: 1; transform: rotate(-9deg); }
@media (max-width: 560px) { .stage { min-height: 0; } .stage .phone.back, .stage .phone.back2 { display: none; } .stage .phone.main { transform: none; } }
.guide-peek { position: absolute; z-index: 3; width: 150px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); bottom: -34px; left: 50%; margin-left: 70px; pointer-events: none; }
@media (max-width: 560px) { .guide-peek { width: 110px; margin-left: 60px; bottom: -24px; } }
.stage::before { content: ""; position: absolute; inset: 12% 8% 4%; background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 14%, transparent), transparent); filter: blur(10px); z-index: 0; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 26px 20px 24px 0; border-right: 1px solid var(--line); }
.fact:nth-child(2n) { border-right: 0; padding-left: 20px; }
@media (min-width: 860px) { .fact { padding-left: 20px !important; border-right: 1px solid var(--line) !important; } .fact:first-child { padding-left: 0 !important; } .fact:last-child { border-right: 0 !important; } }
.fact b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-top: 8px; }

/* Steps */
.steps { display: grid; gap: 64px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step .phone { max-width: 270px; margin: 0 auto 34px; }
.step .num { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--ink2); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step .num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step p { color: var(--ink2); margin: 10px 0 0; }

/* Poetree, the night stage */
.night { background: var(--night); color: var(--night-ink); overflow: hidden; }
.night .label { color: var(--night-ink2); }
.night .lede { color: var(--night-ink2); }
.stars { position: absolute; inset: 0; pointer-events: none; }
.tree-grid { display: grid; gap: 56px; align-items: center; position: relative; }
@media (min-width: 980px) { .tree-grid { grid-template-columns: .9fr 1.1fr; } }
.tree-film { position: relative; display: grid; place-items: center; }
.tree-film .phone { max-width: 340px; background: #050506; box-shadow: 0 0 0 1px #2a2a2c, 0 40px 120px -30px rgba(52,210,127,.25); }
.tree-film .phone .screen { background: var(--night); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; font-size: 15px; color: var(--night-ink2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.tree-points { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid #2C2C2A; }
.tree-points div { padding: 18px 0; border-bottom: 1px solid #2C2C2A; display: grid; grid-template-columns: 34px 1fr; gap: 6px 14px; }
.tree-points .n { font: 500 12px/1.8 var(--mono); color: var(--night-ink2); }
.tree-points b { font-weight: 600; color: var(--night-ink); }
.tree-points p { margin: 0; color: var(--night-ink2); grid-column: 2; }
.night-pair { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; margin-top: clamp(64px, 9vw, 110px); align-items: end; }
@media (min-width: 900px) { .night-pair { grid-template-columns: 1fr 1fr 1.2fr; } }
.night-pair .phone { max-width: 260px; justify-self: center; }
.night-pair .phone.paper .screen { background: #F5F4ED; }
.night-pair figcaption { grid-column: 1 / -1; color: var(--night-ink2); font-size: 15px; }
@media (min-width: 900px) { .night-pair figcaption { grid-column: auto; align-self: center; } }

/* Feature rows */
.feature { display: grid; gap: 48px; align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 80px; } .feature.flip .copy { order: 2; } }
.feature .phone { max-width: 290px; margin: 0 auto; }
.feature .copy { display: grid; gap: 18px; max-width: 520px; }
.feature ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.feature li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink2); }
.feature li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); margin-top: 9px; }
.feature li b { color: var(--ink); font-weight: 600; }

/* Rings, the week */
.rings { display: flex; gap: clamp(8px, 1.6vw, 16px); flex-wrap: wrap; margin-top: 12px; }
.ring { width: clamp(40px, 6vw, 58px); aspect-ratio: 1; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: var(--line); }
.ring .fill { stroke: var(--green); stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.3,.7,.2,1); }
.ring .over { stroke: var(--beyond); stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.3,.7,.2,1) 1.2s; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 500 11px/1 var(--mono); color: var(--ink2); }
.ring-days { display: flex; gap: clamp(8px, 1.6vw, 16px); flex-wrap: wrap; font: 500 11px var(--mono); color: var(--ink2); }
.ring-days span { width: clamp(40px, 6vw, 58px); text-align: center; }
.cards3 { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 860px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 12px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--ink2); font-size: 16px; }

/* Gallery strip */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 40px; margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 auto; width: 230px; scroll-snap-align: center; }
.gallery .phone { max-width: none; }
.gallery figcaption { margin-top: 16px; font-size: 15px; color: var(--ink2); }
.gallery figcaption b { color: var(--ink); display: block; font-weight: 600; }

/* Health Journal and prices */
.plans { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.plan.pick { border-color: var(--ink); box-shadow: var(--shadow); }
.plan .price { font-size: 28px; font-weight: 600; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan small { color: var(--ink2); font-size: 14px; display: block; }
.free-row { display: flex; gap: 14px; align-items: flex-start; background: var(--wash); border-radius: 22px; padding: 18px 20px; font-size: 16px; color: var(--ink2); }
.free-row b { color: var(--ink); }

/* Health Journal showcase: three steps beside one phone; the screens cross-fade, the vet's printout slides out */
.hj { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hj { grid-template-columns: 1fr 1fr; gap: 80px; } }
.hj-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hj-tabs button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; width: 100%;
  padding: 18px 20px 20px; border-radius: 22px; border: 1px solid transparent; position: relative; overflow: hidden; transition: background .4s, border-color .4s; }
.hj-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hj-tabs .n { font: 500 12px/1.9 var(--mono); color: var(--ink2); }
.hj-tabs b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink2); transition: color .4s; }
.hj-tabs .d { grid-column: 2; color: var(--ink2); font-size: 16px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .6s cubic-bezier(.2,.7,.2,1), opacity .4s, margin .4s; }
.hj-tabs [aria-selected="true"] { background: var(--paper); border-color: var(--line); }
.hj-tabs [aria-selected="true"] b { color: var(--ink); }
.hj-tabs [aria-selected="true"] .d { max-height: 12em; opacity: 1; margin-top: 4px; }
.hj-tabs .bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: var(--line); transform-origin: left; transform: scaleX(0); }
.hj-tabs [aria-selected="true"] .bar { transform: scaleX(1); background: var(--line); }
.hj-tabs .bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hj-stage { position: relative; display: grid; place-items: center; padding: 0 0 40px; }
.hj-stage .phone { max-width: 300px; z-index: 2; }
.phone .shots { position: relative; display: block; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); filter: blur(6px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .7s; }
.shots img.on { opacity: 1; transform: none; filter: none; }
.hj-sheet { position: absolute; z-index: 3; margin: 0; width: min(230px, 58%); right: max(-6%, calc(50% - 300px)); bottom: 0;
  background: #fff; padding: 6px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 30px 60px -18px rgba(21,21,19,.5);
  opacity: 0; transform: translate(-40%, 10%) rotate(-2deg) scale(.86); pointer-events: none;
  transition: opacity .5s, transform .9s cubic-bezier(.2,.9,.25,1.05); }
.hj-sheet img { width: 100%; height: auto; border-radius: 4px; display: block; }
.hj-sheet.out { opacity: 1; transform: translate(0, 0) rotate(5deg); }
@media (max-width: 560px) { .hj-sheet { width: 52%; right: -2%; } }
/* On a phone the screen comes first, the steps sit under it as three short tabs, and the chosen step's words under them */
.hj-caption, .hj-tabs .short { display: none; }
@media (max-width: 899px) {
  .hj { gap: 18px; }
  .hj-stage { order: 1; padding-bottom: 28px; }
  .hj-tabs { order: 2; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--wash); padding: 4px; border-radius: 18px; }
  .hj-tabs button { grid-template-columns: 1fr; padding: 10px 6px 12px; border-radius: 14px; text-align: center; min-height: 56px; }
  .hj-tabs .n { line-height: 1.2; }
  .hj-tabs b { font-size: 15px; letter-spacing: -.01em; }
  .hj-tabs .d { display: none; }
  .hj-tabs .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hj-tabs .short { display: inline; }
  .hj-tabs .bar { left: 14px; right: 14px; bottom: 5px; }
  .hj-caption { display: block; order: 3; margin: 0; color: var(--ink2); font-size: 16px; min-height: 7.5em; }
}
.hj-note { font-size: 13px; color: var(--ink3); margin: 26px 0 0; max-width: 720px; }
.no-js .hj-tabs .d { max-height: none; opacity: 1; }

/* Memories: the story's end with a walk's Memories row floating over it */
.mem-stage { position: relative; display: grid; place-items: center; padding-bottom: 96px; }
.mem-card { position: absolute; z-index: 3; margin: 0; width: min(290px, 76%); bottom: 0; left: 50%; transform: translateX(-60%) rotate(-3deg);
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 24px 50px -16px rgba(21,21,19,.4); background: #fff; }
.mem-card img { width: 100%; height: auto; display: block; }

/* Science */
.science { display: grid; gap: 16px; }
@media (min-width: 860px) { .science { grid-template-columns: 1fr 1fr; } }
.stat { padding: 34px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.stat .big { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
.stat cite { font-style: normal; font-size: 14px; color: var(--ink2); }
.stat cite a { color: var(--ink2); }

/* Promise */
.promise { max-width: 760px; margin: 0 auto; text-align: center; }
.promise h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(48px, 7vw, 84px); letter-spacing: -.02em; }
.promise .lede { margin: 26px auto 0; }
.promise ul { list-style: none; padding: 0; margin: 44px auto 0; display: inline-grid; gap: 14px; text-align: left;
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; }
.promise li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; text-wrap: balance; }
.promise li::before { content: ""; width: 22px; height: 22px; margin-top: .1em; border-radius: 50%; background: var(--ink)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7F5F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .promise li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); } }
.promise .small { margin-top: 36px; font-size: 15px; color: var(--ink2); }

/* FAQ */
.faq { display: grid; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.75px solid var(--ink); border-bottom: 1.75px solid var(--ink); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: -6px 0 24px; color: var(--ink2); max-width: 680px; }

/* Final CTA */
.final { text-align: center; padding: clamp(90px, 13vw, 170px) 0 clamp(70px, 10vw, 120px); }
.final .guide { width: 190px; margin: 0 auto -6px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.final h2 { font-size: clamp(40px, 6.4vw, 78px); }
.final .actions { display: flex; justify-content: center; margin-top: 34px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--ink2); }
footer.site .wrap { display: grid; gap: 22px; }
@media (min-width: 760px) { footer.site .wrap { grid-template-columns: 1fr auto; align-items: center; } }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer.site a { text-decoration: none; color: var(--ink); }
footer.site a:hover { text-decoration: underline; }
.legal { grid-column: 1 / -1; font-size: 12px; color: var(--ink3); margin: 0; }

/* Document pages: privacy, support, terms */
.doc { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 72px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); margin: 14px 0 10px; }
.doc .date { color: var(--ink2); font-size: 15px; margin: 0 0 32px; }
.doc .block { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 24px 8px; margin: 0 0 14px; }
.doc .block h2 { font-size: 19px; letter-spacing: -.015em; margin: 0 0 10px; }
.doc .block p, .doc .block li { color: var(--ink2); }
.doc .block p b, .doc .block li b { color: var(--ink); }
.doc .summary { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink) !important; }
.doc ul { padding-left: 20px; margin: 0 0 16px; }
.doc li { margin: 0 0 8px; }
.doc .block a:not(.pill) { color: var(--ink); }

/* Motion: arrive from a blur, as the app's screens do; nothing moves with Reduce Motion */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .9s; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shots img, .hj-sheet, .hj-tabs .d { transition: none; filter: none; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .pill, .ring .fill, .ring .over { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; filter: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The guide's table: dog steps by size */
.doc table.paws { width: 100%; border-collapse: collapse; margin: 4px 0 16px; font-variant-numeric: tabular-nums; }
.doc table.paws th, .doc table.paws td { text-align: right; padding: 10px 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
.doc table.paws th:first-child, .doc table.paws td:first-child { text-align: left; }
.doc table.paws th { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.doc table.paws td { color: var(--ink); }
.doc .cta { margin: 28px 0 0; }

/* The guide's dog step calculator */
.calc-form { display: grid; gap: 14px; margin: 6px 0 18px; }
.calc-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; color: var(--ink); font-weight: 500; }
.calc-row input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--green); min-height: 44px; }
.calc-row output { font: 500 15px var(--mono); }
.calc-row input[type=number], .calc-row select { font: 500 17px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; min-height: 44px; padding: 0 12px; width: 9.5em; }
.calc-hint { font-size: 14px; color: var(--ink2); margin: -6px 0 12px; }
.calc-answer { margin: 0; font-size: clamp(34px, 7vw, 48px); font-weight: 600; letter-spacing: -.03em; color: var(--ink) !important; line-height: 1.1; }
.calc-answer small { font-size: 17px; font-weight: 500; color: var(--ink2); letter-spacing: 0; }
.calc-detail { margin: 6px 0 14px; font: 500 14px var(--mono); }
