/* The app's window, drawn in HTML: used in the home page's feature rows, the story's last frame
   and the features page. Each part with data-seq plays in mock.js, again and again while it is in
   view; without it, or with less motion, this file alone shows the finished picture. */
.window { margin: 0; border-radius: 12px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(40, 20, 90, .35), 0 12px 24px -12px rgba(0, 0, 0, .12); }
.window .bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; background: #F4F4F6; border-bottom: 1px solid var(--line); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #DCDBE2; }
.window img { display: block; width: 100%; height: auto; }

/* ---- App mockups in the feature rows: drawn in HTML, sized like a picture ----
   Made-up drives and files; the film stills are Higgsfield pictures. Everything inside scales
   with the window's width (1em = 1/62 of it), so it reads like a screenshot at every size. */
.mock-win { container-type: inline-size; }
.mock { display: grid; grid-template-columns: 13.5em minmax(0, 1fr); font-size: calc(100cqw / 62); line-height: 1.35; color: #1D1D22; background: #FFFFFF; text-align: left; }
.mock ul { list-style: none; margin: 0; padding: 0; }
.mock p, .mock h4 { margin: 0; }
.mock .dot { width: .6em; height: .6em; background: var(--mint); }
.mock .dot.off { background: none; box-shadow: inset 0 0 0 .13em #A3A3AD; }
.m-side { display: grid; align-content: start; gap: .25em; padding: 1em .8em; background: #F6F6F8; border-right: 1px solid #ECECEF; font-size: .92em; }
.m-nav li { display: flex; align-items: center; gap: .6em; padding: .38em .6em; border-radius: .5em; color: #3A3A42; }
.m-nav li i { width: 1em; height: 1em; border-radius: .28em; background: #DAD8E4; }
.m-nav li.on { background: #ECE8FB; color: var(--violet-text); font-weight: 600; }
.m-nav li.on i { background: var(--violet); }
.m-find { margin: .7em 0 .3em; padding: .4em .7em; border-radius: .5em; background: #ECECF0; color: #9B9BA5; font-size: .9em; }
.m-group { margin: .7em .6em .15em; font-size: .78em; color: #8C8C96; }
.m-drives li { display: flex; align-items: center; gap: .5em; padding: .3em .6em; font-weight: 500; white-space: nowrap; }
.m-drives li em { margin-left: auto; font-style: normal; font-size: .82em; font-weight: 400; color: #9B9BA5; }
.m-main { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.m-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .8em 1.4em; border-bottom: 1px solid #F0F0F2; }
.m-crumb { font-weight: 600; color: #55555E; }
.m-tsearch { min-width: 14em; padding: .35em 1em; border-radius: 1em; background: #F2F2F5; color: #9B9BA5; font-size: .85em; }
.m-body { display: grid; align-content: start; gap: .9em; min-width: 0; padding: 1.4em 1.8em 1.8em; }
.m-h { font: 600 1.45em var(--display); letter-spacing: -.01em; }
.m-h span { margin-left: .5em; font: 400 .6em var(--body); color: #8C8C96; }
.m-h.c { margin-top: .3em; text-align: center; font-size: 1.7em; }
.m-chips { display: flex; flex-wrap: wrap; gap: .4em; }
.m-chips span { padding: .3em .85em; border: 1px solid #E4E4E9; border-radius: 1em; font-size: .85em; }
.m-chips span.on { background: #ECE8FB; border-color: #CFC4FA; color: var(--violet-text); }
.m-res, .m-list { border: 1px solid #ECECEF; border-radius: .7em; overflow: hidden; }
.m-rh { display: flex; align-items: center; gap: .5em; padding: .5em .9em; background: #F8F8FA; font-size: .85em; color: #8C8C96; }
.m-rh b { color: #222228; }
.m-rh span { margin-left: auto; }
.m-res li, .m-list li { display: flex; align-items: center; gap: .8em; padding: .55em .9em; border-top: 1px solid #F1F1F3; }
.m-list li:first-child { border-top: 0; }
.m-thumb { position: relative; flex: none; width: 4.6em; aspect-ratio: 16 / 9; border-radius: .35em; background: #DDD center / cover no-repeat; }
.m-thumb b { position: absolute; right: .35em; bottom: .3em; padding: .1em .35em; border-radius: .3em; background: rgba(0, 0, 0, .66); color: #FFFFFF; font: 500 .7em var(--mono); }
.m-n { display: grid; min-width: 0; font-weight: 500; white-space: nowrap; }
.m-t { overflow: hidden; text-overflow: ellipsis; }
.m-n small { font-size: .82em; font-weight: 400; color: #8C8C96; overflow: hidden; text-overflow: ellipsis; }
.m-n mark { background: none; color: var(--violet-text); font-weight: 700; }
.m-s { margin-left: auto; font: .82em var(--mono); color: #8C8C96; }
.m-vfield { display: flex; align-items: center; gap: .7em; width: min(100%, 30em); margin: 0 auto; padding: .75em 1em; border: 1.5px solid var(--violet); border-radius: .8em; box-shadow: 0 0 0 .3em #EFEAFE; font-size: 1.05em; }
.m-vfield i { flex: none; width: .9em; height: .9em; border: .15em solid var(--violet); border-radius: 50%; }
.m-vfield span { margin-left: auto; padding: .2em .65em; border-radius: 1em; background: #ECE8FB; color: var(--violet-text); font-size: .75em; font-weight: 600; white-space: nowrap; }
.m-vfield.wide { width: 100%; font-size: .95em; }
.m-sub { text-align: center; font-size: .85em; color: #8C8C96; }
.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.m-grid li { display: grid; gap: .35em; font-size: .8em; color: #8C8C96; }
.m-grid .m-thumb { width: 100%; border-radius: .5em; font-size: 1.25em; }
.m-grid li.hit .m-thumb { box-shadow: 0 0 0 .18em var(--violet); }
.m-grid li.hit span { color: var(--violet-text); font-weight: 600; }
.m-eyebrow { font: 500 .78em var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8C8C96; }
.m-big { margin-top: -.5em; font: 700 1.9em var(--display); letter-spacing: -.02em; }
.m-alert { display: flex; align-items: center; gap: .5em; color: #B91C1C; font-weight: 600; }
.m-alert i { width: .6em; height: .6em; border-radius: 50%; background: #DC2626; }
.m-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.m-stats div { display: grid; gap: .1em; padding: .7em .9em; border: 1px solid #ECECEF; border-radius: .7em; }
.m-stats small, .m-space small { font: .72em var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8C8C96; }
.m-stats b { font: 700 1.9em var(--display); }
.m-stats b.no { color: #DC2626; }
.m-stats b.ok { color: var(--mint-text); }
.m-stats span { font-size: .8em; color: #8C8C96; }
.m-pill { margin-left: auto; padding: .25em .75em; border-radius: 1em; font-size: .78em; font-weight: 600; white-space: nowrap; }
.m-pill.ok { background: #DDF7F2; color: var(--mint-text); }
.m-pill.no { background: #FDE8E8; color: #B91C1C; }
.m-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.m-tabs span { display: grid; padding: .6em .85em; border: 1px solid #E4E4E9; border-radius: .7em; font-size: .9em; font-weight: 600; }
.m-tabs small { font-weight: 400; color: #8C8C96; }
.m-tabs span.on { border: 1.5px solid var(--violet); box-shadow: 0 0 0 .25em #EFEAFE; }
.m-need { display: flex; align-items: baseline; gap: 1em; }
.m-need small { color: #8C8C96; }
.m-need b { font: 700 2em var(--display); letter-spacing: -.02em; }
.m-fit { display: grid; gap: .4em; }
.m-fit li { display: grid; grid-template-columns: 7em minmax(0, 1fr) 6.5em; align-items: center; gap: .8em; padding: .4em .7em; border-radius: .5em; font-size: .88em; }
.m-dn { font-weight: 600; }
.m-free { text-align: right; font: .9em var(--mono); color: #8C8C96; }
.mock .m-bar { position: relative; display: block; height: .55em; border-radius: .3em; background: #EEEEF2; overflow: hidden; }
.mock .m-bar i { display: block; height: 100%; border-radius: .3em; background: #B9B6C6; }
.m-fit li.fit { background: #F4F1FE; box-shadow: inset 0 0 0 1.5px #CFC4FA; }
.m-fit li.fit .m-bar i { background: var(--violet); }
.m-fit li.fit .m-free { color: var(--violet-text); font-weight: 600; }
.m-fit li.no { opacity: .5; }
.m-plan { display: grid; gap: .2em; padding: .8em 1em; border: 1.5px solid #CFC4FA; border-radius: .8em; background: #FBFAFF; }
.m-plan span { font-size: .88em; color: #55555E; }
.m-space { display: grid; gap: .45em; padding: .9em 1.1em; border: 1px solid #ECECEF; border-radius: .8em; }
.m-space b { font: 700 1.6em var(--display); letter-spacing: -.02em; }
.m-space b span { font: 400 .55em var(--body); color: #8C8C96; }
.m-space .m-bar i { background: linear-gradient(90deg, var(--violet), #A78BFA); }
.m-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.m-cards li { display: grid; gap: .45em; padding: .7em .8em; border: 1px solid #ECECEF; border-radius: .7em; }
.m-cards p { display: flex; align-items: center; gap: .45em; font-size: .9em; }
.m-cards small { font-size: .78em; color: #8C8C96; }
.m-cards .m-bar i { background: #8F7BEA; }
.m-cards .m-bar.warn i { background: #E8A23A; }
.m-attn { display: flex; align-items: center; gap: .6em; padding: .7em 1em; border: 1px solid #F5DDB6; border-radius: .7em; background: #FFF8EC; font-size: .9em; font-weight: 500; }
.m-attn i { width: .6em; height: .6em; border-radius: 50%; background: #E8A23A; }
.m-attn span { margin-left: auto; padding: .25em .8em; border: 1px solid #E4E4E9; border-radius: .5em; background: #FFFFFF; font-size: .85em; }
@container (max-width: 560px) {
  .mock { grid-template-columns: minmax(0, 1fr); font-size: calc(100cqw / 40); }
  .m-side { display: none; }
}
.mock .dot { display: inline-block; flex: none; border-radius: 50%; }
.mock-win .m-main { align-content: start; }

/* Search: Pro's filter, as a chip that looks set */
.m-flt { display: inline-flex; align-items: center; gap: .45em; background: var(--violet) !important; border-color: var(--violet) !important; color: #FFFFFF; font-weight: 600; }
.m-flt small { padding: .05em .45em; border-radius: .6em; background: rgba(255, 255, 255, .22); font-size: .78em; letter-spacing: .04em; }
.m-flt.plain { background: #F4F1FE !important; border-color: #CFC4FA !important; color: var(--violet-text); font-weight: 500; }
.m-res.m-out { max-height: 0; margin-top: -.9em; opacity: 0; border-width: 0; }

/* Visual Search: what doesn't fit steps back */
.m-vfield em { font-style: normal; min-height: 1.35em; }
.m-grid li:not(.hit) .m-thumb { opacity: .42; }
.m-sub.l { text-align: left; }

/* Copies and duplicates */
.m-file { display: flex; align-items: center; gap: 1em; }
.m-file .m-thumb { width: 7em; border-radius: .5em; }
.m-file .m-h { margin-top: .15em; }
.m-drv { display: grid; place-items: center; flex: none; width: 2.2em; height: 1.6em; border-radius: .35em; background: #F1F1F4; }
.m-n b { font-weight: 700; }
.m-pill.me { background: #F1F1F4; color: #55555E; }
.m-pill.dup { background: #FDF0DC; color: #94600A; }
.m-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7em; }
.m-card { display: grid; gap: .15em; padding: .75em 1em; border-radius: .7em; border: 1px solid #ECECEF; }
.m-card b { font: 600 1.05em var(--display); }
.m-card span { font-size: .82em; color: #8C8C96; }
.m-card.dup { border-color: #F5DDB6; background: #FFF8EC; }
.m-card.no { border-color: #F6CACA; background: #FEF4F4; }
.m-drives li.on { border-radius: .5em; background: #ECE8FB; color: var(--violet-text); }

/* Space Planner: where 500 GB would go on each drive */
.mock .m-bar s { position: absolute; top: 0; bottom: 0; transform-origin: left; background: repeating-linear-gradient(135deg, rgba(124, 58, 237, .55) 0 .18em, rgba(124, 58, 237, .25) .18em .36em); }
.mock .m-bar s.over { background: repeating-linear-gradient(135deg, rgba(220, 38, 38, .5) 0 .18em, rgba(220, 38, 38, .2) .18em .36em); width: 100% !important; }
.m-need b span { font-variant-numeric: tabular-nums; }

/* A drive that isn't connected, browsed */
.m-dhead { display: flex; align-items: center; gap: .8em; flex-wrap: wrap; }
.m-badge { display: inline-flex; align-items: center; gap: .45em; padding: .3em .8em; border-radius: 1em; background: #F1F0F5; color: #55555E; font-size: .82em; font-weight: 600; }
.m-meta { margin-left: auto; font: .8em var(--mono); color: #8C8C96; }
.m-path { font-size: .85em; color: #8C8C96; }
.m-path span { margin: 0 .3em; }
.m-cols { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 1em; }
.m-folders li { display: flex; align-items: center; gap: .55em; padding: .4em .6em; border-radius: .45em; font-size: .9em; }
.m-folders li i { width: 1.05em; height: .82em; border-radius: .18em; background: #C9C3E8; }
.m-folders li.on { background: #ECE8FB; color: var(--violet-text); font-weight: 600; }
.m-folders li.on i { background: var(--violet); }
.m-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.m-files li { display: grid; gap: .25em; min-width: 0; }
.m-files .m-thumb { width: 100%; border-radius: .45em; }
.m-files b { font-size: .8em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-files small { font: .72em var(--mono); color: #8C8C96; }
.m-where { display: inline-flex; align-items: center; gap: .45em; margin-left: auto; font-size: .82em; font-weight: 600; color: #55555E; white-space: nowrap; }

/* The menu bar panel, on a soft desktop */
.mock.m-desk { display: block; padding-bottom: 3em; background: linear-gradient(160deg, #EDE9FE 0%, #F4F1FB 45%, #DDF5F0 100%); }
.m-menubar { display: flex; align-items: center; gap: 1.3em; padding: .45em 1.2em; background: rgba(255, 255, 255, .72); font-size: .95em; color: #2A2A30; }
.m-apple { width: .9em; height: 1em; border-radius: .3em; background: #2A2A30; }
.m-tray { display: flex; align-items: center; gap: 1em; margin-left: auto; }
.m-icon { width: 1.25em; height: 1em; border-radius: .2em; background: linear-gradient(180deg, #2A2A30 0 28%, transparent 28% 36%, var(--violet) 36% 64%, transparent 64% 72%, #2A2A30 72%); }
.m-panel { display: grid; gap: .9em; width: 30em; margin: .6em 5em 0 auto; padding: 1.1em; font-size: 1.12em; border-radius: 1em; background: rgba(255, 255, 255, .94); border: 1px solid #E4E4E9; box-shadow: 0 1.2em 2.4em -1em rgba(40, 20, 90, .3); }
.m-panel .m-vfield { margin: 0; color: #9B9BA5; border-width: 1px; box-shadow: none; }
.m-pblock { display: grid; gap: .5em; padding: .7em .85em; border-radius: .7em; border: 1px solid #ECECEF; }
.m-pblock.ok { display: flex; align-items: flex-start; gap: .65em; border-color: #BFEDE5; background: #F0FBF9; }
.m-pblock.ok .dot { margin-top: .35em; }
.m-pblock b { font-size: .95em; }
.m-pblock small { display: block; font-size: .8em; color: #8C8C96; }
.m-psync { display: flex; justify-content: space-between; align-items: baseline; }
.m-pblock .m-bar i { background: var(--violet); }
.m-pdrives li { display: flex; align-items: center; gap: .55em; padding: .3em .2em; font-weight: 500; }
.m-pdrives em { margin-left: auto; font-style: normal; font-size: .82em; font-weight: 400; color: #9B9BA5; }
.m-pbtns { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.m-pbtns span { padding: .45em; border-radius: .5em; border: 1px solid #E4E4E9; text-align: center; font-weight: 600; font-size: .9em; }
@container (max-width: 560px) {
  .m-cols { grid-template-columns: minmax(0, 1fr); }
  .m-folders { display: none; }
  .m-panel { width: auto; margin: .5em 1em 0; }
  .m-meta { display: none; }
}

/* ---- Playing (mock.js puts .m-pre on the window first, then takes it away step by step; between
   two plays the content fades out with .m-fade, the sidebar stays) ---- */
.m-body, .m-panel { transition: opacity .35s var(--ease); }
.m-fade .m-body, .m-fade .m-panel { opacity: 0; }
.mock [data-seq] { transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), max-height .5s var(--ease), margin .5s var(--ease), border-width .5s var(--ease); }
.m-pre [data-seq]:not([data-fx]) { opacity: 0; transform: translateY(.7em); }
.m-pre [data-fx="ring"] { box-shadow: none !important; }
.m-pre [data-fx="dim"] { opacity: 1 !important; }
.m-pre [data-fx="out"] { max-height: 12em; margin-top: 0; opacity: 1; border-width: 1px; }
.m-pre [data-fx="pill"] { background: #F1F1F4 !important; color: #8C8C96 !important; }
.m-pre [data-fx="lit"] { background: transparent !important; box-shadow: none !important; }
.m-pre [data-fx="lit"] .m-bar i { background: #B9B6C6 !important; }
.m-pre [data-fx="lit"] .m-free { color: #8C8C96 !important; font-weight: 400 !important; }
.m-pre [data-fx="fade"] { opacity: 1 !important; }
.m-pre [data-fx="grow"] { transform: scaleX(0); }
.m-pre .m-flt { opacity: 0; transform: scale(.85); }
@media (prefers-reduced-motion: reduce) { .mock [data-seq] { transition: none; } }
