/* ============================================================
   PetWays — "The Walk"
   The page is a route: it starts in the hero and ends in the
   footer. The map substrate decays as you descend.
   ============================================================ */

:root {
  --ink: #0f0f13;
  --ink-2: #131318;
  --block: #1a1a24;
  --block-2: #22222f;
  --edge: #2e2e3e;
  --edge-soft: #232330;

  --amber: #f5a623;
  --amber-dim: #d4891a;
  --amber-wash: rgba(245, 166, 35, 0.12);

  --active: #00c9a7;
  --signal: #ff4757;

  --text: #f0f0f5;
  --haze: #9090a8;
  /* App uses #5A5A72, but that lands at 2.86:1 on --ink. An earlier pass
     lightened this to #7a7a92 (4.58:1 on --ink), but --faint also sits on
     raised surfaces (--block, --ink-2 — panels, tables, the factsheet)
     where that same value drops to ~4.1-4.4:1 and fails AA. Raised further
     to clear AA on every surface it's actually used on: 5.1:1 on --block,
     5.7:1 on --ink. */
  --faint: #8a8aa2;

  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --rail: 72px;
  --header-h: 64px;
  --subnav-h: 52px;

  --map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg stroke='%232E2E3E' stroke-width='1' fill='none'%3E%3Cpath d='M0 60 H260 M0 150 H260 M0 220 H260'/%3E%3Cpath d='M40 0 V260 M120 0 V260 M200 0 V260'/%3E%3Cpath d='M0 260 L260 0' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='%231A1A24'%3E%3Crect x='48' y='68' width='64' height='74'/%3E%3Crect x='128' y='68' width='64' height='74'/%3E%3Crect x='48' y='158' width='64' height='54'/%3E%3Crect x='128' y='158' width='64' height='54'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 16px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

p { margin: 0; color: var(--haze); }

/* Cartographic utility register */
.label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
}

.label-amber { color: var(--amber); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber-dim), transparent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--amber);
  color: #14110a;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}

.skip-link:focus { left: 0; }

/* ---------- Shell ---------- */

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.section { position: relative; padding: 104px 0; }

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--map);
  opacity: var(--map-strength, 0);
  pointer-events: none;
  z-index: 0;
}

.section > * { position: relative; z-index: 1; }

/* Map decays continuously as the walk winds down. */
#hero           { --map-strength: .50; }
#features       { --map-strength: .26; }
#walk           { --map-strength: .18; }
#screens        { --map-strength: .12; }
#permissions    { --map-strength: .08; }
#data-safety    { --map-strength: .06; }
#privacy        { --map-strength: .045; }
#terms          { --map-strength: .035; }
#delete-account { --map-strength: .03; }
#support        { --map-strength: .025; }
#about          { --map-strength: .02; }

/* ---------- Route spine ---------- */

.section > .spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((100% - min(1180px, 100% - 48px)) / 2);
  width: 1px;
  background: linear-gradient(180deg, var(--edge), var(--edge-soft));
  z-index: 1;
}

.waypoint {
  position: absolute;
  left: -4px;
  top: 104px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--amber-dim);
  transform: rotate(45deg);
}

.section-head { max-width: 640px; margin-bottom: 52px; }

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(30px, 3.8vw, 46px);
  letter-spacing: -0.04em;
}

.section-head p { margin-top: 16px; font-size: 16.5px; max-width: 54ch; }

.inset { padding-left: var(--rail); }

/* ---------- Reading progress ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--amber);
  z-index: 200;
  transition: width .1s linear;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(15, 15, 19, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}

.site-header.scrolled {
  background: rgba(15, 15, 19, .95);
  border-bottom-color: var(--edge-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--edge);
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  display: block;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--haze);
  text-decoration: none;
  transition: color .16s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav a:hover { color: var(--text); }
.nav a.active { color: var(--amber); }
.nav a.active::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--amber);
  color: #14110a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease;
}

.header-cta:hover { background: #ffb63d; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--edge);
  border-radius: 9px;
  color: var(--text);
  cursor: pointer;
}

/* ---------- Compliance sub-nav ---------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  height: var(--subnav-h);
  display: flex;
  align-items: center;
  background: rgba(19, 19, 24, .95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--edge-soft);
  border-bottom: 1px solid var(--edge-soft);
}

.subnav .wrap { display: flex; align-items: center; gap: 20px; }

.subnav-label { flex: none; }

.subnav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-links::-webkit-scrollbar { display: none; }

.subnav-links a {
  display: block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--haze);
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}

.subnav-links a:hover { color: var(--text); background: var(--block-2); }

.subnav-links a.active {
  color: var(--amber);
  background: var(--amber-wash);
}

/* ---------- Scroll reveal (JS-gated) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.4, 0, .2, 1), transform .55s cubic-bezier(.4, 0, .2, 1);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */

#hero { padding-top: 84px; padding-bottom: 88px; }

.hero-glow {
  position: absolute;
  top: -180px;
  left: 8%;
  width: 620px;
  height: 480px;
  background: radial-gradient(ellipse, var(--amber-wash), transparent 66%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
}

#hero h1 {
  margin-top: 26px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: .96;
  letter-spacing: -0.045em;
}

#hero h1 em { font-style: normal; color: var(--amber); }

#hero .lede { margin-top: 26px; font-size: 17.5px; max-width: 45ch; line-height: 1.65; }

.stores { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 16px;
  border: 1px solid var(--edge);
  border-radius: 13px;
  background: rgba(26, 26, 36, .6);
}

.store svg { flex: none; opacity: .75; }

.store b {
  display: block;
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.store .label { display: block; font-size: 9.5px; margin-bottom: 2px; }

.pending { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; }

.pending::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- Phone ---------- */

.phone {
  width: min(300px, 100%);
  margin-left: auto;
  border: 1px solid var(--edge);
  border-radius: 30px;
  background: var(--ink-2);
  padding: 9px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}

.phone-screen {
  border-radius: 22px;
  background: var(--ink);
  overflow: hidden;
  border: 1px solid var(--edge-soft);
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px 9px;
}

.walk-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--active);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.walk-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--active);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, .18);
}

.phone-map { position: relative; background: var(--ink-2); }
.phone-map svg { width: 100%; height: auto; }

.pin-callout {
  position: absolute;
  /* Route legs run x=150 (vertical, y 55->130) and y=130 (horizontal) in the
     0 0 300 250 viewBox. Sitting in the lower-left quadrant (below y=130,
     left of x=150) keeps this clear of both legs and the route-flow pulse
     that travels along them, instead of cutting across the vertical leg. */
  top: 58%;
  left: 4%;
  max-width: calc(100% - 14%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(34, 34, 47, .94);
  border: 1px solid var(--edge);
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.pin-callout i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  flex: none;
}

.phone-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--edge-soft); }

.phone-stats div { padding: 12px 8px 14px; text-align: center; border-right: 1px solid var(--edge-soft); }
.phone-stats div:last-child { border-right: none; }

.phone-stats b {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.phone-stats .label { font-size: 9px; letter-spacing: .1em; }

/* ---------- Specs ---------- */

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--edge-soft);
  border-bottom: 1px solid var(--edge-soft);
}

.spec { padding: 24px 26px 24px 0; border-right: 1px solid var(--edge-soft); }
.spec:last-child { border-right: none; }

.spec b {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.spec .label { line-height: 1.5; }

/* ---------- Bento ---------- */

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

.panel {
  padding: 30px;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--block), rgba(19, 19, 24, .9));
  transition: border-color .25s ease, transform .25s ease;
}

.panel:hover { border-color: #3b3b4e; transform: translateY(-3px); }

.panel-wide { grid-column: span 2; }

.panel h3 { font-size: 19px; letter-spacing: -0.025em; margin-bottom: 10px; }
.panel p { font-size: 14.5px; }

.panel-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.panel-head .label { font-size: 10px; }

.icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.icon-amber { background: var(--amber-wash); color: var(--amber); }
.icon-signal { background: rgba(255, 71, 87, .13); color: var(--signal); }
.icon-active { background: rgba(0, 201, 167, .13); color: var(--active); }

.hazards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.hazard {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(15, 15, 19, .5);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}

.hazard svg { color: var(--signal); flex: none; }

.rings { display: grid; place-items: center; margin: 4px 0 18px; }

.ring-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--edge-soft);
}

.sos-steps {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--edge);
  border-radius: 12px;
  overflow: hidden;
}

.sos-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: rgba(15, 15, 19, .55);
  font-size: 13.5px;
  color: var(--text);
}

.sos-step + .sos-step { border-top: 1px solid var(--edge-soft); }
.sos-step .label { flex: none; color: var(--signal); font-size: 10px; }

.disclaimer {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid var(--signal);
  background: rgba(255, 71, 87, .06);
  font-size: 12.5px;
}

/* ---------- Phases ---------- */

.phases { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--edge-soft); }

.phase { padding: 34px 32px 8px 0; border-right: 1px solid var(--edge-soft); position: relative; }
.phase:last-child { border-right: none; }

.phase::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--amber);
  transform: rotate(45deg);
}

.phase h3 { font-size: 18.5px; margin: 14px 0 11px; letter-spacing: -0.025em; }
.phase p { font-size: 14.5px; }

/* ---------- Photo band ---------- */

.photo-band {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-top: 1px solid var(--edge-soft);
  border-bottom: 1px solid var(--edge-soft);
}

.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,15,19,.55) 0%, rgba(15,15,19,.25) 35%, rgba(15,15,19,.55) 100%),
    linear-gradient(90deg, rgba(15,15,19,.92) 0%, rgba(15,15,19,.35) 38%, rgba(15,15,19,.35) 62%, rgba(15,15,19,.92) 100%);
}

.photo-band-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.photo-band-content .eyebrow { color: var(--amber); }

.photo-band-content h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3.4vw, 40px);
  max-width: 14ch;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.photo-band-content p {
  margin-top: 14px;
  max-width: 40ch;
  font-size: 15.5px;
  color: #d4d4de;
}

/* ---------- Screens gallery ---------- */

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.shot { text-align: left; }
.shot .phone { margin: 0 auto; width: 100%; max-width: 280px; }
.shot-caption { margin-top: 20px; max-width: 280px; margin-left: auto; margin-right: auto; }
.shot-caption h3 { font-size: 16px; margin: 8px 0 7px; }
.shot-caption p { font-size: 13.5px; }

.shot-mid .phone { transform: translateY(-22px); }

/* In-app UI blocks */
.ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-bottom: 1px solid var(--edge-soft);
}

.ui-title { font-family: var(--display); font-size: 13.5px; font-weight: 800; letter-spacing: -0.02em; }

.ui-list { padding: 8px; display: flex; flex-direction: column; gap: 5px; }

.ui-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  background: var(--block);
  border: 1px solid transparent;
  font-size: 11.5px;
  color: var(--text);
}

.ui-row.sel { border-color: var(--signal); background: rgba(255, 71, 87, .09); }
.ui-row i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; }
.ui-row.muted { color: var(--haze); }
.ui-row.muted i { background: var(--faint); }

.ui-field { padding: 8px 12px; border-bottom: 1px solid var(--edge-soft); }
.ui-field .label { font-size: 8.5px; display: block; margin-bottom: 3px; }
.ui-field b { font-size: 12px; font-weight: 600; color: var(--text); font-family: var(--body); }

.ui-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 14px auto 6px;
  background: var(--block-2);
  border: 1px solid var(--edge);
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 19px;
}

.ui-cta {
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--amber);
  color: #14110a;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  text-align: center;
}

/* ---------- Data tables ---------- */

.dtable { width: 100%; border-collapse: collapse; }

.dtable caption { text-align: left; padding-bottom: 14px; }

.dtable th {
  text-align: left;
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--edge);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

.dtable td {
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid var(--edge-soft);
  font-size: 14px;
  color: var(--haze);
  vertical-align: top;
}

.dtable td:first-child { color: var(--text); font-weight: 500; }

.dtable tbody tr { transition: background .16s ease; }
.dtable tbody tr:hover { background: rgba(34, 34, 47, .35); }

.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill-req { background: rgba(245, 166, 35, .14); color: var(--amber); }
.pill-opt { background: rgba(144, 144, 168, .14); color: var(--haze); }
.pill-no  { background: rgba(0, 201, 167, .13); color: var(--active); }
.pill-yes { background: rgba(255, 71, 87, .13); color: var(--signal); }

.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--amber);
  background: rgba(245, 166, 35, .07);
  padding: 2px 6px;
  border-radius: 5px;
  word-break: break-all;
}

.quote-strings {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: var(--block);
}

.quote-strings h3 { font-size: 15px; margin-bottom: 6px; }
.quote-strings > p { font-size: 13.5px; }

.qs-item { padding: 15px 0; border-bottom: 1px solid var(--edge-soft); }
.qs-item:last-child { border-bottom: none; padding-bottom: 0; }
.qs-item p { font-size: 13.5px; color: var(--text); margin-top: 7px; font-style: italic; }

/* ---------- Legal document ---------- */

.doc-layout { display: grid; grid-template-columns: 210px 1fr; gap: 56px; align-items: start; }

.toc { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 26px); }
.toc .label { display: block; margin-bottom: 16px; }

.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--edge-soft); }

.toc a {
  display: block;
  padding: 6px 0 6px 15px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 12.5px;
  color: var(--faint);
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}

.toc a:hover { color: var(--haze); }
.toc a.current { color: var(--amber); border-left-color: var(--amber); }

.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.doc-meta span {
  padding: 5px 11px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}

.doc article { max-width: 68ch; }

.doc h3 {
  font-size: 15px;
  letter-spacing: .01em;
  margin: 34px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--edge-soft);
  color: var(--text);
}

.doc h3:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.doc h3 .label { margin-right: 10px; color: var(--amber); }

.doc p { font-size: 14.5px; margin-bottom: 12px; }
.doc p:last-child { margin-bottom: 0; }
.doc strong { color: var(--text); font-weight: 600; }

.doc a, .faq-body a, .contact a, .about-body a { color: var(--amber); }

.flag {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px dashed var(--amber-dim);
  border-radius: 12px;
  background: var(--amber-wash);
  font-size: 13px;
}

.flag b { color: var(--amber); }

/* ---------- Delete account ---------- */

.delete-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.delete-card {
  padding: 28px;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: var(--block);
}

.delete-card h3 { font-size: 17px; margin-bottom: 12px; }

.steps-ol { margin: 0; padding-left: 20px; }
.steps-ol li { font-size: 14px; color: var(--haze); margin-bottom: 9px; }
.steps-ol li:last-child { margin-bottom: 0; }

.retain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.retain-col {
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--edge-soft);
}

.retain-col.removed { background: rgba(0, 201, 167, .05); border-color: rgba(0, 201, 167, .28); }
.retain-col.kept { background: rgba(245, 166, 35, .05); border-color: rgba(245, 166, 35, .28); }

/* h4 in #delete-account (correctly preceded by h3s there), h3 in
   #data-safety (promoted — nothing between the section h2 and here). */
.retain-col :is(h3, h4) { font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.retain-col.removed :is(h3, h4) { color: var(--active); }
.retain-col.kept :is(h3, h4) { color: var(--amber); }

.retain-col ul { margin: 0; padding-left: 17px; }
.retain-col li { font-size: 13.5px; color: var(--haze); margin-bottom: 7px; }
.retain-col li:last-child { margin-bottom: 0; }

/* ---------- Support ---------- */

.support-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: start; }

.contact { padding: 28px; border: 1px solid var(--edge); border-radius: 18px; background: var(--block); }
.contact h3 { font-size: 17px; margin-bottom: 9px; }
.contact p { font-size: 14px; }

.mail {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 13px 16px;
  border: 1px solid var(--edge);
  border-radius: 11px;
  background: var(--block-2);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}

.mail:hover { border-color: var(--amber-dim); background: #262635; }

.faq { border-top: 1px solid var(--edge-soft); }
.faq details { border-bottom: 1px solid var(--edge-soft); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--faint);
  border-bottom: 1.5px solid var(--faint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

/* Animated open/close */
.faq-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.faq details[open] .faq-reveal { grid-template-rows: 1fr; }

.faq-reveal > div { overflow: hidden; }
.faq-body { padding: 0 0 22px; font-size: 14.5px; max-width: 62ch; }

/* ---------- About ---------- */

.about-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 52px; align-items: start; }
.about-body p { font-size: 15px; margin-bottom: 14px; max-width: 60ch; }
.about-body p:last-child { margin-bottom: 0; }

.about-photos {
  position: relative;
  margin-top: 34px;
  max-width: 60ch;
  padding-bottom: 34px;
}

.about-photos .ph-grass {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--edge);
  width: 100%;
  aspect-ratio: 760 / 419;
}

.about-photos .ph-grass img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-photos .ph-window {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 34%;
  min-width: 130px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--ink);
  outline: 1px solid var(--edge);
  aspect-ratio: 640 / 795;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}

.about-photos .ph-window img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-photos figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 12px;
  color: var(--faint);
}

.factsheet { border: 1px solid var(--edge); border-radius: 18px; background: var(--block); overflow: hidden; }
.factsheet h3 { font-size: 13px; padding: 18px 22px; border-bottom: 1px solid var(--edge-soft); }

.fact { display: flex; justify-content: space-between; gap: 16px; padding: 13px 22px; border-bottom: 1px solid var(--edge-soft); }
.fact:last-child { border-bottom: none; }
.fact b { font-size: 13.5px; font-weight: 600; color: var(--text); font-family: var(--body); text-align: right; }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: rgba(26, 26, 36, .92);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, border-color .18s ease;
}

.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--amber-dim); }

/* ---------- Footer ---------- */

.site-footer { position: relative; padding: 64px 0 40px; border-top: 1px solid var(--edge-soft); }

.walk-end { display: flex; align-items: center; gap: 11px; margin-bottom: 40px; }

.walk-end i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px var(--amber-wash);
  flex: none;
}

.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--edge-soft); }

.foot-brand { max-width: 300px; }
.foot-brand p { font-size: 13.5px; margin-top: 13px; }

.foot-cols { display: flex; gap: 52px; flex-wrap: wrap; }

.foot-col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 15px;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: 13.5px; color: var(--haze); text-decoration: none; transition: color .16s ease; }
.foot-col a:hover { color: var(--amber); }

.foot-base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 24px; }

/* ---------- Motion ---------- */

/* Route draws itself once on load (paths carry pathLength="100",
   so the dash maths is geometry-independent). */
.route-draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.9s cubic-bezier(.4, 0, .2, 1) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ...then a signal keeps running along it, so the walk reads as live. */
.route-flow {
  stroke-dasharray: 6 94;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: flow 3.4s linear 2.1s infinite, flow-in .5s ease 2.1s forwards;
}
@keyframes flow { to { stroke-dashoffset: -100; } }
@keyframes flow-in { to { opacity: 1; } }

.pin-drop { opacity: 0; animation: drop .5s cubic-bezier(.34, 1.4, .64, 1) 1.7s forwards; }
@keyframes drop { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: translateY(0); } }

/* scale() rather than animating the r attribute — composited, and
   avoids relying on SVG geometry properties being animatable in CSS. */
.pin-pulse,
.walker-halo,
.radius-core,
.radar circle {
  transform-box: fill-box;
  transform-origin: center;
}

.pin-pulse { animation: pin-pulse 2.6s ease-in-out 2.2s infinite; }
@keyframes pin-pulse {
  0%, 100% { transform: scale(1);   opacity: .18; }
  50%      { transform: scale(1.5); opacity: .05; }
}

.walker-halo { animation: pin-pulse 2.2s ease-in-out infinite; }

/* Live dot in the phone status bar */
.walk-live::before { animation: live-dot 2s ease-in-out infinite; }
@keyframes live-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 201, 167, .18); }
  50%      { box-shadow: 0 0 0 6px rgba(0, 201, 167, .05); }
}

/* Radar sweep on the alert-radius diagram — rings ride outward
   from you to the edge of your radius, on a stagger. */
/* backwards fill: without it, animation-fill-mode defaults to none, so
   during a circle's stagger delay it falls back to its unanimated computed
   style — no base opacity is set anywhere, so it paints fully opaque at
   full radius until its delay elapses, then jump-cuts to the 0% keyframe. */
.radar circle { animation: radar 4.2s ease-out infinite backwards; }
.radar circle:nth-child(2) { animation-delay: 1.4s; }
.radar circle:nth-child(3) { animation-delay: 2.8s; }
@keyframes radar {
  0%   { transform: scale(.38); opacity: 0; }
  14%  { opacity: .5; }
  100% { transform: scale(1);   opacity: 0; }
}

.radius-core { animation: breathe 4.2s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}

.hz { animation: blink 4.2s ease-in-out infinite; }
.hz-b { animation-delay: 2.1s; }
@keyframes blink {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Settle every looping illustration into its finished, readable state. */
  .route-draw { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .route-flow { display: none; }
  .pin-drop { opacity: 1; animation: none; }
  .pin-pulse, .walker-halo, .radius-core, .hz { animation: none; }
  .walk-live::before { animation: none; }
  /* Three identical circles are stacked here; showing all of them at .28 would
     composite to ~.63 alpha and paint a solid amber ring. Show one, hide the rest. */
  .radar circle { animation: none; opacity: 0; transform: scale(1); }
  .radar circle:first-child { opacity: .3; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .panel:hover { transform: none; }
  *, *::before, *::after {
    animation-iteration-count: 1 !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-photos { max-width: 480px; }
}

@media (max-width: 1040px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .panel-wide { grid-column: span 2; }
  .doc-layout { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; border-left: none; }
  .toc a { padding: 5px 13px 5px 0; border-left: none; }
  .toc a.current { border-left-color: transparent; }
  .screens { grid-template-columns: 1fr; gap: 44px; max-width: 340px; margin: 0 auto; }
  .shot-mid .phone { transform: none; }
  .delete-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .phone { margin: 0 auto; }
  #hero .phone { order: -1; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--edge-soft); }
  .support-layout { grid-template-columns: 1fr; gap: 40px; }
  .phases { grid-template-columns: 1fr; }
  .phase { border-right: none; border-bottom: 1px solid var(--edge-soft); padding: 30px 0 26px 22px; }
  .phase:last-child { border-bottom: none; }
  .phase::before { top: 30px; }
  .retain { grid-template-columns: 1fr; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.open .nav-wrap {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--edge);
  }

  .site-header.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
  .site-header.open .nav a { padding: 15px 0; border-bottom: 1px solid var(--edge-soft); }
  .site-header.open .nav a::after { display: none; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 72px 0; }
  #hero { padding-top: 52px; padding-bottom: 64px; }
  .inset { padding-left: 0; }
  .section > .spine { display: none; }
  .specs { margin-top: 52px; }
  .bento { grid-template-columns: 1fr; }
  .panel-wide { grid-column: span 1; }
  .panel { padding: 24px; }
  .foot-grid { flex-direction: column; gap: 34px; }
  .foot-cols { gap: 36px; }
  .subnav .wrap { gap: 12px; }
  .subnav-label { display: none; }
  .to-top { right: 16px; bottom: 16px; }

  /* Tables become cards */
  .dtable thead { display: none; }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display: block; width: 100%; }
  .dtable tr {
    border: 1px solid var(--edge);
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: var(--block);
  }
  .dtable td { border-bottom: 1px solid var(--edge-soft); padding: 11px 0; }
  .dtable tr td:last-child { border-bottom: none; }
  .dtable td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--faint);
  }
}

@media (max-width: 460px) {
  .specs { grid-template-columns: 1fr; }
  .spec { border-right: none; border-bottom: 1px solid var(--edge-soft); padding-right: 0; }
  .spec:last-child { border-bottom: none; }
  .stores { flex-direction: column; }
  .store { width: 100%; }
}
