/* Lumi website - Lumi's own sketchbook look: plum ink outlines, sticker colours, his LumiDoodle handwriting. */

@font-face {
  font-family: "Lumi Doodle";
  src: url("../fonts/LumiDoodle.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #FFF6E6;
  --paper-2: #FCEBD2;
  --ink: #2E2346;
  --ink-soft: #6B5E86;
  --pink: #FF5FA2;
  --pink-soft: #FF9EC9;
  --lemon: #FFE27A;
  --sky: #9ED6FF;
  --sky-deep: #6FBDF5;
  --mint: #93E6C4;
  --lilac: #C9B3FF;
  --peach: #FFBE94;
  --white: #FFFFFF;
  --glow: #57E0FF;
  --ok: #1F8A57;
  --warn: #B4361C;

  --display: "Lumi Doodle", "Comic Sans MS", "Segoe Print", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

  --line: 3px;
  --pop: 5px 6px 0 var(--ink);
  --pop-sm: 3px 4px 0 var(--ink);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(rgba(46, 35, 70, .09) 1.3px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--ink);
  font: 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--lemon); color: var(--ink); }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 10px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lemon); padding: 8px 14px; border: var(--line) solid var(--ink);
        border-radius: 12px; z-index: 100; }
.skip:focus { left: 12px; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: .005em; margin: 0; }
h1 { font-size: clamp(46px, 6.4vw, 86px); }
h2 { font-size: clamp(36px, 5vw, 66px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink-soft); }
.small { font-size: 15px; color: var(--ink-soft); }

/* ------------------------------------------------------------------ buttons: chunky stickers */
.btn {
  --bg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 10px 26px;
  font: 400 22px/1 var(--display); letter-spacing: .01em; color: var(--ink); text-decoration: none;
  background: var(--bg); border: var(--line) solid var(--ink); border-radius: 18px 20px 17px 21px;
  box-shadow: var(--pop-sm); cursor: pointer;
  transition: transform .14s cubic-bezier(.3, 1.6, .5, 1), box-shadow .14s;
}
.btn:hover { transform: translate(-1px, -2px) rotate(-.6deg); box-shadow: 5px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.primary { --bg: var(--pink); color: var(--white); }
.btn.lemon { --bg: var(--lemon); }
.btn.mint { --bg: var(--mint); }
.btn.big { min-height: 66px; padding: 12px 34px; font-size: 27px; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn .price-chip { font-family: var(--body); font-weight: 700; font-size: 16px; background: var(--white); color: var(--ink);
                   border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px;
        text-underline-offset: 4px; font-weight: 700; }
.link:hover { color: var(--pink); }

/* ------------------------------------------------------------------ top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 230, .92); backdrop-filter: blur(8px);
          border-bottom: var(--line) solid var(--ink); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand span { font: 400 34px/1 var(--display); }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 12px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--lemon); }
.nav .btn { min-height: 46px; padding: 6px 20px; font-size: 20px; }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
         background: var(--paper); border-bottom: var(--line) solid var(--ink); padding: 12px var(--gutter) 18px;
         transform: translateY(-120%); transition: transform .25s ease; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 12px; font-size: 20px; }
  .menu-btn { display: inline-flex; min-height: 44px; padding: 6px 16px; font-size: 20px; }
}

/* ------------------------------------------------------------------ hero: a little Windows desktop */
.desk {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(860px, calc(100svh - 72px)); padding-bottom: 64px;
  background:
    radial-gradient(1200px 520px at 75% 110%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(180deg, #8ECDFA 0%, #B7E1FF 58%, #D9F0FF 100%);
  border-bottom: var(--line) solid var(--ink);
}
.desk .clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.desk .clouds span { position: absolute; background: var(--white); border-radius: 999px; opacity: .85;
                     box-shadow: 40px -18px 0 6px var(--white), 90px 4px 0 -4px var(--white); }
.desk .copy { position: relative; z-index: 3; padding-top: clamp(40px, 8vh, 96px); max-width: 720px; }
.desk h1 { color: var(--ink); text-shadow: 0 3px 0 rgba(255, 255, 255, .7); }
.desk .lead { color: #3D3460; margin-top: 18px; }
.desk .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.desk .note { margin-top: 18px; font-size: 15px; color: #3D3460; }
/* the 2D Lumi (clips from the app's own renderer), moved by lumi2d.js */
.lumi2d { position: absolute; left: 0; top: 0; z-index: 2; cursor: pointer; will-change: transform;
          -webkit-tap-highlight-color: transparent; }
.lumi2d video, .lumi2d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.desk .fallback { position: absolute; right: 8%; bottom: 70px; width: 210px; z-index: 2; display: none; }
.no-lumi .desk .fallback { display: block; }
.no-lumi .lumi2d { display: none; }

.desk-icons { position: absolute; left: var(--gutter); bottom: 86px; z-index: 1; display: grid; gap: 14px; }
.desk-icon { width: 76px; text-align: center; font-size: 12px; color: #1F2A44; text-shadow: 0 1px 0 rgba(255,255,255,.8); }
.desk-icon i { display: block; width: 46px; height: 46px; margin: 0 auto 4px; border-radius: 10px; border: 2px solid rgba(31,42,68,.45);
               background: rgba(255,255,255,.65); }
.desk-icon.lumi i { background: url("../img/lumi-icon.png") center/40px no-repeat, var(--white); border-color: var(--ink); }
.desk-icon.lumi { opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.desk.landed .desk-icon.lumi, .no-lumi .desk-icon.lumi { opacity: 1; transform: none; }

.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 1;
           background: rgba(236, 240, 248, .92); border-top: 1px solid rgba(46, 35, 70, .25);
           display: flex; align-items: center; justify-content: center; gap: 8px; }
.taskbar .tb { width: 34px; height: 34px; border-radius: 8px; background: rgba(46,35,70,.08); }
.taskbar .tb.win { background: conic-gradient(from 0deg, #2F86FF 0 25%, #4CA2FF 0 50%, #2F86FF 0 75%, #4CA2FF 0); border-radius: 4px;
                   width: 26px; height: 26px; }
.taskbar .tb.lumi { background: url("../img/lumi-icon.png") center/28px no-repeat, rgba(255,255,255,.7); }
.taskbar .clock { position: absolute; right: 18px; text-align: right; font: 13px/1.25 "Segoe UI", system-ui, sans-serif; color: #1F2A44; }

.bubble { position: absolute; z-index: 4; pointer-events: none; opacity: 0; transform: translate(-50%, -100%) scale(.7);
          transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1);
          background: var(--white); border: var(--line) solid var(--ink); border-radius: 18px; box-shadow: var(--pop-sm);
          padding: 8px 14px; font: 22px/1.1 var(--display); white-space: nowrap; }
.bubble.show { opacity: 1; transform: translate(-50%, -100%) scale(1); }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 18px; height: 18px; background: var(--white);
                 border-right: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink);
                 transform: translateX(-50%) rotate(45deg); }

@media (max-width: 720px) {
  .desk { min-height: 0; }
  .desk .copy { padding-bottom: 230px; }          /* room for Lumi to land under the buttons */
  .desk .fallback { width: 150px; right: 16px; bottom: 62px; }
  .desk-icons { display: none; }
  .taskbar .tb:not(.win):not(.lumi) { display: none; }
}

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tint { background: var(--paper-2); border-block: var(--line) solid var(--ink); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center p { margin-inline: auto; }

/* faces: a wall of stickers */
.faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px; }
.face { margin: 0; background: var(--white); border: var(--line) solid var(--ink); border-radius: 24px 20px 26px 22px; padding: 10px 6px 8px;
        box-shadow: var(--pop-sm); text-align: center; transform: rotate(var(--r, 0deg)); }
.face:nth-child(4n+1) { --r: -2deg; background: #FFF; }
.face:nth-child(4n+2) { --r: 1.5deg; background: #F2FBFF; }
.face:nth-child(4n+3) { --r: -1deg; background: #FFF9E0; }
.face:nth-child(4n) { --r: 2deg; background: #FFF0F6; }
.face img { width: 100%; max-width: 110px; margin: 0 auto; aspect-ratio: 1 / 1.1; object-fit: contain; }
.face span { font: 18px/1.1 var(--display); }
@media (max-width: 600px) {
  .faces { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .face { padding: 6px 4px; border-radius: 16px; }
  .face span { font-size: 15px; }
}

/* clips */
.clip { position: relative; }
.clip video, .clip img { width: 100%; height: auto; }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 22px; overflow-x: auto;
        padding: 10px 4px 26px; scroll-snap-type: x mandatory; scrollbar-color: var(--pink) transparent; }
.reel figure { margin: 0; scroll-snap-align: start; background: var(--white); border: var(--line) solid var(--ink);
               border-radius: 26px; box-shadow: var(--pop-sm); padding: 14px 14px 16px; }
.reel figure:nth-child(3n+1) { background: #F2FBFF; }
.reel figure:nth-child(3n+2) { background: #FFF9E0; }
.reel figure:nth-child(3n) { background: #F1FFF8; }
.reel figcaption { font: 22px/1.1 var(--display); margin-top: 6px; text-align: center; }
.reel .clip { aspect-ratio: 300 / 340; display: grid; place-items: center; }
.reel-controls { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 8px; }
.reel-controls .btn { min-height: 46px; width: 54px; padding: 0; font-size: 26px; }

/* two-up feature rows */
.duo { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.duo + .duo { margin-top: clamp(80px, 10vw, 130px); }
.duo.flip > :first-child { order: 2; }
.duo .art { position: relative; display: grid; place-items: center; min-height: 320px; }
.duo .art .blob { position: absolute; inset: 6% 8%; border: var(--line) solid var(--ink); border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
                  z-index: -1; box-shadow: var(--pop); }
.duo .art .clip { width: min(300px, 80%); }
.duo h2 { margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 38px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border: 2.5px solid var(--ink);
                    border-radius: 7px; background: var(--mint); box-shadow: 2px 2px 0 var(--ink); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 7px; height: 12px; border: solid var(--ink);
                   border-width: 0 3px 3px 0; transform: rotate(40deg); }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .duo.flip > :first-child { order: 0; }
}

/* chat mock */
.chat { display: grid; gap: 12px; max-width: 420px; }
.chat .msg { border: var(--line) solid var(--ink); border-radius: 18px; padding: 10px 16px; box-shadow: var(--pop-sm); font-size: 17px; }
.chat .me { justify-self: end; background: var(--lemon); border-bottom-right-radius: 6px; }
.chat .him { justify-self: start; background: var(--white); border-bottom-left-radius: 6px; }

/* games */
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin-top: 26px; }
.game { border: var(--line) solid var(--ink); border-radius: 22px; padding: 18px; box-shadow: var(--pop-sm); background: var(--white); }
.game h3 { font-size: 26px; margin-bottom: 8px; }
.game p { font-size: 16px; margin: 0; color: var(--ink-soft); }
.game svg { width: 72px; height: 72px; margin-bottom: 8px; }

/* costume wardrobe */
.wardrobe { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; }
.rail button { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 4px; padding: 10px 6px 8px;
               border: var(--line) solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: var(--pop-sm);
               transition: transform .14s cubic-bezier(.3, 1.6, .5, 1); }
.rail button:hover { transform: translateY(-3px) rotate(-1deg); }
.rail button[aria-pressed="true"] { background: var(--lemon); }
.rail button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.rail img { width: 86px; height: 96px; object-fit: contain; }
.rail span { font: 18px/1 var(--display); }
.fitting { position: sticky; top: 100px; border: var(--line) solid var(--ink); border-radius: 30px; background: var(--white);
           box-shadow: var(--pop); padding: 22px; text-align: center; }
.fitting img { width: 240px; height: 270px; object-fit: contain; margin: 0 auto; }
.fitting h3 { margin-top: 6px; }
.fitting p { margin: 8px auto 0; color: var(--ink-soft); }
@media (max-width: 860px) { .wardrobe { grid-template-columns: 1fr; } .fitting { position: static; order: -1; } }

/* never list */
.nevers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; list-style: none; padding: 0; margin: 0; }
.nevers li { border-left: 6px solid var(--pink); padding: 4px 0 4px 18px; }
.nevers b { display: block; font: 24px/1.15 var(--display); font-weight: 400; margin-bottom: 4px; }
@media (max-width: 760px) { .nevers { grid-template-columns: 1fr; } }

/* steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; border: var(--line) solid var(--ink); border-radius: 24px; background: var(--white);
            box-shadow: var(--pop-sm); padding: 56px 18px 20px; }
.steps li::before { content: counter(s); position: absolute; top: -20px; left: 18px; width: 52px; height: 52px; display: grid; place-items: center;
                    font: 30px/1 var(--display); background: var(--lemon); border: var(--line) solid var(--ink); border-radius: 50%;
                    box-shadow: 2px 3px 0 var(--ink); }
.steps li:nth-child(2)::before { background: var(--sky); }
.steps li:nth-child(3)::before { background: var(--mint); }
.steps li:nth-child(4)::before { background: var(--pink-soft); }
.steps h3 { font-size: 26px; margin-bottom: 6px; }
.steps p { font-size: 16px; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* price */
.price-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
              border: var(--line) solid var(--ink); border-radius: 34px; background: var(--white); box-shadow: 8px 10px 0 var(--ink);
              padding: clamp(24px, 4vw, 48px); }
.price-card .amount { font: 400 clamp(84px, 11vw, 140px)/1 var(--display); margin: 14px 0 6px; }
.price-card .amount small { font: 700 20px/1 var(--body); margin-left: 6px; color: var(--ink-soft); }
.price-card .tag { display: inline-block; background: var(--mint); border: 2px solid var(--ink); border-radius: 999px;
                   padding: 4px 14px; font-weight: 700; font-size: 15px; transform: rotate(-2deg); }
.price-card .stamp { position: absolute; right: -14px; top: -22px; width: 112px; height: 112px; border-radius: 50%;
                     background: var(--lemon); border: var(--line) solid var(--ink); display: grid; place-items: center;
                     text-align: center; font: 20px/1 var(--display); transform: rotate(12deg); box-shadow: var(--pop-sm); }
@media (max-width: 820px) { .price-card { grid-template-columns: 1fr; } .price-card .stamp { right: 10px; } }

/* faq */
.faq { display: grid; gap: 14px; max-width: 880px; }
.faq details { border: var(--line) solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: var(--pop-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font: 24px/1.2 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px;
                      display: grid; place-items: center; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--lemon);
                      font: 700 22px/1 var(--body); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--pink-soft); }
.faq details > div { padding: 0 22px 20px; color: #3D3460; }
.faq details > div p { margin-bottom: .7em; }

/* closing call */
.finale { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.finale img { width: 180px; margin: 0 auto 18px; }
.finale h2 { margin-bottom: 18px; }
.finale p { margin-inline: auto; }

/* footer */
.footer { border-top: var(--line) solid var(--ink); background: var(--ink); color: #EDE6FF; padding: 48px 0 40px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { font: 22px/1 var(--display); font-weight: 400; color: var(--lemon); margin: 0 0 12px; }
.footer a { color: #EDE6FF; text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: var(--pink-soft); text-decoration: underline; }
.footer .brand { display: flex; margin-bottom: 10px; }
.footer .brand span { color: var(--white); }
.footer p { font-size: 15px; color: #BFB3DD; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ inner pages */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-head p { margin-top: 14px; }
.panel { border: var(--line) solid var(--ink); border-radius: 28px; background: var(--white); box-shadow: var(--pop); padding: clamp(20px, 3vw, 36px); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.form { display: grid; gap: 12px; }
.form label { font-weight: 700; font-size: 16px; }
.form input { width: 100%; min-height: 50px; padding: 10px 14px; font: 18px var(--body); color: var(--ink); background: var(--white);
              border: var(--line) solid var(--ink); border-radius: 14px; }
.form input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }
.form .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tabs { display: flex; gap: 10px; margin-bottom: 16px; }
.tabs button { flex: 1; }
.tabs button[aria-selected="true"] { --bg: var(--lemon); }
.msg-box { min-height: 24px; font-weight: 700; }
.msg-box.err { color: var(--warn); }
.msg-box.ok { color: var(--ok); }
.status-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2.5px dashed var(--ink-soft); border-radius: 16px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--lemon); flex: none; }
.dot.on { background: var(--mint); }
.hidden { display: none !important; }

.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checklist li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px;
                        background: var(--mint); border: 2px solid var(--ink); border-radius: 7px; font-weight: 700; font-size: 14px; }

/* download page: a pretend installer */
.setup-mock { position: relative; width: min(520px, 100%); margin: 0 auto; aspect-ratio: 820 / 500; border: var(--line) solid var(--ink);
              border-radius: 28px; background: var(--paper); box-shadow: 7px 8px 0 var(--ink); overflow: hidden;
              display: grid; grid-template-columns: 40% 60%; }
.setup-mock .left { display: grid; place-items: center; background: radial-gradient(circle at 50% 46%, var(--sky) 0 46%, transparent 47%); }
.setup-mock .left img { width: 70%; }
.setup-mock .right { padding: 14% 9% 0 2%; display: grid; align-content: start; gap: 8px; }
.setup-mock .t { font: clamp(20px, 3.4vw, 30px)/1 var(--display); }
.setup-mock .s { font-size: clamp(11px, 1.6vw, 14px); color: var(--ink-soft); }
.setup-mock .bar { height: 18px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white); overflow: hidden; margin-top: 8px; }
.setup-mock .bar i { display: block; height: 100%; width: 0; background: var(--pink); border-radius: 999px; }
.setup-mock .go { justify-self: start; margin-top: 10px; background: var(--pink); color: var(--white); border: 2.5px solid var(--ink);
                  border-radius: 14px; padding: 6px 16px; font: clamp(14px, 2.2vw, 20px)/1 var(--display); box-shadow: 2px 3px 0 var(--ink); }
.smartscreen { border: 2px solid #1F2A44; background: #1F6FD1; color: var(--white); border-radius: 6px; padding: 18px 20px; font: 15px/1.45 "Segoe UI", system-ui, sans-serif; max-width: 460px; }
.smartscreen b { font-size: 20px; font-weight: 600; display: block; margin-bottom: 8px; }
.smartscreen u { text-decoration: underline; }
.smartscreen .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.smartscreen .row span { border: 1px solid rgba(255,255,255,.8); padding: 4px 14px; }
.reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.req { border: 2.5px solid var(--ink); border-radius: 18px; padding: 14px 16px; background: var(--white); }
.req b { font: 22px/1.1 var(--display); font-weight: 400; display: block; }

.legal { max-width: 780px; }
.legal h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 1.4em 0 .4em; }
.legal ul { padding-left: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.muted { color: var(--ink-soft); }
.legal h1 { font-size: clamp(44px, 6vw, 72px); }
.legal li { margin-bottom: .4em; }
.steps .panel { border: 0; box-shadow: none; padding: 0; background: transparent; }

/* ------------------------------------------------------------------ page transitions
   Chrome / Edge: real cross-page transitions (the top bar stays put, the page slides in).
   Other browsers: the same feel with a quick fade (site.js). */
@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
::view-transition-old(root) { animation: 200ms cubic-bezier(.4, 0, 1, 1) both page-out; }
::view-transition-new(root) { animation: 380ms cubic-bezier(.2, .9, .25, 1.05) both page-in; }
@keyframes page-out { to { opacity: 0; transform: translateY(-12px) scale(.99); } }
@keyframes page-in { from { opacity: 0; transform: translateY(26px) scale(.99); } }
html:not(.vt) body { animation: page-in .38s cubic-bezier(.2, .9, .25, 1.05) both; }
html:not(.vt) body.leaving { animation: page-out .18s ease-in both; }

/* switching between sign in / create account / code, trying on costumes, opening answers */
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.pop { animation: pop-in .32s cubic-bezier(.3, 1.4, .5, 1) both; }
.faq details[open] > div { animation: pop-in .28s ease-out both; }
