/* ColdStore home page: the showcase layer on top of style.css.
   Motion uses transform and opacity only, starts when a part is on screen, and stops for prefers-reduced-motion. */

/* ---------- Hero ---------- */
.xhero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 96px) 0 0; text-align: center; }
.xhero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(180deg, transparent, var(--surface)); pointer-events: none; }

.shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sh { position: absolute; will-change: transform; }
.sh-cookie { width: 230px; height: 230px; left: -60px; top: 150px; color: var(--shape-1); animation: spin 48s linear infinite; }
.sh-clover { width: 190px; height: 190px; right: -40px; top: 70px; color: var(--shape-2); animation: spin 60s linear infinite reverse; }
.sh-pill { width: 260px; height: 84px; right: 9%; top: 420px; border-radius: 999px; background: var(--shape-3); transform: rotate(-28deg); animation: bob 9s var(--ease) infinite alternate; }
.sh-burst { width: 120px; height: 120px; left: 10%; top: 470px; color: var(--shape-4); animation: spin 40s linear infinite; }
.sh-flake { width: 96px; height: 96px; right: 24%; top: 36px; color: var(--primary); opacity: .16; animation: spin 70s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { from { transform: rotate(-28deg) translate3d(0, 0, 0); } to { transform: rotate(-22deg) translate3d(-20px, 24px, 0); } }

.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--on-surface); background: color-mix(in srgb, var(--surface-container-lowest) 72%, transparent); border: 1px solid color-mix(in srgb, var(--outline-variant) 70%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 22%, transparent); }
.xhero h1 { max-width: none; margin-bottom: 28px; }
.xhero .lede { max-width: 660px; margin: 0 auto 36px; color: var(--on-surface-variant); }
.xhero .btn-row { justify-content: center; }
.xhero .hero-note { margin-top: 18px; font-size: 15px; color: var(--on-surface-variant); }
.js .hero-copy > * { animation: rise .9s var(--ease-decel) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .06s; }
.js .hero-copy > :nth-child(3) { animation-delay: .14s; }
.js .hero-copy > :nth-child(4) { animation-delay: .2s; }
.js .hero-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }

/* Product scene: laptop + phone, layered shadows, slight tilt that flattens as you scroll */
.scene { position: relative; max-width: 1120px; margin: clamp(48px, 7vw, 88px) auto 0; padding: 0 0 clamp(48px, 7vw, 96px); perspective: 2400px; text-align: left; }
.js .scene { animation: rise 1.1s .25s var(--ease-decel) both; }
.laptop { position: relative; width: 84%; margin-left: 3%; transform-origin: 50% 100%; transform: rotateX(9deg); will-change: transform; }
.lid {
  position: relative; padding: 1.7% 1.7% 2.4%; border-radius: clamp(10px, 1.8vw, 22px) clamp(10px, 1.8vw, 22px) 4px 4px;
  background: linear-gradient(180deg, #2b2f36, #15171b); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--lift);
}
.cam { position: absolute; top: .65%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #05070a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.lid .screen { position: relative; aspect-ratio: 1040 / 650; overflow: hidden; border-radius: clamp(3px, .6vw, 8px); background: var(--app-deep); }
.fit { position: absolute; left: 0; top: 0; width: 1040px; height: 650px; transform-origin: 0 0; transform: scale(var(--k, .5)); }
.deck { position: relative; z-index: 1; height: clamp(9px, 1.5vw, 18px); width: 112%; margin-left: -6%; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(180deg, #e3e6ea, #b5bac2 55%, #8e949c); box-shadow: 0 30px 50px -18px rgba(10, 30, 60, .45); }
.deck i { position: absolute; left: 50%; top: 0; width: 14%; height: 42%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #9ca2aa, #c9cdd3); }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) .deck { background: linear-gradient(180deg, #6a7078, #3d4248 55%, #24272c); }
  :where(:root:not([data-theme="light"])) .deck i { background: linear-gradient(180deg, #2a2e33, #50555c); }
}
:where(:root[data-theme="dark"]) .deck { background: linear-gradient(180deg, #6a7078, #3d4248 55%, #24272c); }
:where(:root[data-theme="dark"]) .deck i { background: linear-gradient(180deg, #2a2e33, #50555c); }

/* The app UI inside the laptop is always laid out at 1040 px and scaled, so it never reflows */
.fit .window { max-width: none; width: 1040px; height: 650px; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.fit .win-body { grid-template-columns: 200px 1fr; min-height: 0; height: 612px; }
.fit .sidebar { display: block; }
.fit .grid-2 { grid-template-columns: 1.25fr 1fr; }
.fit .win-main { padding: 18px; }
.fit .prow { grid-template-columns: 30px 1fr auto auto; }
.fit .prow .size { display: inline; }
.fit .ring, .fit .ring svg { width: 88px; }
.fit .ring svg { height: 88px; }
.fit .ring .lbl { top: 29px; font-size: 19px; }
.fit .toast { white-space: nowrap; width: auto; font-size: 15px; padding: 14px 18px; }

.hphone-pos { position: absolute; right: 0; bottom: clamp(16px, 4vw, 56px); width: 300px; z-index: 3; transform-origin: 100% 100%; transform: scale(var(--pk, .8)); }
.hphone { width: 300px; transform: rotate(3deg); box-shadow: inset 0 0 0 2px #3a3f47, var(--lift); }
.hphone .pscreen { inset: 48px 14px 76px; }
.status-dot.pulse { position: relative; }
.status-dot.pulse::after, .live.pulse::after, .online i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s var(--ease-decel) infinite; }
.live.pulse { position: relative; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.notif {
  position: absolute; z-index: 4; left: 10px; right: 10px; top: 46px; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start;
  padding: 11px 12px; border-radius: 20px; background: rgba(240, 245, 252, .96); color: #15181d; font-size: 12px; line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transform: translate3d(0, -140%, 0); opacity: 0; transition: transform .6s var(--ease-decel), opacity .3s;
}
.notif.show { transform: none; opacity: 1; }
.notif img { width: 30px; height: 30px; border-radius: 8px; }
.notif b { display: block; font-size: 12.5px; }
.notif small { font-size: 11px; color: #5b6470; }

.fchip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 22px; text-align: left;
  background: color-mix(in srgb, var(--surface-container-lowest) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--outline-variant) 70%, transparent); box-shadow: var(--lift); font-size: 14px; line-height: 1.3; color: var(--on-surface);
  animation: float 7s var(--ease) infinite alternate;
}
.fchip b { display: block; font-weight: 600; }
.fchip small { display: block; color: var(--on-surface-variant); font-size: 12.5px; }
.fchip .fi { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); }
.fchip .fi .icon { width: 22px; height: 22px; }
.f1 { left: -1%; top: 14%; }
.f2 { left: 9%; bottom: 7%; animation-delay: -3s; }
@keyframes float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -12px, 0); } }

@media (max-width: 1000px) { .hphone-pos { --pk: .6; } .f1 { left: 0; top: 6%; } .sh-flake { display: none; }
}
@media (max-width: 700px) {
  .sh-cookie { width: 140px; height: 140px; left: -50px; top: 90px; }
  .sh-clover { width: 120px; height: 120px; right: -40px; top: 40px; }
  .sh-pill { width: 150px; height: 50px; right: -30px; top: 560px; }
  .sh-burst { width: 80px; height: 80px; left: -20px; top: 520px; }
  .sh-flake { display: none; }
  .laptop { width: 88%; margin-left: 0; }
  .hphone-pos { --pk: .36; right: -4px; bottom: 30px; }
  .f2 { display: none; }
  .f1 { top: auto; bottom: -6px; left: 0; padding: 6px 12px 6px 6px; font-size: 12px; border-radius: 16px; }
  .f1 .fi { width: 30px; height: 30px; border-radius: 10px; }
  .f1 small { display: none; }
  .hero-badge { font-size: 13px; text-align: left; }
}

/* ---------- Spec numbers ---------- */
.specs { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.spec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.55fr repeat(4, 1fr); }
.spec-grid li { padding: 4px clamp(16px, 2vw, 28px); border-left: 1px solid var(--outline-variant); }
.spec-grid li:first-child { border-left: 0; padding-left: 0; }
.spec-n { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec-grid li:first-child .spec-n { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.45; }
.spec-grid li:nth-child(1) .spec-n { color: var(--primary); }
.spec-grid li:nth-child(2) .spec-n { color: var(--secondary); }
.spec-grid li:nth-child(3) .spec-n { color: var(--tertiary); }
.spec-grid li:nth-child(4) .spec-n { color: var(--primary); }
.spec-grid li:nth-child(5) .spec-n { color: var(--secondary); }
.spec-grid li > span { display: block; font-size: 15.5px; line-height: 1.45; color: var(--on-surface-variant); max-width: 24ch; }
@media (max-width: 980px) {
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .spec-grid li:first-child { grid-column: 1 / -1; }
  .spec-grid li:nth-child(2n) { border-left: 0; padding-left: 0; }
}

/* ---------- How it works ---------- */
.xsteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.xstep {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 32px; overflow: hidden;
  background: color-mix(in srgb, var(--tone-c) 38%, var(--surface-container-lowest)); border: 1px solid color-mix(in srgb, var(--tone) 14%, transparent);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.xstep .art { position: relative; width: 112px; height: 112px; display: grid; place-items: center; margin-bottom: 28px; }
.xstep .blob { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--tone-c); animation: spin 36s linear infinite; }
.xstep .tt { position: relative; width: 56px; height: 56px; color: var(--tone); --tt2: var(--tone); --tt2o: .2; }
.xstep .n { position: absolute; top: 26px; right: 30px; font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 1; letter-spacing: -.04em; color: color-mix(in srgb, var(--tone) 16%, transparent); }
.xstep h3 { font-size: 26px; margin-bottom: 10px; }
.xstep p { margin: 0; font-size: 17px; color: var(--on-surface-variant); }
.xstep .step-ui { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--on-surface); }
@media (hover: hover) and (pointer: fine) { .xstep:hover { transform: translateY(-4px); box-shadow: var(--lift); }
}
@media (max-width: 900px) { .xsteps { grid-template-columns: 1fr; }
}

/* ---------- Scroll chapter ---------- */
.chapter { position: relative; background: var(--surface-container-low); }
.ch-sticky { padding: clamp(64px, 8vw, 104px) 0; }
.js .chapter.pin { height: 340vh; }
.js .chapter.pin .ch-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 80px 0 24px; display: flex; align-items: center; overflow: hidden; }
.ch-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ch-grid > * { min-width: 0; }
.ch-copy .headline { font-size: clamp(30px, 3.8vw, 52px); }
.ch-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 6px; counter-reset: s; }
.ch-steps li { position: relative; padding: 16px 20px 16px 64px; border-radius: 22px; counter-increment: s; transition: background-color .4s var(--ease), opacity .4s var(--ease), box-shadow .4s var(--ease); }
.ch-steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; background: var(--surface-container-high); color: var(--on-surface-variant); transition: background-color .4s, color .4s; }
.ch-steps b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 19px; }
.ch-steps span { display: block; font-size: 15.5px; color: var(--on-surface-variant); line-height: 1.45; margin-top: 2px; }
.chapter.pin .ch-steps li { opacity: .45; }
.chapter.pin .ch-steps li.on { opacity: 1; background: var(--surface-container-lowest); box-shadow: var(--elev-1); }
.ch-steps li.on::before, .chapter:not(.pin) .ch-steps li::before { background: var(--primary); color: var(--on-primary); }
.chapter.pin .ch-steps li.done::before { background: var(--primary-container); color: var(--on-primary-container); }

.ch-stage {
  position: relative; display: flex; flex-direction: column; gap: 14px; height: min(620px, calc(100svh - 150px)); min-height: 440px; padding: 22px; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--primary-container), color-mix(in srgb, var(--secondary-container) 70%, var(--primary-container)) 70%, color-mix(in srgb, var(--tertiary-container) 60%, var(--primary-container)));
}
.chapter:not(.pin) .ch-stage { height: 560px; }
.ch-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; }
.ch-cloud, .ch-folder, .ch-disk, .ch-placeholder { background: var(--surface-container-lowest); color: var(--on-surface); box-shadow: var(--elev-1); }
.ch-cloud { align-self: center; position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 24px; font-size: 14px; }
.ch-cloud .tt { width: 48px; height: 48px; color: var(--primary); --tt2: var(--primary); }
.ch-cloud b { display: block; font-size: 16px; }
.ch-cloud small { display: block; color: var(--on-surface-variant); }
.ch-ok { position: absolute; right: -8px; top: -8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #1e8e3e; color: #fff; opacity: 0; transform: scale(.5); }
.ch-ok .icon { width: 16px; height: 16px; }
.ch-field { position: relative; flex: 1; min-height: 0; }
.ch-folder { position: absolute; left: 50%; top: 50%; width: min(300px, 86%); padding: 20px; border-radius: 26px; text-align: center; transform: translate(-50%, -50%); will-change: transform, opacity; }
.ch-folder .tt { width: 72px; height: 72px; margin: 0 auto 8px; color: var(--primary); --tt2: var(--primary); }
.ch-folder b { display: block; font-size: 18px; }
.ch-folder small { display: block; color: var(--on-surface-variant); font-size: 13px; }
.ch-size { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--primary-container); color: var(--on-primary-container); }
.ch-chunks { position: absolute; inset: 6% 4%; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-content: center; }
.ch-chunks i { position: relative; aspect-ratio: 1.35; border-radius: 9px; background: var(--primary); opacity: 0; will-change: transform, opacity; }
.ch-chunks i:nth-child(5n+2) { background: color-mix(in srgb, var(--primary) 70%, var(--secondary)); }
.ch-chunks i:nth-child(7n+3) { background: color-mix(in srgb, var(--primary) 60%, var(--tertiary)); }
.ch-chunks i b { position: absolute; inset: 0; border-radius: inherit; opacity: 0; background: var(--secondary) radial-gradient(circle at 50% 58%, rgba(255, 255, 255, .95) 0 18%, transparent 19%) no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ch-chunks i b::before { content: ""; position: absolute; left: 50%; top: 22%; width: 26%; height: 30%; transform: translateX(-50%); border: 2px solid rgba(255, 255, 255, .95); border-bottom: 0; border-radius: 6px 6px 0 0; }
.ch-placeholder { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 22px; transform: translate(-50%, -50%) scale(.9); opacity: 0; white-space: nowrap; }
.ch-placeholder .icon { width: 28px; height: 28px; color: var(--primary); }
.ch-placeholder b { display: block; }
.ch-placeholder small { display: block; color: var(--on-surface-variant); font-size: 13px; }
.ch-disk { padding: 16px 18px; border-radius: 24px; font-size: 14px; }
.ch-disk-top, .ch-disk-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ch-disk-top span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.ch-disk-top .icon { width: 20px; height: 20px; color: var(--primary); }
.ch-freed { color: var(--secondary); font-weight: 500; }
.ch-freed b, .ch-disk-bot b { font-variant-numeric: tabular-nums; font-size: 18px; }
.ch-disk-bot { margin-top: 8px; color: var(--on-surface-variant); }
.ch-disk-bot span:last-child { font-size: 13px; }
.ch-bar { position: relative; height: 14px; margin-top: 12px; border-radius: 999px; overflow: hidden; background: var(--surface-container-high); }
.ch-bar .used { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--tertiary))); transform-origin: 0 50%; transform: scaleX(.93); will-change: transform; }
.chapter:not(.pin) .ch-folder, .chapter.final .ch-folder { opacity: 0; }
.chapter:not(.pin) .ch-placeholder, .chapter.final .ch-placeholder { opacity: 1; transform: translate(-50%, -50%); }
.chapter:not(.pin) .ch-ok, .chapter.final .ch-ok { opacity: 1; transform: none; }
.chapter:not(.pin) .ch-bar .used, .chapter.final .ch-bar .used { transform: scaleX(.843); }
.js .chapter:not(.pin):not(.final) .ch-folder { opacity: 1; }
.js .chapter:not(.pin):not(.final) .ch-placeholder, .js .chapter:not(.pin):not(.final) .ch-ok { opacity: 0; }
.js .chapter:not(.pin):not(.final) .ch-bar .used { transform: scaleX(.93); }

@media (max-width: 900px) {
  .ch-grid { grid-template-columns: 1fr; gap: 20px; }
  .js .chapter.pin { height: 300vh; }
  .js .chapter.pin .ch-sticky { padding: 76px 0 16px; align-items: flex-start; }
  .chapter.pin .ch-copy .eyebrow { margin-bottom: 8px; }
  .chapter.pin .ch-copy .headline { font-size: 26px; }
  .chapter.pin .ch-steps { margin-top: 14px; display: block; position: relative; min-height: 112px; }
  .chapter.pin .ch-steps li { position: absolute; inset: 0 0 auto 0; opacity: 0; padding: 12px 16px 12px 56px; }
  .chapter.pin .ch-steps li::before { left: 14px; top: 12px; }
  .chapter.pin .ch-steps li.on { opacity: 1; }
  .chapter.pin .ch-steps span { font-size: 14.5px; }
  .ch-stage { height: auto; min-height: 0; }
  .chapter.pin .ch-stage { height: calc(100svh - 360px); min-height: 330px; max-height: 520px; padding: 14px; border-radius: 28px; gap: 10px; }
  .chapter:not(.pin) .ch-stage { height: 480px; }
  .ch-chunks { gap: 5px; }
  .ch-folder { padding: 14px; }
  .ch-folder .tt { width: 52px; height: 52px; }
  .ch-disk { padding: 12px 14px; }
  .ch-disk-bot span:last-child { display: none; }
}

/* ---------- Full-width colour chapters ---------- */
.band-full { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(80px, 10vw, 144px) 0; }
.band-full .grain { position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.band-blue { background: radial-gradient(70% 90% at 0% 0%, rgba(89, 199, 255, .38), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(64, 217, 217, .26), transparent 60%), linear-gradient(160deg, var(--deep-1), var(--deep-2)); }
.band-teal { background: radial-gradient(60% 80% at 100% 0%, rgba(140, 255, 240, .26), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(89, 199, 255, .2), transparent 60%), linear-gradient(160deg, var(--teal-1), var(--teal-2)); }
.band-violet { background: radial-gradient(60% 80% at 0% 0%, rgba(199, 180, 255, .3), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(89, 199, 255, .18), transparent 60%), linear-gradient(160deg, var(--violet-1), var(--violet-2)); }
.band-full .eyebrow { color: rgba(255, 255, 255, .78); }
.band-full .lede { color: rgba(255, 255, 255, .86); max-width: 640px; }
.band-full :focus-visible { outline-color: #fff; }
.band-full code { color: #c7edff; }
.btn-white { background: #fff; color: #08376b; margin-top: 12px; }
.btn-white:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.band-flake { position: absolute; z-index: -1; right: -120px; top: -100px; width: 620px; height: 620px; color: #fff; opacity: .06; animation: spin 120s linear infinite; }
.band-shape { position: absolute; z-index: -1; right: -140px; bottom: -180px; width: 560px; height: 560px; color: #fff; opacity: .07; animation: spin 90s linear infinite; }
.bf-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.bf-grid > * { min-width: 0; }
.bf-head { max-width: 900px; }
@media (max-width: 900px) { .bf-grid { grid-template-columns: 1fr; }
}

/* Security vault */
.vault { position: relative; padding: 28px 28px 10px; border-radius: 32px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.vault .lane { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.vault .lane:last-child { border-bottom: 0; }
.vault .lane b { display: block; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .7); margin-bottom: 7px; }
.vault .bytes { font-family: var(--font-mono); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 84px; }
.vault .lane:not(:first-of-type) .bytes { padding-right: 0; }
.vault .enc { color: #8ff5f1; }
.vault .pack { color: rgba(255, 255, 255, .72); }
.vault .chunks i { background: rgba(255, 255, 255, .4); }
.vault .chunks i.dup { background: transparent; border: 1.5px dashed rgba(255, 255, 255, .55); }
.vault-lock { position: absolute; right: -18px; top: -38px; width: 100px; height: 100px; border-radius: 32px; display: grid; place-items: center; background: #fff; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); }
.vault-lock .tt { width: 54px; height: 54px; color: #0b57a4; --tt2: #59c7ff; --tt2o: .55; }
.vault-lock .ring { position: absolute; inset: 0; border-radius: 32px; border: 2px solid rgba(255, 255, 255, .6); animation: halo 3s var(--ease-decel) infinite; }
.vault-lock .r2 { animation-delay: 1.5s; }
@keyframes halo { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.bf-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.bf-promises > div { padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.bf-promises .tt { width: 52px; height: 52px; color: #fff; --tt2: #59c7ff; --tt2o: .55; margin-bottom: 26px; }
.bf-promises h3 { font-size: 22px; margin-bottom: 8px; }
.bf-promises p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .82); }
@media (max-width: 900px) { .bf-promises { grid-template-columns: 1fr; } .vault { margin-top: 32px; }
}
@media (max-width: 560px) { .vault { padding: 22px 18px 6px; } .vault-lock { right: 10px; top: -44px; width: 76px; height: 76px; border-radius: 24px; } .vault-lock .ring { border-radius: 24px; } .vault-lock .tt { width: 42px; height: 42px; } .vault .bytes { padding-right: 0; }
}

/* Platforms */
.sync { display: grid; grid-template-columns: 1fr 1.1fr 1fr 1.1fr 1fr; align-items: center; margin: clamp(48px, 6vw, 72px) 0; }
.dev { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 16px; border-radius: 30px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.dev .tt { width: 68px; height: 68px; color: #fff; --tt2: #8ff5f1; --tt2o: .45; margin-bottom: 8px; }
.dev b { font-size: 19px; font-family: var(--font-display); font-weight: 500; }
.dev small { font-size: 14px; color: rgba(255, 255, 255, .76); }
.d-cloud { background: #fff; color: #003f42; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); }
.d-cloud .tt { color: #00696a; --tt2: #40d9d9; --tt2o: .5; }
.d-cloud small { color: #3c5e5f; }
.lane-l, .lane-r { position: relative; height: 4px; margin: 0 10px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 8px, transparent 8px 16px); }
.lane-l i, .lane-r i { position: absolute; inset: 0; animation: flow 2.7s linear infinite; }
.lane-l i::before, .lane-r i::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 12px; margin: -6px 0 0 -8px; border-radius: 4px; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .8); }
.lane-l i:nth-child(2), .lane-r i:nth-child(2) { animation-delay: -.9s; }
.lane-l i:nth-child(3), .lane-r i:nth-child(3) { animation-delay: -1.8s; }
.lane-r i { animation-direction: reverse; }
@keyframes flow { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate3d(100%, 0, 0); opacity: 0; } }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plat-grid article { padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); }
.plat-grid .tt { width: 46px; height: 46px; color: #fff; --tt2: #8ff5f1; --tt2o: .45; margin-bottom: 22px; }
.plat-grid h3 { font-size: 23px; margin-bottom: 8px; }
.plat-grid p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .84); }
@media (max-width: 1000px) { .plat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .plat-grid { grid-template-columns: 1fr; }
  .sync { grid-template-columns: 1fr 28px 1.15fr 28px 1fr; }
  .lane-l, .lane-r { margin: 0 2px; }
  .dev { padding: 16px 6px; border-radius: 22px; }
  .dev .tt { width: 42px; height: 42px; margin-bottom: 2px; }
  .dev b { font-size: 15px; }
  .dev small { display: none; }
}

/* Organizations card */
.org-card { padding: 26px; border-radius: 32px; background: var(--surface-container-lowest); color: var(--on-surface); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); font-size: 15px; }
.org-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--outline-variant); }
.org-top .tt { width: 46px; height: 46px; color: var(--tertiary); --tt2: var(--tertiary); }
.org-top b { display: block; font-size: 18px; }
.org-top small, .org-members small, .org-req small { display: block; color: var(--on-surface-variant); font-size: 13px; }
.org-pill { margin-left: auto; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--tertiary-container); color: var(--on-tertiary-container); }
.org-use { padding: 16px 0; border-bottom: 1px solid var(--outline-variant); }
.ou-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-surface-variant); }
.mbar { display: block; height: 6px; border-radius: 6px; overflow: hidden; background: var(--surface-container-high); margin-top: 8px; }
.mbar.lg { height: 10px; }
.mbar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c, var(--tertiary)); transform-origin: 0 50%; }
.org-members > div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--outline-variant); }
.org-members .grow { flex: 1; min-width: 0; }
.org-members .v { color: var(--on-surface-variant); font-variant-numeric: tabular-nums; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; flex: none; }
.avatar.a1 { background: var(--primary-container); color: var(--on-primary-container); }
.avatar.a2 { background: var(--secondary-container); color: var(--on-secondary-container); }
.avatar.a3 { background: var(--rose-container); color: var(--on-rose-container); }
.org-req { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; padding: 14px 14px 14px 16px; border-radius: 22px; background: var(--tertiary-container); color: var(--on-tertiary-container); }
.org-req .tt { width: 36px; height: 36px; color: var(--tertiary); --tt2: var(--tertiary); }
.org-req .grow { flex: 1; min-width: 140px; }
.org-req small { color: inherit; opacity: .8; }
.list.on-band li { color: rgba(255, 255, 255, .86); }
.list.on-band .icon { color: #fff; }
.list.on-band b { color: #fff; }
.band-violet .list { margin-top: 8px; }

/* ---------- Rich bento ---------- */
.xbento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.xb {
  position: relative; isolation: isolate; grid-column: span 4; display: flex; flex-direction: column; min-width: 0; padding: 28px; border-radius: 32px; overflow: hidden;
  border: 1px solid color-mix(in srgb, currentColor 9%, transparent); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.xb.c8 { grid-column: span 8; }
.xb.c7 { grid-column: span 7; }
.xb.c5 { grid-column: span 5; }
.xb::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .42), transparent 45%); }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) .xb::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .1), transparent 45%); }
}
:where(:root[data-theme="dark"]) .xb::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .1), transparent 45%); }
@media (hover: hover) and (pointer: fine) {
  .xb:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, -4px, 0); box-shadow: var(--lift); }
  .xb:hover::after { opacity: 1; }
}
.t-primary { background: var(--primary-container); color: var(--on-primary-container); }
.t-secondary { background: var(--secondary-container); color: var(--on-secondary-container); }
.t-tertiary { background: var(--tertiary-container); color: var(--on-tertiary-container); }
.t-warm { background: var(--warn-container); color: var(--on-warn-container); }
.t-rose { background: var(--rose-container); color: var(--on-rose-container); }
.t-green { background: var(--green-container); color: var(--on-green-container); }
.t-ice { background: color-mix(in srgb, var(--primary-container) 45%, var(--surface-container-low)); color: var(--on-surface); }
.t-green2 { background: color-mix(in srgb, var(--green-container) 55%, var(--secondary-container)); color: var(--on-green-container); }
.t-warm2 { background: color-mix(in srgb, var(--rose-container) 50%, var(--warn-container)); color: var(--on-rose-container); }
.t-primary2 { background: color-mix(in srgb, var(--primary-container) 60%, var(--tertiary-container)); color: var(--on-primary-container); }
.xb .label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; font-weight: 500; margin-bottom: 18px; }
.xb .label .tt { width: 38px; height: 38px; color: currentColor; --tt2: currentColor; --tt2o: .18; }
.xb .label .soon-tag { margin-left: 0; }
.xb h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 8px; letter-spacing: -.015em; }
.xb p { margin: 0; font-size: 16.5px; opacity: .86; max-width: 52ch; }
.xv { margin-top: auto; padding-top: 24px; }
.xb .ui { box-shadow: var(--elev-1); }

/* Usage: live sparkline */
.usage-v { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; align-items: stretch; }
.spark-card { display: flex; flex-direction: column; padding: 14px 16px 10px; border-radius: var(--r-md); background: var(--surface-container-lowest); color: var(--on-surface); box-shadow: var(--elev-1); }
.spark-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--on-surface-variant); }
.spark-head b { color: var(--on-surface); font-variant-numeric: tabular-nums; display: inline-block; min-width: 3ch; }
.spark-head .k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.k.cpu { background: var(--primary); }
.k.mem { background: var(--tertiary); }
.live-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #1e8e3e; }
.live-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) .live-tag { color: #6dd58c; }
}
:where(:root[data-theme="dark"]) .live-tag { color: #6dd58c; }
.spark { flex: 1; width: 100%; height: 130px; min-height: 110px; margin-top: 8px; overflow: visible; }
.spark .grid { fill: none; stroke: var(--outline-variant); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.spark .line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark .line.cpu { stroke: var(--primary); }
.spark .line.mem { stroke: var(--tertiary); }
.spark .area.cpu { fill: color-mix(in srgb, var(--primary) 16%, transparent); }
.spark .area.mem { fill: color-mix(in srgb, var(--tertiary) 7%, transparent); }
.usage-v .apps { align-content: center; }

/* Apple Intelligence */
.switch.big { transform: scale(1.2); transform-origin: 100% 50%; }
.gb-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--green-container); color: var(--on-green-container); opacity: 0; transform: translate3d(0, 8px, 0) scale(.92); transition: opacity .4s var(--ease), transform .5s var(--ease-decel); }
.gb-back .icon { width: 18px; height: 18px; }
.ai-ui.off .gb-back { opacity: 1; transform: none; }

/* Duplicates */
.dupes { position: relative; height: 196px; }
.photo { position: absolute; left: 50%; top: 4px; width: 116px; height: 124px; margin-left: -58px; border-radius: 16px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--elev-2); background: linear-gradient(180deg, #8fd0ff, #d9f0ff 60%, #ffe9c7); transition: transform .8s var(--ease), opacity .5s var(--ease); will-change: transform; }
.photo::before { content: ""; position: absolute; right: 18px; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: #ffd58a; }
.photo i { position: absolute; inset: 40% 0 0 0; background: linear-gradient(180deg, #2f8f74, #1a5e4f); clip-path: polygon(0 60%, 22% 22%, 38% 48%, 58% 6%, 80% 46%, 100% 26%, 100% 100%, 0 100%); }
.photo span { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; font-size: 10.5px; font-weight: 500; background: rgba(0, 0, 0, .5); color: #fff; }
.photo.p1 { transform: translate3d(-80%, 10px, 0) rotate(-7deg); }
.photo.p2 { transform: translate3d(0, 0, 0) rotate(1deg); z-index: 2; }
.photo.p3 { transform: translate3d(80%, 10px, 0) rotate(7deg); }
.dupes.merge .photo.p1 { transform: translate3d(-4px, 46px, 0) rotate(-3deg) scale(.7); opacity: 0; }
.dupes.merge .photo.p3 { transform: translate3d(4px, 46px, 0) rotate(3deg) scale(.7); opacity: 0; }
.dupes.merge .photo.p2 { transform: translate3d(0, 0, 0) rotate(0); }
.dupe-badge { position: absolute; left: 50%; bottom: 0; z-index: 3; padding: 8px 14px; border-radius: 14px; text-align: center; white-space: nowrap; font-size: 12.5px; background: var(--surface-container-lowest); color: var(--on-surface); box-shadow: var(--elev-2); opacity: 0; transform: translate3d(-50%, 10px, 0); transition: opacity .4s var(--ease) .3s, transform .5s var(--ease-decel) .3s; }
.dupe-badge b { display: block; font-family: var(--font-mono); font-size: 12.5px; }
.dupe-badge span { color: var(--on-surface-variant); }
.dupes.merge .dupe-badge { opacity: 1; transform: translate3d(-50%, 0, 0); }

/* Phone alert */
.mini-phone { width: 214px; height: 214px; margin: 0 auto -29px; padding: 8px 8px 0; border-radius: 36px 36px 0 0; background: #1f2329; box-shadow: inset 0 0 0 2px #3a3f47, var(--elev-3); }
.mp-screen { position: relative; height: 100%; overflow: hidden; border-radius: 29px 29px 0 0; padding-top: 44px; background: radial-gradient(80% 60% at 30% 0%, rgba(89, 199, 255, .45), transparent), linear-gradient(160deg, #1b3b6e, #0f1a33); text-align: center; }
.mp-time { color: #fff; font-size: 44px; font-weight: 300; letter-spacing: -.02em; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif; }
.mp-notif { position: absolute; left: 8px; right: 8px; top: 14px; padding: 9px 11px 10px; border-radius: 16px; text-align: left; background: rgba(245, 248, 255, .97); color: #15181d; font-size: 11.5px; line-height: 1.35; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transform: translate3d(0, -150%, 0); opacity: 0; transition: transform .6s var(--ease-decel), opacity .3s; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
.mp-n-head { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #5b6470; margin-bottom: 4px; }
.mp-n-head img { width: 18px; height: 18px; border-radius: 5px; }
.mp-n-head span { margin-left: auto; }
.mp-notif b { display: block; font-size: 12.5px; }
.mp-msg, .mp-done { display: block; color: #3b4048; }
.mp-done { display: none; color: #0b6b3a; font-weight: 600; }
.mp-btn { position: relative; display: block; margin-top: 8px; padding: 7px; overflow: hidden; border-radius: 10px; text-align: center; font-weight: 600; background: #00639b; color: #fff; transition: transform .15s var(--ease); }
.tap { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: scale(0); opacity: 0; }
.alert-on .mp-notif { transform: none; opacity: 1; }
.alert-tap .mp-btn { transform: scale(.96); }
.alert-tap .tap { animation: tap .6s var(--ease-decel) forwards; }
@keyframes tap { from { transform: scale(0); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.alert-done .mp-msg, .alert-done .mp-btn { display: none; }
.alert-done .mp-done { display: block; }

/* Backup ring */
.backup { position: relative; height: 176px; display: grid; place-items: center; }
.bring { width: 164px; height: 164px; transform: rotate(-90deg); }
.bring .track { fill: none; stroke: color-mix(in srgb, currentColor 14%, transparent); stroke-width: 11; }
.bring .val { fill: none; stroke: color-mix(in srgb, currentColor 30%, #1e8e3e); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) .bring .val { stroke: #6dd58c; }
}
:where(:root[data-theme="dark"]) .bring .val { stroke: #6dd58c; }
.b-mid, .b-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: opacity .4s var(--ease), transform .5s var(--ease-decel); }
.b-mid b { font-family: var(--font-display); font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.b-mid span, .b-done span { font-size: 13px; opacity: .8; }
.b-done { opacity: 0; transform: scale(.85); }
.b-done .icon { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: #1e8e3e; color: #fff; margin-bottom: 4px; }
.b-done b { font-size: 16px; }
.backup.done .b-mid { opacity: 0; transform: scale(.85); }
.backup.done .b-done { opacity: 1; transform: none; }

/* Clean up */
.clean-ui .cb:not(.off) { transition: background-color .3s, box-shadow .3s; }
.js .clean-ui:not(.ticked) .ui-row:not(.t) .cb:not(.off) { background: transparent; box-shadow: inset 0 0 0 2px var(--outline); }
.js .clean-ui:not(.ticked) .ui-row:not(.t) .cb:not(.off) svg { transform: scale(0); }
.clean-ui .cb svg { transition: transform .3s var(--ease-decel); }
.clean-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--outline-variant); font-size: 14px; }
.clean-foot b { font-variant-numeric: tabular-nums; }

/* Agents bars grow in */
.grow-bars { margin-top: 14px; height: 104px; }
.grow-bars i { height: var(--h); transform-origin: 50% 100%; transition: transform .9s var(--ease-decel); }
.js .xb:not(.in-view) .grow-bars i { transform: scaleY(0); }
.grow-bars div:nth-child(2) i { transition-delay: .05s; } .grow-bars div:nth-child(3) i { transition-delay: .1s; } .grow-bars div:nth-child(4) i { transition-delay: .15s; }
.grow-bars div:nth-child(5) i { transition-delay: .2s; } .grow-bars div:nth-child(6) i { transition-delay: .25s; } .grow-bars div:nth-child(7) i { transition-delay: .3s; }

/* Privacy review */
.priv-ui .chg { white-space: nowrap; }
.priv-ui .to { display: inline-block; transition: opacity .35s var(--ease), transform .45s var(--ease-decel); }
.priv-ui .from { transition: opacity .3s; }
.js .priv-ui:not(.applied) .ui-row:not(.t) .to { opacity: 0; transform: translate3d(-6px, 0, 0); }
.js .priv-ui:not(.applied) .ui-row:not(.t) .from { text-decoration: none; color: var(--on-surface); }

/* Uninstall */
.uninst { position: relative; height: 168px; display: flex; align-items: center; justify-content: space-between; padding: 0 6%; }
.u-app { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; transition: transform 1s var(--ease), opacity .6s var(--ease) .35s; will-change: transform; }
.u-icon { position: relative; width: 74px; height: 74px; border-radius: 20px; background: linear-gradient(135deg, #9b88f0, #5b4bb0); box-shadow: var(--elev-2); }
.u-icon::before { content: ""; position: absolute; left: 20px; right: 20px; top: 24px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .9); box-shadow: 0 10px 0 rgba(255, 255, 255, .7), 0 20px 0 rgba(255, 255, 255, .5); }
.u-app b { font-size: 15px; margin-top: 6px; }
.u-app small { font-size: 12.5px; opacity: .8; }
.u-bin { display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .3s var(--ease); }
.u-bin .tt { width: 78px; height: 78px; color: currentColor; --tt2: currentColor; --tt2o: .16; }
.u-bin small { font-size: 12.5px; opacity: .8; }
.uninst.drop .u-app { transform: translate3d(var(--dx, 160px), 10px, 0) scale(.25); opacity: 0; }
.uninst.drop .u-bin { animation: gulp .5s .7s var(--ease); }
@keyframes gulp { 50% { transform: scale(1.1); } }

/* Devices */
.devs .tt.sm { width: 34px; height: 34px; color: var(--primary); --tt2: var(--primary); --tt2o: .18; }
.online { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: #1e8e3e; white-space: nowrap; }
.online i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.online.off { color: var(--on-surface-variant); }
.online.off i::after { display: none; }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme="light"])) .online { color: #6dd58c; }
  :where(:root:not([data-theme="light"])) .online.off { color: var(--on-surface-variant); }
}
:where(:root[data-theme="dark"]) .online { color: #6dd58c; }
:where(:root[data-theme="dark"]) .online.off { color: var(--on-surface-variant); }

@media (max-width: 1100px) {
  .xb, .xb.c7, .xb.c5 { grid-column: span 6; }
  .xb.c8 { grid-column: span 12; }
  .xb:last-child { grid-column: span 12; }
}
@media (max-width: 680px) {
  .xbento { grid-template-columns: 1fr; }
  .xb, .xb.c7, .xb.c5, .xb.c8, .xb:last-child { grid-column: auto; padding: 24px; border-radius: 28px; }
  .usage-v { grid-template-columns: 1fr; }
  .mini-phone { margin-bottom: -25px; }
}

/* ---------- Remote management showcase ---------- */
.remote { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "copy stage" "list stage"; gap: 0 clamp(40px, 6vw, 96px); align-items: center; }
.remote-copy { grid-area: copy; align-self: end; }
.remote-stage { grid-area: stage; }
.remote-list { grid-area: list; align-self: start; }
.remote-copy .headline { margin-bottom: 18px; }
.remote > * { min-width: 0; }
.remote .eyebrow .soon-tag { color: var(--primary); }
.dchips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 32px 0; }
.dchip {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px; text-align: left; cursor: pointer;
  border: 1px solid var(--outline-variant); background: var(--surface-container-lowest); color: var(--on-surface); font-size: 16px; font-weight: 500;
  transition: background-color .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dchip .tt { width: 40px; height: 40px; color: var(--primary); --tt2: var(--primary); --tt2o: .18; }
.dchip span { min-width: 0; }
.dchip small { display: block; font-size: 13px; font-weight: 400; color: var(--on-surface-variant); }
.dchip:hover { transform: translateY(-2px); box-shadow: var(--elev-1); }
.dchip[aria-selected="true"] { background: var(--primary-container); color: var(--on-primary-container); border-color: transparent; box-shadow: var(--elev-1); }
.dchip[aria-selected="true"] small { color: inherit; opacity: .8; }
.remote-list { margin-top: 8px; }
.remote-stage { position: relative; display: grid; place-items: center; padding: 24px 0; }
.rs-blob { position: absolute; width: min(600px, 112%); height: auto; aspect-ratio: 1; color: color-mix(in srgb, var(--primary-container) 80%, var(--secondary-container)); animation: spin 80s linear infinite; }
.rphone { position: relative; width: 320px; box-shadow: inset 0 0 0 2px #3a3f47, var(--lift); }
.rpanel { position: absolute; inset: 50px 14px 76px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; font-size: 12.5px; }
.rpanel[hidden] { display: none; }
.rpanel.enter { animation: panel-in .45s var(--ease-decel) both; }
.rp-head { display: flex; align-items: center; gap: 12px; padding: 4px 2px 4px; }
.rp-head .tt { width: 42px; height: 42px; color: var(--app-glow); --tt2: var(--app-glow); --tt2o: .25; }
.rp-head b { display: block; font-size: 19px; color: #fff; }
.rp-head small { display: flex; align-items: center; gap: 6px; color: rgba(199, 220, 240, .72); font-size: 12px; }
.rp-head .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(199, 225, 245, .4); }
.rp-head .dot.on { background: #5df2a5; }
.rp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.rp-stats > div { padding: 9px 11px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.rp-stats small { display: block; font-size: 10.5px; color: rgba(199, 220, 240, .65); }
.rp-stats b { font-size: 14.5px; color: #fff; }
.rp-stats .mbar { height: 4px; margin-top: 6px; background: rgba(255, 255, 255, .1); }
.rp-stats .mbar i { background: var(--c, var(--app-glow)); }
.rp-label { margin: 4px 2px -2px; font-size: 11.5px; font-weight: 600; color: rgba(199, 220, 240, .62); }
.rp-actions { display: grid; gap: 6px; }
.rp-actions span { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 13px; background: rgba(255, 255, 255, .06); color: #eef6ff; }
.rp-actions .icon { width: 17px; height: 17px; color: var(--app-glow); }
.rp-actions small { margin-left: auto; font-size: 10.5px; color: rgba(199, 220, 240, .65); white-space: nowrap; }
.rp-queue { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 13px; background: rgba(255, 179, 89, .14); color: #ffd29a; }
.rp-queue .icon { width: 17px; height: 17px; }
.rp-queue small { display: block; color: rgba(255, 210, 154, .82); font-size: 11px; }
.rp-note { padding: 10px 12px; border-radius: 13px; border: 1px dashed rgba(199, 237, 255, .22); color: rgba(199, 220, 240, .8); font-size: 12px; line-height: 1.45; }
@media (max-width: 900px) { .remote { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "list"; } .remote-list { margin-top: 24px; } .dchips { margin-bottom: 8px; }
}
@media (max-width: 420px) { .dchips { gap: 8px; } .dchip { gap: 8px; padding: 10px; border-radius: 18px; font-size: 14.5px; } .dchip .tt { width: 30px; height: 30px; } .dchip small { font-size: 12px; } .rphone { width: 300px; }
}




@media (prefers-reduced-motion: reduce) {
  .mesh i, .sh, .xstep .blob, .band-flake, .band-shape, .rs-blob, .fchip, .lane-l i, .lane-r i, .vault-lock .ring { animation: none !important; }
  .laptop { transform: none !important; }
  .lane-l i, .lane-r i { display: none; }
  .js .xb:not(.in-view) .grow-bars i { transform: none; }
}
