/* BooBar home — "the page has a notch" */
:root {
  --bg: #060608;
  --bg-2: #0c0d11;
  --card: rgba(255, 255, 255, 0.045);
  --card-2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: rgba(235, 235, 245, 0.64);
  --faint: rgba(235, 235, 245, 0.38);
  --green: #30d158;
  --blue: #0a84ff;
  --orange: #ff9f0a;
  --pink: #ff375f;
  --purple: #bf5af2;
  --teal: #40c8e0;
  --yellow: #ffd60a;
  --mint: #8cf2d1;
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.5, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img, svg, canvas { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 0.35em;
  margin: 0 0.12em;
  border-radius: 6px;
  font: 600 0.82em var(--font);
  background: linear-gradient(#2c2c30, #1c1c1f);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
  vertical-align: 0.08em;
}
.mono { font-family: var(--mono); }
::selection { background: rgba(140, 242, 209, 0.35); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--spring), background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-small { height: 34px; padding: 0 16px; font-size: 14px; }
.btn-large { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-light { background: #f5f5f7; color: #050506; box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }
.link-button { background: none; border: 0; color: var(--mint); cursor: pointer; padding: 0; font-size: 14px; }
.pill {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--spring), background 0.2s;
}
.pill:active { transform: scale(0.95); }
.pill-ghost { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.pill-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.pill-primary { background: #fff; color: #000; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  padding: 0 max(20px, env(safe-area-inset-left));
  transition: background 0.3s, backdrop-filter 0.3s;
}
.topbar.is-scrolled {
  background: rgba(6, 6, 8, 0.6);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.brand-icon { width: 28px; height: 28px; border-radius: 7px; }
.topbar-left { grid-column: 1; display: flex; align-items: center; gap: 18px; min-width: 0; }
.topnav { display: flex; gap: 2px; }
.topnav a {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.topnav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.topbar-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke); }
.lang-switch button { border: 0; background: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.lang-switch button.is-active { background: rgba(255, 255, 255, 0.14); color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 132px 24px 90px; overflow: hidden; }
.hero-wallpaper {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(140, 242, 209, 0.18), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(143, 180, 255, 0.12), transparent 70%),
    radial-gradient(40% 40% at 10% 40%, rgba(243, 166, 255, 0.09), transparent 70%);
  pointer-events: none;
}
.hero-copy { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; margin: 0 0 20px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mint); background: rgba(140, 242, 209, 0.1); border: 1px solid rgba(140, 242, 209, 0.22); }
.hero-title { margin: 0; font-size: clamp(50px, 8vw, 104px); line-height: 0.96; letter-spacing: -0.045em; font-weight: 750; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #fff 10%, var(--mint) 45%, #8fb4ff 75%, #f3a6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { max-width: 640px; margin: 24px auto 0; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.center { justify-content: center; }
.hero-meta { margin: 16px 0 0; font-size: 13px; color: var(--faint); }

/* ---------- laptop showcase ---------- */
.showcase { position: relative; width: min(1120px, 100%); margin: 70px auto 0; }
.laptop { position: relative; }
.laptop-lid {
  position: relative;
  padding: 1.3% 1.3% 2.4%;
  border-radius: 24px 24px 6px 6px;
  background: linear-gradient(180deg, #232427, #111113 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 60px 120px rgba(0, 0, 0, 0.7);
}
.laptop-lid::after { content: ""; position: absolute; left: 50%; bottom: 1.1%; width: 9%; height: 0.9%; transform: translateX(-50%); border-radius: 4px; background: rgba(255, 255, 255, 0.05); }
.laptop-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #000; }
.laptop-base { position: relative; height: 18px; margin: 0 -6%; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #3a3b40, #222327 45%, #121214); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.laptop-base span { position: absolute; left: 50%; top: 0; width: 14%; height: 7px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #0c0c0e, #2a2b2f); }
.laptop-pet { position: absolute; right: 6%; top: -78px; z-index: 3; border: 0; padding: 0; background: none; cursor: pointer; }
.laptop-pet canvas, .laptop-pet .frog { width: 96px; height: 96px; transition: transform 0.4s var(--spring); }
.laptop-pet:hover .frog { transform: translateY(-4px) rotate(-3deg); }
.hero-boo-hint { position: absolute; left: -66px; top: 8px; padding: 5px 10px; border-radius: 12px 12px 2px 12px; font-size: 12px; font-weight: 600; background: #fff; color: #000; transform: rotate(-4deg); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); white-space: nowrap; }

/* The screen is laid out at 1280 × 800 and scaled to fit (see home.js). */
.screen-canvas { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform-origin: 0 0; overflow: hidden; font-family: var(--font); }
/* Soft light-ray wallpaper, drawn in CSS (no image to download). */
.mac-wallpaper { position: absolute; inset: -60px; overflow: hidden; background: #1a2f8a; }
.mac-wallpaper::before { content: ""; position: absolute; inset: 0; background:
  conic-gradient(from 214deg at 52% 108%, #0f2a9a 0deg, #3b5bdb 18deg, #8c6fe0 34deg, #f08a5d 52deg, #ffd6a0 66deg, #f4a06a 80deg, #9b74d9 98deg, #f6b98a 112deg, #ffe3b8 124deg, #ef8f5c 138deg, #5a6fe0 156deg, #1d3fb8 176deg, #0f2a9a 360deg);
  filter: blur(26px) saturate(1.15); }
.mac-wallpaper::after { content: ""; position: absolute; inset: 0; background:
  repeating-conic-gradient(from 214deg at 52% 108%, rgba(255, 255, 255, 0.07) 0deg 3deg, rgba(255, 255, 255, 0) 3deg 9deg),
  radial-gradient(ellipse at 50% 120%, rgba(255, 220, 170, 0.35), transparent 55%),
  linear-gradient(180deg, rgba(10, 16, 60, 0.35), transparent 30%, rgba(5, 10, 40, 0.25));
  filter: blur(6px); }
.mac-menubar { position: absolute; inset: 0 0 auto 0; height: 34px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: rgba(255, 255, 255, 0.92); font-size: 14px; }
.mac-menu-left, .mac-menu-right { display: flex; align-items: center; gap: 20px; }
.mac-menu-left b { font-weight: 700; }
.mac-menu-left .mac-apple { width: 15px; height: 18px; margin-right: -2px; }
.mac-menu-left span { color: rgba(255, 255, 255, 0.82); }
.mac-menu-right svg { height: 15px; width: auto; }
.mac-menu-right svg:first-child { width: 17px; }
/* The island inside the screen. */
.mi {
  --w: 300px;
  --h: 36px;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: var(--w);
  height: var(--h);
  transform: translateX(-50%);
  background: #000;
  border-radius: 0 0 18px 18px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: width 0.6s var(--spring), height 0.6s var(--spring), border-radius 0.4s var(--ease);
}
.mi.is-expanded { border-radius: 0 0 34px 34px; }
.mi-ear { position: absolute; top: 0; width: 14px; height: 14px; background: radial-gradient(circle at 0 100%, transparent 13.5px, #000 14px); }
.mi-ear-l { left: -14px; }
.mi-ear-r { right: -14px; transform: scaleX(-1); }
.mi-compact { position: absolute; inset: 0 0 auto 0; height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 10px; transition: opacity 0.25s; white-space: nowrap; }
.mi.is-expanded .mi-compact { opacity: 0; pointer-events: none; }
.mi-compact canvas, .mi-compact .frog { width: 30px; height: 30px; flex: none; }
.mi-compact .frog-badge, .mx-head .frog-badge { display: none; }
.mi-ctext { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.mi-ctext small { display: block; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.5); line-height: 1.1; }
.mi-ctext b { display: block; font-size: 12.5px; line-height: 1.2; }
.mi-body { position: absolute; inset: 0; padding: 12px 22px 20px; opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top center; transition: opacity 0.2s, transform 0.45s var(--spring); pointer-events: none; }
.mi.is-expanded .mi-body { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.14s; }
.mx-head { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mx-head canvas, .mx-head .frog { width: 40px; height: 40px; }
.mx-switch { display: flex; gap: 10px; }
.mx-switch i { width: 38px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.mx-switch i.on { background: rgba(255, 255, 255, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.mx-switch svg, .mx-gear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mx-gear { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); }
.mx-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.mx-sum span { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.mx-sum span b { color: #fff; font-size: 17px; }
.mx-sum .is-run { background: rgba(255, 214, 10, 0.12); color: #ffd60a; }
.mx-sum .is-run b { color: #ffd60a; }
.mx-sum .is-wait { background: rgba(255, 159, 10, 0.14); color: #ff9f0a; }
.mx-sum .is-wait b { color: #ff9f0a; }
.mx-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06); }
.mx-row + .mx-row { margin-top: 10px; }
.mx-row img { width: 46px; height: 46px; border-radius: 12px; }
.mx-row h4 { margin: 0; font-size: 16px; font-weight: 650; }
.mx-row .st { margin: 3px 0 0; font-size: 13px; font-weight: 600; color: #ffd60a; }
.mx-row .st.done { color: var(--green); }
.mx-row .st.wait { color: var(--orange); }
.mx-row .out { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.62); }
.mx-acts { display: flex; gap: 8px; align-items: flex-start; }
.mx-acts i { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; }
.mx-acts svg { width: 15px; height: 15px; fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mx-box { margin-top: 10px; padding: 12px; border-radius: 14px; }
.mx-box.approve { background: rgba(255, 159, 10, 0.09); border: 1px solid rgba(255, 159, 10, 0.28); }
.mx-box.next { background: rgba(115, 158, 255, 0.1); border: 1px solid rgba(115, 158, 255, 0.24); }
.mx-box .cmd { margin: 0; font: 13px var(--mono); color: #ffd79a; }
.mx-box .ttl { margin: 0 0 8px; font-size: 12.5px; font-weight: 650; color: #a9c2ff; }
.mx-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.mx-btns button, .mx-opt { border: 0; cursor: pointer; font: 600 13px var(--font); }
.mx-btns button { height: 30px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.mx-btns button.pri { background: #fff; color: #000; }
.mx-opt { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: #fff; text-align: left; }
.mx-opt.pri { background: #fff; color: #000; }
.mx-opt svg { width: 14px; height: 14px; fill: currentColor; }
.mx-sent { margin: 6px 0 0; color: var(--green); font-weight: 650; font-size: 14px; }
.mx-music { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.mx-art { width: 120px; height: 120px; border-radius: 22px; background: conic-gradient(from 210deg, #ff5e8a, #ffb35c, #7b6cff, #34d3ff, #ff5e8a); box-shadow: 0 16px 40px rgba(255, 94, 138, 0.35); }
.mx-music h4 { margin: 0; font-size: 20px; }
.mx-music .artist { margin: 2px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 14px; }
.mx-music .lyric { margin: 12px 0 0; font-size: 15px; color: #ffc4d8; }
.mx-music .lyric.dim { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.35); }
.mx-prog { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 11px; color: rgba(255, 255, 255, 0.45); font-variant-numeric: tabular-nums; }
.mx-prog div { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.mx-prog div span { display: block; height: 100%; width: 42%; background: #ff8fb1; border-radius: 5px; animation: prog 24s linear infinite; }
.mx-ctrl { display: flex; align-items: center; gap: 22px; margin-top: 12px; }
.mx-ctrl svg { width: 22px; height: 22px; fill: #fff; }
.mx-ctrl canvas { width: 120px; height: 26px; margin-left: auto; }
.mx-cal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.mx-cal .cal { background: rgba(255, 255, 255, 0.04); }
.mx-cal .cal-grid { font-size: 13px; gap: 4px; }
.mx-cal .cal-head { font-size: 15px; }
.mx-agenda { display: grid; align-content: start; gap: 8px; }
.mx-agenda .ib-event strong { font-size: 15px; }
.mx-agenda .ib-event span { font-size: 13px; }
.mx-sys { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mx-card { padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); }
.mx-card h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; }
.mx-card h5 i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-style: normal; }
.mx-card.span2 { grid-column: span 2; }
.mx-meter { display: grid; grid-template-columns: 64px 1fr 44px; gap: 10px; align-items: center; margin-top: 9px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.mx-meter b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.mx-net { display: flex; gap: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.mx-net b { display: block; font-size: 18px; color: #fff; font-variant-numeric: tabular-nums; }
.mx-net canvas { width: 100%; height: 50px; margin-top: 8px; }
.mx-store { display: flex; align-items: center; gap: 20px; }
.mx-store big { font-size: 40px; font-weight: 650; letter-spacing: -0.03em; }
.mx-store .legend { display: flex; gap: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.mx-store .legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.mx-git { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.mx-git .git-grid { grid-template-columns: repeat(20, 1fr); }
.mx-feed { display: grid; gap: 8px; }
.mx-feed p { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.mx-feed b { color: #fff; }
/* overlays */
.mac-overlay { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ov-wheel { position: absolute; left: 50%; top: 52%; width: 380px; height: 380px; transform: translate(-50%, -50%) scale(0.85); opacity: 0; transition: opacity 0.35s, transform 0.5s var(--spring); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)); }
.ov-wheel.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ov-wheel .slice { fill: rgba(255, 255, 255, 0.02); stroke: rgba(0, 0, 0, 0.35); transition: fill 0.25s; }
.ov-wheel .slice.is-active { fill: rgba(255, 255, 255, 0.12); }
.ov-wheel .slice-icon { fill: rgba(255, 255, 255, 0.42); transition: fill 0.25s; }
.ov-wheel .slice-icon.is-active { fill: #fff; }
.ov-note { position: absolute; width: 230px; padding: 14px; border-radius: 16px; color: #1d1d1f; font-size: 14px; font-weight: 650; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); transition: transform 0.6s var(--spring), left 0.6s var(--spring), opacity 0.4s; opacity: 0; }
.ov-note small { display: block; margin-bottom: 6px; font-size: 11px; opacity: 0.55; }
.ov-note.is-on { opacity: 1; }
.ov-note.yellow { background: rgba(255, 224, 122, 0.95); }
.ov-note.blue { background: rgba(159, 210, 255, 0.95); }
.ov-tab { position: absolute; right: 0; width: 34px; height: 150px; border-radius: 14px 0 0 14px; background: rgba(159, 210, 255, 0.85); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: rgba(0, 0, 0, 0.7); writing-mode: vertical-rl; opacity: 0; transition: opacity 0.4s; }
.ov-tab.is-on { opacity: 1; }
.ov-dev { position: absolute; left: 50%; top: 56px; width: 640px; padding: 16px; border-radius: 22px; background: rgba(0, 0, 0, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); transform: translate(-50%, -10px) scale(0.97); opacity: 0; transition: opacity 0.35s, transform 0.5s var(--spring); display: grid; grid-template-columns: 220px 1fr; gap: 14px; color: #fff; }
.ov-dev.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.ov-dev ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ov-dev li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.6); transition: background 0.3s, color 0.3s; }
.ov-dev li i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 900; }
.ov-dev li.on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ov-dev pre { margin: 0; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); font: 14px/1.6 var(--mono); color: #b9f5c6; white-space: pre-wrap; min-height: 200px; }
/* compact banners */
.ev-chip { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; animation: chipglow 1.4s ease-in-out infinite alternate; }
.ev-chip svg { width: 15px; height: 15px; }
@keyframes chipglow { from { box-shadow: 0 0 2px currentColor; } to { box-shadow: 0 0 12px currentColor; } }
.ev-vol { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; }
.ev-vol div { width: 64px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.ev-vol div span { display: block; height: 100%; background: #fff; border-radius: 5px; transition: width 0.6s var(--ease); }
.ev-batt { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 600; }
.ev-batt i { position: relative; width: 28px; height: 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.4); }
.ev-batt i::before { content: ""; position: absolute; left: 2px; top: 2px; bottom: 2px; width: calc(var(--lvl) * 0.22px); border-radius: 2px; background: var(--green); }
.ev-ring { width: 28px; height: 28px; }
.ev-pill { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.ev-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.pet-label { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
/* caption + tabs */
.scene-caption { margin: 34px auto 0; max-width: 620px; text-align: center; min-height: 74px; }
.scene-caption strong { font-size: 22px; letter-spacing: -0.01em; }
.scene-caption p { margin: 6px 0 0; color: var(--muted); }
.scene-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 22px auto 0; }
.scene-tabs button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.13); background: linear-gradient(180deg, #252629, #19191c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 3px 0 #08080a, 0 8px 18px rgba(0, 0, 0, 0.45); color: rgba(255, 255, 255, 0.66); font: 500 14px var(--mono); letter-spacing: 0.01em; cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.12s, box-shadow 0.12s; }
.scene-tabs button:hover { color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.scene-tabs button:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 0 #08080a, 0 4px 10px rgba(0, 0, 0, 0.4); }
.scene-tabs button.is-active { color: #fff; border-color: #3b82f6; background: linear-gradient(180deg, #1c2740, #141c2f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 3px 0 #070b14, 0 0 0 1px rgba(59, 130, 246, 0.3), 0 10px 26px rgba(59, 130, 246, 0.22); }
.scene-tabs .key-ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.7); }
.scene-tabs .key-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene-tabs button.is-active .key-ico { color: #60a5fa; background: rgba(59, 130, 246, 0.16); }
.scene-tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: transparent; }
.scene-tabs button.is-active i { background: #3b82f6; animation: tabprog var(--dur, 5s) linear forwards; }
.scene-tabs.is-paused button.is-active i { animation-play-state: paused; }
@keyframes tabprog { to { width: 100%; } }

/* ---------- sections ---------- */
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.kicker { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--mint); letter-spacing: 0.02em; }
h2 { margin: 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 720; }
.section-text { max-width: 560px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.section-text.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head { text-align: center; margin-bottom: 56px; }
.hint { margin: 18px 0 0; font-size: 13px; color: var(--faint); }
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, 0.86); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2330d158' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- agents ---------- */
.agents { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.panel { padding: 16px; border-radius: 34px; background: #000; border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel-head canvas, .panel-head .frog { width: 30px; height: 30px; }
.quota { flex: 1; display: flex; align-items: center; gap: 14px; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); font-size: 13px; color: var(--muted); }
.quota b { color: #fff; margin-right: 4px; }
.quota em { font-style: normal; color: var(--green); font-weight: 600; margin-right: 4px; }
.quota i { width: 1px; height: 16px; background: var(--stroke-2); }
.session { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.06); }
.session + .session { margin-top: 10px; }
.session img { width: 40px; height: 40px; border-radius: 10px; }
.session h3 { margin: 0; font-size: 15px; font-weight: 600; }
.session p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.session mark { background: none; font-weight: 600; }
.m-run { color: var(--yellow); }
.m-wait { color: var(--orange); }
.m-done { color: var(--green); }
.m-deny { color: var(--pink); }
.spinner { position: absolute; right: 16px; top: 16px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--yellow); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.approval { margin-top: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 159, 10, 0.08); border: 1px solid rgba(255, 159, 10, 0.24); }
.approval .mono { margin: 0; color: #ffd79a; font-size: 12.5px; }
.approval-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.next-steps { display: none; margin-top: 12px; padding: 12px; border-radius: 16px; background: rgba(115, 158, 255, 0.09); border: 1px solid rgba(115, 158, 255, 0.22); }
.next-title { display: flex; align-items: center; gap: 6px; margin: 0 0 8px !important; font-size: 12px !important; font-weight: 600; color: #a9c2ff !important; }
.next-title svg { width: 14px; height: 14px; fill: #a9c2ff; }
.next-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--spring), background 0.2s;
}
.next-option svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.next-option:hover { background: rgba(255, 255, 255, 0.14); }
.next-option.is-primary { background: #fff; color: #000; }
.next-option:active { transform: scale(0.98); }
.next-sent { display: none; margin: 8px 0 0 !important; color: var(--green) !important; font-weight: 600; }
.agents-demo[data-step="running"] .approval,
.agents-demo[data-step="done"] .approval,
.agents-demo[data-step="sent"] .approval,
.agents-demo[data-step="denied"] .approval { display: none; }
.agents-demo[data-step="done"] .next-steps,
.agents-demo[data-step="sent"] .next-steps { display: block; animation: line-in 0.5s var(--spring) both; }
.agents-demo[data-step="sent"] .next-option { display: none; }
.agents-demo[data-step="sent"] .next-sent { display: block; }
.demo-foot { display: flex; justify-content: space-between; margin-top: 16px; padding: 0 8px; font-size: 13px; color: var(--faint); }

/* ---------- wheel ---------- */
.wheel-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.wheel-demo { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: center; }
.wheel { width: 320px; height: 320px; outline: none; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)); }
.wheel .slice { fill: rgba(255, 255, 255, 0.015); stroke: rgba(0, 0, 0, 0.35); cursor: pointer; transition: fill 0.25s; }
.wheel .slice.is-active { fill: rgba(255, 255, 255, 0.1); }
.wheel .slice-icon { fill: rgba(255, 255, 255, 0.42); transition: fill 0.25s, transform 0.3s var(--spring); transform-box: fill-box; transform-origin: center; pointer-events: none; }
.wheel .slice-icon.is-active { fill: #fff; transform: scale(1.15); }
.wheel-center-title { fill: #fff; font: 700 15px var(--font); letter-spacing: 0.04em; }
.wheel-center-sub { fill: rgba(255, 255, 255, 0.5); font: 500 11px var(--font); }
.wheel:focus-visible { filter: drop-shadow(0 0 0 2px var(--mint)); }
.wheel-preview { position: relative; min-height: 300px; }
.wheel-preview-card {
  position: absolute;
  inset: 0;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--stroke);
  opacity: 0;
  transform: translateX(14px) scale(0.98);
  transition: opacity 0.3s, transform 0.45s var(--spring);
  pointer-events: none;
}
.wheel-demo[data-active="0"] [data-wheel-pane="0"],
.wheel-demo[data-active="1"] [data-wheel-pane="1"],
.wheel-demo[data-active="2"] [data-wheel-pane="2"],
.wheel-demo[data-active="3"] [data-wheel-pane="3"] { opacity: 1; transform: none; pointer-events: auto; }
.wheel-preview-card h3 { margin: 0; font-size: 22px; }
.wheel-preview-card > p { margin: 8px 0 18px; color: var(--muted); font-size: 14px; }
.stickies { position: relative; height: 130px; }
.sticky { position: absolute; width: 170px; padding: 12px; border-radius: 10px; color: #1d1d1f; font-size: 13px; font-weight: 600; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.sticky small { display: block; font-size: 10px; opacity: 0.55; margin-bottom: 4px; }
.sticky-yellow { background: #ffe07a; left: 0; top: 4px; transform: rotate(-4deg); }
.sticky-blue { background: #9fd2ff; left: 150px; top: 26px; transform: rotate(3deg); }
.clip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.clip-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 13px; }
.clip-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip-list time { color: var(--faint); font-size: 11px; }
.clip-list i { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.clip-link { background: rgba(10, 132, 255, 0.3); }
.clip-code { background: rgba(48, 209, 88, 0.3); }
.clip-text { background: rgba(255, 159, 10, 0.3); }
.yt { display: flex; gap: 14px; align-items: center; }
.yt-thumb { width: 108px; height: 64px; border-radius: 10px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #3a2c6e, #ff4e6a); font-size: 18px; }
.yt-info { flex: 1; min-width: 0; }
.yt-info strong { display: block; font-size: 14px; margin-bottom: 10px; }
.yt-info small { display: block; margin-top: 6px; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.meter { height: 6px; flex: 1; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; display: flex; }
.meter span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, rgba(48, 209, 88, 0.75), var(--green)); transition: width 0.6s var(--ease); }
.meter-seg span + span { margin-left: 2px; }
.meter .seg-orange { background: var(--orange); }
.devtool-tabs { display: flex; gap: 6px; margin-bottom: 10px; font-size: 12px; }
.devtool-tabs > * { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--muted); }
.devtool-tabs b { background: rgba(48, 209, 88, 0.16); color: var(--green); }
.devtool pre { margin: 0; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.45); font-size: 12.5px; color: #b9f5c6; min-height: 86px; white-space: pre-wrap; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: transform 0.4s var(--spring), border-color 0.3s;
}
.tile:hover { transform: translateY(-3px); border-color: var(--stroke-2); }
.tile h3 { margin: 18px 0 4px; font-size: 17px; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }
.tile-music { grid-column: span 2; }
.tile-cal { grid-column: span 1; grid-row: span 2; }
.tile-git { grid-column: span 1; }
.tile-sys { grid-column: span 2; }
.tile-timer, .tile-mail { grid-column: span 1; }
.tile-dock { grid-column: span 1; }
.tile-settings { grid-column: span 2; }
.music-card { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 22px; background: #000; }
.music-art { width: 76px; height: 76px; border-radius: 16px; flex: none; background: conic-gradient(from 210deg, #ff5e8a, #ffb35c, #7b6cff, #34d3ff, #ff5e8a); animation: spinslow 18s linear infinite; }
@keyframes spinslow { to { filter: hue-rotate(360deg); } }
.music-meta { flex: 1; min-width: 0; }
.music-meta strong { display: block; font-size: 15px; }
.music-meta > span { font-size: 13px; color: var(--muted); }
.lyric { margin: 6px 0 0 !important; font-size: 13px !important; color: #ffc4d8 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-progress { height: 4px; margin-top: 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.music-progress span { display: block; height: 100%; width: 38%; background: #ff8fb1; animation: prog 30s linear infinite; }
@keyframes prog { from { width: 8%; } to { width: 96%; } }
.eq { width: 96px; height: 28px; flex: none; }
.cal { padding: 14px; border-radius: 18px; background: rgba(0, 0, 0, 0.5); }
.cal-head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.cal-head span { color: var(--pink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 11px; color: var(--muted); }
.cal-grid b { color: var(--faint); font-weight: 600; font-size: 10px; }
.cal-grid span { padding: 4px 0; border-radius: 8px; font-variant-numeric: tabular-nums; }
.cal-grid .is-today { background: var(--pink); color: #fff; font-weight: 700; }
.cal-grid .has-event { position: relative; }
.cal-grid .has-event::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 3px; height: 3px; border-radius: 50%; background: var(--teal); transform: translateX(-50%); }
.cal-events { margin-top: 12px; display: grid; gap: 6px; }
.git { padding: 14px; border-radius: 18px; background: rgba(0, 0, 0, 0.5); }
.git-grid { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.git-grid i { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.07); transition: background 0.6s; }
.git-grid i.l1 { background: rgba(48, 209, 88, 0.3); }
.git-grid i.l2 { background: rgba(48, 209, 88, 0.55); }
.git-grid i.l3 { background: var(--green); }
.git-foot { margin: 10px 0 0 !important; font-size: 12px !important; }
.git-foot b { color: #fff; }
.sys { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: rgba(0, 0, 0, 0.5); }
.sys-row { display: grid; grid-template-columns: 70px 1fr 64px; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.sys-row b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.sys-row canvas { width: 100%; height: 26px; }
.timer { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 8; }
.timer-ring { fill: none; stroke: var(--orange); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.timer-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.timer-text b { font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.timer-text span { font-size: 11px; color: var(--faint); }
.mail-code { display: grid; gap: 10px; justify-items: center; padding: 16px 10px; border-radius: 18px; background: rgba(0, 0, 0, 0.5); }
.mail-from { font-size: 12px; color: var(--muted); }
.code { display: flex; gap: 5px; }
.code b { width: 26px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 18px; font-variant-numeric: tabular-nums; }
.dock-demo { display: grid; gap: 14px; justify-items: center; }
.dock-screen { position: relative; width: 100%; max-width: 360px; aspect-ratio: 16 / 9; border-radius: 14px; background: url("/assets/boobar-holo-aurora-1024-202607.avif") center / cover, #1a1c26; border: 6px solid #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); overflow: hidden; }
.dock-island { position: absolute; background: #000; transition: all 0.6s var(--spring); }
.dock-demo[data-edge="top"] .dock-island { top: 0; left: 50%; width: 30%; height: 9%; transform: translateX(-50%); border-radius: 0 0 10px 10px; }
.dock-demo[data-edge="left"] .dock-island { top: 50%; left: 0; width: 6%; height: 34%; transform: translateY(-50%); border-radius: 0 10px 10px 0; }
.dock-demo[data-edge="right"] .dock-island { top: 50%; left: 94%; width: 6%; height: 34%; transform: translateY(-50%); border-radius: 10px 0 0 10px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); }
.seg button { border: 0; background: none; padding: 5px 14px; border-radius: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.seg button.is-active { background: rgba(255, 255, 255, 0.16); color: #fff; }
.glass-window { display: grid; grid-template-columns: 120px 1fr; height: 168px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); position: relative; }
.tile-settings::before { content: ""; position: absolute; width: 240px; height: 240px; right: -40px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 132, 255, 0.55), transparent 70%); filter: blur(10px); }
.tile-settings::after { content: ""; position: absolute; width: 200px; height: 200px; left: 30px; top: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(191, 90, 242, 0.45), transparent 70%); filter: blur(10px); }
.tile-settings > * { position: relative; z-index: 1; }
.glass-side { display: grid; align-content: start; gap: 4px; padding: 10px; background: rgba(255, 255, 255, 0.05); border-right: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; }
.glass-side i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; margin-right: 3px; }
.glass-side i:nth-child(2) { background: #febc2e; }
.glass-side i:nth-child(3) { background: #28c840; margin-bottom: 8px; }
.glass-side span { padding: 5px 8px; border-radius: 7px; color: rgba(255, 255, 255, 0.75); }
.glass-side .is-sel { background: var(--blue); color: #fff; }
.glass-main { display: grid; align-content: center; gap: 2px; padding: 10px 14px; }
.glass-main label { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); font-size: 13px; }
.glass-main input { appearance: none; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); position: relative; cursor: pointer; transition: background 0.2s; margin: 0; }
.glass-main input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--spring); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.glass-main input:checked { background: var(--green); }
.glass-main input:checked::after { transform: translateX(14px); }

/* ---------- boo moods ---------- */
.moods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mood {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 26px 16px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke);
  text-align: center;
  transition: transform 0.4s var(--spring), background 0.3s;
}
.mood:hover { transform: translateY(-4px) scale(1.02); background: rgba(255, 255, 255, 0.06); }
.mood canvas, .mood .frog { width: 112px; height: 112px; margin-bottom: 8px; }
.mood strong { font-size: 16px; }
.mood span { font-size: 13px; color: var(--muted); }

/* ---------- pricing ---------- */
.price-card {
  position: relative;
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--stroke-2);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.price-card::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 242, 209, 0.22), transparent 65%); pointer-events: none; }
.device-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, 0.35); }
.device-tabs button { border: 0; background: none; padding: 9px 0; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all 0.2s; }
.device-tabs button.is-active { background: rgba(255, 255, 255, 0.14); color: #fff; }
.device-tabs button:disabled { opacity: 0.35; cursor: not-allowed; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; }
.price { font-size: 64px; letter-spacing: -0.04em; line-height: 1; }
.price-row s { color: var(--faint); font-size: 20px; }
.price-deal { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--orange); }
.price-summary { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.price-card .checklist { margin: 24px 0 28px; }
.price-trial { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); text-decoration: none; }
.price-trial:hover { color: #fff; }
.price-contact { margin: 18px 0 0; text-align: center; font-size: 12px; color: var(--faint); }
.price-contact a { color: var(--muted); }

/* ---------- faq ---------- */
.faq-items { width: min(780px, 100%); margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--muted); transition: transform 0.3s var(--spring); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- cta / footer ---------- */
.cta { width: min(1180px, calc(100% - 48px)); margin: 40px auto 120px; padding: 80px 24px; text-align: center; border-radius: 40px; background: radial-gradient(70% 90% at 50% 0%, rgba(140, 242, 209, 0.16), transparent 70%), rgba(255, 255, 255, 0.03); border: 1px solid var(--stroke); }
.cta canvas, .cta .frog { display: block; width: 96px; height: 96px; margin: 0 auto 18px; }
.cta p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 40px 0 56px; border-top: 1px solid var(--stroke); display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.footer-brand p { margin: 10px 0 0; font-size: 14px; color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; justify-content: flex-end; }
.footer-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.rights { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--faint); }

/* ---------- purchase modal (behaviour from script.js) ---------- */
.purchase-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity 0.25s, visibility 0.25s; }
.purchase-modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.modal-panel { position: relative; width: min(440px, 100%); padding: 30px; border-radius: 30px; background: rgba(28, 28, 32, 0.92); border: 1px solid var(--stroke-2); box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6); transform: translateY(16px) scale(0.97); transition: transform 0.45s var(--spring); }
.purchase-modal.is-open .modal-panel { transform: none; }
.modal-panel h2 { font-size: 26px; letter-spacing: -0.02em; }
.modal-panel > p { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); cursor: pointer; }
.modal-close::before, .modal-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.purchase-form { display: grid; gap: 14px; }
.purchase-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.purchase-form input { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--stroke-2); background: rgba(0, 0, 0, 0.4); color: #fff; font: inherit; font-size: 15px; outline: none; }
.purchase-form input:focus { border-color: var(--mint); }
.checkout-row { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 14px; }
.purchase-form output { font-size: 13px; color: var(--orange); }
.purchase-success { padding: 14px; border-radius: 14px; background: rgba(48, 209, 88, 0.1); border: 1px solid rgba(48, 209, 88, 0.3); }
.purchase-success p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.license-reveal { display: grid; gap: 8px; margin-top: 12px; }
.license-reveal code { padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.45); font-family: var(--mono); word-break: break-all; }
.checkout-lock { font-size: 13px; color: var(--muted); }
.purchase-form.is-completed [data-purchase-submit] { display: none; }
.payment-return-tip { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translateX(-50%); padding: 14px 18px; border-radius: 18px; background: rgba(28, 28, 32, 0.92); border: 1px solid var(--stroke-2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.payment-return-tip p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.celebration-confetti, .boo-confetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; width: 100vw; height: 100vh; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .topnav { display: none; }
}
@media (max-width: 1080px) {
  .agents, .wheel-section { grid-template-columns: 1fr; }
  .wheel-demo { grid-template-columns: 1fr; justify-items: center; }
  .wheel-preview { width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-music, .tile-sys, .tile-settings { grid-column: span 2; }
  .tile-cal { grid-row: auto; }
  .moods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar { grid-template-columns: auto 1fr; height: 56px; padding: 0 16px; }
  .topbar-left .brand span { display: none; }
  .topbar-actions { grid-column: 2; gap: 8px; }
  .lang-switch button { padding: 4px 8px; }
  .hero { padding: 100px 16px 60px; }
  .showcase { margin-top: 70px; }
  .laptop-pet { top: -62px; right: 2%; }
  .laptop-pet canvas, .laptop-pet .frog { width: 72px; height: 72px; }
  .laptop-lid { border-radius: 14px 14px 4px 4px; }
  .laptop-base { height: 12px; }
  .scene-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .scene-tabs button { flex: none; }
  .section { width: calc(100% - 32px); padding: 84px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile-music, .tile-sys, .tile-dock, .tile-settings, .tile-cal, .tile-git, .tile-timer, .tile-mail { grid-column: auto; }
  .music-card { flex-wrap: wrap; }
  .eq { width: 100%; }
  .wheel { width: 280px; height: 280px; }
  .wheel-preview { min-height: 330px; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .cta { width: calc(100% - 32px); padding: 60px 18px; }
  .quota { gap: 8px; font-size: 12px; }
  .sticky-blue { left: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- shared bits ---------- */
.ib-event { padding: 8px 12px; border-left: 3px solid var(--purple); border-radius: 6px; background: rgba(191, 90, 242, 0.12); }
.ib-event + .ib-event { border-color: var(--teal); background: rgba(64, 200, 224, 0.1); }
.ib-event strong { font-size: 13px; display: block; }
.ib-event span { font-size: 11px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes line-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- frog pet */
.frog { position: relative; display: inline-block; width: var(--fs, 40px); height: var(--fs, 40px); flex: none; filter: drop-shadow(0 0 calc(var(--fs, 40px) * 0.1) var(--tint, transparent)); transition: filter 0.4s; }
.frog-anim { position: absolute; inset: 0; display: block; transform-origin: 50% 90%; }
.frog-anim svg { display: block; width: 100% !important; height: 100% !important; }
.frog-badge { position: absolute; right: -4%; top: -2%; min-width: 32%; height: 32%; padding: 0 5%; border-radius: 999px; display: grid; place-items: center; font: 800 calc(var(--fs, 40px) * 0.19) / 1 var(--mono); color: #06140c; background: var(--tint, #8cf2d1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); opacity: 0; transform: scale(0.5); transition: opacity 0.25s, transform 0.35s var(--spring); pointer-events: none; }
.frog[data-mood]:not([data-mood="idle"]) .frog-badge { opacity: 1; transform: none; }
.frog[data-mood="working"] .frog-anim { animation: frog-bob 0.32s ease-in-out infinite alternate; }
.frog[data-mood="waiting"] .frog-anim, .frog[data-mood="mail"] .frog-anim { animation: frog-hop 0.9s var(--ease) infinite; }
.frog[data-mood="success"] .frog-anim { animation: frog-jump 0.75s var(--ease) infinite; }
.frog[data-mood="error"] .frog-anim { animation: frog-shake 1.4s ease-in-out infinite; filter: hue-rotate(-95deg) saturate(1.4); }
.frog[data-mood="music"] .frog-anim { animation: frog-sway 0.9s ease-in-out infinite alternate; }
.frog[data-mood="sleeping"] .frog-anim { filter: saturate(0.45) brightness(0.85); animation: frog-breathe 3s ease-in-out infinite; }
.frog[data-mood="sleeping"] .frog-badge { animation: frog-z 2.4s ease-in-out infinite; }
@keyframes frog-bob { from { transform: translateY(0); } to { transform: translateY(-4%); } }
@keyframes frog-hop { 0%, 55%, 100% { transform: translateY(0); } 25% { transform: translateY(-12%); } }
@keyframes frog-jump { 0%, 100% { transform: translateY(0) scale(1, 1); } 15% { transform: translateY(0) scale(1.08, 0.9); } 45% { transform: translateY(-18%) scale(0.96, 1.06); } 75% { transform: translateY(0) scale(1.05, 0.94); } }
@keyframes frog-shake { 0%, 60%, 100% { transform: translateX(0); } 65%, 75%, 85% { transform: translateX(-4%); } 70%, 80%, 90% { transform: translateX(4%); } }
@keyframes frog-sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes frog-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, 0.97); } }
@keyframes frog-z { 0% { transform: translate(0, 0); opacity: 0.2; } 50% { opacity: 1; } 100% { transform: translate(20%, -30%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .frog .frog-anim, .frog .frog-badge { animation: none !important; } }

/* ---------------------------------------------------------------- screen v3 */
.mac-cursor { position: absolute; z-index: 9; left: 0; top: 0; width: 30px; height: 30px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45)); transform: translate(var(--cx, 640px), var(--cy, 380px)); transition: transform 0.9s cubic-bezier(0.45, 0.05, 0.2, 1); pointer-events: none; }
.mac-cursor.is-click path { transform: scale(0.86); transform-origin: 5px 3px; transition: transform 0.12s; }
.mx-quota { display: flex; align-items: center; gap: 7px; height: 26px; margin: 0 2px 10px; font: 500 13.5px var(--mono); color: rgba(255, 255, 255, 0.92); }
.mx-quota .spark { color: #ff9a4d; }
.mx-quota b { font-weight: 600; color: #34d058; }
.mx-quota i { font-style: normal; color: rgba(255, 255, 255, 0.45); }
.mx-quota .sep { margin: 0 4px; color: rgba(255, 255, 255, 0.25); }
.mx-quota .who { margin-left: auto; display: flex; gap: 6px; }
.mx-lead { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); }
.mx-lead .frog, .mx-lead canvas { width: 34px; height: 34px; margin-top: 1px; }
.mx-lead h4 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.mx-lead .you { margin: 3px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.mx-lead .st { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; color: #ffd60a; }
.mx-lead .st.done { color: #34d058; }
.mx-lead .st.wait { color: #ff9f0a; }
.mx-tags { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.mx-tag { height: 24px; padding: 0 8px; border-radius: 6px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, 0.12); font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, 0.78); }
.mx-age { min-width: 30px; text-align: right; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.mx-line { display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center; height: 44px; padding: 0 14px; border-radius: 12px; }
.mx-line + .mx-line { margin-top: 2px; }
.mx-line:hover { background: rgba(255, 255, 255, 0.05); }
.mx-line .dot { width: 9px; height: 9px; border-radius: 50%; background: #34d058; }
.mx-line .dot.run { background: #3b82f6; box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6); animation: dotpulse 1.6s infinite; }
.mx-line .dot.wait { background: #ff9f0a; }
.mx-line span.t { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.92); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-lead + .mx-line { margin-top: 8px; }
.mx-lead .mx-box { margin-top: 10px; }
.mx-live { margin: 6px 0 0; font: 12.5px var(--mono); color: rgba(255, 255, 255, 0.5); }
@keyframes dotpulse { 70% { box-shadow: 0 0 0 7px rgba(59, 130, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } }
.screen-canvas.is-dimmed .mac-wallpaper { filter: brightness(0.62) blur(2px); transition: filter 0.4s; }
.mac-wallpaper { transition: filter 0.4s; }
.mx-lead .frog-badge { display: none; }
.hero-h1 { margin: 0; font-weight: inherit; }
.hero-h1 .eyebrow { display: inline-flex; }
.hero-h1 .hero-title { display: block; }
