/* Dish Detective website — soft-UI (neumorphic) language shared with the app.
   Tokens come from docs/dish-detective-neumorphic-handoff.html.
   Light is the default; dark applies only when the visitor picks it. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-var.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #e3e8ef;
  --sd: #b4becb;
  --sl: #ffffff;
  --tx: #162030;
  --mu: #4f5a6b;
  --ac: #157738;
  --ach: #177d3b;
  --acd: #0f5c2b;
  --onac: #ffffff;
  --pro: #b8304f;
  --car: #8f5c05;
  --fat: #28629a;
  --warm: #a4470f;
  --danger: #b42318;
  --scrim: rgba(22, 32, 48, 0.4);

  --r-card: 28px;
  --r-tile: 20px;
  --r-btn: 18px;
  --gutter: clamp(20px, 5vw, 40px);
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #262b33;
  --sd: #16191e;
  --sl: #323843;
  --tx: #e9edf3;
  --mu: #a7b1bf;
  --ac: #3dbe6c;
  --ach: #41c772;
  --acd: #238c4a;
  --onac: #04200e;
  --pro: #f07a95;
  --car: #e2ae52;
  --fat: #73ade2;
  --warm: #f09a62;
  --danger: #ff8b7f;
  --scrim: rgba(0, 0, 0, 0.55);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--ac);
  text-decoration: none;
  font-weight: 700;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  color: var(--tx);
}

/* Optical tracking: tighter as type grows, near zero for body. */
h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 4px 4px 9px var(--sd), -4px -4px 9px var(--sl);
}
.skip:focus {
  top: 16px;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── The four surfaces ────────────────────────────────────────────────── */
.raise {
  background: var(--bg);
  box-shadow: 7px 7px 16px var(--sd), -7px -7px 16px var(--sl);
}
.raise-sm {
  background: var(--bg);
  box-shadow: 4px 4px 9px var(--sd), -4px -4px 9px var(--sl);
}
.inset {
  background: var(--bg);
  box-shadow: inset 5px 5px 10px var(--sd), inset -5px -5px 10px var(--sl);
}
.inset-sm {
  background: var(--bg);
  box-shadow: inset 3px 3px 6px var(--sd), inset -3px -3px 6px var(--sl);
}
.convex {
  background: linear-gradient(145deg, var(--ach), var(--acd));
  color: var(--onac);
  box-shadow: 6px 6px 14px var(--sd), -6px -6px 14px var(--sl);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-btn);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none !important;
  transition: box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.btn-primary {
  background: linear-gradient(145deg, var(--ach), var(--acd));
  color: var(--onac);
  box-shadow: 6px 6px 14px var(--sd), -6px -6px 14px var(--sl);
}
.btn-quiet {
  background: var(--bg);
  color: var(--tx);
  box-shadow: 6px 6px 14px var(--sd), -6px -6px 14px var(--sl);
}
.btn:active {
  transform: scale(0.98);
  box-shadow: inset 4px 4px 9px rgba(0, 0, 0, 0.28), inset -3px -3px 7px rgba(255, 255, 255, 0.12);
}
.btn-quiet:active {
  box-shadow: inset 5px 5px 10px var(--sd), inset -5px -5px 10px var(--sl);
}

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px var(--gutter) 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--maxw);
  height: 68px;
  margin: 0 auto;
  padding: 0 10px 0 18px;
  border-radius: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--tx);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 3px 3px 7px var(--sd), -3px -3px 7px var(--sl);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--mu);
  font-size: 0.92rem;
  font-weight: 700;
}
.nav-links a:hover {
  color: var(--tx);
  text-decoration: none;
}
.nav-links a[aria-current="page"] {
  color: var(--ac);
  box-shadow: inset 3px 3px 7px var(--sd), inset -3px -3px 7px var(--sl);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--tx);
  cursor: pointer;
  background: var(--bg);
  box-shadow: 4px 4px 9px var(--sd), -4px -4px 9px var(--sl);
  transition: box-shadow 0.15s var(--ease);
}
.icon-btn:active {
  box-shadow: inset 3px 3px 7px var(--sd), inset -3px -3px 7px var(--sl);
}
.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav .btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  font-size: 0.92rem;
  box-shadow: 4px 4px 9px var(--sd), -4px -4px 9px var(--sl);
}
.theme-moon {
  display: none;
}
:root[data-theme="dark"] .theme-sun {
  display: none;
}
:root[data-theme="dark"] .theme-moon {
  display: block;
}

.menu-btn {
  display: none;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav .btn-primary {
    display: none;
  }
  .menu-btn {
    display: inline-grid;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 84px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 24px;
    background: var(--bg);
    box-shadow: 7px 7px 16px var(--sd), -7px -7px 16px var(--sl);
    pointer-events: auto;
  }
  .nav-links.open a {
    min-height: 52px;
    font-size: 1rem;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ac);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac);
}
.hero h1 {
  margin-top: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--ac);
}
.lede {
  margin-top: 22px;
  max-width: 34em;
  color: var(--mu);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.6;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.cta-note {
  margin-top: 18px;
  color: var(--mu);
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-stage {
    min-height: 0;
    margin-top: 12px;
  }
}

/* ── Phone frame ──────────────────────────────────────────────────────── */
.phone {
  position: relative;
  width: var(--w, 280px);
  aspect-ratio: 1206 / 2622;
  padding: 9px;
  border-radius: calc(var(--w, 280px) * 0.165);
  background: var(--bg);
  box-shadow: 14px 14px 30px var(--sd), -14px -14px 30px var(--sl);
}
.phone::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: calc(var(--w, 280px) * 0.165 - 9px);
  box-shadow: inset 4px 4px 9px var(--sd), inset -4px -4px 9px var(--sl);
  pointer-events: none;
  z-index: 2;
}
.phone .screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--w, 280px) * 0.165 - 9px);
  background: var(--bg);
}
.phone-set {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 560 / 600;
}
.phone-set .phone {
  position: absolute;
  --w: 54%;
  will-change: transform;
  transition: transform 0.6s var(--ease);
}
.phone-set .p-left {
  left: 0;
  top: 11%;
  transform: rotate(-5deg);
}
.phone-set .p-right {
  right: 0;
  top: 7%;
  transform: rotate(5deg);
}
.phone-set .p-mid {
  left: 23%;
  top: 0;
  z-index: 2;
  --w: 54%;
}
@media (max-width: 640px) {
  /* One centred phone: three overlapping ones do not fit a narrow screen. */
  .phone-set {
    display: grid;
    place-items: center;
    aspect-ratio: auto;
    width: 100%;
  }
  .phone-set .phone {
    position: static;
    --w: min(270px, 72vw);
    transform: none !important;
  }
  .phone-set .p-left,
  .phone-set .p-right {
    display: none;
  }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
section {
  padding: clamp(56px, 8vw, 104px) 0;
}
.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.section-head p {
  margin-top: 18px;
  color: var(--mu);
  font-size: 1.1rem;
  font-weight: 600;
}
.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--ac);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* trust strip */
.strip {
  padding: 0 0 clamp(24px, 4vw, 48px);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.strip-item {
  padding: 20px 22px;
  border-radius: var(--r-tile);
}
.strip-item b {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.strip-item span {
  display: block;
  margin-top: 4px;
  color: var(--mu);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .strip-grid {
    grid-template-columns: 1fr;
  }
}

/* feature cards */
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}
.card {
  padding: 28px;
  border-radius: var(--r-card);
}
.card p {
  margin-top: 10px;
  color: var(--mu);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.55;
}
.well {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: var(--ac);
}
.well svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* showcase rows */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.showcase + .showcase {
  margin-top: clamp(64px, 9vw, 120px);
}
.showcase.flip .show-copy {
  order: 2;
}
.show-copy p {
  margin-top: 18px;
  color: var(--mu);
  font-size: 1.08rem;
  font-weight: 600;
}
.ticks {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--tx);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--ac) 0 28%, transparent 30%), var(--bg);
  box-shadow: inset 2px 2px 4px var(--sd), inset -2px -2px 4px var(--sl);
}
.show-art {
  display: grid;
  place-items: center;
}
.show-art .phone {
  --w: min(300px, 70vw);
}
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase.flip .show-copy {
    order: 0;
  }
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: var(--r-card);
}
.step .num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--ac);
  font-size: 1.2rem;
  font-weight: 800;
}
.step p {
  margin-top: 10px;
  color: var(--mu);
  font-weight: 600;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* macro legend chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 800;
}
.chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

/* trust panel */
.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: 36px;
}
.trust-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
}
.trust-list b {
  display: block;
  font-weight: 800;
}
.trust-list span {
  display: block;
  margin-top: 2px;
  color: var(--mu);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.5;
}
.trust-list .well {
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 14px;
}
.trust-list .well svg {
  width: 21px;
  height: 21px;
}
@media (max-width: 900px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  display: grid;
  gap: 18px;
  max-width: 800px;
  margin: 0 auto;
}
.faq details {
  border-radius: 22px;
  transition: box-shadow 0.2s var(--ease);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 24px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--ac);
  border-bottom: 2.5px solid var(--ac);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] {
  box-shadow: inset 5px 5px 10px var(--sd), inset -5px -5px 10px var(--sl);
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}
.faq .answer {
  padding: 0 24px 22px;
  color: var(--mu);
  font-weight: 600;
}

/* download band */
.download {
  padding: clamp(56px, 8vw, 96px) 0;
}
.download-card {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 40px;
  text-align: center;
}
.download-card img {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  box-shadow: 7px 7px 16px var(--sd), -7px -7px 16px var(--sl);
}
.download-card p {
  max-width: 34rem;
  color: var(--mu);
  font-size: 1.08rem;
  font-weight: 600;
}

/* footer */
.site-footer {
  padding: 24px 0 56px;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 32px;
  padding: 36px clamp(24px, 4vw, 48px);
  border-radius: 32px;
}
.foot h4 {
  margin-bottom: 14px;
  color: var(--mu);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--tx);
  font-weight: 700;
}
.foot .about p {
  max-width: 24rem;
  margin-top: 14px;
  color: var(--mu);
  font-size: 0.93rem;
  font-weight: 600;
}
.fine {
  margin: 22px 8px 0;
  color: var(--mu);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 760px) {
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .foot .about {
    grid-column: 1 / -1;
  }
}

/* ── Document pages (privacy, terms, deletion, support) ───────────────── */
.doc-hero {
  padding: clamp(40px, 6vw, 72px) 0 12px;
}
.doc-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.doc-hero .meta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 20px;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--ac);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.doc {
  padding: 24px 0 clamp(56px, 8vw, 96px);
}
.doc-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 108px;
  padding: 22px;
  border-radius: 24px;
}
.toc h2 {
  margin-bottom: 12px;
  color: var(--mu);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--tx);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}
.toc a:hover {
  text-decoration: none;
  color: var(--ac);
  box-shadow: inset 3px 3px 6px var(--sd), inset -3px -3px 6px var(--sl);
}
.prose {
  padding: clamp(24px, 4vw, 48px);
  border-radius: 32px;
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.prose h2:first-of-type {
  margin-top: 0;
}
.prose p,
.prose li {
  color: var(--tx);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.75;
}
.prose p + p {
  margin-top: 1em;
}
.prose ul {
  margin: 0.8em 0;
  padding-left: 1.25em;
}
.prose li + li {
  margin-top: 0.5em;
}
.prose li::marker {
  color: var(--ac);
}
.prose strong {
  font-weight: 800;
}
.prose .callout {
  margin: 1.5em 0;
  padding: 18px 22px;
  border-radius: 20px;
  color: var(--tx);
  font-weight: 600;
}
@media (max-width: 900px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
}

/* forms */
.form {
  display: grid;
  gap: 20px;
  margin-top: 8px;
}
.field label {
  display: block;
  margin: 0 4px 8px;
  color: var(--mu);
  font-size: 0.85rem;
  font-weight: 800;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border: 0;
  border-radius: 18px;
  background: var(--bg);
  color: var(--tx);
  font: inherit;
  font-weight: 600;
  box-shadow: inset 4px 4px 8px var(--sd), inset -4px -4px 8px var(--sl);
  outline: none;
  transition: box-shadow 0.15s var(--ease);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: inset 4px 4px 8px var(--sd), inset -4px -4px 8px var(--sl), 0 0 0 2.5px var(--ac);
}
.field .hint {
  margin: 8px 4px 0;
  color: var(--mu);
  font-size: 0.82rem;
  font-weight: 600;
}
.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  accent-color: var(--ac);
}
.status {
  display: none;
  padding: 16px 20px;
  border-radius: 18px;
  font-weight: 700;
}
.status.show {
  display: block;
}

.steps-list {
  display: grid;
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.steps-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 20px;
  counter-increment: s;
  font-weight: 600;
}
.steps-list li::before {
  content: counter(s);
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ac);
  font-weight: 800;
  box-shadow: inset 3px 3px 6px var(--sd), inset -3px -3px 6px var(--sl);
}

/* ── Motion: rise-in, interruptible, off for reduced motion ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .btn,
  .phone-set .phone {
    transition: none !important;
    opacity: 1;
    transform: none;
  }
  .phone-set .p-left {
    transform: rotate(-5deg) !important;
  }
  .phone-set .p-right {
    transform: rotate(5deg) !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .download {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  .prose {
    box-shadow: none;
  }
}
