/* Sparkast public product page. Kept separate from the shared studio and account styles. */
:root {
    color-scheme: dark;
    --home-bg: #090916;
    --home-bg-raised: #0f1021;
    --home-surface: #15172c;
    --home-surface-strong: #1a1b35;
    --home-line: rgba(160, 157, 220, .16);
    --home-text: #f6f3ff;
    --home-muted: #b5b2cc;
    --home-soft: #85829e;
    --home-violet: #a348ff;
    --home-violet-bright: #c567ff;
    --home-blue: #38a8ff;
    --home-green: #7de8c2;
    --home-width: 1400px;
}

.home-page {
    min-width: 320px;
    overflow-x: clip;
    background:
        radial-gradient(ellipse 50% 44% at 80% 8%, rgba(73, 27, 158, .17), transparent 70%),
        var(--home-bg);
    color: var(--home-text);
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    line-height: 1.55;
}

.home-page a { color: inherit; }
.home-page a:hover { color: white; }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 2px solid #c98cff; outline-offset: 4px; }
.home-wrap { width: min(var(--home-width), calc(100% - 64px)); margin-inline: auto; }
.home-skip { position: absolute; z-index: 30; top: 8px; left: 12px; padding: 10px 14px; transform: translateY(-150%); border-radius: 8px; background: white; color: #100a1b !important; }
.home-skip:focus { transform: translateY(0); }

/* The shared header is restyled only on the marketing homepage. */
.home-page > header.container {
    position: sticky;
    top: 10px;
    z-index: 20;
    display: flex;
    width: min(1460px, calc(100% - 64px));
    max-width: none;
    min-height: 72px;
    margin-inline: auto;
    padding: 10px 18px;
    flex-wrap: nowrap !important;
    border: 1px solid rgba(176, 159, 226, .19);
    border-radius: 15px;
    background: rgba(12, 11, 27, .86);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22), inset 0 1px rgba(255,255,255,.035);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.home-page .brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.055em; }
.home-page .brand i { color: #b34fff; font-size: 1.45rem; filter: drop-shadow(0 0 12px rgba(176, 69, 255, .65)); }
.home-page .brand { gap: 10px; margin-right: auto; font-size: 1.25rem; }
.home-page .brand i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(190, 112, 255, .25); border-radius: 10px; background: rgba(145, 58, 218, .16); font-size: 1rem; }

.home-hero { position: relative; isolation: isolate; min-height: min(660px, calc(100svh - 68px)); display: grid; align-items: center; padding-block: 34px 40px; }
.home-hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: radial-gradient(ellipse 38% 58% at 81% 46%, rgba(108, 32, 218, .20), transparent 75%), radial-gradient(ellipse 26% 32% at 60% 100%, rgba(0, 128, 255, .13), transparent 78%); }
.home-hero-grid { display: grid; grid-template-columns: minmax(310px, .88fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 78px); align-items: center; }
.hero-copy { position: relative; z-index: 4; max-width: 590px; padding-block: 24px; }
.hero-kicker, .section-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: #d5a5ff; font-size: .75rem; font-weight: 750; letter-spacing: .055em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #bd65ff; box-shadow: 0 0 12px rgba(190, 96, 255, .9); }
.hero-copy h1 { max-width: 12ch; margin: 0; color: #fbf9ff; font-size: clamp(2.85rem, 5.2vw, 5rem); font-weight: 800; line-height: 1.035; letter-spacing: -.067em; }
.hero-copy h1 em { color: #c252ff; font-style: normal; text-shadow: 0 0 34px rgba(164, 72, 255, .28); }
.hero-lead { max-width: 48ch; margin: 19px 0 23px; color: #c2bfd4; font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.home-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border: 1px solid transparent; border-radius: 11px; font-size: .86rem; font-weight: 750; text-decoration: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.home-button:hover { transform: translateY(-2px); }
.home-button:active { transform: translateY(0); }
.home-button-primary { background: linear-gradient(105deg, #a633ed, #6729df); box-shadow: 0 8px 26px rgba(127, 45, 231, .30), inset 0 1px rgba(255,255,255,.18); color: #fff !important; }
.home-button-primary:hover { background: linear-gradient(105deg, #b647f5, #7939eb); box-shadow: 0 11px 30px rgba(127, 45, 231, .42); }
.home-button-secondary { border-color: rgba(175, 166, 217, .32); background: rgba(17, 17, 37, .78); color: #f1edff !important; }
.home-button-secondary:hover { border-color: rgba(197, 135, 255, .65); background: #18162e; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 21px; margin: 22px 0 0; padding: 0; color: #b4b0c9; font-size: .74rem; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts i { color: #c06aff; }

.hero-art { position: relative; min-width: 0; min-height: clamp(390px, 38vw, 550px); isolation: isolate; }
.hero-aura { position: absolute; z-index: -2; inset: 8% 0 4% 4%; border-radius: 50%; background: radial-gradient(ellipse, rgba(95, 26, 186, .28), rgba(37, 28, 117, .12) 40%, transparent 72%); filter: blur(24px); }
.hero-pack-window { position: absolute; z-index: 1; top: 12%; left: 0; width: 94%; overflow: hidden; padding: 9px; border: 1px solid rgba(174, 115, 255, .74); border-radius: 20px; background: rgba(12, 12, 28, .91); box-shadow: 0 0 0 1px rgba(124, 53, 220, .23), 0 0 34px rgba(129, 47, 230, .39), 0 28px 80px rgba(0, 0, 0, .53); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.window-bar, .window-foot { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px; color: #a9a6be; font-size: .61rem; font-weight: 650; letter-spacing: .06em; }
.window-bar > i { color: #9386b8; }
.window-lights { display: inline-flex; gap: 5px; }
.window-lights i { width: 7px; height: 7px; border-radius: 50%; background: #8141cb; }
.window-lights i:first-child { background: #d15bff; }
.window-lights i:last-child { background: #378bd7; }
.stream-preview-canvas { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(162, 146, 206, .27); border-radius: 10px; background: #131329; }
.stream-preview-canvas .gameplay-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-overlay { position: absolute; inset: 0; overflow: hidden; color: #f6efff; }
.preview-live { position: absolute; top: 8%; left: 7%; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(193, 126, 255, .6); border-radius: 10px; background: rgba(12, 10, 28, .88); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.preview-bolt { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(197, 123, 255, .65); border-radius: 7px; color: #d294ff; font-size: 1.05rem; }
.preview-live strong, .preview-live small { display: block; line-height: 1.2; }
.preview-live strong { font-size: .58rem; letter-spacing: .09em; }
.preview-live small { margin-top: 3px; color: #c7b0dc; font-size: .48rem; letter-spacing: .11em; }
.preview-camera { position: absolute; left: 7%; bottom: 16%; width: 34%; height: 32%; border: 1px solid rgba(189, 114, 255, .85); border-radius: 12px; background: linear-gradient(135deg, rgba(119, 53, 177, .15), rgba(12, 9, 26, .08)); box-shadow: inset 0 0 0 5px rgba(13, 11, 29, .17), 0 0 26px rgba(134, 49, 220, .18); }
.preview-nameplate { position: absolute; left: 7%; bottom: 9%; padding: 7px 10px; border: 1px solid rgba(189,114,255,.32); border-radius: 7px; background: rgba(12, 10, 27, .9); color: #f6efff; font-size: .5rem; letter-spacing: .08em; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.preview-panels { position: absolute; top: 8%; right: 7%; bottom: 8%; display: flex; width: 35%; flex-direction: column; gap: 9px; }
.preview-panel { position: relative; display: flex; min-height: 0; flex: 1; flex-direction: column; justify-content: space-between; padding: 11px 12px; overflow: hidden; border: 1px solid rgba(189, 114, 255, .42); border-radius: 12px; background: linear-gradient(145deg, rgba(21, 17, 39, .91), rgba(9, 10, 22, .79)); box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.preview-panel::before { position: absolute; top: 0; left: 12px; width: 33px; height: 2px; content: ""; background: #c27aff; box-shadow: 0 0 12px #b754ff; }
.preview-panel strong { font-size: .53rem; letter-spacing: .13em; }
.preview-panel small { color: #c1b4d1; font-size: .48rem; }
.scene-art-label { position: absolute; right: 9px; bottom: 9px; z-index: 2; padding: 5px 8px; border: 1px solid rgba(191, 151, 252, .28); border-radius: 999px; background: rgba(11, 10, 28, .86); color: #eee7fb; font-size: .56rem; }
.window-foot { min-height: 31px; font-size: .64rem; letter-spacing: 0; }
.window-foot > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #f2ebff; }
.window-foot > span:first-child i { width: 7px; height: 7px; border-radius: 50%; background: #ac58ef; box-shadow: 0 0 8px #ad5afa; }
.hero-mascot { position: absolute; z-index: 2; right: -3%; bottom: -1%; width: min(58%, 410px); height: 91%; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 14px 34px rgba(80, 31, 171, .20)); pointer-events: none; }
.floating-tag { position: absolute; z-index: 3; right: 4%; bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 10px 15px 10px 10px; border: 1px solid rgba(179, 124, 255, .4); border-radius: 12px; background: rgba(18, 14, 38, .94); box-shadow: 0 10px 32px rgba(0,0,0,.38); }
.tag-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #7427bd; color: #fff; box-shadow: 0 0 18px rgba(173, 65, 255, .36); }
.floating-tag strong, .floating-tag small { display: block; }
.floating-tag strong { color: #f3edff; font-size: .72rem; }
.floating-tag small { color: #a9a4bf; font-size: .64rem; }
.hero-floor { position: absolute; z-index: -1; right: 5%; bottom: 0; left: 5%; height: 1px; background: linear-gradient(90deg, transparent, rgba(91, 109, 255, .5), rgba(191, 70, 255, .65), transparent); box-shadow: 0 0 24px 5px rgba(102, 64, 255, .23); }

.capability-rail { position: relative; z-index: 4; width: min(1440px, calc(100% - 48px)); margin: -1px auto 0; border: 1px solid rgba(157, 151, 211, .20); border-radius: 16px; background: linear-gradient(105deg, rgba(23, 22, 48, .94), rgba(18, 20, 44, .97)); box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); width: 100%; }
.capability { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 15px 19px; text-decoration: none; transition: background-color .18s ease; }
.capability + .capability { border-left: 1px solid rgba(157, 151, 211, .13); }
.capability:hover { background: rgba(156, 77, 255, .09); }
.capability-icon, .list-icon { display: grid; flex: 0 0 auto; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(172, 103, 255, .3); border-radius: 11px; background: linear-gradient(145deg, rgba(111, 44, 186, .34), rgba(41, 47, 108, .3)); color: #cf8aff; font-size: 1.02rem; box-shadow: inset 0 0 16px rgba(137, 69, 255, .11); }
.capability strong, .capability small { display: block; overflow: hidden; text-overflow: ellipsis; }
.capability strong { color: #f4f0ff; font-size: .75rem; font-weight: 750; }
.capability small { margin-top: 3px; color: #aaa6c0; font-size: .65rem; }

.home-section { position: relative; padding-block: clamp(58px, 7vw, 92px); }
.feature-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(38px, 7vw, 100px); align-items: center; }
.feature-visual { position: relative; min-height: 0; display: grid; align-items: center; }
.feature-visual-glow { position: absolute; inset: 8% 0; border-radius: 50%; background: radial-gradient(ellipse, rgba(49, 71, 195, .20), rgba(128, 43, 190, .12) 45%, transparent 72%); filter: blur(27px); }
.feature-scene-card { position: relative; z-index: 1; width: 100%; overflow: hidden; padding: 8px; border: 1px solid rgba(137, 126, 226, .67); border-radius: 17px; background: #101126; box-shadow: 0 0 0 1px rgba(122, 74, 229, .16), 0 18px 52px rgba(32, 20, 91, .42); }
.feature-scene-card img { display: block; width: 100%; height: auto !important; aspect-ratio: 16 / 9; border-radius: 9px; object-fit: cover; }
.scene-chip { position: absolute; top: 21px; right: 20px; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(173, 132, 255, .31); border-radius: 99px; background: rgba(14, 13, 33, .89); color: #ebe3ff; font-size: .63rem; }
.scene-chip i { color: #e34865; font-size: .45rem; }
.scene-toolbar { display: flex; justify-content: space-between; gap: 10px; padding: 9px 5px 1px; color: #aaa7c2; font-size: .63rem; }
.scene-toolbar span:first-child { color: #f0eaff; }
.scene-toolbar i { margin-right: 6px; color: #c778ff; }
.scene-stack { position: absolute; z-index: 2; right: -1%; bottom: -1%; display: grid; gap: 8px; width: min(230px, 49%); padding: 11px; border: 1px solid rgba(158, 145, 225, .24); border-radius: 13px; background: rgba(16, 16, 37, .95); box-shadow: 0 17px 43px rgba(0,0,0,.42); }
.scene-stack span { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 8px; border-radius: 7px; background: rgba(42, 40, 76, .53); color: #d6d0e9; font-size: .66rem; }
.scene-stack i { color: #bf6cff; }
.feature-copy { max-width: 600px; }
.section-kicker { margin-bottom: 13px; color: #c27aff; font-size: .7rem; }
.feature-copy h2, .section-heading-row h2, .creator-copy h2 { margin: 0; color: #f6f3ff; font-size: clamp(2rem, 3.4vw, 3.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.06em; }
.section-lead { max-width: 54ch; margin: 15px 0 0; color: #b4b1c9; font-size: .94rem; line-height: 1.7; }
.feature-list { display: grid; gap: 20px; margin-top: 30px; }
.feature-list article { display: flex; align-items: flex-start; gap: 13px; }
.list-icon { width: 36px; height: 36px; border-radius: 10px; }
.feature-list h3 { margin: 0; color: #f3efff; font-size: .9rem; font-weight: 750; }
.feature-list p { margin: 4px 0 0; color: #aaa7bf; font-size: .76rem; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 23px; color: #dcaaff !important; font-size: .8rem; font-weight: 750; text-decoration: none; }
.text-link i { transition: transform .16s ease; }
.text-link:hover i { transform: translateX(4px); }

.library-section { padding-top: 66px; border-top: 1px solid rgba(166, 156, 213, .12); background: linear-gradient(180deg, rgba(17, 17, 37, .30), transparent); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 29px; }
.section-heading-row h2 { max-width: 18ch; }
.section-heading-row .section-lead { margin-top: 9px; }
.heading-link { flex: 0 0 auto; margin: 0 0 7px; }
.overlay-showcase { display: grid; grid-template-columns: 1.42fr 1fr 1fr; gap: 15px; }
.overlay-tile { position: relative; display: block; min-width: 0; overflow: hidden; aspect-ratio: 1.8 / 1; border: 1px solid rgba(167, 155, 222, .22); border-radius: 14px; background: #14142a; box-shadow: 0 13px 36px rgba(0,0,0,.19); text-decoration: none; }
.overlay-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.overlay-tile:hover img { transform: scale(1.025); }
.overlay-tile:hover { border-color: rgba(190, 121, 255, .56); }
.tile-label { position: absolute; right: 10px; bottom: 10px; left: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid rgba(166, 143, 219, .23); border-radius: 9px; background: rgba(10, 10, 25, .91); color: #f1ecff; font-size: .73rem; }
.tile-label i { color: #c780ff; }

.creator-band { position: relative; overflow: hidden; border-block: 1px solid rgba(169, 129, 244, .19); background: radial-gradient(ellipse at 80% 48%, rgba(95, 36, 182, .24), transparent 52%), linear-gradient(105deg, #121226, #14122a 55%, #101426); }
.creator-band-inner { display: grid; min-height: 360px; grid-template-columns: 1fr .9fr; gap: 56px; align-items: center; padding-block: 60px; }
.creator-copy { max-width: 620px; }
.creator-copy h2 { max-width: 16ch; }
.creator-copy > p:not(.section-kicker) { max-width: 54ch; margin: 14px 0 0; color: #b4b1c9; font-size: .88rem; line-height: 1.65; }
.creator-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 11px; border: 1px solid rgba(185, 144, 247, .24); border-radius: 9px; background: rgba(93, 53, 148, .16); color: #d1c7e9; font-size: .72rem; }
.creator-status i { color: #c37bff; }
.alert-art { position: relative; min-height: 230px; display: grid; align-content: center; justify-items: center; gap: 12px; }
.alert-orbit { position: absolute; width: 240px; height: 240px; border: 1px solid rgba(155, 96, 255, .21); border-radius: 50%; }
.orbit-a { box-shadow: 0 0 0 29px rgba(133, 78, 230, .045), 0 0 0 60px rgba(95, 75, 199, .035); }
.orbit-b { width: 166px; height: 166px; border-color: rgba(51, 148, 255, .22); }
.alert-card { position: relative; z-index: 1; display: flex; width: min(370px, 90%); min-height: 66px; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid rgba(180, 131, 255, .35); border-radius: 12px; background: rgba(23, 21, 48, .95); box-shadow: 0 15px 42px rgba(0,0,0,.35), 0 0 25px rgba(130, 54, 217, .13); }
.alert-card-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: rgba(136, 51, 210, .32); color: #dc9aff; }
.alert-card strong, .alert-card small { display: block; }
.alert-card strong { color: #f5f0ff; font-size: .76rem; }
.alert-card small { margin-top: 2px; color: #aaa5c2; font-size: .65rem; }
.alert-check { display: grid; width: 24px; height: 24px; margin-left: auto; place-items: center; border-radius: 50%; background: rgba(62, 194, 147, .18); color: #70e5bd; font-size: .68rem; }
.alert-card-muted { width: min(330px, 83%); transform: translateX(16px); opacity: .74; }

.platform-band { position: relative; padding-block: 26px; border-block: 1px solid rgba(165, 155, 218, .14); background: linear-gradient(95deg, rgba(20, 20, 43, .96), rgba(15, 18, 39, .96)); }
.platform-inner { display: grid; grid-template-columns: .78fr 1.22fr; gap: 30px; align-items: center; }
.platform-heading .section-kicker { margin-bottom: 5px; font-size: .62rem; }
.platform-heading h2 { max-width: 20ch; margin: 0; color: #f3efff; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 800; letter-spacing: -.04em; }
.platform-items { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.platform-item { display: flex; min-width: 0; min-height: 58px; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid rgba(156, 148, 207, .20); border-radius: 10px; background: rgba(30, 30, 57, .66); }
.platform-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: rgba(142, 65, 218, .20); color: #cd8aff; font-size: .82rem; }
.platform-item strong, .platform-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.platform-item strong { color: #f2edff; font-size: .65rem; }
.platform-item small { margin-top: 2px; color: #a7a3bb; font-size: .55rem; }

.why-section { padding-block: 70px; }
.why-heading { margin-bottom: 22px; }
.why-heading .section-kicker { margin-bottom: 8px; }
.why-heading h2, .pricing-head h2 { margin: 0; color: #f6f3ff; font-size: clamp(1.85rem, 3vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.055em; }
.why-heading .section-lead, .pricing-head .section-lead { margin-top: 8px; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.why-card { min-height: 166px; padding: 17px; border: 1px solid rgba(156, 148, 207, .20); border-radius: 13px; background: linear-gradient(145deg, rgba(25, 26, 53, .9), rgba(17, 18, 39, .94)); transition: transform .18s ease, border-color .18s ease, background-color .18s ease; }
.why-card:hover { transform: translateY(-2px); border-color: rgba(183, 118, 255, .46); }
.why-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(178, 106, 255, .28); border-radius: 10px; background: rgba(120, 48, 192, .20); color: #c984ff; }
.why-card h3 { margin: 12px 0 4px; color: #f4efff; font-size: .79rem; font-weight: 800; }
.why-card p { margin: 0; color: #aeabc2; font-size: .68rem; line-height: 1.55; }

.pricing-section { border-top: 1px solid rgba(166,156,213,.12); background: radial-gradient(ellipse at 50% 45%, rgba(90, 40, 166, .10), transparent 62%); }
.pricing-head { margin-bottom: 23px; }
.edition-grid { display: grid; max-width: 980px; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-inline: auto; }
.edition-card { display: flex; min-height: 240px; flex-direction: column; padding: 21px; border: 1px solid rgba(158, 151, 207, .23); border-radius: 15px; background: linear-gradient(145deg, rgba(22, 24, 48, .96), rgba(15, 17, 37, .98)); box-shadow: 0 15px 40px rgba(0,0,0,.20); }
.edition-card-featured { border-color: rgba(184, 96, 255, .67); box-shadow: 0 0 0 1px rgba(149, 70, 220, .14), 0 0 28px rgba(129, 54, 210, .16), 0 15px 40px rgba(0,0,0,.20); }
.edition-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.edition-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: rgba(132, 55, 207, .23); color: #d08cff; }
.edition-status { color: #d0a5ff; font-size: .66rem; font-weight: 750; }
.edition-card h3 { margin: 14px 0 3px; color: #f8f5ff; font-size: 1.28rem; font-weight: 800; letter-spacing: -.04em; }
.edition-card p { margin: 0; color: #b4b1c9; font-size: .77rem; }
.edition-price { margin-top: auto; padding-top: 18px; color: #e6d2ff; font-size: .78rem; font-weight: 750; }
.edition-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 10px 11px; border: 1px solid rgba(166, 139, 223, .22); border-radius: 9px; background: rgba(36, 34, 70, .66); color: #f4edff !important; font-size: .7rem; font-weight: 750; text-decoration: none; }
.edition-link i { color: #cb87ff; }
.edition-link:hover { border-color: rgba(190, 121, 255, .52); }
.pricing-disclaimer { display: flex; max-width: 980px; align-items: flex-start; gap: 9px; margin: 15px auto 0; color: #aaa6bf; font-size: .68rem; }
.pricing-disclaimer i { margin-top: 2px; color: #c17eff; }

.home-close { padding: 44px 0 78px; }
.close-panel { position: relative; display: grid; grid-template-columns: .65fr 1fr auto; gap: 28px; align-items: center; padding: 24px 30px; overflow: hidden; border: 1px solid rgba(177, 106, 255, .56); border-radius: 17px; background: radial-gradient(ellipse at 0% 50%, rgba(126, 41, 210, .33), transparent 43%), linear-gradient(100deg, #1a1535, #15152c 75%); box-shadow: 0 0 28px rgba(129, 59, 231, .17), 0 16px 45px rgba(0,0,0,.28); }
.close-brand { display: flex; align-items: center; gap: 12px; }
.close-brand strong, .close-brand small { display: block; }
.close-brand strong { font-size: 1.18rem; font-weight: 800; letter-spacing: -.05em; }
.close-brand small { color: #aca5c4; font-size: .67rem; }
.bolt-mark { display: grid; width: 42px; height: 42px; place-items: center; color: #c178ff; font-size: 1.7rem; filter: drop-shadow(0 0 12px rgba(179, 74, 255, .65)); }
.close-copy h2 { margin: 0; color: #f8f5ff; font-size: 1.18rem; font-weight: 800; letter-spacing: -.035em; }
.close-copy p { margin: 4px 0 0; color: #b7b2cb; font-size: .74rem; }
.close-panel .home-button { white-space: nowrap; }


@media (max-width: 1100px) {
    .home-wrap { width: min(var(--home-width), calc(100% - 48px)); }
    .home-hero-grid { grid-template-columns: minmax(285px, .9fr) minmax(0, 1.1fr); gap: 24px; }
    .hero-art { min-height: 490px; }
    .hero-mascot { width: 62%; height: 88%; right: -2%; }
    .capability { padding-inline: 12px; }
    .capability-icon { width: 36px; height: 36px; }
    .feature-layout { gap: 42px; }
}

@media (max-width: 900px) {
    .home-page .home-hero { scroll-margin-top: 84px; }
}

@media (max-width: 780px) {
    .home-wrap { width: calc(100% - 40px); }
    .platform-inner { grid-template-columns: 1fr; gap: 15px; }
    .platform-items { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .why-section { padding-block: 56px; }
    .home-hero { min-height: auto; padding-block: 50px 30px; }
    .home-hero-grid { grid-template-columns: 1fr; gap: 12px; }
    .hero-copy { max-width: 670px; padding: 0; }
    .hero-copy h1 { max-width: 13ch; font-size: clamp(2.7rem, 8vw, 4.2rem); }
    .hero-lead { max-width: 58ch; }
    .hero-art { width: min(100%, 650px); min-height: clamp(350px, 70vw, 510px); margin: -3px auto 0; }
    .hero-pack-window { top: 9%; left: 0; width: 95%; }
    .hero-mascot { right: -1%; width: min(58%, 380px); height: 86%; }
    .preview-panels { right: 5%; width: 38%; }
    .preview-panel { padding: 8px; }
    .floating-tag { right: 0; bottom: 1%; }
    .capability-rail { width: calc(100% - 32px); }
    .capability-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .capability { min-height: 70px; padding: 12px; }
    .capability:nth-child(3) { border-left: 0; border-top: 1px solid rgba(157,151,211,.13); }
    .capability:nth-child(4) { border-top: 1px solid rgba(157,151,211,.13); }
    .feature-layout { grid-template-columns: 1fr; gap: 36px; }
    .feature-visual { min-height: 0; }
    .feature-scene-card { width: 100%; }
    .feature-copy { max-width: 680px; }
    .home-section { padding-block: 74px; }
    .library-section { padding-top: 66px; }
    .overlay-showcase { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .overlay-tile-large { grid-column: 1 / -1; }
    .creator-band-inner { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding-block: 54px; }
    .alert-art { min-height: 220px; }
    .close-panel { grid-template-columns: 1fr auto; gap: 18px; padding: 22px; }
    .close-brand { grid-column: 1 / -1; }
    .close-panel .home-button { grid-column: 2; grid-row: 2; }
    .close-copy { grid-column: 1; grid-row: 2; }
}

@media (max-width: 480px) {
    .home-wrap { width: calc(100% - 36px); }
    .home-hero { padding-top: 38px; }
    .hero-kicker { font-size: .68rem; }
    .hero-copy h1 { font-size: clamp(2.55rem, 11vw, 3.25rem); }
    .hero-lead { margin-block: 15px 19px; font-size: .92rem; }
    .hero-actions { align-items: stretch; }
    .home-button { min-height: 46px; padding-inline: 13px; font-size: .75rem; }
    .hero-facts { gap: 8px 15px; font-size: .67rem; }
    .hero-art { min-height: 330px; width: calc(100% + 10px); margin-left: -5px; }
    .hero-pack-window { top: 12%; left: 0; width: 98%; padding: 6px; border-radius: 14px; }
    .window-bar { min-height: 27px; font-size: .48rem; }
    .window-foot { min-height: 26px; font-size: .52rem; }
    .hero-mascot { right: -1%; width: 62%; height: 82%; }
    .preview-live { top: 7%; left: 5%; gap: 5px; padding: 5px 6px; }
    .preview-bolt { width: 20px; height: 20px; }
    .preview-live strong { font-size: .47rem; }
    .preview-live small { font-size: .4rem; }
    .preview-panels { right: 4%; top: 7%; bottom: 7%; width: 38%; gap: 5px; }
    .preview-panel { padding: 6px; border-radius: 8px; }
    .preview-panel strong, .preview-panel small { font-size: .4rem; }
    .preview-camera { left: 5%; bottom: 17%; width: 35%; height: 29%; border-radius: 8px; }
    .preview-nameplate { left: 5%; bottom: 8%; padding: 5px 7px; font-size: .4rem; }
    .floating-tag { right: 0; bottom: 0; gap: 7px; padding: 7px 10px 7px 7px; }
    .tag-icon { width: 29px; height: 29px; }
    .floating-tag strong { font-size: .62rem; }
    .floating-tag small { font-size: .57rem; }
    .capability-rail { width: calc(100% - 24px); border-radius: 12px; }
    .capability { gap: 9px; padding: 10px 8px; }
    .capability-icon { width: 32px; height: 32px; border-radius: 9px; font-size: .85rem; }
    .capability strong { font-size: .65rem; }
    .capability small { font-size: .56rem; line-height: 1.3; }
    .feature-visual { min-height: 245px; }
    .platform-band { padding-block: 20px; }
    .platform-items { gap: 7px; }
    .platform-item { min-height: 53px; gap: 7px; padding: 7px; }
    .platform-icon { width: 27px; height: 27px; font-size: .72rem; }
    .platform-item strong { font-size: .58rem; }
    .platform-item small { font-size: .5rem; }
    .why-grid { gap: 8px; }
    .why-card { min-height: 160px; padding: 12px; }
    .why-card h3 { font-size: .7rem; }
    .why-card p { font-size: .62rem; }
    .scene-stack { width: 51%; padding: 7px; }
    .scene-stack span { min-height: 26px; padding-inline: 6px; font-size: .56rem; }
    .scene-chip { top: 15px; right: 15px; font-size: .54rem; }
    .scene-toolbar { font-size: .53rem; }
    .feature-copy h2, .section-heading-row h2, .creator-copy h2 { font-size: 2rem; }
    .section-heading-row { display: block; }
    .heading-link { margin-top: 15px; }
    .overlay-showcase { grid-template-columns: 1fr; gap: 11px; }
    .overlay-tile, .overlay-tile-large { grid-column: auto; aspect-ratio: 1.8 / 1; }
    .creator-band-inner { padding-block: 46px; }
    .edition-grid { grid-template-columns: 1fr; }
    .edition-card { min-height: 220px; }
    .alert-art { min-height: 198px; }
    .alert-orbit { width: 198px; height: 198px; }
    .orbit-b { width: 138px; height: 138px; }
    .alert-card { width: 94%; min-height: 58px; }
    .alert-card-muted { width: 84%; }
    .close-panel { grid-template-columns: 1fr; gap: 14px; padding: 19px; }
    .close-brand, .close-copy, .close-panel .home-button { grid-column: 1; grid-row: auto; }
    .close-panel .home-button { justify-self: stretch; }
    .home-close { padding-bottom: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Final typography and spacing pass for the shared public design system. */
.home-page .home-hero { min-height: min(730px, calc(100svh - 78px)); padding-block: clamp(50px, 7vw, 92px) 70px; }
.home-page .home-wrap { width: min(1320px, calc(100% - 64px)); }
.home-page .hero-copy { max-width: 620px; }
.home-page .hero-copy h1 { max-width: 11ch; font-size: clamp(3rem, 5vw, 4.8rem); }
.home-page .hero-lead { max-width: 47ch; }
.home-page .hero-art { min-height: clamp(390px, 39vw, 570px); }
.home-page .hero-pack-window { width: 103%; }
.home-page .preview-bolt { display: grid; place-items: center; }
.home-page .preview-bolt i { color: #fff; }
.home-page .capability-rail { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.home-page .home-section { padding-block: clamp(58px, 7vw, 94px); }
.home-page .feature-layout { gap: clamp(42px, 7vw, 96px); }
.home-page .feature-copy h2, .home-page .section-heading-row h2, .home-page .creator-copy h2, .home-page .pricing-head h2, .home-page .why-heading h2 { max-width: 17ch; font-size: clamp(2.15rem, 4vw, 3.4rem); }
.home-page .why-grid { gap: 14px; }
.home-page .why-card { min-height: 186px; padding: 21px; }
.home-page .overlay-showcase { gap: 17px; }
.home-page .overlay-tile { min-height: 215px; }
.home-page .overlay-tile-large { min-height: 450px; }
.home-page .pricing-section { padding-top: 62px; }
.home-page .edition-grid { gap: 18px; }
.home-page .edition-card { min-height: 250px; }
.home-page .home-close { padding-block: 44px 62px; }
@media(max-width: 980px) {
    .home-page .home-hero { min-height: auto; }
    .home-page .home-wrap { width: calc(100% - 40px); }
    .home-page .hero-copy h1 { font-size: clamp(3rem, 8vw, 4.5rem); }
    .home-page .hero-art { min-height: 390px; }
    .home-page .overlay-tile-large { min-height: 320px; }
}
@media(max-width: 600px) {
    .home-page .home-wrap { width: calc(100% - 32px); }
    .home-page .home-hero { padding-top: 40px; }
    .home-page .hero-copy h1 { max-width: 10ch; font-size: clamp(2.75rem, 12vw, 3.75rem); }
    .home-page .hero-art { min-height: 270px; }
    .home-page .hero-pack-window { width: 100%; }
    .home-page .capability-rail { width: calc(100% - 24px); }
    .home-page .overlay-tile-large { min-height: 230px; }
    .home-page .why-card { min-height: 145px; }
}

/* Keep the complete overlay collection in a balanced gallery. */
.home-page .overlay-showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-page .overlay-tile, .home-page .overlay-tile-large { min-height: 0; grid-column: auto; aspect-ratio: 1.48 / 1; }
@media(max-width: 1100px) {
    .home-page .overlay-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 600px) {
    .home-page .overlay-showcase { grid-template-columns: 1fr; gap: 13px; }
    .home-page .overlay-tile, .home-page .overlay-tile-large { aspect-ratio: 1.72 / 1; }
}
