@font-face { font-family: "Dela Gothic One"; src: url("/assets/fonts/dela-gothic-one.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Open Sauce Sans"; src: url("/assets/fonts/open-sauce-sans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sauce Sans"; src: url("/assets/fonts/open-sauce-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Open Sauce Sans"; src: url("/assets/fonts/open-sauce-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sauce Sans"; src: url("/assets/fonts/open-sauce-sans-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
/* Clean House — "a day in a tidy house".
   The page colour follows the day: body[data-tone] is set by whichever section is in view,
   and every colour eases over 0.9s, the same trick CrushPaper uses. */
:root {
  --display: "Dela Gothic One", "Open Sauce Sans", system-ui, sans-serif;
  --body: "Open Sauce Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sub: "Open Sauce Sans", system-ui, sans-serif;
  --honey: #FFC94D;
  --honey-2: #F2A93B;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, .7, .4, 1.4);
  --wrap: 1480px;
}
body[data-tone="morning"]   { --bg: #F7EBDD; --soft: #B8561E; --muted: #66574A; --line: rgba(60,36,20,.12); --card: rgba(255,250,243,.7); --accent: #8E4316; }
body[data-tone="noon"]      { --bg: #F5FAFD; --soft: #6A93AD; --muted: #5A7184; --line: rgba(15,36,51,.10); --card: #FFFFFF;             --accent: #1F6A96; }
body[data-tone="afternoon"] { --bg: #FFF3DC; --soft: #C2822F; --muted: #76664F; --line: rgba(42,30,16,.12); --card: rgba(255,255,255,.7); --accent: #84560F; }
body[data-tone="evening"]   { --bg: #E6E4F4; --soft: #5B58A8; --muted: #4A5470; --line: rgba(30,30,70,.12); --card: rgba(255,255,255,.7); --accent: #4A3F96; }
body[data-tone="night"]     { --bg: #C9CDE8; --soft: #4A5499; --muted: #3C4664; --line: rgba(20,25,60,.14); --card: rgba(255,255,255,.72); --accent: #3F4A8C; }
body[data-tone="midnight"]  { --bg: #AFB6DC; --soft: #3A4590; --muted: #333C5C; --line: rgba(20,25,60,.16); --card: rgba(255,255,255,.7); --accent: #34407F; }
:root { --ink: #0F2433; }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .9s ease, color .9s ease;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(28px, 4vw, 64px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #000; color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type */
h1, h2 { font-family: var(--display); font-weight: 400; }
.brand { font-family: var(--sub); font-weight: 700; }
h3 { font-family: var(--display); }
h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.06; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -0.005em; }
h3 { font-size: 21px; font-weight: 400; line-height: 1.2; letter-spacing: 0; }
.soft { color: var(--soft); transition: color .9s ease; }
.eyebrow { font: 600 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 30em; margin-top: 26px; transition: color .9s; }
.sub { font-size: 19px; color: var(--muted); max-width: 32em; margin-top: 20px; transition: color .9s; }
.fine { font-size: 14px; color: var(--muted); margin-top: 28px; }
.mark { position: relative; white-space: nowrap; }
.mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1; border-radius: 6px; background: var(--honey); opacity: .55; transform: scaleX(1); transform-origin: left; transition: transform 1s var(--ease) .3s; }
.js .mark::after { transform: scaleX(0); }
.reveal.in .mark::after, .in .mark::after { transform: scaleX(1); }

/* Nav */
.nav {
  position: sticky; top: 12px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  max-width: calc(var(--wrap) - 2 * clamp(28px, 4vw, 64px) + 32px); margin: 12px auto 0; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--line);
  transition: background-color .9s ease, border-color .9s ease;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
/* App icon as a lit window into the house */
.brand img, .shot-cap img, .final-icon { border-radius: 22.5%; box-shadow: 0 0 0 2px #FFF6E4, 0 0 0 3px rgba(60,40,20,.14), 0 3px 12px rgba(255,170,70,.45), 0 0 22px rgba(255,200,120,.3); }
.final-icon { box-shadow: 0 0 0 3px #FFF6E4, 0 0 0 4px rgba(60,40,20,.14), 0 10px 34px rgba(255,160,60,.45), 0 0 60px rgba(255,200,120,.35); }
.brand img { width: 28px; height: 28px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav nav a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--honey); color: #241603;
  font: 700 16px var(--body); padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(214, 150, 20, .75), inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .2s var(--spring);
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* Terminal install chip */
.hero-copy, .hero-art { min-width: 0; }
.term { margin-top: 22px; max-width: 520px; width: 100%; }
.term-label { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.term-label a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.cmd { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px;
  padding: 12px 12px 12px 16px; border-radius: 14px; background: #0F1B2A; color: #DCE8F2;
  box-shadow: 0 14px 30px -18px rgba(15, 27, 42, .7), inset 0 1px 0 rgba(255,255,255,.06); transition: transform .2s var(--spring); }
.cmd:hover { transform: translateY(-1px); }
.cmd:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cmd .prompt { color: #6FD3A0; font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.cmd code { flex: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; scrollbar-width: none; font: 500 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd .copy-label { flex: none; font: 600 12.5px var(--body); padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; transition: background-color .2s; }
.cmd.copied .copy-label { background: #2FA56F; }
.final-term { width: 100%; max-width: 520px; margin: 22px auto 0; }

/* Sections */
section { position: relative; padding: 150px 0; }

/* Hero */
.hero { padding: 56px 0 140px; overflow: hidden; }
.clouds i { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0)); animation: drift 46s ease-in-out infinite alternate; pointer-events: none; }
.clouds i:nth-child(1) { width: 620px; height: 200px; top: 40px; left: -160px; }
.clouds i:nth-child(2) { width: 760px; height: 240px; top: 300px; right: -260px; animation-duration: 60s; }
.clouds i:nth-child(3) { width: 480px; height: 160px; bottom: 30px; left: 30%; opacity: .7; animation-duration: 52s; }
@keyframes drift { to { transform: translateX(70px); } }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.cta-row { margin-top: 36px; }
.trust { margin-top: 26px; font-size: 14.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.up { animation: up .9s var(--ease) both; animation-delay: calc(var(--d) * 110ms + 80ms); }
.lines .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lines .ln > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; animation-delay: calc(var(--d) * 120ms); }
@keyframes lineUp { from { transform: translateY(105%) rotate(2deg); } to { transform: none; } }
.trust { list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }
.trust svg { width: 16px; height: 16px; fill: none; stroke: #2FA56F; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; animation: draw .6s var(--ease) forwards; }
.trust li:nth-child(1) svg { animation-delay: 1s; } .trust li:nth-child(2) svg { animation-delay: 1.15s; } .trust li:nth-child(3) svg { animation-delay: 1.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.hero .cta-row .btn::after { animation: sheen 1.1s var(--ease) 1.6s; }
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Why (noon) */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.why-head { position: sticky; top: 120px; }
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.facts .k { font: 800 21px var(--display); letter-spacing: -0.015em; }
.facts .v { color: var(--muted); font-size: 17px; }
.js .facts li.reveal { transform: translateX(-18px); }
.js .facts li.reveal.in { transform: none; }
.facts li:nth-child(2) { transition-delay: .06s; } .facts li:nth-child(3) { transition-delay: .12s; }
.facts li:nth-child(4) { transition-delay: .18s; } .facts li:nth-child(5) { transition-delay: .24s; } .facts li:nth-child(6) { transition-delay: .3s; }

/* Safety (afternoon) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.steps li { padding: 32px 32px 8px 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps .n { display: block; font: 800 15px var(--display); color: var(--accent); margin-bottom: 40px; letter-spacing: .02em; }
.steps p { color: var(--muted); margin-top: 10px; font-size: 16px; max-width: 22em; }

/* Rooms (evening) */
.room-list { margin-top: 72px; display: grid; gap: 120px; }
.room { display: grid; grid-template-columns: 1.55fr 1fr; gap: 64px; align-items: center; }
.room.flip { grid-template-columns: 1fr 1.55fr; }
.room.flip .room-img { order: 2; }
.room-img { border-radius: 22px; overflow: hidden; aspect-ratio: 1600 / 974; background: #E7DCC8;
  box-shadow: 0 60px 110px -50px rgba(16, 60, 95, .5), 0 18px 36px -22px rgba(16, 60, 95, .25);
  }
.js .room-img { clip-path: inset(8% 8% 8% 8% round 22px); transition: clip-path 1.2s var(--ease); }
.room-img img { width: 100%; transform: scale(1.12) translateY(var(--py, 0px)); transition: transform 1.4s var(--ease); will-change: transform; }
.js .room-img.in { clip-path: inset(0 0 0 0 round 22px); }
.room-img.in img { transform: scale(1.02) translateY(var(--py, 0px)); }
.room-copy .n { display: block; font: 800 15px var(--display); color: var(--accent); margin-bottom: 18px; }
.room-copy h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: 0; font-weight: 400; }
.room-copy h3 .soft { display: block; }
.room-copy p { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 24em; }

/* Compare + FAQ (night) */
.table-wrap { margin-top: 56px; overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15.5px; }
th, td { text-align: left; padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
tbody th { font-weight: 600; width: 28%; }
td { color: var(--muted); }
.us { color: var(--ink); font-weight: 650; }
thead th.us { color: var(--accent); }
.faq { padding-top: 40px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 700 18px var(--display); letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px var(--body); color: var(--muted); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 40px 24px 0; max-width: 38em; }

/* Final (midnight) */
.final { padding: 170px 0 180px; overflow: hidden; text-align: center; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-icon { width: 104px; height: 104px; margin-bottom: 32px; }
.final h2 { margin-bottom: 36px; }
.meta { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Footer */
.footer { padding: 40px 0 36px; font-size: 14.5px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; color: var(--muted); }
.footer nav a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: 13px; color: var(--muted); }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(92vw, 460px); line-height: 1.45; z-index: 60; padding: 14px 20px; border-radius: 14px; background: #10172b; color: #fff; font-size: 14.5px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); }


/* Problem strip */
.problem { padding: 72px 0 64px; }
.problem h2 { font-size: clamp(26px, 3.2vw, 40px); }
.problem-list { list-style: none; margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-list li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 600; line-height: 1.35; }
.pi { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #FFE3A3; color: #5B3A00; font: 400 17px var(--display); }
.problem-list li:nth-child(2) { transition-delay: .08s; } .problem-list li:nth-child(3) { transition-delay: .16s; }

/* Why? card, before/after, verdict stamps */
.why-main { min-width: 0; }
.ba { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 20px; align-items: stretch; }
.ba-tag { font: 700 12.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ba-tag-after { color: #14587C; } .ba-tag span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.ba-before { padding: 22px; border-radius: 18px; border: 1px dashed var(--line); background: rgba(255,255,255,.5); }
.ba-before .ba-tag { margin-bottom: 14px; }
.bare { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; background: #0F1B2A; color: #DCE8F2; font: 500 13px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.bare b { font-weight: 600; color: #FFD27A; }
.ba-before p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.why-card { position: relative; padding: 24px 24px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(16, 60, 95, .45), 0 10px 24px -16px rgba(16, 60, 95, .2); }
.why-card h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-size: 20px; overflow-wrap: anywhere; }
.why-card .sz { font: 600 15px var(--body); color: var(--muted); }
.why-card dl { margin-top: 14px; border-top: 1px solid var(--line); }
.why-card dl > div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.why-card dt { font-weight: 700; color: var(--ink); }
.why-card dd { color: var(--muted); }
.verdict { margin-top: 18px; min-height: 52px; }
.stamp-mark { display: inline-block; font: 400 17px var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 7px 14px 6px; border: 3px solid currentColor; border-radius: 10px; transform: rotate(-4deg); background: rgba(255,255,255,.7); }
.stamp-safe { color: #17653F; } .stamp-look { color: #7A4F00; } .stamp-keep { color: #1A5F87; }
.stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stamp { padding: 20px 18px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.stamp p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.stamp .stamp-mark { font-size: 15px; }
.js .stamp-mark { opacity: 0; }
.js .in .stamp-mark, .js .why-card.in .stamp-mark { opacity: 1; animation: stampIn .55s var(--spring) both; animation-delay: calc(var(--i, 0) * .4s + .35s); }
@keyframes stampIn { from { opacity: 0; transform: rotate(-4deg) scale(1.9); } to { opacity: 1; transform: rotate(-4deg) scale(1); } }
.why-main .facts { margin-top: 36px; }

/* Loose files */
.loose { padding: 40px 0 120px; }
.loose-list { list-style: none; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loose-list li { padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.loose-list p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.loose-list li:nth-child(2) { transition-delay: .08s; } .loose-list li:nth-child(3) { transition-delay: .16s; }

/* Image slots for screenshots still to come */
.slot-ph { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; text-align: center; padding: 20px; border: 2px dashed var(--line); border-radius: inherit; color: var(--muted); font-size: 15px; font-weight: 600; }
.room-img.slot { background: rgba(255,255,255,.55); box-shadow: none; }
.room-note { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }

/* Trust list */
.trust-list { list-style: none; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-list li { padding: 11px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 16px; }

/* Hearth at night */
.hearth { padding: 40px 0 60px; }
.hearth-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: #121B2B; color: #F6E9D2; }
.hearth-panel::before { content: ""; position: absolute; inset: auto -10% -45% 20%; height: 90%; background: radial-gradient(closest-side, rgba(255,150,50,.38), rgba(255,150,50,0)); animation: flicker 3.4s ease-in-out infinite alternate; pointer-events: none; }
@keyframes flicker { from { opacity: .7; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
.hearth-copy, .hearth-slot { position: relative; }
.hearth-eyebrow { font: 600 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: #FFC77A; margin-bottom: 18px; }
.hearth h2 { font-size: clamp(26px, 3.4vw, 44px); }
.hearth-copy p:last-child { margin-top: 18px; color: #E4D3B6; max-width: 28em; }
.hearth-slot .slot-ph { border-color: rgba(246,233,210,.35); color: #E4D3B6; min-height: 220px; border-radius: 16px; }

/* Mobile menu and send-link */
.menu, .send-link { display: none; }
.send-link { margin-top: 14px; font-weight: 600; font-size: 15.5px; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.menu summary { padding: 8px 14px; font: 600 14px var(--body); letter-spacing: 0; border: 1px solid var(--line); border-radius: 999px; }
.menu summary::after { content: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; padding: 8px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(16,60,95,.4); }
.menu-panel a { padding: 14px 16px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.menu-panel a:hover { background: var(--card); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3) { transition-delay: .2s; }

@media (max-width: 960px) {
  .nav { margin: 12px 12px 0; }
  .hero { padding: 80px 0 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 64px; }
  .why-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-head { position: static; }
  .hearth-panel { grid-template-columns: 1fr; }
  .problem-list, .loose-list { grid-template-columns: 1fr; }
  .room, .room.flip { grid-template-columns: 1fr; gap: 28px; }
  .room.flip .room-img { order: 0; }
  .room-list { gap: 80px; margin-top: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav > a:not(.btn) { display: none; }
  .menu { display: block; }
  .send-link { display: inline-block; }
  .nav nav { gap: 10px; }
  .nav .brand { white-space: nowrap; font-size: 16px; gap: 8px; }
  .nav { padding-left: 12px; }
  .problem-list, .loose-list, .stamps, .ba { grid-template-columns: 1fr; }
  .hearth-panel { grid-template-columns: 1fr; }
  .why-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .wrap { padding: 0 20px; }
  section { padding: 100px 0; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .facts li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .room-img { border-radius: 16px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps .n { margin-bottom: 14px; }
  details p { padding-right: 0; }
  .final { padding: 120px 0 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .facts li.reveal { opacity: 1; transform: none; }
  .js .stamp-mark { opacity: 1; transform: rotate(-4deg); }
  .trust svg { stroke-dashoffset: 0; }
  .js .room-img { clip-path: none; }
  .room-img img { transform: none; }
  .js .mark::after { transform: scaleX(1); }
}

.house-line { margin-top: 12px; max-width: 30em; font: 600 clamp(17px, 1.5vw, 20px)/1.45 var(--body); color: var(--accent); }
.room-copy .seen { color: var(--ink); font-weight: 600; font-size: 19px; margin-top: 14px; max-width: 22em; }
.room-copy .seen + p { margin-top: 10px; }
.rooms .sub { max-width: 34em; }
.rooms { background: linear-gradient(180deg, transparent, rgba(150,140,210,.12)); }
.final { background: linear-gradient(180deg, transparent, rgba(40,45,100,.14) 55%, transparent); }

/* Dollhouse hero: copy above the roof, then a sticky cut-away that zooms room by room */
.hero { padding: 44px 0 28px; overflow: clip; }
.hero-grid { grid-template-columns: 1.15fr .85fr; gap: 12px 56px; align-items: end; }
.hero-act .lede { margin-top: 0; }
.hero-act .cta-row { margin-top: 20px; }
.hero-act .trust { margin-top: 18px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.story { padding: 0 0 80px; }
.story .term { margin-top: 40px; }
.house-stage { position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; padding: 8px 0 0; }
.house-frame { position: relative; width: min(100%, 1500px, calc((100svh - 24px) * 1.512)); aspect-ratio: 1600 / 1058; transform-origin: 0 0; border-bottom: 6px solid var(--accent); transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s, 1)); will-change: transform; }
.house-video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px 14px 0 0; }
.stops { list-style: none; margin: 18px auto 0; padding: 0 clamp(20px, 4vw, 64px); max-width: 720px; display: grid; gap: 12px; }
.stops li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.stops h2 { font-size: 22px; line-height: 1.2; }
.stops p { color: var(--muted); font-size: 16px; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .js:not(.tour-seen) .house-track { height: 340vh; }
  .js:not(.tour-seen) .house-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .js:not(.tour-seen) .stops { position: absolute; inset: 0; margin: 0; padding: 0; max-width: none; display: block; pointer-events: none; }
  .js:not(.tour-seen) .stops li { position: absolute; left: clamp(20px, 4vw, 64px); top: 50%; width: min(300px, 38vw); opacity: 0; transform: translateY(-46%); transition: opacity .5s var(--ease), transform .6s var(--ease); background: var(--card); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -22px rgba(16,40,70,.5); }
  .js:not(.tour-seen) .stops li.on { opacity: 1; transform: translateY(-50%); }
}
@media (max-width: 960px) {
  .hero { padding: 76px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-act .cta-row { margin-top: 16px; }
}
@media (max-width: 640px) {
  .hero { padding: 68px 0 12px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .house-video { border-radius: 8px 8px 0 0; }
  .story { padding-bottom: 56px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .js:not(.tour-seen) .house-stage { align-items: flex-start; }
  .js:not(.tour-seen) .stops li { left: 16px; right: 16px; width: auto; top: auto; bottom: 18px; transform: translateY(10px); }
  .js:not(.tour-seen) .stops li.on { transform: none; }
}

/* Hero punch: two-tone headline with a hand-drawn swoosh under the second line. */
.punch .pop { color: #C2561A; position: relative; display: inline-block; }
.punch .pop::after {
  content: ""; position: absolute; left: -2%; right: -4%; bottom: -.12em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14 Q120 4 220 10 T396 6' fill='none' stroke='%23F6A56E' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left; transform: scaleX(1);
}
.js .punch .pop::after { transform: scaleX(0); animation: swoosh .9s .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes swoosh { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .js .punch .pop::after { animation: none; transform: scaleX(1); } }

/* The painted house (rendered from the app), day picture with the night one fading in as the page darkens. */
.house-frame { position: relative; aspect-ratio: 1600 / 1024; }
.house-img { display: block; width: 100%; height: auto; }
.house-img.night { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
body[data-tone="evening"] .house-img.night { opacity: .6; }
body[data-tone="night"] .house-img.night, body[data-tone="midnight"] .house-img.night { opacity: 1; }

/* Hero, centred like a front door: warm cream sky, headline over the roof, the house rising into the first screen. */
.hero { padding: 40px 0 0; text-align: center;
  background: radial-gradient(60% 55% at 50% 100%, rgba(255,196,128,.45), transparent 70%), linear-gradient(#F7EBDD, #F4E1CB); }
.hero-grid { grid-template-columns: 1fr; justify-items: center; gap: 0; max-width: 860px; margin-inline: auto; }
.hero-copy, .hero-act { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(44px, 8.4vw, 108px); line-height: .98; max-width: none; }
.hero h1 .ln, .punch .pop { white-space: nowrap; }
.hero .house-line { max-width: 34ch; margin: 22px auto 0; font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); }
.hero-act .cta-row { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-act .trust { justify-content: center; }
.hero .clouds { display: none; }
.story { background: linear-gradient(#F4E1CB, transparent 30%); margin-top: -2px; }
.house-stage { padding-top: 0; }
@media (max-width: 640px) { .hero-act .cta-row .btn { width: 100%; } }

/* NIGHT HERO — the logo's own night: indigo sky, a moon, amber window light, fireflies round the house. */
.hero { background:
  radial-gradient(28vmax 28vmax at 82% 8%, rgba(255,232,190,.16), transparent 60%),
  radial-gradient(1.4px 1.4px at 12% 22%, #fff8 50%, transparent 51%), radial-gradient(1.2px 1.2px at 27% 9%, #fff7 50%, transparent 51%),
  radial-gradient(1.6px 1.6px at 44% 30%, #fff6 50%, transparent 51%), radial-gradient(1.2px 1.2px at 63% 14%, #fff8 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 76% 34%, #fff6 50%, transparent 51%), radial-gradient(1.2px 1.2px at 91% 20%, #fff7 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 6% 48%, #fff5 50%, transparent 51%), radial-gradient(1.4px 1.4px at 95% 52%, #fff5 50%, transparent 51%),
  linear-gradient(#141230, #231C47 45%, #1C1A44 72%, #071028); color: #F4ECFF; position: relative; }
.hero::before { content: ""; position: absolute; top: 56px; right: 9%; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #FFF6E2, #F4DDAE 70%); box-shadow: 0 0 60px 18px rgba(255,226,170,.22); }
.hero h1, .hero h1 span { color: #F6EEFF; }
.hero .punch .pop { color: #FFB65C; }
.hero .eyebrow { color: #B9AFDF; }
.hero .house-line, .hero .trust, .hero .trust li { color: #D3CBEE; }
.hero .trust svg path { stroke: #FFB65C; }
.hero .send-link { color: #F6EEFF; border-color: #F6EEFF66; }
.story { background: linear-gradient(#2E2458, #241D47 70%, #F7EBDD); margin-top: 0; }
.story .house-img.night { opacity: 1 !important; }
.story .stops li { background: rgba(28,22,58,.82); color: #EDE6FF; border: 1px solid rgba(255,190,110,.25); backdrop-filter: blur(8px); }
.story .stops li h2 { color: #FFC37A; }
.story .stops li p { color: #D3CBEE; }
.nav, .nav.scrolled { background: rgba(24,19,52,.78) !important; border-color: rgba(255,255,255,.14) !important; backdrop-filter: blur(14px); }
.nav, .nav a, .nav .brand { color: #F4ECFF; }

/* Fireflies: slow warm dots that wander and pulse; still and faint with reduced motion. */
.fireflies { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.fireflies i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #FFD27A;
  box-shadow: 0 0 10px 3px rgba(255,200,110,.55); opacity: 0; animation: fly 9s ease-in-out infinite, glow 3.2s ease-in-out infinite; }
.fireflies i:nth-child(1){left:8%;top:62%;animation-delay:0s,.4s} .fireflies i:nth-child(2){left:16%;top:80%;animation-delay:-2s,1.1s}
.fireflies i:nth-child(3){left:24%;top:55%;animation-delay:-4s,2s} .fireflies i:nth-child(4){left:33%;top:88%;animation-delay:-6s,.7s}
.fireflies i:nth-child(5){left:47%;top:70%;animation-delay:-1s,1.6s} .fireflies i:nth-child(6){left:58%;top:84%;animation-delay:-3s,.2s}
.fireflies i:nth-child(7){left:66%;top:60%;animation-delay:-5s,2.4s} .fireflies i:nth-child(8){left:74%;top:78%;animation-delay:-7s,1.3s}
.fireflies i:nth-child(9){left:83%;top:66%;animation-delay:-2.5s,.9s} .fireflies i:nth-child(10){left:91%;top:86%;animation-delay:-4.5s,1.9s}
.fireflies i:nth-child(11){left:12%;top:40%;animation-delay:-6.5s,.5s} .fireflies i:nth-child(12){left:88%;top:42%;animation-delay:-1.5s,2.2s}
.fireflies i:nth-child(13){left:38%;top:48%;animation-delay:-3.5s,1.4s} .fireflies i:nth-child(14){left:62%;top:44%;animation-delay:-5.5s,.1s}
@keyframes fly { 0%,100% { transform: translate(0,0); } 25% { transform: translate(22px,-18px); } 50% { transform: translate(-10px,-34px); } 75% { transform: translate(-26px,-8px); } }
@keyframes glow { 0%,100% { opacity: .15; } 50% { opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .fireflies i { animation: none; opacity: .5; } }

/* Night hero fixes: sky runs up under the floating nav, the nav button keeps dark text, the moon stays clear of the headline. */
.hero { margin-top: -140px; padding-top: 180px; }
.nav .btn, .nav a.btn { color: #1E1606 !important; }
.hero .wrap { position: relative; z-index: 1; }
.hero::before { z-index: 0; top: 150px; }
@media (max-width: 900px) { .hero::before { width: 40px; height: 40px; top: 176px; right: 6%; } }
html { background: #141230; }

/* Colour pass: readable nav links, moon clear of the nav, and one long sky from night through dawn into the cream page. */
.nav nav a:not(.btn) { color: #ECE6FF !important; opacity: 1; }
.nav nav a:not(.btn):hover { color: #FFC37A !important; }
.hero::before { top: 240px; right: 11%; }
@media (max-width: 900px) { .hero::before { top: 186px; right: 6%; } }
.story { background: linear-gradient(#2E2458 0%, #2A2152 45%, #3E2C63 62%, #6E4877 74%, #B97C80 84%, #EBB892 92%, #F7EBDD 100%) !important; }
body { transition: background-color 1.4s ease; }

/* One warm palette after the night: every section shares the cream of a lit house, so nothing flips colour mid-scroll. */
body[data-tone] { --bg: #F7EBDD; --soft: #B8561E; --muted: #66574A; --line: rgba(60,36,20,.12); --card: rgba(255,250,243,.75); --accent: #8E4316; }
/* The house section: night holds while the house is on screen, then a long dawn below the lawn into the cream. */
.story { background: linear-gradient(#2E2458 0%, #241D47 62%, #1A211D 70%, #2B2A2C 76%, #6B4A4E 83%, #C98F78 90%, #EFCDAE 95%, #F7EBDD 100%) !important; padding-bottom: 120px; }
/* Real window screenshots: no card behind them, just the window's own shadow. */
.room-img { background: transparent !important; aspect-ratio: auto !important; border-radius: 0; overflow: visible; }
.js .room-img { clip-path: none; }
.room-img img { transform: none !important; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(60,36,20,.18)); }
/* Nav: dark glass over the night, warm light glass over the cream. */
.nav.on-light { background: rgba(255,248,238,.82) !important; border-color: rgba(60,36,20,.12) !important; }
.nav.on-light nav a:not(.btn), .nav.on-light .brand, .nav.on-light summary { color: #2A1D12 !important; }
.nav.on-light nav a:not(.btn):hover { color: #B8561E !important; }

/* Smooth hand-off below the house: no ground stripe, the lawn melts into the night, then a long dawn into cream. */
.house-frame { border-bottom: 0 !important; -webkit-mask-image: linear-gradient(#000 80%, transparent 99%); mask-image: linear-gradient(#000 80%, transparent 99%); }
.house-track { background: linear-gradient(#2E2458, #241D47 85%, #241D47); }
.story { background: linear-gradient(to top, #F7EBDD 0, #F7EBDD 120px, #F0D3B6 260px, #D39C80 400px, #7A5160 520px, #3A2B52 610px, #241D47 680px) !important; padding-bottom: 140px; }
.story .term { padding-top: 260px; }
/* Phones: the hero already has the big Download button, so the nav keeps only the name and the menu. */
@media (max-width: 560px) { .nav .btn-small { display: none; } }
.house-frame { aspect-ratio: 1820 / 785 !important; }

/* ===== Cat guide ===== */
.cat-guide { position: fixed; left: 14px; bottom: 10px; z-index: 40; width: 110px; height: 110px; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cat-guide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .2s linear; user-select: none; pointer-events: none; }
.cat-guide img.on { opacity: 1; }
.cat-bubble { position: absolute; left: 70px; bottom: 92px; width: max-content; max-width: 200px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: #FFFAEB; color: #3A2A14; border: 1px solid rgba(60,36,20,.2); font: 600 13px/1.35 var(--body); box-shadow: 0 6px 18px rgba(40,25,10,.18); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.cat-guide.talk .cat-bubble { opacity: 1; transform: none; }
.cat-guide.bounce { animation: cat-bounce .45s var(--spring, ease-out); }
@keyframes cat-bounce { 0%,100% { transform: translateY(0); } 35% { transform: translateY(-14px) scale(1.04); } 70% { transform: translateY(0) scale(.98); } }
/* Phones: a smaller cat in the corner, and its bubble stays inside the screen. */
@media (max-width: 599px) {
  .cat-guide { width: 68px; height: 68px; left: 6px; bottom: max(6px, env(safe-area-inset-bottom)); }
  .cat-bubble { left: 46px; bottom: 58px; max-width: min(210px, calc(100vw - 70px)); font-size: 12.5px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) { .cat-guide img, .cat-bubble { transition: none; } .cat-guide.bounce { animation: none; } }

/* ===== Crate demo ===== */
.crate-demo { margin-top: 28px; padding: 22px 22px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.demo-intro { font-size: 18px; margin-bottom: 10px; }
.ticked-pill { display: inline-block; min-height: 0; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; background: var(--honey, #FFC94D); color: #3A2400; font-weight: 700; font-size: 15px; }
.ticked-pill[hidden] { display: none; }
.crate-row { position: relative; display: flex; align-items: flex-end; gap: 14px; padding: 10px 6px 14px; border-bottom: 4px solid #8A6A44; min-height: 150px; }
.bin { position: relative; flex: none; width: 64px; height: 78px; margin-right: 6px; }
.bin-body { position: absolute; left: 6px; right: 6px; bottom: 0; height: 62px; border-radius: 4px 4px 10px 10px; background: repeating-linear-gradient(90deg, #4E9A6B 0 10px, #438A5E 10px 13px); }
.bin-lid { position: absolute; left: 0; right: 0; top: 4px; height: 12px; border-radius: 6px; background: #3C7F54; transform-origin: left bottom; transition: transform .3s var(--spring, ease-out); z-index: 1; }
.bin-open .bin-lid { transform: rotate(-24deg) translateY(-4px); }
.crate { position: relative; flex: 1 1 0; min-width: 0; height: 118px; padding: 0; border: 0; border-radius: 6px; cursor: pointer; font: inherit; color: #3A2A14;
  background:
    radial-gradient(circle, #5b4527 0 2px, transparent 2.5px) 7px 7px / 100% 100% no-repeat,
    radial-gradient(circle, #5b4527 0 2px, transparent 2.5px) calc(100% - 7px) calc(100% - 7px) / 100% 100% no-repeat,
    radial-gradient(circle, #5b4527 0 2px, transparent 2.5px) 7px calc(100% - 7px) / 100% 100% no-repeat,
    linear-gradient(#0000 31%, rgba(60,36,12,.45) 31% 33%, #0000 33% 65%, rgba(60,36,12,.45) 65% 67%, #0000 67%),
    linear-gradient(180deg, #D8A867, #C4924F);
  box-shadow: inset 0 0 0 3px #A97B3F, 0 3px 0 rgba(60,36,12,.35); filter: brightness(.9); outline-offset: 3px;
  transition: transform .45s var(--ease, ease), opacity .45s, filter .2s, box-shadow .2s; }
.crate:hover { filter: brightness(.96); }
.crate:focus-visible { outline: 3px solid var(--accent); }
.crate[aria-pressed="true"] { filter: none; box-shadow: inset 0 0 0 3px #A97B3F, 0 0 0 3px var(--honey, #FFC94D), 0 3px 0 rgba(60,36,12,.35); }
.crate .tick { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 6px; background: #FFFAEB; border: 2px solid #8A6A44; }
.crate[aria-pressed="true"] .tick { background: var(--honey, #FFC94D); border-color: #8A5A10; }
.crate[aria-pressed="true"] .tick::after { content: ""; position: absolute; left: 6px; top: 1px; width: 5px; height: 11px; border: solid #3A2400; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.crate .tag { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) rotate(-2deg); width: 82%; padding: 6px 6px 5px; border-radius: 3px; background: #F4EEDC; color: #2E2312; text-align: center; box-shadow: 0 1px 3px rgba(40,25,10,.35); }
.crate .tag b { display: block; font: 700 13px/1.2 var(--body); }
.crate .tag em { display: block; font-style: normal; font-size: 12px; color: #5A4A30; }
.crate.gone { pointer-events: none; opacity: 0; transform: translate(-60vw, 10px) scale(.2); transition-duration: .7s; transform: translate(calc(var(--gx, -200px)), 10px) scale(.2); }
.crate:nth-of-type(1).gone { --gx: -90px; } .crate:nth-of-type(2).gone { --gx: -250px; } .crate:nth-of-type(3).gone { --gx: -400px; } .crate:nth-of-type(4).gone { --gx: -540px; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.demo-go[disabled] { opacity: .45; cursor: not-allowed; }
.freed { font-weight: 700; }
.freed[hidden] { display: none; }
.put-back { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--accent); text-decoration: underline; cursor: pointer; }
.demo-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .crate-row { flex-wrap: wrap; gap: 12px; }
  .bin { flex: 1 0 100%; }
  .crate { flex: 1 1 calc(50% - 6px); }
  .crate.gone { transform: translate(-30px, 10px) scale(.2); }
}
@media (prefers-reduced-motion: reduce) {
  .crate, .crate.gone { transition: opacity .3s; }
  .crate.gone { transform: none; }
  .bin-lid { transition: none; }
}

/* ===== Paper notes: cork board FAQ, problem notes, trust notes ===== */
:root { --paper: #F4EEDC; --paper-ink: #2E2312; --paper-muted: #5A4A30; --pin: #C8332B; }
.faq-list { border-top: 0; padding: 22px; border-radius: 18px; border: 6px solid #9B7040;
  background: radial-gradient(circle at 20% 30%, rgba(90,60,30,.35) 0 1.5px, transparent 2px) 0 0 / 22px 22px, radial-gradient(circle at 70% 65%, rgba(255,235,200,.3) 0 1.5px, transparent 2px) 0 0 / 17px 17px, #C99B63;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; align-items: start; }
.faq-list details, .problem-list li, .trust-list li { position: relative; background: var(--paper); color: var(--paper-ink); border: 0; border-radius: 3px; box-shadow: 0 6px 12px rgba(40,25,10,.28), 0 1px 0 rgba(255,255,255,.5) inset; }
.faq-list details::before, .problem-list li::before, .trust-list li::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F0776F, var(--pin) 60%, #8C1D18); box-shadow: 0 3px 3px rgba(40,25,10,.4); z-index: 1; }
.faq-list details { padding: 18px 18px 4px; transition: transform .3s var(--spring, ease), box-shadow .3s; }
.faq-list details:nth-child(odd) { transform: rotate(-1.2deg); } .faq-list details:nth-child(even) { transform: rotate(1deg); } .faq-list details:nth-child(3n) { transform: rotate(-.6deg); }
.faq-list details:hover, .faq-list details[open] { transform: rotate(0) translateY(-4px); box-shadow: 0 14px 24px rgba(40,25,10,.35); }
.faq-list details[open] { grid-column: 1 / -1; }
.faq-list summary { padding: 4px 0 14px; font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-weight: 700; font-size: 18px; color: var(--paper-ink); }
.faq-list summary::after { color: var(--paper-muted); }
.faq-list details p { color: var(--paper-muted); padding: 0 6px 18px 0; }
.problem-list li { padding: 26px 22px 20px; font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-style: italic; font-size: 19px; font-weight: 600; transform: rotate(-1.4deg); }
.problem-list li:nth-child(2) { transform: rotate(1.1deg); } .problem-list li:nth-child(3) { transform: rotate(-.6deg); }
.problem-list .pi { background: #F2A93B; color: #3A2400; font-style: normal; }
.trust-list { gap: 18px 14px; padding-top: 8px; }
.trust-list li { padding: 16px 16px 12px; border-radius: 3px; font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-size: 16px; transform: rotate(-1deg); max-width: 200px; }
.trust-list li:nth-child(even) { transform: rotate(1.1deg); } .trust-list li:nth-child(3n) { transform: rotate(-.5deg); }
.trust-list li::before { width: 11px; height: 11px; margin-left: -5px; top: -6px; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; padding: 16px; } .faq-list details[open] { grid-column: auto; } .trust-list li { max-width: none; flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .faq-list details { transition: none; } }

/* ===== Pricing: paper notes on cork ===== */
.price-board { margin-top: 28px; padding: 30px 22px 24px; border-radius: 18px; border: 6px solid #9B7040;
  background: radial-gradient(circle at 20% 30%, rgba(90,60,30,.35) 0 1.5px, transparent 2px) 0 0 / 22px 22px, radial-gradient(circle at 70% 65%, rgba(255,235,200,.3) 0 1.5px, transparent 2px) 0 0 / 17px 17px, #C99B63;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; align-items: start; }
.price-card { position: relative; padding: 26px 20px 20px; background: var(--paper); color: var(--paper-ink); border-radius: 3px; box-shadow: 0 6px 12px rgba(40,25,10,.28), 0 1px 0 rgba(255,255,255,.5) inset; transform: rotate(-1.2deg); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.price-card:nth-child(2) { transform: rotate(.9deg); } .price-card:nth-child(3) { transform: rotate(-.5deg); }
.price-card::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F0776F, var(--pin) 60%, #8C1D18); box-shadow: 0 3px 3px rgba(40,25,10,.4); }
.price-card h3 { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-size: 22px; margin: 0; color: var(--paper-ink); }
.price-big { font-family: "Dela Gothic One", var(--body, sans-serif); font-size: 40px; line-height: 1.1; margin: 0; color: var(--paper-ink); }
.price-sub { margin: 0 0 8px; color: var(--paper-muted); font-size: 16px; flex: 1; }
.price-card .btn { margin-top: auto; }
.price-card .buy[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.thanks { margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--honey, #FFC94D); color: #3A2400; font-weight: 700; }
.thanks[hidden] { display: none; }
@media (max-width: 760px) { .price-board { grid-template-columns: 1fr; padding: 28px 16px 20px; } .price-card, .price-card:nth-child(n) { transform: none; } }

/* Below the house: the night lawn carries on, turns to a sandy path, then cream. */
.house-frame { -webkit-mask-image: none !important; mask-image: none !important; }
.house-track { background: linear-gradient(#2E2458, #241D47 78%, #1A2C23) !important; }
.story { background: linear-gradient(to top, #F7EBDD 0, #F7EBDD 90px, #F1DFC0 150px, #E4C995 205px, #C9B27A 240px, #7C8A50 275px, #42603A 310px, #26402D 345px, #1A2C23 380px) !important; padding-bottom: 100px; }
.story .term { padding-top: 150px; }
@media (max-width: 560px) { .story .term { padding-top: 120px; } }

/* The house sits inside one night: its sky runs out to the edges and its lawn runs on below. */
.house-frame::before, .house-frame::after { content: ""; position: absolute; left: -300%; right: -300%; z-index: -1; pointer-events: none; }
.house-frame::before { top: -200%; bottom: 0; background: linear-gradient(#2A2152 0%, #141A3C 45%, #071028 66.7%, #09142D 75%, #0C1B37 83.3%, #111F3D 88.8%, #182342 94.4%, #1B2647 99%); }
.house-frame::after { top: 98.4%; height: 400%; background: linear-gradient(#1A2C23, #1A2C23); }
.house-track { background: #1A2C23 !important; }
.house-stage { background: transparent; }

/* Tighter hand-off from the house to the install line. */
.story { background: linear-gradient(to top, #F7EBDD 0, #F7EBDD 70px, #F1DFC0 110px, #E4C995 150px, #C9B27A 175px, #7C8A50 200px, #42603A 225px, #26402D 250px, #1D2B24 275px) !important; padding-bottom: 56px; }
.story .term { padding-top: 64px; margin-top: 0; }
@media (max-width: 560px) { .story .term { padding-top: 56px; } }

/* Nav: a slimmer glass pill, a lighter icon ring and a real menu button. */
.nav { padding: 6px 6px 6px 12px; box-shadow: 0 10px 30px -12px rgba(5,4,20,.45); }
.nav, .nav.scrolled { border-color: rgba(255,255,255,.10) !important; }
.nav .brand img { width: 26px; height: 26px; box-shadow: 0 0 0 1.5px rgba(255,246,228,.85), 0 2px 10px rgba(255,170,70,.35); }
.menu summary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; background: rgba(255,255,255,.10); color: inherit; cursor: pointer; transition: background .2s; }
.menu summary:hover { background: rgba(255,255,255,.18); }
.menu summary::before { content: ""; width: 14px; height: 10px; background: linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat; border-radius: 1px; }
.menu[open] summary { background: rgba(255,255,255,.2); }
.nav.on-light { box-shadow: 0 10px 30px -14px rgba(60,36,20,.3); }
.nav.on-light .menu summary { background: rgba(60,36,20,.07); }
.nav.on-light .menu summary:hover, .nav.on-light .menu[open] summary { background: rgba(60,36,20,.13); }
@media (max-width: 560px) { .nav { top: 10px; margin: 10px 12px 0; } .nav .brand { font-size: 15.5px; } }

/* Seam fixes: overlap the hero by 2px so no cream hairline shows, and let the clouds fade into the sky instead of stopping at the picture's top edge. */
.story { margin-top: -2px !important; }
.house-stage { background: #071028 !important; }
.house-img { -webkit-mask-image: linear-gradient(transparent 0, #000 10%); mask-image: linear-gradient(transparent 0, #000 10%); }

/* Loose files: the Tidy Desktop and ready-made pile cards. */
.loose-extra { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loose-card { padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.loose-card p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.new-tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 11.5px/1.4 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.pile-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pile-chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 13.5px; font-weight: 600; color: var(--ink); }
@media (max-width: 720px) { .loose-extra { grid-template-columns: 1fr; } }

/* Menu: a plain round icon button, no pill inside the pill. */
.menu summary { width: 40px; height: 40px; padding: 0 !important; justify-content: center; gap: 0; background: transparent !important; border-radius: 50%; }
.menu summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu summary::before { width: 18px; height: 12px; }
.menu summary:hover, .menu[open] summary { background: rgba(255,255,255,.12) !important; }
.nav.on-light .menu summary:hover, .nav.on-light .menu[open] summary { background: rgba(60,36,20,.08) !important; }

/* Wide screens: the picture is narrower than the window, so feather its sides and top into the sky,
   and keep the sky above it the same navy the hero ends on (no lighter band). */
.house-frame::before { background: linear-gradient(#071028 0%, #071028 66.7%, #09142D 75%, #0C1B37 83.3%, #111F3D 88.8%, #182342 94.4%, #1B2647 99%) !important; }
.house-img {
  -webkit-mask-image: linear-gradient(transparent 0, #000 10%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(transparent 0, #000 10%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

/* Room labels drawn as text over the 3x house picture, so they stay sharp at every zoom. Sized in the picture's own width. */
.house-frame { container-type: inline-size; }
.house-pins { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.house-pin { position: absolute; display: inline-flex; align-items: center; gap: .48cqw; height: 1.64cqw; padding: 0 .63cqw; border-radius: 1cqw; white-space: nowrap;
  font: 500 .727cqw/1 var(--body); color: rgba(235,232,245,.72); background: rgba(22,22,34,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); }
.house-pin b { font-weight: 650; color: #F5F2FA; }
.house-pin i { width: .44cqw; height: .44cqw; border-radius: 50%; background: #4FD18B; }
.house-pin.attention i { background: #F5A54A; } .house-pin.action i { background: #F06A6A; }
.house-pin.attention, .house-pin.action { color: #F5F2FA; }
.cat-guide { transition: opacity .3s ease; }
.cat-guide.away { opacity: 0; pointer-events: none; }

/* Match the 3x render: its lawn starts at 91.85% of the picture, so the side lawn starts there too. */
.house-frame::before { background: linear-gradient(#071028 0%, #071028 66.7%, #09142D 75%, #0C1B37 83.3%, #111F3D 88.8%, #1B2647 94%, #1E2746 97.2%) !important; }
.house-frame::after { top: 91.85% !important; background: #1D2B24 !important; }
.house-track { background: #1D2B24 !important; }

/* Keep the house captions dark glass (the tour-seen selectors outrank the older night rule). */
.js .story .stops li, .story .stops li { background: rgba(28,22,58,.86); color: #EDE6FF; border: 1px solid rgba(255,190,110,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.js .story .stops li h2 { color: #FFC37A; }
.js .story .stops li p { color: #D3CBEE; }

/* Without the zoom tour (seen it before, or reduced motion): the whole house, full width,
   captions as one row underneath on wide screens and left out on phones. */
.tour-seen .house-stage { display: block; padding-bottom: 8px; }
.tour-seen .house-frame { margin: 0 auto; }
.tour-seen .stops { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1100px; margin: 22px auto 0; padding: 0 clamp(20px, 4vw, 64px); }
.tour-seen .stops li { opacity: 1; transform: none; position: static; width: auto; }
@media (prefers-reduced-motion: reduce) {
  .house-stage { display: block; padding-bottom: 8px; }
  .house-frame { margin: 0 auto; }
  .stops { position: relative; z-index: 3; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 22px auto 0; }
}
@media (max-width: 700px) { .tour-seen .stops { display: none; } }
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { .stops { display: none; } }
.tour-seen .house-frame { transform: none !important; }

/* Phone nav: "Send to Mac" in place of Download, and no FAQ divider on the menu. */
.nav .menu { border: 0 !important; }
.nav-send { display: none; }
@media (max-width: 560px) {
  .nav .nav-send { display: inline-flex; padding: 9px 14px; font-size: 13.5px; white-space: nowrap; }
  .nav nav { gap: 6px; }
}

/* Menu panel follows the nav: dark glass at night, cream once the nav turns light. */
.nav .menu-panel { background: rgba(24,19,52,.96); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 48px -20px rgba(5,4,20,.6); }
.nav .menu-panel a, .nav nav .menu-panel a:not(.btn) { color: #ECE6FF !important; padding: 13px 16px; }
.nav .menu-panel a:hover { background: rgba(255,255,255,.08); color: #FFC37A !important; }
.nav.on-light .menu-panel { background: rgba(255,248,238,.97); border-color: rgba(60,36,20,.12); box-shadow: 0 24px 48px -24px rgba(60,36,20,.35); }
.nav.on-light .menu-panel a, .nav.on-light nav .menu-panel a:not(.btn) { color: #2A1D12 !important; }
.nav.on-light .menu-panel a:hover { background: rgba(60,36,20,.06); color: #B8561E !important; }
