/* Poofy home — page-specific styles. Tokens come from poofy.css. */

/* ================= mini-site (rendered live by Poofy.renderSite) ================= */
.ms { background: var(--ms-paper); color: #17181c; font-family: var(--body); display: flex; flex-direction: column; height: 100%; line-height: 1.35; text-align: left; }
.ms-nav { display: flex; align-items: center; gap: 1em; padding: 1.1em 1.4em; }
.ms-brand { font-family: var(--display); font-weight: 800; font-size: 1.15em; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42%; color: var(--ms-a); }
.ms-links { display: flex; gap: 1.3em; margin-left: auto; color: #5d5f68; font-size: 0.9em; }
.ms-links i { font-style: normal; }
.ms-btn { background: var(--ms-a); color: #fff; border-radius: 999px; padding: 0.65em 1.15em; font-weight: 600; font-size: 0.92em; white-space: nowrap; justify-self: start; transition: outline-color .3s; }
.ms-btn.sm { padding: 0.5em 0.95em; font-size: 0.8em; }
.ms-nav .ms-btn { margin-left: 0.4em; }
.ms-hero {
  margin: 0 1em; border-radius: 1.3em; padding: 2.4em 1.7em 1.9em; color: #fff; display: grid; gap: 0.65em; align-content: end; min-height: 14em; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 15%, var(--ms-b), transparent 55%), linear-gradient(140deg, var(--ms-a) 30%, color-mix(in srgb, var(--ms-a) 55%, var(--ms-b)));
}
.ms-hero::after { content: ""; position: absolute; right: -3.5em; bottom: -4em; width: 13em; height: 13em; border-radius: 50%; border: 2.6em solid rgba(255, 255, 255, 0.12); pointer-events: none; }
.ms-kick { font-family: var(--mono); font-size: 0.72em; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; position: relative; z-index: 1; }
.ms-title { font-family: var(--display); font-weight: 800; font-size: 2.7em; line-height: 0.95; letter-spacing: -0.035em; overflow-wrap: anywhere; position: relative; z-index: 1; }
.ms-sub { font-size: 0.98em; opacity: 0.92; max-width: 28em; position: relative; z-index: 1; }
.ms-hero .ms-btn { background: #fff; color: var(--ms-a); position: relative; z-index: 1; margin-top: 0.3em; }
.ms-hero.has-img { background-position: center; background-size: cover; }
.ms-hero.has-img::after { display: none; }
.ms-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; padding: .9em 1em 0; }
.ms-gal i { aspect-ratio: 4 / 3; border-radius: .8em; background: #ddd center / cover; }
.as-phone .ms-gal i { aspect-ratio: 1; }
.ms-list { padding: 1.2em 1.5em 0.4em; display: grid; }
.ms-row { display: flex; justify-content: space-between; gap: 1em; padding: 0.6em 0; border-bottom: 1px dashed rgba(0, 0, 0, 0.13); font-size: 0.96em; }
.ms-row b { font-weight: 700; white-space: nowrap; }
.ms-foot { margin-top: auto; padding: 0.9em 1.5em; font-size: 0.74em; color: #6a6c75; font-family: var(--mono); border-top: 1px solid rgba(0, 0, 0, 0.06); }
.as-phone .ms-links { display: none; }
.as-phone .ms-nav { padding: 1.3em 1.2em 0.9em; }
.as-phone .ms-brand { max-width: 55%; }
.as-phone .ms-hero { min-height: 19em; margin: 0 0.8em; }
.as-phone .ms-title { font-size: 2.4em; }
/* spotlight used by the feature tour */
.ms-list, .ms-hero, .ms-foot, .ms-btn { transition: box-shadow .45s ease, outline-color .45s ease; outline: 3px solid transparent; outline-offset: 3px; }
[data-focus="list"] .ms-list, [data-focus="cta"] .ms-hero .ms-btn, [data-focus="hero"] .ms-hero,
[data-focus="nav"] .ms-nav .ms-btn, [data-focus="foot"] .ms-foot {
  outline-color: var(--violet); border-radius: 0.9em; box-shadow: 0 0 0 100vmax rgba(11, 12, 16, 0.32); position: relative; z-index: 2;
}

/* ================= poof sparkle ================= */
.poof { position: absolute; left: 50%; top: 45%; pointer-events: none; z-index: 8; }
.poof i { position: absolute; width: 14px; height: 14px; margin: -7px; background: var(--lilac);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: burst .8s cubic-bezier(.2,.7,.3,1) forwards; }
.poof i:nth-child(odd) { background: var(--chalk); width: 9px; height: 9px; }
@keyframes burst { from { transform: translate(0, 0) scale(1.2) rotate(0); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(0) rotate(160deg); opacity: 0; } }
@keyframes pop { 0% { filter: blur(10px); opacity: .25; transform: scale(.965); } 100% { filter: none; opacity: 1; transform: none; } }

/* ================= PAGE ATMOSPHERE (home only) ================= */
body[data-public] { --max: 1320px; background: #08080c; }
/* film grain over everything: kills the flat look without images */
body[data-public]::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@property --glow { syntax: "<color>"; inherits: true; initial-value: #7b5cff; }
@property --glow-2 { syntax: "<color>"; inherits: true; initial-value: #3b2a99; }
.scene { position: relative; isolation: isolate; overflow: clip; border-top: 1px solid var(--hair-d); }
.scene::before, .scene::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px); }
.scene-leak::before { width: 56vw; height: 56vw; max-width: 900px; max-height: 900px; right: -12vw; top: 18%; background: radial-gradient(closest-side, rgba(255, 90, 95, .30), transparent); }
.scene-leak::after { width: 40vw; height: 40vw; left: -14vw; top: -10vw; background: radial-gradient(closest-side, rgba(123, 92, 255, .22), transparent); }
.scene-violet::before { width: 70vw; height: 50vw; left: 15vw; top: -22vw; background: radial-gradient(closest-side, rgba(123, 92, 255, .32), transparent); }
.scene-niche::before { width: 60vw; height: 60vw; right: -16vw; top: 22%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 42%, transparent), transparent); transition: --glow 1s ease; }
.scene-niche::after { width: 46vw; height: 46vw; left: -18vw; bottom: -10vw; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow-2) 55%, transparent), transparent); transition: --glow-2 1s ease; }
.scene-aurora::before { width: 70vw; height: 40vw; left: -20vw; top: -10vw; background: radial-gradient(closest-side, rgba(123, 92, 255, .34), transparent); }
.scene-aurora::after { width: 60vw; height: 40vw; right: -20vw; bottom: -14vw; background: radial-gradient(closest-side, rgba(45, 212, 191, .22), transparent); }

/* ================= HERO ================= */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: calc(100svh - 64px); display: grid; place-items: center; padding-block: clamp(64px, 9vw, 120px) clamp(96px, 12vw, 160px); background: #06060a; text-align: center; }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .62; will-change: transform; animation: drift 28s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 62vw; height: 62vw; left: -18vw; top: -10vw; background: radial-gradient(closest-side, #7b5cff, transparent 72%); }
.aurora i:nth-child(2) { width: 52vw; height: 52vw; right: -16vw; top: -6vw; background: radial-gradient(closest-side, #ff5fa2, transparent 70%); opacity: .42; animation-duration: 34s; animation-delay: -9s; }
.aurora i:nth-child(3) { width: 58vw; height: 40vw; right: 4vw; bottom: -18vw; background: radial-gradient(closest-side, #2dd4bf, transparent 70%); opacity: .34; animation-duration: 40s; animation-delay: -17s; }
.aurora i:nth-child(4) { width: 40vw; height: 40vw; left: 8vw; bottom: -20vw; background: radial-gradient(closest-side, #f5a524, transparent 70%); opacity: .26; animation-duration: 31s; animation-delay: -4s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, 4vw, 0) scale(1.12); } 100% { transform: translate3d(-4vw, 7vw, 0) scale(.94); } }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 78% 14%, #fff, transparent), radial-gradient(1.5px 1.5px at 64% 68%, #fff, transparent), radial-gradient(1px 1px at 32% 80%, #fff, transparent), radial-gradient(1px 1px at 90% 52%, #fff, transparent), radial-gradient(1.5px 1.5px at 22% 56%, #fff, transparent), radial-gradient(1px 1px at 48% 34%, #fff, transparent), radial-gradient(1px 1px at 6% 88%, #fff, transparent);
  background-size: 520px 520px; }
.hero-fade { position: absolute; inset: auto 0 0; height: 220px; z-index: -1; background: linear-gradient(transparent, #08080c); pointer-events: none; }
.hero-copy { display: grid; justify-items: center; gap: clamp(20px, 2.4vw, 30px); max-width: 1080px; }
.hero h1 { font-size: clamp(3rem, 8.2vw, 7.6rem); font-weight: 800; line-height: .94; letter-spacing: -0.045em; }
.hero h1 .grad { background: linear-gradient(100deg, #fff 0%, #d9ceff 35%, #a48bff 65%, #ff8cc0 100%); -webkit-background-clip: text; background-clip: text; }
.hero-lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #b9bfcc; max-width: 46ch; }
.hero .pill { background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; }
.namebox { width: min(660px, 100%); display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 7px 7px 7px 26px; transition: border-color .2s, box-shadow .2s; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.namebox:focus-within { border-color: var(--lilac); box-shadow: 0 0 0 6px rgba(123, 92, 255, .22), 0 30px 80px rgba(0, 0, 0, .35); }
.namebox input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--chalk); font: 600 clamp(1.02rem, 1.6vw, 1.2rem) var(--body); padding: 12px 0; }
.namebox input::placeholder { color: #8d93a3; font-weight: 500; }
.namebox .btn { flex: none; padding: 15px 24px; }
@media (max-width: 520px) { .namebox { flex-wrap: wrap; padding: 6px; border-radius: 24px; } .namebox input { padding: 12px 16px; width: 100%; } .namebox .btn { width: 100%; } }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip-pick { font: 500 .92rem var(--body); color: #c9cdd8; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip-pick:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.chip-pick[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }

/* ================= GAP intro tweaks ================= */
#commissioni .h-l { max-width: 18ch; }
.ytd-callout { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }

/* ================= STORY (scroll-scrubbed phone) ================= */
.story-sec { height: 380vh; position: relative; }
.story-pin { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); display: flex; align-items: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--hair-d);
  background: radial-gradient(120% 80% at 75% 110%, #1d1440 0%, transparent 60%), linear-gradient(180deg, #07070d 0%, #0c0b1a 100%); }
/* night-city bokeh behind the phone */
.story-pin::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(2px); opacity: .9;
  background:
    radial-gradient(circle at 62% 78%, rgba(255, 176, 92, .30) 0 26px, transparent 60px),
    radial-gradient(circle at 88% 64%, rgba(255, 95, 162, .26) 0 34px, transparent 80px),
    radial-gradient(circle at 70% 30%, rgba(123, 92, 255, .30) 0 40px, transparent 110px),
    radial-gradient(circle at 96% 20%, rgba(45, 212, 191, .18) 0 22px, transparent 60px),
    radial-gradient(circle at 54% 52%, rgba(255, 220, 160, .14) 0 14px, transparent 40px),
    radial-gradient(circle at 80% 92%, rgba(123, 92, 255, .22) 0 30px, transparent 90px); }
.story-pin::after { content: ""; position: absolute; width: 46vw; height: 46vw; right: 2vw; top: 50%; transform: translateY(-50%); z-index: -1; border-radius: 50%; filter: blur(80px); background: radial-gradient(closest-side, rgba(123, 92, 255, .38), transparent); pointer-events: none; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.story-copy { display: grid; gap: 22px; align-content: center; }
.story-h { font-size: clamp(2rem, 3.6vw, 3.3rem); font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; }
.story-steps { display: flex; gap: 6px; margin-top: 6px; }
.story-steps i { flex: 1; max-width: 72px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); transition: background .4s; }
.story-steps i.on { background: linear-gradient(90deg, var(--violet), var(--lilac)); }
/* one big caption at a time, cross-fading in place */
.story-caps { list-style: none; padding: 0; margin: 0; display: grid; min-height: 4.7em; font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.16; letter-spacing: -0.025em; }
.story-caps li { grid-area: 1 / 1; color: #e9eaf0; opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.story-caps li.on { opacity: 1; transform: none; }
.story-caps li b { color: var(--lilac); font-weight: 700; }
.story-foot { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--hair-d); max-width: 560px; }
.story-stat { font-family: var(--body); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.4; color: #c9cdd8; }
.prog { height: 3px; background: var(--ink-3); border-radius: 3px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--lilac)); }

.sphone { height: min(84vh, 800px); height: min(calc(100svh - 120px), 800px); aspect-ratio: 9 / 19; margin-inline: auto; border-radius: 52px; background: #050506; padding: 11px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 2px #1d1e24, 0 60px 120px rgba(0, 0, 0, .6), 0 0 120px rgba(123, 92, 255, .25); max-width: 100%; }
.sscreen { height: 100%; border-radius: 42px; background: var(--bone); color: #15161b; position: relative; overflow: hidden; font-size: clamp(11px, 1.95vh, 15px); }
.sc-bar { display: flex; justify-content: space-between; padding: 14px 24px 6px; font-weight: 700; font-size: .85em; }
.sc-search { margin: 8px 12px 14px; background: #fff; border-radius: 999px; padding: 11px 16px; display: flex; gap: 8px; align-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.08); font-weight: 600; }
.sc-ico { color: var(--violet); font-size: 1.2em; line-height: 1; }
.sc-caret { width: 1.5px; height: 1.1em; background: var(--violet); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sc-results { padding: 0 12px; display: grid; gap: 10px; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s; }
.sc-res { background: #fff; border-radius: 18px; padding: 14px; display: grid; gap: 5px; position: relative; transition: opacity .4s, box-shadow .4s; }
.sc-res b { font-size: 1.05em; }
.sc-res small { color: var(--ash); font-size: .82em; }
.sc-res em { font-style: normal; color: var(--leak); font-weight: 700; font-size: .85em; }
.sc-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sc-acts span { background: #eef0f6; border-radius: 999px; padding: 6px 11px; font-size: .8em; font-weight: 700; }
.sc-acts .go { background: var(--violet); color: #fff; }
.tap { position: absolute; left: 34px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(123, 92, 255, .35); transform: scale(0); pointer-events: none; }
.sc-site { position: absolute; inset: 0; transform: translateX(105%); transition: transform .55s cubic-bezier(.2,.8,.2,1); font-size: .62em; background: #fff; padding-top: 2.2em; }
.sc-sheet { position: absolute; z-index: 4; left: 8px; right: 8px; bottom: 8px; background: #fff; border-radius: 28px; padding: 20px 18px 18px; display: grid; gap: 14px; box-shadow: 0 -20px 50px rgba(0,0,0,.25); transform: translateY(125%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sc-sheet b { font-family: var(--display); font-size: 1.15em; }
.sc-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-picks span { border: 1.5px solid #dcdee6; border-radius: 12px; padding: 9px 12px; font-weight: 700; font-size: .9em; }
.sc-picks .sel { border-color: var(--violet); background: rgba(123, 92, 255, .1); color: #4b2fd6; }
.sc-confirm { background: #15161b; color: #fff; text-align: center; padding: 13px; border-radius: 16px; font-weight: 700; }
.sc-ok { position: absolute; inset: 0; z-index: 5; background: rgba(11, 12, 16, .9); color: #fff; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 24px; opacity: 0; transition: opacity .45s; backdrop-filter: blur(4px); }
.sc-ok .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--keep); color: var(--ink); display: grid; place-items: center; font-size: 30px; font-weight: 800; transform: scale(.3); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.sc-ok b { font-family: var(--display); font-size: 1.4em; }
.sc-ok small { color: var(--dim); }
.sscreen:not([data-s="1"]) .sc-results { opacity: 1; transform: none; }
.sscreen[data-s="2"] .sc-res.rival { box-shadow: 0 0 0 2px var(--violet); }
.sscreen[data-s="2"] .sc-res.you { opacity: .55; }
.sscreen[data-s="2"] .tap { animation: tap 1.3s ease-out .3s infinite; }
@keyframes tap { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.sscreen[data-s="3"] .sc-site, .sscreen[data-s="4"] .sc-site, .sscreen[data-s="5"] .sc-site { transform: none; }
.sscreen[data-s="4"] .sc-sheet, .sscreen[data-s="5"] .sc-sheet { transform: none; }
.sscreen[data-s="5"] .sc-ok { opacity: 1; }
.sscreen[data-s="5"] .sc-ok .tick { transform: none; }

@media (max-width: 860px) {
  .story-sec { height: 360vh; }
  .story-grid { grid-template-columns: 1fr; gap: 14px; }
  .story-device { order: -1; }
  .story-copy { gap: 10px; }
  .story-copy .label, .story-h { display: none; }
  .sphone { height: min(54svh, 520px); border-radius: 40px; padding: 8px; }
  .sscreen { border-radius: 32px; font-size: clamp(9.5px, 1.6svh, 12px); }
  .story-caps { font-size: 1.2rem; min-height: 4.8em; }
  .story-foot { padding-top: 10px; }
  .story-stat { font-size: .92rem; }
}

/* ================= BUILD (how it works) ================= */
.build-sec { height: 320vh; position: relative; }
.build-pin { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); display: flex; align-items: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--hair-d);
  background: radial-gradient(60% 70% at 70% 50%, rgba(123, 92, 255, .22), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(255, 95, 162, .10), transparent 70%), #08080c; }
.build-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; width: 100%; }
.build-stage .browser { max-width: calc((100svh - 150px) * 1.54); margin-left: auto; }
.build-copy { display: grid; gap: 22px; }
.build-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.build-steps li { border-radius: 18px; padding: 16px 18px; border: 1px solid transparent; transition: background .35s, border-color .35s, opacity .35s; opacity: .45; display: grid; gap: 4px; }
.build-steps li .n { font-family: var(--mono); font-size: .75rem; color: var(--lilac); }
.build-steps li h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -0.025em; }
.build-steps li p { color: #aeb4c2; font-size: 1.02rem; }
.build-steps li.on { opacity: 1; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.build-steps li.done { opacity: .75; }
.build-steps li.done .n::after { content: "  ✓"; color: var(--keep); }
.build-stage { position: relative; }
.browser { background: #16171d; border-radius: 18px; overflow: hidden; box-shadow: 0 50px 110px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); }
.bbar { display: flex; gap: 8px; align-items: center; padding: 11px 14px; }
.bbar > i { width: 9px; height: 9px; border-radius: 50%; background: #3a3d48; flex: none; }
.burl { flex: 1; min-width: 0; margin-left: 8px; background: #0f1015; border-radius: 999px; padding: 6px 14px; font-family: var(--mono); font-size: .76rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.blive { font-family: var(--mono); font-size: .72rem; color: var(--keep); display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s cubic-bezier(.3,1.6,.5,1); white-space: nowrap; }
.blive::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--keep); box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.is-live .blive { opacity: 1; transform: none; }
.is-live .burl { color: var(--chalk); }
.bview { position: relative; aspect-ratio: 16 / 10.4; background: #f1f2f6; overflow: hidden; font-size: clamp(7px, 0.92vw, 13px); }
.skel { position: absolute; inset: 0; padding: 3% 3.5%; display: grid; grid-template-rows: auto 1fr auto auto; gap: 4%; transition: opacity .45s; }
.skel i { display: block; border-radius: 12px; background: linear-gradient(90deg, #e2e4ec 0%, #f4f5f9 40%, #e2e4ec 80%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skel i:nth-child(1) { height: 7%; min-height: 18px; width: 60%; }
.skel i:nth-child(3), .skel i:nth-child(4) { height: 22px; }
@keyframes shimmer { to { background-position: -200% 0; } }
#buildSite { position: absolute; inset: 0; opacity: 0; transform: scale(.985); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
.build-stage:not([data-phase="sketch"]) .skel { opacity: 0; }
.build-stage:not([data-phase="sketch"]) #buildSite { opacity: 1; transform: none; }
#buildSite .ms { transition: filter .8s ease; }
.recolor #buildSite .ms { filter: hue-rotate(38deg) saturate(1.15); }
.chat { position: absolute; right: 4%; bottom: 7%; display: grid; gap: 8px; width: min(60%, 320px); z-index: 3; transition: opacity .4s; }
.chat .b { background: var(--ink); color: var(--chalk); padding: 11px 15px; border-radius: 18px 18px 4px 18px; font-size: clamp(11px, 1vw, 14px); font-weight: 500; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .35s, transform .45s cubic-bezier(.3,1.5,.5,1); box-shadow: 0 10px 30px rgba(0,0,0,.25); justify-self: end; }
.chat .b:nth-child(2) { background: var(--violet); justify-self: start; border-radius: 18px 18px 18px 4px; }
.chat .b.in { opacity: 1; transform: none; }
.build-stage[data-phase="live"] .chat { opacity: 0; }
.build-stage[data-phase="sketch"] .chat { opacity: 0; }
@media (max-width: 860px) {
  .build-sec { height: 340vh; }
  .build-grid { grid-template-columns: 1fr; gap: 18px; }
  .build-stage { order: -1; }
  .build-copy h2 { font-size: 1.8rem; }
  .build-steps li { display: none; }
  .build-steps li.on { display: grid; }
}

/* ================= TOUR (what your site has) ================= */
.tour-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 900px) { .tour-grid { grid-template-columns: 1fr; } .tour-stage { order: -1; } }
.tour-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tour-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 18px; border-radius: 18px; cursor: default; border: 1px solid transparent; transition: background .3s, border-color .3s, transform .3s; }
.tour-list li .n { font-family: var(--mono); font-size: .8rem; color: var(--dim); padding-top: 4px; }
.tour-list li b { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.02em; display: block; }
.tour-list li p { color: var(--dim); font-size: .98rem; margin-top: 2px; }
.tour-list li.on { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); transform: translateX(6px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tour-list li.on .n { color: var(--lilac); }
.tour-stage { position: relative; padding-bottom: 5%; }
.hphone { position: absolute; right: -2%; bottom: 0; width: 27%; aspect-ratio: 9 / 19; border-radius: 26px; background: #050506; padding: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.14); z-index: 2; }
.hphone .pscreen { height: 100%; border-radius: 21px; overflow: hidden; font-size: clamp(5.5px, 0.55vw, 8px); background: #fff; }
.tour-stage .browser { box-shadow: 0 50px 110px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.1); }
.tour-stage .bview { background: #fff; }
.tour-stage .hphone { width: 26%; }
.proofs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 700px) { .proofs { grid-template-columns: 1fr; } }
.proof { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--chalk); border-radius: 26px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; align-content: start; }
.proof .big { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; background: linear-gradient(100deg, var(--chalk), var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof p { color: #c9cdd8; max-width: 44ch; }
.proof .src { color: var(--dim); }

/* ================= FORM ================= */
.form-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form-copy { display: grid; gap: 22px; }
.form-copy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.form-copy li { display: flex; gap: 12px; color: #c9cdd8; }
.form-copy li::before { content: "✓"; color: var(--keep); font-weight: 800; }
.pform { background: rgba(20, 21, 28, .72); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 28px; padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 16px; box-shadow: 0 40px 100px rgba(0, 0, 0, .45); color-scheme: dark; }
.pform .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .pform .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--dim); }
.field input, .field select { font: inherit; font-size: 1rem; color: var(--chalk); background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s; }
.field input::placeholder { color: #737a8c; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--violet); background: rgba(255, 255, 255, .09); }
.field select option { background: var(--ink-2); color: var(--chalk); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--dim); }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consent input { margin-top: 3px; accent-color: var(--violet); }
.pform .btn { width: 100%; padding: 17px 22px; font-size: 1.05rem; }
.form-msg { font-size: .92rem; min-height: 1.4em; }
.form-msg.ok { color: var(--keep); font-weight: 600; }
.form-msg.err { color: var(--leak); font-weight: 600; }
.pform.sent .field, .pform.sent .row, .pform.sent .consent, .pform.sent button { display: none; }
.pform.sent .form-msg { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.02em; }

.chips-field { border: 0; margin: 0; padding: 0; }
.chips-field legend { font-size: .88rem; font-weight: 600; padding: 0; margin-bottom: 8px; }
.chips-field legend small { font-weight: 400; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .08); font-size: .9rem; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: var(--chalk); color: var(--ink); }
.chip input:checked + span::before { content: "✓ "; color: var(--violet); }
.chip input:focus-visible + span { border-color: var(--violet); }

/* ================= DARK VERSIONS of shared components (home only; piano keeps poofy.css) ================= */
body[data-public] .coin { background: #fff; opacity: .09; }
body[data-public] .coin.taken { background: var(--leak); opacity: 1; box-shadow: 0 0 18px rgba(255, 90, 95, .55); }
body[data-public] .coin.found { background: var(--violet); opacity: 1; box-shadow: 0 0 18px rgba(123, 92, 255, .6); }
body[data-public] .k-rest { background: #fff; opacity: .2; }
body[data-public] .coins-key { color: var(--dim); }
body[data-public] .calc { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border-color: rgba(255,255,255,.12); color: var(--chalk); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body[data-public] .calc output { color: var(--lilac); }
body[data-public] .calc .extra, body[data-public] .calc .out small { color: var(--dim); }
body[data-public] .calc .out { border-color: var(--hair-d); }
body[data-public] .calc .out .hl { background: linear-gradient(135deg, #7b5cff, #4b2fd6); }
body[data-public] .calc .out .hl small { color: #e4dcff; }
body[data-public] #r-kept { color: var(--keep) !important; }
body[data-public] .calc .src { color: var(--dim); }
body[data-public] .dark-picker .pick { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body[data-public] .dark-picker .pick:hover { border-color: var(--lilac); }
body[data-public] .dark-picker .pick[aria-pressed="true"] { background: var(--chalk); border-color: var(--chalk); box-shadow: 0 0 0 4px rgba(123, 92, 255, .35), 0 20px 50px rgba(123, 92, 255, .25); }
body[data-public] .tier { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border-color: rgba(255,255,255,.12); color: var(--chalk); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body[data-public] .tier .label { color: var(--lilac); }
body[data-public] .tier li::before { color: var(--lilac); }
body[data-public] .tier.best { background: linear-gradient(170deg, rgba(123, 92, 255, .32), rgba(123, 92, 255, .06) 60%); border: 1px solid rgba(164, 139, 255, .7); box-shadow: 0 0 0 1px rgba(123, 92, 255, .2), 0 40px 100px rgba(123, 92, 255, .28); }
body[data-public] .marquee { background: #06060a; }
