/* Haunted Theme site. One stylesheet for the landing page and the methods page. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night: #150A2E;
  --night-2: #1E1042;
  --on-night: #F6F2FF;
  --on-night-soft: #CFC4EE;
  --lav: #D9C8FF;
  --paper: #FBF7F1;
  --lilac: #E9E0FB;
  --lilac-2: #DDD0F8;
  --orchid: #D3B8F8;
  --ink: #1E0F45;
  --ink-soft: #4A3D6E;
  --purple: #5B2BB8;
  --purple-2: #7B4FD6;
  --mint: #7CE8B5;
  --mint-2: #9AF0C8;
  --mint-ink: #10263A;
  --coral: #F4776B;
  --amber: #F2B45A;
  --amber-soft: #FBEFC9;
  --amber-ink: #6B4700;
  --line: rgb(30 15 69 / 0.14);

  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --margin: clamp(20px, 4.2vw, 68px);
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.nums { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--margin) * 2); margin-inline: auto; padding-inline: var(--margin); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.speed :focus-visible, .finds :focus-visible, .how :focus-visible, .money :focus-visible, .faq :focus-visible, .article :focus-visible { outline-color: var(--purple); }
::selection { background: var(--purple-2); color: #fff; }

.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.link:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; word-spacing: 0.08em; line-height: 0.98; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 5vw, 4.75rem); }
h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

.tag { display: inline-block; font: 600 1rem/1 var(--display); letter-spacing: -0.01em; background: var(--lilac-2); color: var(--ink); padding: 0.6em 1.1em; border-radius: 999px; margin-bottom: 1.1rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 800 1.0625rem/1 var(--display); letter-spacing: -0.02em; word-spacing: 0.08em; text-decoration: none; padding: 1.05em 1.5em; border-radius: 16px; border: 2px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.2s, box-shadow 0.25s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.mint { background: var(--mint); color: var(--mint-ink); }
.btn.mint:hover { background: var(--mint-2); }
.btn.big { font-size: clamp(1.25rem, 2vw, 1.75rem); padding: 0.95em 1.5em; border-radius: 22px; }
.btn.outline { border-color: var(--on-night); color: var(--on-night); padding: 0.8em 1.25em; }
.btn.outline:hover { background: var(--on-night); color: var(--night); }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: var(--purple); }

/* ---------- first screen ---------- */
.hero { position: relative; color: var(--on-night); background:
    radial-gradient(58rem 38rem at 74% 44%, rgb(124 58 237 / 0.5), transparent 68%),
    radial-gradient(40rem 26rem at 0% 100%, rgb(91 43 184 / 0.28), transparent 70%),
    var(--night); overflow: hidden; }
.nav { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 800 1.5rem/1 var(--display); letter-spacing: -0.03em; color: var(--on-night); margin-right: auto; }
.brand img { width: auto; height: 2.5rem; }
.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.5rem); }
.nav-links a { font: 600 1rem/1 var(--display); letter-spacing: -0.01em; text-decoration: none; color: var(--on-night); padding-block: 0.5rem; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.nav-links a:hover { border-color: var(--mint); }
.nav .narrow, .menu-btn { display: none; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; padding-top: clamp(1.5rem, 3.5vw, 3.5rem); padding-bottom: clamp(4rem, 8vw, 7.5rem); }
.hero h1 { font-size: clamp(3.1rem, 6.9vw, 6.75rem); line-height: 0.9; letter-spacing: -0.04em; color: #fff; }
.hero h1 span { display: block; }
.lede { font-size: clamp(1.125rem, 1.55vw, 1.4375rem); line-height: 1.4; color: var(--on-night-soft); max-width: 31em; margin-top: 1.5rem; }
.proof { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.75rem; }
.proof b { font: 800 clamp(3.5rem, 6.6vw, 6.25rem)/0.9 var(--display); letter-spacing: -0.05em; color: var(--lav); }
.proof p { font-size: 1.0625rem; line-height: 1.4; color: var(--on-night); max-width: 21em; padding-left: 1.25rem; border-left: 1px solid rgb(217 200 255 / 0.45); }
.proof .link { color: var(--lav); }
.hero-do { margin-top: 2rem; }
.assure { margin-top: 1rem; color: var(--on-night-soft); font-size: 1.0625rem; max-width: 26em; }
.assure li { display: inline; }
.assure svg { display: none; }
.p-note .narrow { display: none; }

.hero-say { padding-top: clamp(0.5rem, 3.2vw, 3rem); }
.hero-show { position: relative; }
.hero-art { position: absolute; right: -7%; bottom: -11%; width: 43%; pointer-events: none; filter: drop-shadow(0 30px 40px rgb(8 2 24 / 0.55)); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- the report panel (real findings from our test store) ---------- */
.panel { position: relative; background: linear-gradient(180deg, #FFFFFF, #F1EAFF); border-radius: 28px; padding: 14px; color: var(--ink); font-size: 15px; line-height: 1.35; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.5), 0 50px 120px rgb(124 58 237 / 0.5), 0 12px 32px rgb(8 2 24 / 0.5); display: grid; gap: 10px; }
.p-head { background: linear-gradient(155deg, #5B2BB8, #35147F); border-radius: 18px; padding: 20px 20px 16px; color: #fff; }
.p-kicker { font: 600 12px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.p-name { font: 800 2.5rem/1 var(--display); letter-spacing: -0.03em; margin-top: 6px; }
.p-meta { font-size: 14px; opacity: 0.9; margin-top: 4px; }
.p-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.p-tile { background: #fff; color: var(--ink); border-radius: 14px; border: 2px solid var(--amber); padding: 12px 16px 10px; }
.p-tile .k { display: flex; align-items: center; gap: 8px; font: 600 16px/1 var(--display); }
.p-tile .k svg { width: 20px; height: 20px; color: #C97A00; }
.p-tile b { display: block; font: 800 2.75rem/1 var(--display); letter-spacing: -0.04em; margin-top: 6px; }

.p-group { background: #fff; border: 1px solid #E3D9F6; border-radius: 14px; }
.p-sum { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; background: none; border: 0; text-align: left; cursor: pointer; border-radius: 14px; }
.p-sum .t { flex: 1; font: 600 16px/1.2 var(--display); letter-spacing: -0.01em; }
.p-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber-soft); color: #B86E00; flex: none; }
.p-ico svg { width: 18px; height: 18px; }
.p-sum .n, .p-approw .n { font: 600 14px/1 var(--body); background: var(--amber-soft); color: var(--amber-ink); padding: 5px 12px; border-radius: 999px; }
.chev { width: 20px; height: 20px; color: var(--ink-soft); transition: transform 0.3s var(--ease); transform: rotate(-90deg); flex: none; }
.p-group.is-open .chev { transform: none; }
.p-body { padding: 0 14px 12px; }
.js .p-group:not(.is-open) .p-body { display: none; }
.p-file { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #EEE7FA; }
.p-file code { flex: 1; min-width: 0; font: 400 13.5px/1.3 var(--mono); overflow-wrap: anywhere; }
.p-file code i { font-style: normal; color: #7A6E99; }
.p-app { font: 600 12.5px/1 var(--body); background: #E6DBFB; color: #44207E; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.p-note { font-size: 13.5px; color: var(--ink-soft); padding-top: 8px; border-top: 1px solid #EEE7FA; }
.p-code { font: 400 13px/1.4 var(--mono); background: #FDECEA; color: #8A1F14; padding: 8px 10px; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.p-err { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; overflow-wrap: anywhere; }
.p-apps { display: grid; gap: 8px; width: 60%; }
.p-approw { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #E3D9F6; border-radius: 12px; padding: 8px 14px 8px 10px; }
.p-approw .t { flex: 1; font: 600 16px/1.2 var(--display); letter-spacing: -0.01em; }
.p-cube { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(150deg, #8B5CF6, #5B2BB8); color: #fff; flex: none; }
.p-cube svg { width: 18px; height: 18px; }

/* ---------- what slow costs ---------- */
.speed { padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 5vw, 4.5rem); }
.speed-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; }
.speed-head img { width: clamp(96px, 12vw, 178px); margin-bottom: -1.25rem; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3.5rem); }
.figure { padding-inline: clamp(1rem, 2.6vw, 2.75rem); border-left: 1px solid var(--line); }
.figure:first-child { padding-left: 0; border-left: 0; }
.figure b { display: block; font: 800 clamp(3.25rem, 7.4vw, 7rem)/0.9 var(--display); letter-spacing: -0.055em; color: var(--ink); }
.figure p { margin-top: 0.9rem; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.4; max-width: 22em; }
.figure .link, .notes .link { color: var(--purple); }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); margin-top: clamp(2rem, 4vw, 3.25rem); padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 1rem; }
.notes strong { color: var(--ink); font-weight: 600; }

/* ---------- what it finds ---------- */
.finds { padding-inline: calc(var(--margin) / 2); }
.finds-in { max-width: calc(var(--max) + var(--margin)); margin-inline: auto; background: var(--lilac); border-radius: clamp(24px, 3vw, 44px); padding: clamp(2rem, 4.5vw, 4rem) calc(var(--margin) / 2) clamp(2rem, 4vw, 3.5rem); }
.tag { background: var(--lilac-2); }
.finds .tag { background: #D6C6F7; }
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.75rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.kind img { height: clamp(120px, 13vw, 190px); width: auto; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 18px 18px rgb(74 35 128 / 0.22)); transition: transform 0.5s var(--ease); }
.kind:hover img { transform: translateY(-6px) rotate(-2deg); }
.kind h3 { font-size: clamp(1.25rem, 1.75vw, 1.625rem); margin-top: 1.5rem; }
.kind p { margin-top: 0.6rem; color: var(--ink-soft); }
.kind .link, .finds-note .link { color: var(--purple); }
.swipe-hint { display: none; }
.finds-note { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem; border-top: 1px solid rgb(91 43 184 / 0.3); font-size: 1rem; color: var(--ink-soft); max-width: 62em; }

/* ---------- how cleanup works ---------- */
.how { background: var(--orchid); margin-top: clamp(3rem, 6vw, 5.5rem); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.how h2 { font-size: clamp(2.5rem, 7.2vw, 7.25rem); line-height: 0.92; letter-spacing: -0.045em; }
.how h2 span { display: block; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.5rem); margin-top: clamp(1.75rem, 3.5vw, 3rem); counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 0.9rem; }
.steps h3 { font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.75rem); letter-spacing: -0.03em; }
.steps h3::before { content: counter(step) ". "; color: var(--purple); }
.steps p { margin-top: 0.5rem; color: #33245C; }
.stage { display: grid; grid-template-columns: minmax(0, 0.56fr) minmax(60px, 0.22fr) minmax(0, 1fr); align-items: end; gap: clamp(0.75rem, 2vw, 2rem); margin: clamp(2rem, 4vw, 3.5rem) auto 0; max-width: 1080px; }
.stage figure img { width: 100%; filter: drop-shadow(0 26px 24px rgb(58 20 127 / 0.28)); }
.stage .live { max-width: 330px; justify-self: center; width: 100%; }
.stage .arrow { width: 100%; max-width: 150px; aspect-ratio: 3 / 1; color: var(--ink); align-self: center; justify-self: center; }
.stage figcaption { margin-top: 1rem; font-size: 1.0625rem; color: #33245C; }
.stage figcaption b { display: block; font: 800 1.375rem/1.1 var(--display); letter-spacing: -0.03em; color: var(--ink); }

/* ---------- pricing and the founder's note ---------- */
.money { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); padding-block: clamp(3.5rem, 7vw, 6.5rem); align-items: start; }
.plans { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(0.75rem, 1.5vw, 1.25rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.plan { border-radius: 28px; padding: clamp(1.5rem, 2.4vw, 2.25rem); display: flex; flex-direction: column; }
.plan.free { background: var(--lilac); }
.plan.pro { background: var(--night); color: var(--on-night); }
.plan h3 { font-size: 1.25rem; }
.plan .price { font: 800 clamp(3rem, 5vw, 4.75rem)/0.95 var(--display); letter-spacing: -0.05em; margin-top: 0.6rem; }
.plan .price small { font-size: 0.4em; letter-spacing: -0.02em; }
.plan .per { margin-top: 0.6rem; font-weight: 600; }
.plan.pro .per { color: var(--lav); }
.plan ul { margin: 1.25rem 0 1.75rem; display: grid; gap: 0.6rem; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; line-height: 1.4; }
.plan li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--purple); }
.plan.pro li svg { color: var(--mint); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.price-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); margin-top: 1.75rem; font-size: 1rem; color: var(--ink-soft); }
.price-notes .link { color: var(--purple); }

.letter { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 3.5rem); }
.letter h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); margin-bottom: 1.5rem; }
.letter p { font-size: 1.125rem; line-height: 1.55; }
.letter p + p { margin-top: 1rem; }
.letter mark { background: linear-gradient(transparent 58%, var(--mint) 58%); color: inherit; }
.letter .sign { font: 800 1.5rem/1 var(--display); letter-spacing: -0.03em; margin-top: 1.75rem; }
.letter .role { font-size: 1rem; color: var(--ink-soft); margin-top: 0.4rem; }
.letter .link { color: var(--purple); }

/* ---------- questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); padding-block: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid var(--line); align-items: start; }
.faq h2 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
.faq-head { position: sticky; top: 2rem; }
.faq-head p { margin-top: 1.25rem; color: var(--ink-soft); max-width: 22em; }
.faq-head .link { color: var(--purple); }
.faq-list { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.15rem 0; font: 600 clamp(1.125rem, 1.6vw, 1.375rem)/1.25 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--purple); border-bottom: 3px solid var(--purple); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--purple); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--ink-soft); max-width: 40em; }
.faq details .link { color: var(--purple); }

/* ---------- close and footer ---------- */
.close { background: radial-gradient(46rem 24rem at 82% 0%, rgb(124 58 237 / 0.42), transparent 70%), var(--night); color: var(--on-night); }
.close-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.close h2 { font-size: clamp(2.75rem, 7vw, 6.75rem); line-height: 0.92; letter-spacing: -0.045em; color: #fff; }
.close-do { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.close-do img { width: clamp(110px, 12vw, 180px); flex: none; animation: bob 6s ease-in-out infinite; }
.close-do p { margin-top: 1rem; color: var(--on-night-soft); max-width: 24em; font-size: 1rem; }
.foot { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; padding-block: 1.5rem 2rem; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 1rem; color: var(--on-night-soft); }
.foot .links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.foot .what { color: var(--on-night); font-weight: 600; }

/* ---------- entrances ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  [data-rise] { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art, .close-do img { animation: none; }
  .btn, .kind img, .chev { transition: none; }
}

/* ---------- the methods page ---------- */
.plain-nav { background: var(--night); color: var(--on-night); }
.article { max-width: calc(46rem + var(--margin) * 2); margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) var(--margin) clamp(3rem, 7vw, 6rem); }
.article h1 { font-size: clamp(2.25rem, 5.4vw, 4.25rem); margin: 1.25rem 0 2rem; }
.article p { margin-top: 1.1rem; }
.article .lead { font-size: 1.25rem; line-height: 1.5; }
.article .link { color: var(--purple); }
.article strong { font-weight: 600; }
.article .side { background: var(--lilac); border-radius: 28px; padding: 1.75rem 2rem; margin-bottom: 2rem; }
.article .side .fig { font: 800 clamp(3.5rem, 9vw, 6rem)/0.9 var(--display); letter-spacing: -0.055em; }
.article .side p { margin-top: 0.75rem; color: var(--ink-soft); }
.close.only-foot { background: var(--night); }

/* ---------- narrower screens ---------- */
@media (max-width: 1100px) {
  /* The header stays with the reader: mark, one button, the menu. */
  .hero .nav, .plain-nav .nav { position: fixed; inset: 0 0 auto 0; z-index: 30; max-width: none; padding-block: 0.7rem; gap: 0.6rem; background: rgb(21 10 46 / 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .hero, .plain-nav { padding-top: 4rem; }
  html { scroll-padding-top: 5rem; }
  .nav .btn.outline { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); padding: 0.7em 1.1em; font-size: 0.9375rem; border-radius: 12px; }
  .js .menu-btn { display: grid; gap: 5px; align-content: center; justify-items: center; width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; cursor: pointer; }
  .menu-btn span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--on-night); transition: transform 0.3s var(--ease), opacity 0.2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-links { display: none; }
  .menu-open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 100%); height: calc(100dvh - 100%); background: var(--night); padding: 1rem var(--margin) 2rem; overflow-y: auto; }
  .menu-open .nav-links a { font: 800 clamp(1.75rem, 8vw, 2.5rem)/1.1 var(--display); letter-spacing: -0.035em; padding-block: 1.1rem; border-bottom: 1px solid rgb(255 255 255 / 0.14); }
  .menu-open, .menu-open body { overflow: hidden; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-show { max-width: 680px; margin-top: 1rem; }
  .hero-grid { padding-bottom: clamp(5rem, 14vw, 8rem); }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .money { grid-template-columns: 1fr; }
  .letter { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 2.5rem; max-width: 44rem; }
  .faq { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq-head { position: static; }
  .close-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  /* The phone page is its own layout, not the desktop page in one column. */
  .brand { font-size: 1.1875rem; white-space: nowrap; gap: 0.45rem; }
  .brand img { height: 2rem; }
  .nav .wide { display: none; }
  .nav .narrow { display: inline; }
  h2 { font-size: clamp(2.4rem, 11.4vw, 3.25rem); line-height: 0.96; }

  /* first screen: headline, the money line, the button, and the art already rising at the bottom edge */
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 1.25rem; padding-bottom: 2.5rem; gap: 0; }
  .hero-say { padding-top: 0; }
  .hero h1 { font-size: clamp(2.75rem, 14.5vw, 4.75rem); }
  .lede { font-size: 1.125rem; margin-top: 1rem; }
  .lede .more { display: none; }
  .proof { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.25rem 0.9rem; margin-top: 1.25rem; padding: 0.9rem 1rem; border-radius: 20px; background: rgb(217 200 255 / 0.1); }
  .proof b { font-size: 3.25rem; }
  .proof p { padding-left: 0; border-left: 0; font-size: 1rem; line-height: 1.3; max-width: none; }
  .proof .src { display: block; margin-top: 0.4rem; font-size: 0.8125rem; line-height: 1.35; color: var(--on-night-soft); }
  .hero-do { margin-top: 1.25rem; }
  .hero-do .btn { width: 100%; font-size: 1.375rem; padding-block: 1.05em; border-radius: 20px; }
  .assure { display: grid; gap: 0.35rem; margin-top: 1rem; font-size: 1rem; max-width: none; }
  .assure li { display: flex; align-items: center; gap: 0.5rem; }
  .assure svg { display: block; width: 18px; height: 18px; color: var(--mint); flex: none; }
  .hero-show { margin-top: 0.5rem; display: flex; flex-direction: column; }
  .hero-art { position: relative; right: auto; bottom: auto; order: -1; width: 84%; margin: 0.25rem auto -1.6rem; z-index: 2; }
  .panel { border-radius: 22px; padding: 10px; }
  .p-head { padding: 18px 16px 14px; }
  .p-name { font-size: 2.25rem; }
  .p-tile { padding: 10px 12px 8px; }
  .p-tile b { font-size: 2.5rem; }
  .p-file { padding: 9px 0; }
  .p-file code { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .p-file .p-app { display: none; }
  .p-group + .p-group .p-file { flex-wrap: wrap; }
  .p-group + .p-group .p-file .p-app { display: inline-block; }
  .p-group + .p-group .p-file code { white-space: normal; overflow-wrap: anywhere; }
  .p-note .narrow { display: inline; }
  .p-apps { width: 100%; }

  /* what slow costs: three blocks of colour, one number each */
  .speed { padding-block: 3.25rem 2.5rem; }
  .speed-head { grid-template-columns: 1fr; position: relative; }
  .speed-head img { position: absolute; right: 0; top: -1.6rem; width: 82px; margin: 0; }
  .figs { grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.75rem; }
  .figure, .figure:first-child { border: 0; border-radius: 26px; padding: 1.4rem 1.4rem 1.5rem; }
  .figure b { font-size: clamp(4rem, 19vw, 5.25rem); }
  .figure p { font-size: 1.0625rem; margin-top: 0.75rem; max-width: none; }
  .figure:nth-child(1) { background: var(--night); color: var(--on-night); }
  .figure:nth-child(1) b { color: var(--lav); }
  .figure:nth-child(1) .link { color: var(--lav); }
  .figure:nth-child(2) { background: var(--lilac); }
  .figure:nth-child(3) { background: var(--orchid); }
  .figure:nth-child(3) .link { color: var(--ink); }
  .notes { grid-template-columns: 1fr; margin-top: 1.5rem; padding-top: 0; border-top: 0; gap: 0.75rem; }

  /* what it finds: cards the thumb swipes, the next one peeking in */
  .finds { padding-inline: 0; }
  .finds-in { border-radius: 32px; padding: 2.5rem var(--margin) 2.25rem; overflow: hidden; }
  .kinds { display: flex; gap: 0.75rem; margin: 1.5rem calc(var(--margin) * -1) 0; padding: 0 var(--margin) 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kinds::-webkit-scrollbar { display: none; }
  .js .kinds .kind[data-reveal] { opacity: 1; transform: none; }
  .kind { flex: 0 0 78%; scroll-snap-align: start; background: #fff; border-radius: 26px; padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
  .kind img { height: 132px; align-self: flex-start; }
  .kind h3 { font-size: 1.375rem; margin-top: 1.1rem; }
  .kind p { font-size: 1rem; }
  .swipe-hint { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; font: 600 0.9375rem/1 var(--display); color: var(--purple); }
  .swipe-hint svg { width: 44px; height: 14px; }
  .dots { display: flex; gap: 6px; margin-left: auto; }
  .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(91 43 184 / 0.28); transition: width 0.3s var(--ease), background-color 0.2s; }
  .dots i.on { width: 22px; border-radius: 4px; background: var(--purple); }
  .finds-note { margin-top: 1.5rem; }

  /* how cleanup works: the two themes side by side, then the steps as a line to follow */
  .how { margin-top: 2.5rem; padding-block: 3rem 2.75rem; }
  .how .wrap { display: flex; flex-direction: column; }
  .how h2 { font-size: clamp(2rem, 9.5vw, 2.9rem); }
  .how h2 span { text-wrap: balance; }
  .stage { order: 2; grid-template-columns: minmax(0, 0.72fr) 34px minmax(0, 1fr); align-items: end; justify-items: stretch; gap: 0.4rem; margin-top: 2rem; }
  .stage .live { max-width: none; }
  .stage .arrow { max-width: none; margin: 0 0 3.5rem; align-self: end; transform: none; }
  .stage figcaption { font-size: 0.875rem; line-height: 1.3; margin-top: 0.6rem; text-align: left; }
  .stage figcaption b { font-size: 1rem; }
  .steps { order: 3; grid-template-columns: 1fr; gap: 0; margin-top: 2rem; }
  .steps li { position: relative; border-top: 0; padding: 0 0 1.4rem 3.5rem; }
  .steps li::before { content: counter(step); position: absolute; left: 0; top: -0.2rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 1.125rem/1 var(--display); }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.25rem - 1.5px); top: 2.5rem; bottom: 0.2rem; width: 3px; border-radius: 2px; background: rgb(30 15 69 / 0.25); }
  .steps li:last-child { padding-bottom: 0; }
  .steps h3 { font-size: 1.375rem; }
  .steps h3::before { content: none; }
  .steps p { font-size: 1rem; }

  /* pricing, the note, questions */
  .money { padding-block: 3.25rem; gap: 2.5rem; }
  .plans { grid-template-columns: 1fr; gap: 0.75rem; }
  .plan { padding: 1.5rem; }
  .plan .price { font-size: 4rem; }
  .plan ul { margin: 1rem 0 1.5rem; }
  .plan .btn { align-self: stretch; font-size: 1.1875rem; }
  .price-notes { grid-template-columns: 1fr; }
  .letter { background: #fff; border: 0; border-radius: 28px; padding: 1.75rem 1.5rem 2rem; }
  .letter h2 { font-size: 2.1rem; margin-bottom: 1.1rem; }
  .letter p { font-size: 1.0625rem; }
  .faq { padding-block: 3rem; }
  .faq summary { font-size: 1.1875rem; padding: 1.2rem 0; }
  .faq details p { padding-right: 0; }

  /* the close: the ghost, the sentence, the button */
  .close-in { text-align: center; justify-items: center; padding-block: 3rem; gap: 1.25rem; }
  .close h2 { font-size: clamp(2.75rem, 14.5vw, 4.75rem); }
  .close-in::before { content: ""; width: 46%; max-width: 210px; aspect-ratio: 484 / 560; background: url("../img/ghost-wave.webp") center / contain no-repeat; animation: bob 6s ease-in-out infinite; }
  .close-do { flex-direction: column; align-items: stretch; width: 100%; gap: 1rem; }
  .close-do img { display: none; }
  .close-do .btn { width: 100%; font-size: 1.375rem; padding-block: 1.05em; }
  .close-do p { margin-inline: auto; }
  .foot { flex-direction: column; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .close-in::before { animation: none; }
}
