/* ───────────────────────────────────────────────────────────────────────────
   Crumb — home page only. Shared tokens and components live in crumb.css.
   The one loud thing on this page is the scene; everything else stays quiet.
   ─────────────────────────────────────────────────────────────────────────── */

.page-home section { position: relative; }
.sec-pad { padding: clamp(84px, 11vw, 140px) 0; }

/* ── hero copy ── */
.hero-copy { padding-top: clamp(48px, 7vw, 88px); }
.hero-copy h1 { font-size: clamp(42px, 6.8vw, 88px); max-width: 15ch; text-wrap: balance; }
.hero-copy .lede { margin-top: 26px; font-size: clamp(18.5px, 1.75vw, 22px); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-fine { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); }

/* ═══════════ THE SCENE ═══════════ */
.story { position: relative; margin-top: clamp(40px, 5vw, 64px); overflow-x: clip; }
.scene-on .story { height: 470vh; }
.story-pin { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 var(--gut) 40px; }
.scene-on .story-pin {
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  justify-content: center; padding-bottom: 12px;
}
.scene-frame { --s: .9; position: relative; width: 100%; max-width: 1160px; height: calc(700px * var(--s)); }
.scene {
  position: absolute; left: 50%; top: 0; width: 1160px; height: 700px;
  transform: translateX(-50%) scale(var(--s)); transform-origin: top center;
  border-radius: 26px; overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 50px 90px -40px rgba(11, 16, 51, .55), 0 0 0 1px rgba(14, 17, 34, .08);
  font-family: var(--sans); color: #1D1D1F; -webkit-user-select: none; user-select: none;
}
@media (max-width: 1240px) { .scene-frame { --s: .8; } }
@media (max-width: 1000px) { .scene-frame { --s: .66; } }
@media (max-width: 760px) { .scene-frame { --s: .3; } }

.desk {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(235, 195, 130, .20), transparent 60%),
    radial-gradient(70% 80% at 10% 100%, rgba(88, 101, 201, .35), transparent 60%),
    linear-gradient(160deg, #2A3483 0%, #161D55 48%, #0B1033 100%);
}
.star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .55; }
.star.c { background: var(--cookie); opacity: .9; }
.moon {
  position: absolute; right: 70px; top: 470px; width: 96px; height: 96px; border-radius: 50%;
  background:
    radial-gradient(circle at 36% 40%, #78461E 0 5.5%, transparent 6.5%),
    radial-gradient(circle at 58% 58%, #78461E 0 5%, transparent 6%),
    radial-gradient(circle at 34% 70%, #78461E 0 5%, transparent 6%),
    var(--cookie);
  -webkit-mask: radial-gradient(circle at 84% 18%, transparent 0 27%, #000 28%);
          mask: radial-gradient(circle at 84% 18%, transparent 0 27%, #000 28%);
  opacity: .95;
}

.menubar {
  position: absolute; left: 0; right: 0; top: 0; height: 30px; z-index: 5;
  display: flex; align-items: center; gap: 18px; padding: 0 16px;
  background: rgba(8, 11, 36, .38); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 500;
}
.menubar b { font-weight: 700; }
.mb-apple svg { width: 13px; height: 16px; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.mb-right svg { color: #fff; }
.mb-crumb { position: relative; width: 26px; height: 22px; border-radius: 6px; display: grid; place-items: center; transition: background .3s; }
.mb-crumb img { width: 16px; height: 16px; border-radius: 4px; }
.mb-crumb::after {
  content: ""; position: absolute; inset: -3px; border-radius: 8px; border: 1.5px solid var(--cookie);
  opacity: 0; animation: ping 2.2s var(--ease) infinite;
}
.scene[data-step="0"] .mb-crumb::after { opacity: 1; }
.scene:not([data-step="0"]) .mb-crumb { background: rgba(255, 255, 255, .28); }
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.mb-batt { width: 24px; height: 12px; border: 1.3px solid rgba(255, 255, 255, .85); border-radius: 3.5px; padding: 1.5px; position: relative; }
.mb-batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255, 255, 255, .85); }
.mb-batt i { display: block; width: 70%; height: 100%; background: #fff; border-radius: 1.5px; }

/* windows */
.win {
  position: absolute; background: #F6F6F8; border-radius: 13px; overflow: hidden;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .35), 0 30px 70px -24px rgba(0, 0, 0, .6), 0 10px 24px -12px rgba(0, 0, 0, .35);
  transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s;
}
.win-bar { height: 40px; display: flex; align-items: center; position: relative; padding: 0 14px; border-bottom: 1px solid rgba(0, 0, 0, .07); background: #ECECF0; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; }
.lights i:nth-child(3) { background: #28C840; }
.win-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 700; color: #4A4A50; pointer-events: none; }

/* macOS Storage window */
.storage { left: 56px; top: 70px; width: 566px; }
.scene:not([data-step="0"]) .storage { filter: saturate(.92); }
.st-body { padding: 18px 22px 20px; }
.st-head { display: flex; align-items: center; gap: 14px; }
.st-disk { width: 46px; height: 46px; border-radius: 11px; flex: none; background: linear-gradient(180deg, #D9DAE0, #A9AAB3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); position: relative; }
.st-disk::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 12px; height: 4px; border-radius: 3px; background: #6D6E78; }
.st-head b { display: block; font-size: 17px; font-weight: 700; }
.st-avail { font-size: 13.5px; color: #6E6E76; }
.st-avail .num { color: #1D1D1F; font-weight: 700; }
.scene[data-step="0"] .st-avail .num { color: #D70015; }
.st-bar { display: flex; gap: 2px; height: 24px; margin: 18px 0 10px; border-radius: 7px; overflow: hidden; background: #E3E4E9; }
.seg { flex: var(--gb) 1 0; min-width: 0; transition: flex-grow 1.1s var(--ease), background-color .6s; }
.seg.apps { background: #5B8DEF; } .seg.docs { background: #F4A259; } .seg.photos { background: #E26D9E; }
.seg.icloud { background: #6CC4E8; } .seg.macos { background: #9A9AA5; } .seg.dev { background: #9B7BE0; }
.seg.sys { background: #C3C4CE; } .seg.free { background: transparent; }
.st-bar .seg.crumb:nth-of-type(3) { background: #F4A259; }
.st-bar .seg.crumb:nth-of-type(8) { background: #9B7BE0; }
.st-bar .seg.crumb:nth-of-type(10) { background: #C3C4CE; }
.scene[data-step="2"] .st-bar .seg.crumb, .scene[data-step="3"] .st-bar .seg.crumb {
  background: repeating-linear-gradient(135deg, #EBC382 0 5px, #F6DDB0 5px 9px);
}
.scene[data-step="4"] .st-bar .seg.crumb { flex-grow: .0001; background: #EBC382; }
.scene[data-step="4"] .st-bar .seg.free { flex-grow: 49.8; }
.st-legend { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: 11.5px; color: #6E6E76; }
.st-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.st-legend .apps::before { background: #5B8DEF; } .st-legend .docs::before { background: #F4A259; } .st-legend .photos::before { background: #E26D9E; }
.st-legend .icloud::before { background: #6CC4E8; } .st-legend .macos::before { background: #9A9AA5; } .st-legend .dev::before { background: #9B7BE0; } .st-legend .sys::before { background: #C3C4CE; }
.st-list { list-style: none; margin-top: 16px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); overflow: hidden; }
.st-list li { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 38px; font-size: 13.5px; border-top: 1px solid rgba(0, 0, 0, .05); transition: height .6s var(--ease), opacity .45s, background .4s; }
.st-list li:first-child { border-top: 0; }
.st-list .num { margin-left: auto; font-size: 12.5px; color: #55555C; }
.st-list .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.apps { background: #5B8DEF; } .dot.docs { background: #F4A259; } .dot.dev { background: #9B7BE0; } .dot.sys { background: #C3C4CE; }
.dot.crumb { background: var(--cookie); box-shadow: 0 0 0 3px rgba(235, 195, 130, .3); }
.st-list li.big { font-weight: 700; }
.st-list .q { width: 18px; height: 18px; margin-left: 8px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: #B3B4BE; transition: opacity .3s; }
.st-list li.sub { height: 0; opacity: 0; padding-left: 34px; border-top-width: 0; background: rgba(235, 195, 130, .16); color: #5A3A17; }
.scene[data-step="2"] .st-list li.sub, .scene[data-step="3"] .st-list li.sub, .scene[data-step="4"] .st-list li.sub { height: 32px; opacity: 1; border-top-width: 1px; }
.scene[data-step="2"] .st-list .q, .scene[data-step="3"] .st-list .q, .scene[data-step="4"] .st-list .q { opacity: 0; }
.scene[data-step="4"] .st-list li.sub { opacity: .5; }
.scene[data-step="4"] .st-list li.sub .num { text-decoration: line-through; }

/* Crumb window */
.crumbwin {
  left: 660px; top: 44px; width: 452px; height: 540px; display: flex; z-index: 3;
  transform-origin: 88% 0; opacity: 0; transform: translateY(-18px) scale(.96);
}
.scene:not([data-step="0"]) .crumbwin { opacity: 1; transform: none; }
.scene[data-step="4"] .crumbwin { transform: translateY(96px); }
.cw-side { width: 134px; flex: none; padding: 16px 10px; background: #ECECF1; border-right: 1px solid rgba(0, 0, 0, .06); display: flex; flex-direction: column; gap: 2px; }
.cw-brand { display: flex; align-items: center; gap: 8px; font-family: var(--disp); font-weight: 700; font-size: 15px; margin: 0 0 14px 6px; }
.cw-brand img { border-radius: 5px; }
.cw-side span { font-size: 13px; font-weight: 600; color: #8A8A92; padding: 7px 10px; border-radius: 8px; }
.cw-side span.on { color: #1D1D1F; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.cw-main { position: relative; flex: 1; min-width: 0; background: #F7F7F9; }
.cw-scan, .cw-result { position: absolute; inset: 0; padding: 26px 22px; transition: opacity .45s var(--ease), transform .5s var(--ease); }
.cw-scan { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cw-h { font-size: 18px; font-weight: 700; }
.cw-prog { height: 7px; border-radius: 4px; background: #E1E2E8; overflow: hidden; }
.cw-prog i { display: block; height: 100%; width: 0; border-radius: 4px; background: #0A6CDB; }
.scene[data-step="1"] .cw-prog i { animation: scan 2.4s var(--ease) forwards; }
@keyframes scan { to { width: 100%; } }
.cw-path { font-size: 12px; color: #6E6E76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-note { font-size: 12.5px; color: #1D7F3A; font-weight: 600; }
.cw-result { opacity: 0; transform: translateY(10px); }
.scene[data-step="1"] .cw-scan, .scene[data-step="0"] .cw-scan { opacity: 1; }
.scene:not([data-step="0"]):not([data-step="1"]) .cw-scan { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.scene:not([data-step="0"]):not([data-step="1"]) .cw-result { opacity: 1; transform: none; }
.cw-big { text-align: center; font-size: 46px; font-weight: 600; letter-spacing: -.02em; color: #0A6CDB; line-height: 1.1; margin-top: 6px; transition: color .5s; }
.cw-sub { text-align: center; font-size: 13px; color: #6E6E76; margin-top: 4px; min-height: 18px; }
.cw-sub .freed-l { display: none; }
.scene[data-step="4"] .cw-big { color: #1D7F3A; }
.scene[data-step="4"] .cw-sub .found-l { display: none; }
.scene[data-step="4"] .cw-sub .freed-l { display: inline; color: #1D7F3A; font-weight: 600; }
.cw-btn { position: relative; margin-top: 16px; height: 40px; border-radius: 11px; background: #D70015; color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; transition: background .4s, transform .2s; }
.cw-btn span { grid-area: 1 / 1; transition: opacity .3s; }
.cw-btn .done { opacity: 0; }
.scene[data-step="4"] .cw-btn { background: #E3E4E9; color: #1D1D1F; }
.scene[data-step="4"] .cw-btn .go { opacity: 0; }
.scene[data-step="4"] .cw-btn .done { opacity: 1; }
.cw-label { margin: 20px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A8A92; }
.cw-rows { list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); overflow: hidden; }
.cw-rows li { display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 54px; border-top: 1px solid rgba(0, 0, 0, .05); transition: opacity .5s, background .4s, box-shadow .4s; position: relative; }
.cw-rows li:first-child { border-top: 0; }
.cw-rows .cb { width: 17px; height: 17px; border-radius: 5px; flex: none; background: #0A6CDB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.cw-rows .tile { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 13px; color: #fff; background: #111; }
.cw-rows li:nth-child(2) .tile { background: #3A6FD8; }
.cw-rows li:nth-child(3) .tile { background: #4A4A50; }
.cw-rows li:nth-child(4) .tile { background: #A5A6AE; }
.cw-rows span:not(.num) { font-size: 13.5px; font-weight: 600; display: flex; flex-direction: column; line-height: 1.25; }
.cw-rows small { font-size: 11.5px; font-weight: 500; color: #8A8A92; }
.cw-rows .num { margin-left: auto; font-size: 13px; color: #0A6CDB; font-weight: 600; }
.scene[data-step="3"] .cw-rows li.xc { background: #FFF8EC; box-shadow: inset 3px 0 0 var(--cookie); }
.scene[data-step="4"] .cw-rows li { opacity: .45; }
.scene[data-step="4"] .cw-rows .num { color: #1D7F3A; }

/* Safe? card */
.safe-card {
  position: absolute; z-index: 4; left: 356px; top: 286px; width: 296px; padding: 16px 18px;
  background: rgba(255, 255, 255, .97); border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 60px -20px rgba(11, 16, 51, .55);
  opacity: 0; transform: translateX(-14px) scale(.97); transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.safe-card::after { content: ""; position: absolute; right: -7px; top: 26px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 2px; box-shadow: 1px -1px 0 rgba(0, 0, 0, .04); }
.scene[data-step="3"] .safe-card { opacity: 1; transform: none; }
.sc-k { font-size: 11.5px; font-weight: 700; color: var(--navy); }
.sc-t { margin-top: 6px; font-size: 16.5px; font-weight: 700; }
.sc-d { margin-top: 4px; font-size: 13px; line-height: 1.45; color: #4A4A50; }
.sc-v { display: flex; gap: 6px; margin-top: 10px; }
.pill { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #EEF0F6; color: #4A4A50; }
.pill.ok { background: #E3F4E8; color: #1D7F3A; }
.sc-n { margin-top: 9px; font-size: 12px; color: #6E6E76; }

/* notifications */
.notif {
  position: absolute; z-index: 6; right: 18px; top: 42px; width: 348px; display: flex; gap: 12px; align-items: center;
  padding: 13px 14px; border-radius: 18px;
  background: rgba(246, 246, 250, .88); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 20px 40px -16px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateX(30px); transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.notif b { display: block; font-size: 13.5px; font-weight: 700; }
.notif span { display: block; font-size: 12.5px; color: #55555C; line-height: 1.35; }
.notif img { border-radius: 8px; flex: none; }
.n-icon { width: 34px; height: 34px; flex: none; border-radius: 8px; background: linear-gradient(180deg, #D9DAE0, #A9AAB3); position: relative; }
.n-icon::after { content: "!"; position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: #FEBC2E; color: #3A2A00; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.scene[data-step="0"] .notif.warn { opacity: 1; transform: none; }
.scene[data-step="4"] .notif.ok { opacity: 1; transform: none; }

/* compact stage for phones: same actors, stacked */
.scene.compact { width: 400px; height: 700px; border-radius: 22px; }
.compact .menubar > span:not(.mb-right):not(.mb-apple) { display: none; }
.compact .mb-right > span:last-child { display: none; }
.compact .storage { left: 14px; top: 44px; width: 372px; }
.compact .st-legend { display: none; }
.compact .st-body { padding: 14px 16px 16px; }
.compact .st-list li { font-size: 13px; }
.compact .st-list li:not(.sub) { height: 34px; }
.compact .crumbwin { left: 22px; top: 246px; width: 356px; height: 440px; transform-origin: 90% 0; }
.scene.compact[data-step="4"] .crumbwin { transform: translateY(-40px); }
.scene.compact[data-step="4"] .storage { opacity: .6; }
.compact .cw-side { display: none; }
.compact .cw-scan, .compact .cw-result { padding: 20px 18px; }
.compact .cw-big { font-size: 40px; }
.compact .cw-rows li { height: 48px; }
.compact .safe-card { left: 30px; top: 432px; width: 340px; }
.compact .safe-card::after { display: none; }
.compact .notif { left: 14px; right: 14px; width: auto; top: 40px; }
.compact .moon { right: 26px; top: 600px; width: 64px; height: 64px; }

/* captions under the scene */
.story-foot { width: 100%; max-width: 680px; text-align: center; }
.pips { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.pips i { width: 30px; height: 4px; border-radius: 3px; background: rgba(14, 17, 34, .12); transition: background .4s; }
.pips i.on { background: var(--navy); }
.story-steps { list-style: none; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-2); }
/* pinned: every caption shares one grid cell, so the list is as tall as its longest caption */
.scene-on .story-steps { display: grid; }
.scene-on .story-steps li { grid-area: 1 / 1; }
.story-steps b { color: var(--ink); font-family: var(--disp); font-weight: 700; margin-right: 4px; }
.scene-on .story-steps li { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.scene-on .story-steps li.on { opacity: 1; transform: none; }
:root:not(.scene-on) .story-steps { text-align: left; display: grid; gap: 8px; }

/* ═══════════ HOW IT WORKS ═══════════ */
.how { padding: clamp(84px, 10vw, 128px) 0 clamp(72px, 9vw, 112px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin-top: 56px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 33%; height: 1px; background: linear-gradient(90deg, var(--navy), rgba(41, 51, 133, .15)); }
.steps li { position: relative; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--night); color: var(--cookie); font-size: 16px; font-weight: 600; box-shadow: 0 0 0 6px var(--paper);
}
.steps h3 { margin-top: 22px; font-family: var(--disp); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.steps p { margin-top: 8px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 34ch; }

/* ═══════════ NIGHT SECTIONS ═══════════ */
.night { background: var(--night); color: var(--on-night-2); overflow: hidden; isolation: isolate; }
.night::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.4px 1.4px at 8% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 26% 80%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 44% 12%, var(--cookie) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 64%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 82% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 78%, var(--cookie) 50%, transparent 51%),
    radial-gradient(80% 90% at 100% 0%, rgba(42, 52, 131, .9), transparent 60%),
    linear-gradient(180deg, var(--night-2), var(--night));
}
.night .h-section { color: #fff; }
.night code { font-family: var(--mono); font-size: .88em; padding: .1em .4em; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--cookie-2); }

.crumbs { padding: clamp(96px, 12vw, 150px) 0; }
.crumbs-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.crumbs-copy p { margin-top: 22px; font-size: clamp(17.5px, 1.6vw, 20px); line-height: 1.6; max-width: 46ch; }
.sky { position: relative; height: 440px; }
.big-moon {
  position: absolute; left: 50%; top: 48%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 38%, #78461E 0 5%, transparent 6%),
    radial-gradient(circle at 57% 55%, #78461E 0 4.6%, transparent 5.6%),
    radial-gradient(circle at 36% 70%, #78461E 0 4.6%, transparent 5.6%),
    radial-gradient(circle at 64% 80%, #78461E 0 4%, transparent 5%),
    var(--cookie);
  -webkit-mask: radial-gradient(circle at 86% 16%, transparent 0 26%, #000 27%);
          mask: radial-gradient(circle at 86% 16%, transparent 0 26%, #000 27%);
  filter: drop-shadow(0 0 60px rgba(235, 195, 130, .35));
}
.crumb-star {
  position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--on-night-2); white-space: nowrap;
}
.crumb-star::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cookie); box-shadow: 0 0 12px 2px rgba(235, 195, 130, .55); }
.crumb-star b { font-family: var(--mono); font-weight: 600; color: var(--cookie); }

/* ═══════════ TOUR ═══════════ */
.tour { padding: clamp(96px, 12vw, 150px) 0 clamp(48px, 6vw, 80px); }
.tour-hd { max-width: 720px; }
.tour-hd .lede { margin-top: 18px; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; margin-top: 48px; }
.tour-media { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
/* The frame takes its width from the height the viewport allows, so on a short
   window the frame and the screenshot shrink together (no strip of frame showing). */
.shot-win {
  width: min(500px, 100%, calc((100vh - var(--nav-h) - 96px) * 1800 / 1960));
  margin: 0 auto; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 17, 34, .08), 0 40px 80px -40px rgba(11, 16, 51, .5);
}
.shot-stack { position: relative; aspect-ratio: 1800 / 1960; }
.shot-stack picture { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.shot-stack picture.on { opacity: 1; }
/* Current screenshots use the full app viewport without cropping. */
.shot-stack img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tour-steps { list-style: none; }
.tool { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .38; transition: opacity .4s var(--ease); }
.tool.on, html:not(.js) .tool { opacity: 1; }
.tool-ic { width: 32px; height: 32px; color: var(--navy); margin-bottom: 18px; }
.tool h3 { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.024em; line-height: 1.1; }
.tool p { margin-top: 12px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 42ch; }
.tool-shot { display: none; }

/* ═══════════ COMPARE ═══════════ */
.compare { padding: clamp(72px, 9vw, 120px) 0; }
.compare .h-section { max-width: 18ch; }
.cmp-wrap { margin-top: 44px; overflow-x: auto; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--lift); }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 620px; }
.cmp th, .cmp td { padding: 18px 24px; text-align: left; border-top: 1px solid var(--line-2); }
.cmp thead th { border-top: 0; font-size: 14px; font-weight: 600; color: var(--ink-3); padding-top: 22px; padding-bottom: 14px; }
.cmp thead th.us { color: var(--ink); font-family: var(--disp); font-size: 16px; }
.cmp thead th.us img { display: inline-block; vertical-align: -4px; margin-right: 8px; border-radius: 5px; }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 36%; }
.cmp td { color: var(--ink-3); }
.cmp td.us { color: var(--ink); font-weight: 600; background: rgba(41, 51, 133, .04); }
.cmp td.us::before {
  content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; border-radius: 50%;
  background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EBC382' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.cmp-note { margin-top: 18px; font-size: 15px; color: var(--ink-3); max-width: 70ch; }

/* ═══════════ TRUST ═══════════ */
.trust { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 56px; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.trust-list div { padding-top: 18px; border-top: 2px solid var(--ink); }
.trust-list dt { font-family: var(--disp); font-weight: 700; font-size: 20px; letter-spacing: -.015em; }
.trust-list dd { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ═══════════ GUIDES ═══════════ */
.guides-band { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper-2); }
.guides-band .block-hd { align-items: end; margin-bottom: 0; }
.guides-band .lede { margin: 14px 0 36px; }
.home-topics .topic-tile span { line-height: 1.4; }

/* ═══════════ PRICING ═══════════ */
.pricing { padding: clamp(84px, 11vw, 140px) 0; }
.pricing-hd { max-width: 640px; margin-bottom: 48px; }
.pricing-hd .lede { margin-top: 16px; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 30px; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.plan .pname { font-family: var(--disp); font-weight: 700; font-size: 21px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; }
.plan .amt { font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan .per { font-size: 16px; color: var(--ink-3); }
.plan .blurb { font-size: 15.5px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.plan li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: var(--navy-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23293385' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan .cta-wrap { margin-top: auto; }
.plan.featured {
  color: var(--on-night-2); box-shadow: 0 40px 80px -40px rgba(11, 16, 51, .7);
  background: radial-gradient(120% 110% at 100% 0%, #2A3483 0%, var(--night-2) 45%, var(--night) 100%);
}
.plan.featured .pname, .plan.featured .amt { color: #fff; }
.plan.featured .amt { color: var(--cookie); }
.plan.featured .per, .plan.featured .blurb, .plan.featured li { color: var(--on-night-2); }
.plan.featured li::before { background-color: rgba(235, 195, 130, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EBC382' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.plan .badge { position: absolute; top: 30px; right: 26px; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(235, 195, 130, .16); color: var(--cookie); }
.plan-fine { margin-top: 14px; font-size: 13.5px; color: rgba(182, 188, 221, .85); text-align: center; }
.plan-fine a { color: var(--cookie-2); text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════ FAQ ═══════════ */
.faq-sec { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.faq-grid .h-section { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-family: var(--disp); font-weight: 600; font-size: 20px; letter-spacing: -.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1122' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 48px 24px 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 64ch; }
.faq .ans a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(41, 51, 133, .35); }

/* ═══════════ FINAL ═══════════ */
.final { padding: clamp(110px, 14vw, 180px) 0 clamp(96px, 12vw, 150px); text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-moon {
  width: 110px; height: 110px; border-radius: 50%; margin-bottom: 40px;
  background:
    radial-gradient(circle at 36% 40%, #78461E 0 5.5%, transparent 6.5%),
    radial-gradient(circle at 58% 58%, #78461E 0 5%, transparent 6%),
    radial-gradient(circle at 34% 70%, #78461E 0 5%, transparent 6%),
    var(--cookie);
  -webkit-mask: radial-gradient(circle at 84% 18%, transparent 0 27%, #000 28%);
          mask: radial-gradient(circle at 84% 18%, transparent 0 27%, #000 28%);
  filter: drop-shadow(0 0 50px rgba(235, 195, 130, .4));
}
.final .h-section { max-width: 16ch; }
.final p { margin-top: 18px; font-size: clamp(17.5px, 1.6vw, 20px); max-width: 46ch; }
.final .btn { margin-top: 34px; }
.final .meta { margin-top: 16px; font-size: 14px; color: rgba(182, 188, 221, .8); }
.final + .footer { border-top: 1px solid var(--night-line); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 980px) {
  .crumbs-inner, .trust-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq-grid .h-section { position: static; }
  .sky { height: 360px; }
  .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tour-media { display: none; }
  .tool { min-height: 0; opacity: 1; padding: 36px 0; border-top: 1px solid var(--line); }
  .tool-shot { display: block; margin-top: 26px; max-width: 520px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(11, 16, 51, .45); }
  .tool-shot img { width: 100%; max-width: 100%; height: auto; }
}
@media (max-width: 760px) {
  .scene-on .story { height: 400vh; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--navy), rgba(41, 51, 133, .15)); }
  .steps li { padding-left: 68px; }
  .step-n { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 6px; }
  .trust-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .plan.featured { order: -1; }
  .sky { height: 400px; }
  .big-moon { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
  .crumb-star { font-size: 12px; }
  .crumb-star:nth-of-type(4) { --x: 58% !important; }
  .crumb-star:nth-of-type(7) { --x: 44% !important; }
  .guides-band .block-hd { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .mb-crumb::after { animation: none; }
}

.tour-sample-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
