@font-face { font-family: "Protest Strike"; src: url("/assets/fonts/ProtestStrike-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Akshar"; src: url("/assets/fonts/Akshar.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  /* comp palette */
  --cobalt: #266be9;
  --blue: #318ff6;
  --sky: #5bc7f8;
  --sky-pale: #bfe6fb;
  --cream: #f8ebdc;
  --ink: #09080a;
  --navy: #0a1636;
  --mint: #7ae8a9;
  --mint-deep: #3fcf83;
  --bug: #e5484d;
  --amber: #f5b83d;
  --display: "Protest Strike", "Arial Black", sans-serif;
  --body: "Akshar", "Arial Narrow", sans-serif;
  --line: clamp(3px, .22cqw, 6px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--cobalt); color: var(--navy); font-family: var(--body); font-size: 1.2rem; line-height: 1.45; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 4px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--mint); color: var(--ink); padding: 10px 16px; font-family: var(--display); text-decoration: none; border: 3px solid var(--ink); border-radius: 999px; }
.skip:focus { top: 16px; }

/* ---------- HERO: measured comp frame ---------- */
.hero { background: linear-gradient(180deg, var(--cobalt) 0%, #2f7ff0 38%, var(--sky) 100%); container-type: inline-size; overflow: hidden; }
.hero-frame { position: relative; width: 100%; aspect-ratio: 2752 / 1640; margin: 0 auto; }
.hero-frame > * { position: absolute; margin: 0; }
.hero-form { inset: 0; pointer-events: none; z-index: 4; }
.hero-form > * { position: absolute; margin: 0; pointer-events: auto; }

.r-logo { left: 2.18%; top: 2.68%; width: 23.26%; height: 8.53%; }
.r-nav { left: 34.88%; top: 4.64%; width: 30.52%; height: 4.39%; }
.r-sticker { left: 87.57%; top: 1.70%; width: 10.76%; height: 17.32%; }
.r-headline { left: 10.54%; top: 13.90%; width: 79.58%; height: 11.95%; }
.r-burst-left { left: 0; top: 20.74%; width: 20.35%; height: 48.78%; }
.r-burst-right { left: 81.76%; top: 20.74%; width: 18.24%; height: 48.78%; }
.r-scene { left: 25.44%; top: 26.83%; width: 57.78%; height: 46.95%; }
.r-bubble-app { left: 10.9%; top: 28.66%; width: 16.35%; height: 18.66%; }
.r-bubble-dog { left: 65.04%; top: 30.36%; width: 9.45%; height: 9.76%; }
.r-url { left: 17.44%; top: 74.76%; width: 33.79%; height: 10.12%; }
.r-cta { left: 50%; top: 74.27%; width: 33.58%; height: 10.73%; }
.r-subhead { left: 23.62%; top: 88.54%; width: 53.05%; height: 5.00%; }
.r-smallprint { left: 31.61%; top: 94.39%; width: 37.06%; height: 2.80%; }

.r-burst-left, .r-burst-right, .r-scene, .r-sticker { object-fit: cover; }
.r-scene { z-index: 2; }
.r-sticker { z-index: 3; }

.logo { display: flex; align-items: flex-start; padding-top: .2cqw; gap: .9cqw; text-decoration: none; color: var(--cream); font-family: var(--display); font-size: 3.42cqw; line-height: 1; text-transform: uppercase; letter-spacing: .01em; -webkit-text-stroke: var(--line) var(--ink); paint-order: stroke fill; text-shadow: .14cqw .14cqw 0 var(--ink); }
.logo .paw { width: 2.6cqw; height: 2.6cqw; flex: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.nav a { color: #f5f2ef; text-decoration: none; font-family: var(--display); font-size: 1.86cqw; line-height: 1; text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 .1cqw 0 rgba(9,8,10,.35); }
.nav a:hover { color: var(--mint); }

.headline { display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; color: var(--cream); font-family: var(--display); font-weight: 400; font-size: 5.16cqw; line-height: 1; text-transform: uppercase; letter-spacing: -.005em; -webkit-text-stroke: calc(var(--line) * 2.2) var(--ink); paint-order: stroke fill; text-shadow: .22cqw .26cqw 0 var(--ink); }

.bubble { display: grid; place-items: center; text-align: center; background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); border-radius: 50%; font-family: var(--display); text-transform: uppercase; line-height: 1.02; z-index: 3; }
.bubble::before, .bubble::after { content: ""; position: absolute; width: 0; height: 0; border-style: solid; }
.bubble--app { font-size: 2.07cqw; padding: 0 .6cqw; }
.bubble--app::before { right: 7%; bottom: -9%; border-width: 2.4cqw 0 0 3.6cqw; border-color: var(--ink) transparent transparent transparent; transform: rotate(-12deg); }
.bubble--app::after { right: 8.6%; bottom: -5.4%; border-width: 1.7cqw 0 0 2.7cqw; border-color: var(--cream) transparent transparent transparent; transform: rotate(-12deg); }
.bubble--dog { font-size: 2.18cqw; }
.bubble--dog::before { left: -9%; bottom: 4%; border-width: 1.6cqw 3cqw 0 0; border-color: var(--ink) transparent transparent transparent; transform: rotate(10deg); }
.bubble--dog::after { left: -3.5%; bottom: 10%; border-width: 1.1cqw 2.2cqw 0 0; border-color: var(--cream) transparent transparent transparent; transform: rotate(10deg); }

.url { z-index: 1; background: var(--cream); color: var(--ink); border: calc(var(--line) * 1.4) solid var(--ink); border-radius: 1.4cqw 0 0 1.4cqw; padding: 0 2cqw 0 1.7cqw; font-family: var(--body); font-weight: 500; font-size: 2.9cqw; }
.url::placeholder { color: var(--ink); opacity: 1; }
.url:focus { outline: none; box-shadow: 0 0 0 .35cqw var(--mint); }
.cta { z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0; background: var(--mint); color: var(--ink); border: calc(var(--line) * 1.4) solid var(--ink); border-radius: 999px; font-family: var(--display); font-size: 3.05cqw; line-height: 1; text-transform: uppercase; cursor: pointer; box-shadow: .18cqw .22cqw 0 var(--ink); transition: transform .15s cubic-bezier(.2,.9,.3,1.4), box-shadow .15s ease-out, background .15s; }
.cta:hover { background: #8ff0b7; transform: translate(-.1cqw, -.12cqw) rotate(-1deg); box-shadow: .3cqw .36cqw 0 var(--ink); }
.cta:active { transform: translate(.1cqw, .14cqw); box-shadow: 0 0 0 var(--ink); }
.cta[aria-busy="true"] { cursor: progress; opacity: .85; }
.form-msg { position: absolute; left: 17.44%; top: 90.9%; width: 66%; margin: 0; font-size: 1.2cqw; font-weight: 600; color: var(--ink); text-align: center; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #7a0f14; }

.subhead { display: flex; align-items: center; justify-content: center; white-space: nowrap; color: var(--ink); font-family: var(--body); font-weight: 500; font-size: 2.5cqw; line-height: 1; }
.smallprint { display: flex; align-items: center; justify-content: center; white-space: nowrap; color: var(--navy); font-family: var(--body); font-weight: 400; font-size: 1.38cqw; line-height: 1; }

/* ---------- SECTIONS: same comic-ink system ---------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap--narrow { max-width: 860px; }
main > section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section-h { margin: 0 0 .3em; font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: .98; text-transform: uppercase; color: var(--cream); -webkit-text-stroke: clamp(4px, .45vw, 7px) var(--ink); paint-order: stroke fill; text-shadow: 4px 5px 0 var(--ink); text-wrap: balance; }
.section-h--ink { color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; }
.section-sub { margin: 0 0 clamp(28px, 4vw, 48px); max-width: 62ch; font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 500; color: var(--ink); }
.ink-edge { border: 4px solid var(--ink); }

/* finds: comic panels on sky */
.finds { background: var(--sky); border-top: 6px solid var(--ink); }
.panels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.panel { background: var(--cream); border: 4px solid var(--ink); border-radius: 6px; box-shadow: 6px 7px 0 var(--ink); padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 10px; transform: rotate(var(--tilt, 0deg)); transition: transform .2s cubic-bezier(.2,.9,.3,1.4); }
.panel:nth-child(2) { --tilt: .8deg } .panel:nth-child(3) { --tilt: -.6deg } .panel:nth-child(4) { --tilt: .5deg } .panel:nth-child(5) { --tilt: -.9deg }
.panel:hover { transform: rotate(0) translateY(-4px); }
.panel--wide { grid-column: span 2; }
.panel:last-child { grid-column: 1 / -1; }
.panel--wide { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); grid-template-rows: none; align-items: center; }
.panel img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; max-height: 200px; }
.panel h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1; text-transform: uppercase; color: var(--ink); }
.panel p { margin: 0; color: var(--navy); }

/* diy: cream scoreboard */
.diy { background: var(--cream); border-top: 6px solid var(--ink); }
.vs { margin-top: 32px; border: 4px solid var(--ink); border-radius: 10px; background: #fff; box-shadow: 8px 9px 0 var(--ink); overflow: hidden; }
.vs-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr); border-top: 3px solid var(--ink); }
.vs-row:first-child { border-top: 0; }
.vs-row > span { padding: 18px 20px; min-width: 0; }
.vs-row > span + span { border-left: 3px solid var(--ink); }
.vs-head { background: var(--ink); color: var(--cream); font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; }
.vs-head > span + span { border-left-color: #34323a; }
.vs-row > [role=rowheader] { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; color: var(--ink); background: var(--sky-pale); }
.vs-row > [role=cell]:nth-child(2) { color: #6b2a2c; }
.vs-row > [role=cell]:nth-child(3) { background: #e9fbf1; color: var(--ink); font-weight: 600; }
.diy-punch { margin: 36px 0 0; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; text-transform: uppercase; color: var(--cobalt); text-wrap: balance; }

/* how: scent trail */
.how { background: var(--cobalt); color: var(--cream); border-top: 6px solid var(--ink); }
.trail { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.trail::before { content: ""; position: absolute; left: 4%; right: 4%; top: 34px; border-top: 6px dotted var(--mint); }
.trail li { counter-increment: step; position: relative; display: grid; gap: 8px; align-content: start; padding-top: 88px; min-width: 0; }
.trail li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 68px; height: 68px; display: grid; place-items: center; background: var(--mint); color: var(--ink); border: 4px solid var(--ink); border-radius: 50%; font-family: var(--display); font-size: 2rem; box-shadow: 3px 4px 0 var(--ink); }
.trail li:nth-child(4)::before { content: ""; background: var(--mint) url("/assets/favicon.svg") center/62% no-repeat; }
.trail b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1; text-transform: uppercase; color: var(--cream); }
.trail span { color: #dceaff; font-size: 1.08rem; }

/* report: clinical product UI */
.report { background: var(--sky-pale); border-top: 6px solid var(--ink); }
.rep { position: relative; background: #fff; color: #18202f; border: 1px solid #c9d6e8; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(10,22,54,.35), 0 2px 0 rgba(10,22,54,.05); padding: clamp(20px, 3vw, 36px); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; }
.rep-stamp { position: absolute; top: 18px; right: 18px; font-family: var(--display); text-transform: uppercase; font-size: 1.1rem; color: var(--bug); border: 3px solid var(--bug); border-radius: 6px; padding: 2px 10px; transform: rotate(6deg); opacity: .85; }
.rep-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-right: 110px; }
.rep-kicker { margin: 0; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #5a6b85; font-weight: 600; }
.rep-app { margin: 2px 0 0; font-size: 1.35rem; font-weight: 700; }
.rep-meta { display: flex; gap: 28px; margin: 0; }
.rep-meta div { display: grid; gap: 2px; }
.rep-meta dt { font-size: .78rem; color: #5a6b85; text-transform: uppercase; letter-spacing: .05em; }
.rep-meta dd { margin: 0; font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.rep-tally { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; align-self: start; }
.tag--severe { background: #fde4e4; color: #a3161c; }
.tag--annoy { background: #fff1d6; color: #8a5300; }
.tag--cos { background: #eceff4; color: #475569; }
.rep-list { list-style: none; margin: 12px 0 0; padding: 0; }
.rep-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-top: 1px solid #e3e9f2; align-items: start; }
.rep-body h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 700; }
.rep-steps { margin: 0 0 6px; padding-left: 1.2em; color: #3a475c; font-size: .95rem; }
.rep-ea { margin: 0; color: #3a475c; font-size: .95rem; }
.rep-ea b { color: #18202f; margin-right: 4px; }
.rep code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .86em; background: #f2f5f9; border: 1px solid #e3e9f2; border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.rep-shot { width: 150px; aspect-ratio: 16/10; border: 1px solid #c9d6e8; border-radius: 6px; background: #f6f8fb; padding: 10px; display: grid; gap: 6px; align-content: start; }
.rep-shot i { display: block; height: 8px; border-radius: 3px; background: #dbe3ee; }
.rep-shot i.hot { height: 22px; background: #fde4e4; outline: 2px solid var(--bug); outline-offset: 2px; }
.rep-shot--phone { width: 64px; aspect-ratio: 9/16; }
.rep-passed { margin: 12px 0 0; padding: 14px 16px; background: #e9fbf1; border: 1px solid #b6efcf; border-radius: 10px; color: #0f5132; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.tick { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--mint-deep); position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* pricing: escalating bands */
.pricing { background: var(--sky); border-top: 6px solid var(--ink); }
.tiers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: end; }
.tier { border: 4px solid var(--ink); border-radius: 14px; padding: clamp(22px, 3vw, 34px); box-shadow: 8px 9px 0 var(--ink); display: grid; gap: 14px; }
.tier--smoke { background: var(--cream); color: var(--ink); }
.tier--deep { background: var(--navy); color: var(--cream); padding-block: clamp(30px, 4vw, 48px); transform: rotate(-.6deg); }
.tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tier h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; text-transform: uppercase; }
.tier-price { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tier-price .was { font-size: .5em; text-decoration: line-through; opacity: .55; margin-right: 6px; }
.tier--deep .tier-price { color: var(--mint); }
.tier-tag { margin: 0; font-size: 1.3rem; font-weight: 600; }
.tier-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tier-list li { padding-left: 28px; position: relative; }
.tier-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.tier-time { margin: 0; font-weight: 600; opacity: .8; }
.tier-form, .close-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; margin-top: 4px; }
.tier-form .url, .close-form .url { position: static; height: 58px; font-size: 1.15rem; border-width: 4px; border-radius: 12px 0 0 12px; padding: 0 16px; min-width: 0; }
.tier-form .cta, .close-form .cta { position: static; height: 58px; font-size: 1.25rem; padding: 0 22px; border-width: 4px; box-shadow: 3px 4px 0 var(--ink); margin-left: -8px; }
.tier-form .form-msg, .close-form .form-msg { position: static; grid-column: 1 / -1; width: auto; margin-top: 8px; font-size: .98rem; text-align: left; color: inherit; }
.tier--deep .cta { background: var(--mint); }
.tier--deep .url { border-color: var(--ink); }
.fine { margin: 32px 0 0; max-width: 70ch; color: var(--ink); font-weight: 500; }
.intro-line b { font-family: var(--display); font-weight: 400; font-size: 1.2em; color: var(--ink); }

/* team */
.team { background: var(--cream); border-top: 6px solid var(--ink); }
.pack { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 900px) { .pack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
.mate { text-align: center; min-width: 0; }
.mate img { width: 78%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--ink); background: var(--sky); box-shadow: 4px 5px 0 var(--ink); transition: transform .25s cubic-bezier(.2,.9,.3,1.5); }
.mate:nth-child(3n+1) img { background: var(--mint); } .mate:nth-child(3n+2) img { background: var(--sky); } .mate:nth-child(3n) img { background: #ffd28a; }
.mate:hover img { transform: rotate(-6deg) scale(1.05); }
.mate h3 { margin: 14px 0 2px; font-family: var(--display); font-weight: 400; font-size: 1.35rem; line-height: 1.02; text-transform: uppercase; color: var(--ink); }
.mate-role { margin: 0; font-weight: 700; color: var(--cobalt); font-size: 1rem; }
.mate-bio { margin: 6px 0 0; color: var(--navy); font-size: 1rem; line-height: 1.35; }
.mate:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 32px; text-align: left; width: 100%; max-width: 780px; margin: 0 auto 12px; }
.mate:first-child img { grid-row: 1 / -1; }
.mate:first-child h3 { grid-row: 2; align-self: end; }
.mate:first-child .mate-role { grid-row: 3; } .mate:first-child .mate-bio { grid-row: 4; align-self: start; }
.mate:first-child img { width: 100%; }
.mate:first-child h3 { font-size: 2.2rem; margin-top: 0; }
.mate:first-child .mate-bio { font-size: 1.2rem; }
.satire { margin: 44px auto 0; max-width: 70ch; text-align: center; font-size: .98rem; color: #5b5346; }

/* faq */
.faq { background: var(--sky-pale); border-top: 6px solid var(--ink); }
.faq details { background: #fff; border: 4px solid var(--ink); border-radius: 12px; margin-top: 14px; box-shadow: 4px 5px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-family: var(--display); font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; background: var(--mint); border: 3px solid var(--ink); border-radius: 50%; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--navy); }

/* close */
.close { background: linear-gradient(180deg, var(--cobalt), var(--blue)); border-top: 6px solid var(--ink); text-align: center; }
.close-h { margin: 0 auto 32px; max-width: 18ch; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .96; text-transform: uppercase; color: var(--cream); -webkit-text-stroke: clamp(4px, .5vw, 8px) var(--ink); paint-order: stroke fill; text-shadow: 5px 6px 0 var(--ink); text-wrap: balance; }
.close-form { max-width: 760px; margin: 0 auto; }
.close-form .form-msg { color: var(--cream); text-align: center; }

/* footer */
.foot { background: var(--ink); color: #cfc8bb; padding-block: 36px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot p { margin: 0; }
.foot-brand { font-family: var(--display); text-transform: uppercase; color: var(--cream); font-size: 1.2rem; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--mint); text-underline-offset: 3px; }
.foot-legal { flex-basis: 100%; font-size: .92rem; color: #9a9384; }

.cta-price { margin-left: .35em; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  body { font-size: 1.08rem; }
  .hero { background: linear-gradient(180deg, var(--cobalt) 0%, #2f7ff0 45%, var(--sky) 100%); }
  .hero-frame { aspect-ratio: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo sticker" "nav nav" "head head" "scene scene" "url url" "cta cta" "msg msg" "sub sub" "small small"; row-gap: 14px; padding: max(14px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 34px max(16px, env(safe-area-inset-left, 0px)); }
  .hero-frame > *, .hero-form > * { position: static; width: auto; height: auto; }
  .hero-form { display: contents; }
  .r-burst-left, .r-burst-right { display: none; }
  .logo { grid-area: logo; align-self: center; font-size: 1.9rem; gap: 8px; text-shadow: 2px 2px 0 var(--ink); --line: 3px; padding-top: 0; align-items: center; }
  .logo .paw { width: 30px; height: 30px; }
  .sticker { grid-area: sticker; width: 74px; height: 74px; align-self: center; transform: rotate(8deg); }
  .nav { grid-area: nav; justify-content: flex-start; gap: 18px; }
  .nav a { font-size: 1rem; }
  .headline { grid-area: head; white-space: normal; font-size: clamp(2.6rem, 13.5vw, 3.6rem); line-height: .95; --line: 3px; text-shadow: 3px 4px 0 var(--ink); text-wrap: balance; margin-top: 6px; }
  .scene { grid-area: scene; width: 112%; max-width: none; margin-left: -6%; margin-top: 56px; }
  .bubble { grid-area: scene; --line: 3px; }
  .bubble--app { justify-self: start; align-self: start; width: 46%; aspect-ratio: 1.45; font-size: clamp(.8rem, 3.6vw, 1rem); padding: 0 8px; margin-top: -6px; }
  .bubble--dog { justify-self: end; align-self: start; width: 22%; aspect-ratio: 1.55; font-size: clamp(.9rem, 4vw, 1.1rem); margin: 6px 4% 0 0; }
  .bubble--app::before { border-width: 14px 0 0 22px; } .bubble--app::after { border-width: 10px 0 0 16px; }
  .bubble--dog::before { border-width: 10px 18px 0 0; } .bubble--dog::after { border-width: 7px 13px 0 0; }
  .hero .url { grid-area: url; height: 58px; font-size: 1.15rem; border-radius: 14px; border-width: 4px; padding: 0 16px; }
  .hero .cta { grid-area: cta; height: 64px; font-size: 1.45rem; border-width: 4px; box-shadow: 3px 4px 0 var(--ink); }
  .hero .form-msg { grid-area: msg; position: static; width: auto; font-size: 1rem; }
  .subhead { grid-area: sub; white-space: normal; font-size: 1.35rem; line-height: 1.15; text-align: center; margin-top: 6px; }
  .smallprint { grid-area: small; white-space: normal; font-size: 1rem; line-height: 1.3; text-align: center; }

  .panels { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .panel, .panel--wide, .panel:last-child { grid-column: auto; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: none; align-items: center; padding: 14px; }
  .panel img { max-height: 96px; }
  .panel h3 { font-size: 1.3rem; }

  .vs { box-shadow: 5px 6px 0 var(--ink); }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: minmax(0, 1fr); }
  .vs-row > span + span { border-left: 0; border-top: 2px dashed #c9c2b4; }
  .vs-row > [role=cell]:nth-child(2)::before { content: "You: "; font-weight: 700; }
  .vs-row > [role=cell]:nth-child(3)::before { content: "The dog: "; font-weight: 700; }
  .vs-row > span { padding: 14px 16px; }

  .trail { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .trail::before { left: 31px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 6px dotted var(--mint); }
  .trail li { padding: 6px 0 0 88px; min-height: 68px; }

  .rep-top { padding-right: 0; padding-top: 34px; }
  .rep-item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rep-shot { display: none; }
  .rep-meta { gap: 20px; }

  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier--deep { transform: none; }
  .tier-form, .close-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tier-form .url, .close-form .url { border-radius: 12px; }
  .tier-form .cta, .close-form .cta { margin-left: 0; }

  .mate:first-child { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; text-align: center; }
  .mate:first-child img { grid-row: auto; width: 70%; margin: 0 auto; }
  .mate:first-child h3, .mate:first-child .mate-role, .mate:first-child .mate-bio { grid-row: auto; }
  .mate:first-child h3 { font-size: 1.8rem; margin-top: 14px; }
  .mate h3 { font-size: 1.15rem; }
  .mate-bio { font-size: .95rem; }

  .foot-in { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel--wide, .panel:last-child { grid-column: 1 / -1; }
  .trail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .trail::before { display: none; }
  .pack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hero-form > .sr-only { position: absolute; }
@media (max-width: 760px) {
  .scene { width: 100%; margin-left: 0; margin-top: 64px; }
  .bubble--app { margin-top: -18px; width: 50%; }
}
/* motion: one moment. Bubbles are visible at rest; on load they boing in turn, the sticker spins once. */
@media (prefers-reduced-motion: no-preference) {
  .bubble--app { animation: boing .7s cubic-bezier(.2,1.6,.4,1) .35s both; transform-origin: 80% 100%; }
  .bubble--dog { animation: boing .7s cubic-bezier(.2,1.6,.4,1) 1.05s both; transform-origin: 0% 100%; }
  .sticker { animation: stamp .8s cubic-bezier(.2,1.4,.4,1) .1s both; }
  .scene.is-alive { animation: sniff 2.6s ease-in-out 1.8s infinite; transform-origin: 62% 90%; }
  .cta:hover { animation: wag .35s ease-in-out 2; }
}
@keyframes boing { 0% { transform: scale(1); } 30% { transform: scale(1.12) rotate(-2deg); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }
@keyframes stamp { 0% { transform: rotate(0); } 60% { transform: rotate(14deg) scale(1.08); } 100% { transform: rotate(8deg); } }
@keyframes sniff { 0%, 70%, 100% { transform: translateX(0); } 76% { transform: translateX(.25%); } 82% { transform: translateX(0); } 88% { transform: translateX(.25%); } }
@keyframes wag { 0%,100% { rotate: 0deg; } 50% { rotate: -2.5deg; } }
@media (min-width: 761px) { .sticker { transform: none; } }
@media (max-width: 760px) {
  .scene { margin-top: 104px; }
  .bubble--app { margin-top: -10px; width: 48%; font-size: clamp(.85rem, 3.8vw, 1.05rem); }
  .bubble--dog { margin-top: 18px; }
}
/* contrast fixes from detector */
.mate-role, .diy-punch { color: #1b4fc2; }
.trail b { color: #fff; }
.trail span { color: #fff; }
.rep-stamp { color: #b3191f; border-color: #b3191f; opacity: 1; }
.close { background: var(--cobalt); }
.close-form .form-msg { color: #fff; }

/* ---- finish-review fix batch 1 ---- */
/* 1. burst panels bleed into the ground instead of showing tile edges */
.r-burst-left { -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(180deg, transparent 0%, transparent 8%, #000 30%, #000 80%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(180deg, transparent 0%, transparent 8%, #000 30%, #000 80%, transparent 100%); mask-composite: intersect; }
.r-burst-right { -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent 100%), linear-gradient(180deg, transparent 0%, transparent 8%, #000 30%, #000 80%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(270deg, #000 55%, transparent 100%), linear-gradient(180deg, transparent 0%, transparent 8%, #000 30%, #000 80%, transparent 100%); mask-composite: intersect; }
/* 2. the floor the dog stands on */
.floor { left: 0; right: 0; top: 66.12%; height: max(3px, .22cqw); background: var(--ink); opacity: .85; z-index: 1; }
/* 4. severity tags hug their text */
.tag { justify-self: start; width: fit-content; }
/* 5. FAQ toggle: drawn plus, not a glyph */
.faq summary::after { content: ""; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%2309080a' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
/* 6. paw at the comp's proportion */
.logo .paw { width: 3.4cqw; height: 3.4cqw; margin-top: -.4cqw; }
/* ceiling: comic halftone carries down the page on the cobalt bands */
.how, .close { background-image: radial-gradient(rgba(255,255,255,.09) 1.6px, transparent 1.8px); background-size: 14px 14px; }
.close { background-color: var(--cobalt); }
@media (max-width: 760px) {
  .floor { grid-area: scene; position: static; align-self: end; height: 3px; margin: 0 -16px 7%; }
  .logo .paw { width: 34px; height: 34px; margin-top: 0; }
}

/* plates wrapped in <picture>: the picture is transparent to layout */
.hero-frame > picture { display: contents; }
.hero-frame > picture > source { display: none; }
.hero-frame > picture > img { position: absolute; margin: 0; }
@media (max-width: 760px) { .hero-frame > picture > img { position: static; width: auto; height: auto; } .hero-frame > picture > .scene { width: 100%; } .hero-frame > picture > .sticker { width: 74px; height: 74px; } }

/* error message: a dark tag above the URL field, never on top of the subhead */
.hero .form-msg { left: 17.44%; top: 68.6%; width: auto; max-width: 60%; text-align: left; background: var(--ink); color: var(--cream); padding: .45cqw 1cqw; border-radius: .6cqw; font-size: 1.15cqw; z-index: 5; }
.hero .form-msg.is-error { color: #ffd6d6; }
.hero .form-msg::after { content: ""; position: absolute; left: 2cqw; bottom: -.7cqw; border-width: .8cqw .7cqw 0; border-style: solid; border-color: var(--ink) transparent transparent; }
@media (max-width: 760px) {
  .hero-frame > picture > .scene { margin-top: 132px; }
  .hero .form-msg { position: static; max-width: none; padding: 8px 12px; border-radius: 8px; font-size: .98rem; }
  .hero .form-msg::after { display: none; }
}

/* speech-bubble tails: one drawn tail per bubble, cream fill over the bubble outline, ink on the two sides only */
.bubble::after { content: none; }
.bubble::before { content: ""; position: absolute; width: 2.4cqw; height: 1.9cqw; border: 0; background: no-repeat center / 100% 100%; transform: none; }
.bubble--dog::before { left: 4%; bottom: -1.55cqw; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32' preserveAspectRatio='none'%3E%3Cpath d='M16 -4 Q10 18 1 30 Q24 20 36 -4 Z' fill='%23f8ebdc'/%3E%3Cpath d='M16 3 Q10 18 1 30 Q24 20 33 4' fill='none' stroke='%2309080a' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
.bubble--app::before { right: 8%; bottom: -1.6cqw; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32' preserveAspectRatio='none'%3E%3Cpath d='M24 -4 Q30 18 39 30 Q16 20 4 -4 Z' fill='%23f8ebdc'/%3E%3Cpath d='M24 3 Q30 18 39 30 Q16 20 7 4' fill='none' stroke='%2309080a' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 760px) {
  .bubble::before { width: 26px; height: 20px; }
  .bubble--dog::before { bottom: -16px; left: 6%; }
  .bubble--app::before { bottom: -17px; right: 12%; }
}
.bubble--dog::before { left: 14%; top: 82%; bottom: auto; }
.bubble--app::before { right: 20%; left: auto; top: 84%; bottom: auto; }
@media (max-width: 760px) {
  .bubble::before { width: 24px; height: 19px; }
  .bubble--dog::before { left: 14%; top: 80%; bottom: auto; }
  .bubble--app::before { right: 22%; top: 85%; bottom: auto; }
}
@media (max-width: 760px) { .hero-frame > .bubble { position: relative; } }
@media (max-width: 760px) { .hero-frame > .bubble { left: auto; top: auto; right: auto; bottom: auto; } }

/* mobile: hamburger menu, and speech bubbles anchored to the characters */
.menu-btn { display: none; }
@media (max-width: 760px) {
  .hero-frame { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "logo sticker menu" "head head head" "scene scene scene" "url url url" "cta cta cta" "msg msg msg" "sub sub sub" "small small small"; column-gap: 10px; }
  .logo { font-size: clamp(1.35rem, 6.6vw, 1.75rem); }
  .logo .paw { width: 28px; height: 28px; }
  .hero-frame > picture > .sticker { width: 62px; height: 62px; }
  .hero-frame > .menu-btn { grid-area: menu; align-self: center; display: grid; align-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 10px; background: var(--cream); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 2px 3px 0 var(--ink); cursor: pointer; }
  .menu-btn span { display: block; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-frame > .nav { grid-area: auto; position: absolute; display: none; top: 76px; right: 16px; left: auto; z-index: 20; flex-direction: column; align-items: stretch; gap: 0; min-width: 210px; padding: 6px; background: var(--cream); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 5px 0 var(--ink); }
  .hero-frame > .nav.is-open { display: flex; }
  .nav a { color: var(--ink); text-shadow: none; font-size: 1.3rem; padding: 12px 14px; border-radius: 10px; }
  .nav a + a { border-top: 2px dashed rgba(9,8,10,.18); }
  .nav a:hover, .nav a:focus-visible { color: var(--ink); background: var(--mint); }

  /* bubbles sit in a band above the scene; tails point at the app's face and the dog's head */
  .hero-frame > picture > .scene { width: 100%; margin-left: 0; margin-top: min(calc((100vw - 32px) * .2), 110px); }
  .hero-frame > .bubble { aspect-ratio: auto; align-self: start; }
  .hero-frame > .bubble--app { justify-self: start; width: min(52%, 300px); height: min(calc((100vw - 32px) * .25), 120px); margin: 0; font-size: clamp(.85rem, 3.9vw, 1.1rem); padding: 0 10px; }
  .hero-frame > .bubble--dog { justify-self: end; width: min(27%, 150px); height: min(calc((100vw - 32px) * .15), 72px); margin: min(calc((100vw - 32px) * .05), 20px) 15% 0 0; font-size: clamp(1rem, 4.6vw, 1.25rem); }
  .bubble--app::before { left: 24%; right: auto; top: 86%; transform: scaleX(-1); }
  .bubble--dog::before { left: 10%; top: 82%; }
}
