@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-variable-tr.woff2") format("woff2-variations"),
       url("/fonts/nunito-variable-tr.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --night: #0f172a;
  --night-2: #18233d;
  --paper: #f7faf8;
  --white: #ffffff;
  --mint: #e2f4ea;
  --mint-row: #eef8f2;
  --ink: #167a43;
  --ink-hover: #116235;
  --glow: #4ade80;
  --violet: #7c5cff;
  --dim: rgba(15, 23, 42, 0.64);
  --muted: rgba(15, 23, 42, 0.48);
  --line: rgba(15, 23, 42, 0.11);
  --dark-dim: rgba(247, 250, 248, 0.72);
  --dark-line: rgba(247, 250, 248, 0.16);
  --glass: rgba(247, 250, 248, 0.82);
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, system-ui, sans-serif;
  --r-lg: clamp(28px, 4vw, 46px);
  --r-md: clamp(22px, 2.8vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font: 500 17px/1.58 var(--font);
  color: var(--night);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--night);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 700;
}

.skip:focus {
  left: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  font-style: normal;
  color: var(--ink);
}

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

.bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.bar-in {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  padding: 0 clamp(14px, 2.2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--night);
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

/* Exact production wordmark matching iOS HomeView.swift & Android ParentHomeScreen.kt:
 * Nunito 900, purpleDeep #6C4DF6 ("Kidop") + green #22A45D ("App") + twin ic_leaf
 * (#4CAF50 at -31deg and #F5B301 at +26deg). */
.kido-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.032em;
  padding-top: 0.24em;
  user-select: none;
}

.kido-wordmark .kw-kidop {
  color: #6c4df6;
}

.kido-wordmark .kw-app {
  color: #22a45d;
}

.kido-wordmark .kw-leaves {
  position: absolute;
  left: 1.62em;
  top: -0.04em;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}

.kido-wordmark .kw-leaf {
  width: 0.52em;
  height: 0.52em;
  display: block;
}

.kido-wordmark .kw-leaf-g {
  fill: #4caf50;
  transform: rotate(-31deg);
}

.kido-wordmark .kw-leaf-y {
  fill: #f5b301;
  transform: rotate(26deg);
  margin-left: -0.08em;
}

.kido-wordmark.kw-sm {
  font-size: 19px;
}

.kido-wordmark.kw-lg {
  font-size: clamp(26px, 3vw, 34px);
}

.vs-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  border-radius: 16px;
  background: var(--paper);
  margin-bottom: 18px;
}

.vs-brand-pill .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.foot-brand {
  margin-bottom: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 18px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}

.nav-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--dim);
  transition: color 0.16s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--night);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--night);
  color: var(--paper);
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease;
}

.nav-cta:hover {
  transform: scale(1.03);
  background: var(--night-2);
}

/* --------------------------------------------------------------- Containers */

main.wide {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 24px);
}

main.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 54px) clamp(16px, 3vw, 24px) clamp(64px, 8vw, 108px);
}

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

.hero {
  text-align: center;
  padding: clamp(36px, 5.4vw, 72px) 0 clamp(64px, 8vw, 108px);
}

.mascot-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  min-height: 132px;
}

.mascot-img {
  width: clamp(114px, 12vw, 138px);
  height: auto;
  user-select: none;
}

.bubble-typing,
.bubble-say {
  position: absolute;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
}

.bubble-typing {
  left: -62px;
  top: 22px;
  padding: 11px 14px;
  background: var(--mint);
  display: inline-flex;
  gap: 5px;
  opacity: 0;
}

.bubble-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  display: block;
}

.bubble-say {
  left: calc(100% - 8px);
  top: 10px;
  padding: 11px 17px;
  background: var(--night);
  color: var(--paper);
  border-bottom-left-radius: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .bubble-typing {
    animation: kidoTyping 2.5s ease 0.25s both;
  }
  .bubble-typing i:nth-child(1) { animation: kidoDot 0.9s infinite 0.25s; }
  .bubble-typing i:nth-child(2) { animation: kidoDot 0.9s infinite 0.42s; }
  .bubble-typing i:nth-child(3) { animation: kidoDot 0.9s infinite 0.59s; }
  .bubble-say {
    opacity: 0;
    transform: scale(0.84) translateY(6px);
    transform-origin: bottom left;
    animation: kidoPop 0.42s cubic-bezier(0.22, 1.35, 0.36, 1) 2.2s forwards;
  }
}

@keyframes kidoTyping {
  0% { opacity: 0; transform: scale(0.86); }
  12%, 82% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.86); }
}

@keyframes kidoDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes kidoPop {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto;
}

.hero .big {
  display: block;
  font-size: clamp(46px, 10.5vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.048em;
  color: var(--night);
}

.hero .next {
  display: block;
  margin-top: 0.3em;
  font-size: clamp(23px, 3.3vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.lead {
  max-width: 590px;
  margin: 22px auto 30px;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.56;
  color: var(--dim);
  text-wrap: pretty;
}

/* ----------------------------------------------------------- Store Buttons */

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.stores.left {
  justify-content: flex-start;
}

.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  background: var(--night);
  color: var(--paper);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, background 0.18s ease;
}

.store svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.store:hover {
  transform: scale(1.03);
  background: var(--night-2);
}

.stores.inv .store {
  background: var(--paper);
  color: var(--night);
}

.stores.inv .store:hover {
  background: var(--white);
}

.note {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--dim);
}

/* ------------------------------------------------------- Situation Switcher */

.who {
  margin-bottom: 22px;
}

.who-box {
  background: var(--mint);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4.6vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}

.who-left h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.02;
}

.who-left p {
  margin: 14px 0 26px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--dim);
  max-width: 420px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--night);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.chip:hover {
  transform: translateY(-1px);
}

.chip:has(input:checked),
.chip.is-active {
  background: var(--night);
  color: var(--paper);
}

.chip:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.answers {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: clamp(26px, 3.2vw, 38px);
}

.answers-peek {
  position: absolute;
  top: -66px;
  right: 22px;
  width: 96px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.answers-eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.answer-panel[hidden] {
  display: none;
}

.answer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.answer-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.answer-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.answer-list li:last-child {
  padding-bottom: 0;
}

.answer-quote {
  display: block;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  color: var(--dim);
  margin-bottom: 4px;
}

.answer-solve {
  display: block;
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--night);
}

.answer-meta {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--dim);
}

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

.feats {
  display: grid;
  gap: 22px;
}

.tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--mint);
}

.tile.first {
  background: var(--night);
  color: var(--paper);
  padding: clamp(32px, 4.8vw, 60px) clamp(26px, 4.8vw, 60px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: end;
}

.first-copy {
  padding-bottom: clamp(32px, 4.8vw, 60px);
  align-self: center;
}

.first-copy h2 {
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.first-copy h2 em {
  color: var(--glow);
}

.first-copy p {
  margin: 14px 0 26px;
  font-size: clamp(17px, 1.55vw, 20px);
  color: var(--dark-dim);
  max-width: 520px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247, 250, 248, 0.22);
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}

.pill-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glow);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tiles .tile {
  padding: clamp(32px, 4vw, 50px) clamp(22px, 3.2vw, 42px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tiles .tile h2 {
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.06;
  max-width: 440px;
}

.tiles .tile .sub {
  margin: 12px auto 28px;
  max-width: 430px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--dim);
  text-wrap: pretty;
}

.phone {
  width: min(310px, 82%);
  margin-top: auto;
  border-radius: 38px 38px 0 0;
  border: 8px solid var(--night);
  border-bottom: 0;
  background: var(--white);
  overflow: hidden;
  max-height: 430px;
}

.tile.first .phone {
  width: min(330px, 90%);
  justify-self: center;
  border-color: var(--glow);
  max-height: 510px;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----------------------------------------------------------- How It Works */

.how {
  padding: clamp(68px, 8vw, 112px) 0 clamp(44px, 5vw, 68px);
  text-align: center;
}

.how h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  max-width: 780px;
  margin: 0 auto 24px;
}

.os {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--mint);
  margin-bottom: 34px;
}

.os label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: var(--dim);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.os input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.os label:has(input:checked),
.os label.is-active {
  background: var(--night);
  color: var(--paper);
}

.steps-panel[hidden] {
  display: none;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.steps li {
  counter-increment: step;
  background: var(--mint);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 34px);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--night);
  color: var(--paper);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 18px;
}

.steps h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.18;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--dim);
}

.how-foot {
  margin-top: 32px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
}

.how-kido {
  width: 58px;
  height: auto;
}

.how-foot p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--dim);
}

.text-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.text-link:hover {
  color: var(--ink-hover);
}

/* ------------------------------------------------------------ Trust Strip */

.trust {
  padding: clamp(36px, 5vw, 68px) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3.5vw, 44px);
}

.trust-item {
  border-top: 3px solid var(--night);
  padding-top: 20px;
}

.trust-item h3 {
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.trust-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--dim);
}

/* -------------------------------------------------------------------- FAQ */

.faq {
  padding: clamp(56px, 7vw, 96px) 0;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 92px;
}

.faq-head h2 {
  font-size: clamp(34px, 4.6vw, 56px);
}

.faq-head p {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 16px;
}

.qa details {
  border-top: 1px solid var(--line);
}

.qa details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
}

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

.qa summary h3 {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.qa summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.qa details[open] summary::after {
  transform: rotate(45deg);
}

.qa .ans {
  padding: 0 36px 22px 0;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.62;
}

.qa .ans p {
  margin: 0;
}

.qa .ans a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.more {
  margin-top: 22px;
  font-size: 15px;
  color: var(--dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.more a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------------------------------- Final Dark CTA */

.close {
  margin: 12px 0 clamp(44px, 6vw, 72px);
  background: var(--night);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(46px, 6.5vw, 88px) clamp(24px, 4vw, 56px);
  text-align: center;
}

.close-kido {
  width: 112px;
  height: auto;
  margin: 0 auto 18px;
}

.close h2 {
  max-width: 720px;
  margin: 0 auto 16px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.03;
}

.close h2 em {
  color: var(--glow);
}

.close p {
  max-width: 540px;
  margin: 0 auto 30px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--dark-dim);
}

.close .note {
  color: var(--dark-dim);
}

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

.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px clamp(14px, 2.2vw, 24px) 48px;
  border-top: 1px solid var(--line);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 16px;
}

.foot-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--dim);
  transition: color 0.15s ease;
}

.foot-links a:hover {
  color: var(--night);
}

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ----------------------------------------------------------- Mobile Dock */

.dock {
  display: none;
}

@media (max-width: 860px) {
  .dock {
    position: fixed;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 90;
    transform: translate(-50%, 120px);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: var(--night);
    color: var(--paper);
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.58);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .dock.on {
    transform: translate(-50%, 0);
  }
  .dock-copy {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }
  .dock-copy small {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--dark-dim);
  }
  .dock-btn {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--glow);
    color: var(--night);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
  }
  body {
    padding-bottom: 76px;
  }
}

/* ---------------------------------------------------------- Download Page */

.dl-page {
  text-align: center;
  padding: clamp(32px, 5vw, 62px) 0 clamp(48px, 6vw, 76px);
}

.dl-page .mascot-img {
  margin: 0 auto 14px;
}

.dl-page h1 {
  font-size: clamp(38px, 6vw, 72px);
  max-width: 720px;
  margin: 0 auto 16px;
}

.qr-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 26px;
  border-radius: var(--r-md);
  background: var(--mint);
}

.qr-box {
  width: 210px;
  height: 210px;
  padding: 12px;
  border-radius: 20px;
  background: var(--white);
}

.qr-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-card strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--night);
}

.qr-card span {
  font-size: 13.5px;
  color: var(--dim);
  max-width: 240px;
}

.dl-grid {
  max-width: 760px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.dl-note-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.dl-note-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.dl-note-card p {
  margin: 0;
  font-size: 15px;
  color: var(--dim);
}

/* ------------------------------------------------------------ Prose Pages */

.prose-head {
  margin-bottom: 32px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.prose .crumb a,
.crumb a {
  color: var(--dim);
  text-decoration: none;
  font-weight: 700;
}

.prose .crumb a:hover,
.crumb a:hover {
  color: var(--night);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crumb span[aria-hidden] {
  opacity: 0.5;
}

.prose-head h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.06;
  margin-bottom: 14px;
}

.prose-head .lead {
  margin: 0;
  max-width: none;
}

.prose-meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 40px 0 14px;
  line-height: 1.15;
}

.prose h3 {
  font-size: 20px;
  margin: 24px 0 10px;
  line-height: 1.25;
}

.prose p {
  margin: 0 0 16px;
  color: rgba(15, 23, 42, 0.84);
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: rgba(15, 23, 42, 0.84);
}

.prose li {
  margin-bottom: 8px;
}

.prose a:not(.store):not(.nav-cta) {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--mint);
  border-left: 4px solid var(--ink);
  border-radius: 0 20px 20px 0;
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--night);
}

.callout p:last-child {
  margin-bottom: 0;
}

.prose .howto-steps {
  list-style: none;
  counter-reset: hstep;
  margin: 18px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.howto-steps li {
  counter-increment: hstep;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 0;
}

.howto-steps li::before {
  content: counter(hstep);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--night);
  color: var(--paper);
  font-size: 15px;
  font-weight: 900;
}

.howto-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--night);
}

.shot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.shot-card {
  background: var(--mint);
  border-radius: 24px;
  padding: 18px 18px 0;
  overflow: hidden;
  text-align: center;
}

.shot-card figcaption {
  font-size: 14px;
  font-weight: 800;
  color: var(--night);
  margin-bottom: 14px;
}

.shot-card img {
  width: 84%;
  margin: 0 auto;
  border-radius: 24px 24px 0 0;
  border: 6px solid var(--night);
  border-bottom: 0;
}

.prose-cta {
  margin-top: 44px;
  padding: 32px 26px;
  background: var(--night);
  color: var(--paper);
  border-radius: var(--r-md);
  text-align: center;
}

.prose-cta h2 {
  margin: 0 0 10px;
  color: var(--paper);
  font-size: clamp(24px, 3.2vw, 34px);
}

.prose-cta p {
  color: var(--dark-dim);
  margin: 0 auto 22px;
  max-width: 480px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  margin: 20px 0 32px;
}

/* --------------------------------------------------------------- 404 Page */

.nf {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 20px;
}

.nf img {
  width: 120px;
  margin: 0 auto 14px;
}

.nf h1 {
  font-size: clamp(58px, 11vw, 112px);
  color: var(--ink);
  margin-bottom: 10px;
}

.nf p {
  color: var(--dim);
  margin: 0 auto 24px;
  max-width: 440px;
}

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

@media (max-width: 960px) {
  .who-box,
  .tile.first,
  .faq {
    grid-template-columns: 1fr;
  }
  .answers-peek {
    top: -54px;
    right: 16px;
    width: 80px;
  }
  .first-copy {
    padding-bottom: 0;
  }
  .tile.first .phone {
    max-height: 400px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .faq-head {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .dl-grid,
  .shot-pair {
    grid-template-columns: 1fr;
  }
  .bubble-typing {
    left: -38px;
  }
  .bubble-say {
    left: calc(100% - 14px);
    font-size: 13px;
    padding: 9px 13px;
  }
}
