/* Shotcaller. A Mac desktop by day and by night: bright sky sections, deep blue sections, glass
   windows, and file names that sit in the blue box the Finder puts around a selected file. */

:root {
  --blue: #0A6CFF; --blue-2: #3D8BFF; --blue-3: #0A58E0;
  --sun: #FF7A3D; --rose: #FF3D77;
  --display: "Red Hat Display", "Avenir Next", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --m: clamp(16px, 4vw, 48px);
  --out: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);
}
.sec--day, .foot {
  --bg: #F1F5FE; --fg: #0C1130; --fg-2: #444A6B; --fg-3: #7C829E;
  --line: rgba(12, 17, 48, .11); --card: rgba(255, 255, 255, .72); --card-2: rgba(255, 255, 255, .92); --well: rgba(12, 17, 48, .05);
  --shadow: 0 0 0 1px rgba(12, 17, 48, .06), 0 2px 5px rgba(20, 30, 90, .07), 0 18px 36px -14px rgba(20, 30, 90, .22), 0 60px 90px -50px rgba(20, 30, 90, .38);
  --pic: 0 0 0 1px rgba(12, 17, 48, .1), 0 3px 8px rgba(20, 30, 90, .1), 0 24px 44px -16px rgba(20, 30, 90, .3), 0 70px 110px -50px rgba(20, 30, 90, .45);
}
.sec--night, .nav {
  --bg: #080C26; --fg: #F4F6FF; --fg-2: rgba(244, 246, 255, .76); --fg-3: rgba(244, 246, 255, .52);
  --line: rgba(255, 255, 255, .13); --card: rgba(255, 255, 255, .07); --card-2: rgba(255, 255, 255, .11); --well: rgba(0, 0, 0, .28);
  --shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 70px -30px rgba(0, 0, 0, .85);
  --pic: 0 0 0 1px rgba(255, 255, 255, .14), 0 3px 10px rgba(0, 0, 0, .35), 0 30px 60px -20px rgba(0, 0, 0, .7), 0 80px 120px -50px rgba(40, 80, 255, .45);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: #080C26; color: #F4F6FF; font-family: var(--text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, pre, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
code { font-family: var(--mono); font-size: .92em; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue); color: #fff; }
.wrap { width: min(1180px, 100% - 2 * var(--m)); margin-inline: auto; position: relative; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(8, 12, 38, .72); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid var(--line); color: var(--fg); transition: background .35s, color .35s, border-color .35s; }
.nav.is-day { --fg: #0C1130; --fg-2: #444A6B; --line: rgba(12, 17, 48, .1); background: rgba(244, 247, 255, .72); }
.nav.is-day .nav-link:hover { color: #0C1130; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 800 20px/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-link { display: flex; align-items: center; gap: 8px; padding: 0 12px; min-height: 44px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--fg-2); }
.nav-link svg { width: 17px; height: 17px; }
.nav-link:hover { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 99px; background: linear-gradient(180deg, var(--blue-2), var(--blue-3)); color: #fff; font-size: 14.5px; font-weight: 650; text-decoration: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 8px 20px -8px rgba(10, 108, 255, .9); }
.nav-cta .sm { display: none; }

/* ---------------------------------------------------------------- sections: two wallpapers */
.sec { position: relative; padding: clamp(78px, 9vw, 132px) 0; text-align: center; background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate; }
.sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sec--day::before { background:
  radial-gradient(46% 52% at var(--ax, 12%) 4%, rgba(110, 165, 255, .5), transparent 70%),
  radial-gradient(42% 48% at var(--bx, 88%) 0%, rgba(255, 176, 140, .5), transparent 70%),
  radial-gradient(50% 44% at var(--cx, 62%) 104%, rgba(255, 140, 190, .3), transparent 70%),
  linear-gradient(180deg, #E9F0FF, #F6F5FC 55%, #FFF4EE); }
.sec--night::before { background:
  radial-gradient(48% 56% at var(--ax, 16%) 0%, rgba(52, 92, 255, .55), transparent 70%),
  radial-gradient(40% 46% at var(--bx, 90%) 8%, rgba(255, 61, 119, .3), transparent 70%),
  radial-gradient(54% 44% at var(--cx, 50%) 108%, rgba(255, 122, 61, .28), transparent 70%),
  linear-gradient(180deg, #070A22, #0B1036); }
.sec[data-w="2"] { --ax: 84%; --bx: 10%; --cx: 30%; }
.sec[data-w="3"] { --ax: 50%; --bx: 96%; --cx: 8%; }
.sec[data-w="4"] { --ax: 4%; --bx: 60%; --cx: 92%; }
.sec--night::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.4px); background-size: 3px 3px; -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, rgba(0, 0, 0, .14), transparent); mask-image: radial-gradient(70% 60% at 50% 0%, rgba(0, 0, 0, .14), transparent); }
.torch { position: absolute; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(closest-side, rgba(90, 140, 255, .22), transparent); will-change: transform; }
.sec--night:hover .torch { opacity: 1; }

.head { z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 99px; background: var(--card-2); box-shadow: var(--shadow); font-size: 14px; font-weight: 650; letter-spacing: .01em; color: var(--fg-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(10, 108, 255, .18); }
h1, h2 { font-family: var(--display); font-weight: 900; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.3vw, 70px); line-height: 1.04; margin-top: 20px; }
h2 { font-size: clamp(29px, 3.9vw, 52px); line-height: 1.1; max-width: 980px; margin-inline: auto; }
h2 > span, .sub > span, .fine > span, .foot p > span, .cap-t > span { display: inline-block; }
.sub { margin: 18px auto 0; max-width: 820px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--fg-2); text-wrap: balance; }
.fine { margin: 26px auto 0; max-width: 760px; font-size: 14.5px; color: var(--fg-3); text-wrap: balance; }
.sec > .wrap:not(.head) { margin-top: clamp(36px, 4.6vw, 58px); z-index: 1; }

/* a key phrase sits in the box the Finder draws around a selected file name */
.ink { display: inline-block; padding: 0 .2em .04em; margin: 0 -.04em; border-radius: .2em; color: #fff; background: linear-gradient(180deg, #3D8BFF, #0A5FEA); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 .16em .6em -.14em rgba(10, 96, 240, .75); }
.sec--night .ink { background: linear-gradient(180deg, #4C95FF, #1668F2); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 0 0 1px rgba(120, 170, 255, .35), 0 .2em 1em -.1em rgba(40, 110, 255, .9); }

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 99px; font-size: 16.5px; font-weight: 650; text-decoration: none; transition: filter .2s; }
.btn--main { color: #fff; background: linear-gradient(180deg, var(--blue-2), var(--blue-3)); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 30px -10px rgba(10, 108, 255, .8); }
.btn--ghost { color: var(--fg); background: var(--card-2); box-shadow: var(--shadow); }
.btn:hover { filter: brightness(1.07); }

/* sections rise into view */
html.is-booted:not(.static) .sec > .wrap { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--out), transform .8s var(--out); }
html.is-booted:not(.static) .sec.is-shown > .wrap { opacity: 1; transform: none; }
html.is-booted:not(.static) .sec.is-shown > .wrap:not(.head) { transition-delay: .12s; }
html.is-booted:not(.static) .hero > .wrap { opacity: 1; transform: none; transition: none; }

/* ---------------------------------------------------------------- shared parts */
.shot { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #dfe5f4; box-shadow: var(--pic); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fn { display: inline-block; max-width: 100%; padding: 4px 10px; border-radius: 7px; font-size: 14.5px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.fn--sel { color: #fff; background: linear-gradient(180deg, #3D8BFF, #0A5FEA); box-shadow: 0 6px 16px -8px rgba(10, 96, 240, .8); }
.fn--old { color: var(--fg-3); }
.fn mark { background: #FFD84D; color: #1a1400; border-radius: 3px; padding: 0 1px; }
.glass { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 99px; background: var(--well); box-shadow: 0 0 0 1px var(--line) inset; max-width: 100%; }
.seg button { min-height: 40px; padding: 0 18px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--fg-2); transition: color .2s, background .2s; white-space: nowrap; }
.seg button.is-on { color: #fff; background: linear-gradient(180deg, var(--blue-2), var(--blue-3)); box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 6px 14px -6px rgba(10, 108, 255, .9); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { min-height: 38px; padding: 0 15px; border-radius: 99px; font-size: 14.5px; font-weight: 550; color: var(--fg-2); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; transition: color .2s, background .2s, box-shadow .2s; }
.chip:hover { color: var(--fg); }
.chip.is-on { color: #fff; background: linear-gradient(180deg, var(--blue-2), var(--blue-3)); box-shadow: 0 6px 14px -6px rgba(10, 108, 255, .9); }
.has-hint { position: relative; }
.hint { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 6px 12px; border-radius: 9px; background: #FFD84D; color: #1a1400; font-size: 13px; font-weight: 650; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); transition: opacity .3s; z-index: 3; }
.hint::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #FFD84D; }
.hint.is-gone { opacity: 0; }
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; transition: opacity .35s var(--out), transform .45s var(--out); }
.stack > :not(.is-on) { opacity: 0; pointer-events: none; transform: translateY(6px); }
.cap-t { margin-top: 14px; font-size: 15px; color: var(--fg-2); text-wrap: balance; }
.logline { font: 12.5px/1.55 var(--mono); text-align: left; color: var(--fg-2); overflow-wrap: anywhere; }
.logline b { color: var(--fg); font-weight: 600; }
.arrow { display: inline-block; width: 22px; height: 22px; opacity: .55; }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(96px, 8vw, 118px); padding-bottom: clamp(56px, 6vw, 84px); }
.hero > .wrap:not(.head) { margin-top: clamp(30px, 3.4vw, 44px); }
@media (min-width: 1000px) { h1 { white-space: nowrap; } }
.stage { position: relative; width: min(610px, 100%); margin-inline: auto; }
.front { box-shadow: 0 0 0 4px #fff, var(--pic); }
.fan { position: absolute; inset: 0; z-index: 0; }
.fan .shot { position: absolute; top: 9%; width: 66%; box-shadow: 0 0 0 3px #fff, var(--pic); }
.fan .shot:nth-child(1) { left: -30%; --r: -6deg; --s: .9; transform: rotate(-6deg) scale(.9); z-index: 1; }
.fan .shot:nth-child(2) { right: -30%; --r: 6deg; --s: .9; transform: rotate(6deg) scale(.9); z-index: 1; animation-delay: -3s; }
.fan .shot:nth-child(3) { left: -62%; top: 15%; --r: -11deg; --s: .74; transform: rotate(-11deg) scale(.74); animation-delay: -5s; }
.fan .shot:nth-child(4) { right: -62%; top: 15%; --r: 11deg; --s: .74; transform: rotate(11deg) scale(.74); animation-delay: -7s; }
.fan .shot { animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateY(-7px) rotate(var(--r)) scale(var(--s)); } to { transform: translateY(9px) rotate(calc(var(--r) * 1.12)) scale(var(--s)); } }
.stage-glow { position: absolute; inset: 6% -12% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(10, 108, 255, .32), rgba(255, 122, 61, .16) 60%, transparent); filter: blur(30px); }
.front { position: relative; z-index: 1; }
.front img { transition: opacity .5s var(--out); }
.front img.is-out { opacity: 0; }
.flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #fff; opacity: 0; }
.flash.is-go { animation: flash .45s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.cross { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .2s; overflow: hidden; border-radius: 12px; }
.front:hover .cross { opacity: 1; }
.cross i { position: absolute; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .45); will-change: transform; }
.cross .cx { left: 0; top: 0; width: 1px; height: 100%; }
.cross .cy { left: 0; top: 0; width: 100%; height: 1px; }
.cross span { position: absolute; left: 0; top: 0; padding: 2px 6px; border-radius: 5px; background: rgba(20, 22, 30, .82); color: #fff; font: 600 11px/1.3 var(--mono); will-change: transform; white-space: pre; }
.namebar { position: relative; z-index: 3; margin: 0 auto -21px; min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; }
.namebar .fn { font-size: clamp(16px, 2vw, 22px); padding: 6px 14px; border-radius: 9px; font-weight: 550; }
.namebar .was { font-size: 13.5px; color: var(--fg-3); min-height: 20px; text-decoration: line-through; }
.namebar .fn { box-shadow: 0 0 0 3px #fff, 0 10px 24px -8px rgba(10, 96, 240, .75); text-align: center; }
.namebar .fn.is-pop { animation: pop .5s var(--spring) both; }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: 16px; position: relative; z-index: 2; }
.dot { width: 44px; height: 44px; display: grid; place-items: center; }
.dot i { width: 9px; height: 9px; border-radius: 50%; background: var(--fg-3); opacity: .45; transition: transform .3s, opacity .3s, background .3s; }
.dot.is-on i { background: var(--blue); opacity: 1; transform: scale(1.35); }

/* ---------------------------------------------------------------- 1. find */
.spot { display: flex; align-items: center; gap: 14px; width: min(680px, 100%); margin-inline: auto; padding: 0 22px; min-height: 68px; border-radius: 20px; background: rgba(255, 255, 255, .13); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 70px -24px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(60, 120, 255, .7); -webkit-backdrop-filter: blur(26px) saturate(1.7); backdrop-filter: blur(26px) saturate(1.7); }
.spot svg { width: 26px; height: 26px; flex: none; opacity: .7; }
.spot input { flex: 1; min-width: 0; height: 68px; background: none; border: 0; outline: 0; font-size: clamp(19px, 2.2vw, 25px); font-weight: 400; color: #fff; }
.spot input::placeholder { color: rgba(255, 255, 255, .45); }
.spot-n { flex: none; font-size: 13.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; min-width: 78px; text-align: right; }
.find-bar { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.find-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; margin-top: 34px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .35s, transform .45s var(--out); }
.tile .shot { width: 100%; border-radius: 9px; }
.tile .fn { font-size: 13px; min-height: 3.2em; display: flex; align-items: center; justify-content: center; text-align: center; }
.tile.is-out { opacity: .24; transform: scale(.95); }
.tile.is-hit .shot { box-shadow: 0 0 0 2.5px var(--blue-2), 0 20px 50px -14px rgba(40, 110, 255, .9); }

/* ---------------------------------------------------------------- 2. how */
.how { display: grid; grid-template-columns: 1.62fr 1fr; gap: 26px; align-items: stretch; text-align: left; }
.how-pic { position: relative; align-self: center; }
.boxes { position: absolute; inset: 0; pointer-events: none; }
.boxes i { position: absolute; border-radius: 3px; background: rgba(10, 108, 255, .16); box-shadow: 0 0 0 1.5px rgba(10, 108, 255, .9); opacity: 0; transform: scale(1.08); transition: opacity .3s calc(var(--i) * 18ms), transform .4s var(--out) calc(var(--i) * 18ms); }
.boxes.is-on i { opacity: 1; transform: none; }
.boxes.is-dim i { opacity: .28; transform: none; }
.boxes::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(61, 139, 255, .0) 40%, rgba(61, 139, 255, .38)); border-bottom: 2px solid rgba(61, 139, 255, .95); opacity: 0; transform: translateY(-100%); }
.boxes.is-on::after { animation: scan 1.1s var(--out); }
@keyframes scan { 0% { opacity: 1; transform: translateY(-100%); } 85% { opacity: 1; transform: translateY(290%); } 100% { opacity: 0; transform: translateY(290%); } }
.steps { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.step { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; text-align: left; padding: 13px 14px; border-radius: 15px; transition: background .25s, box-shadow .25s; flex: 1; }
.step b { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 15px/1 var(--display); color: var(--fg-2); background: var(--well); transition: background .25s, color .25s; }
.step .sh { font-size: 15.5px; font-weight: 650; color: var(--fg); align-self: center; min-height: 34px; display: flex; align-items: center; }
.step .sp { display: block; font-size: 14.5px; line-height: 1.42; color: var(--fg-2); min-height: 5.9em; opacity: 0; transition: opacity .35s; }
.step.is-done .sp, .step.is-on .sp { opacity: 1; }
.step.is-on { background: var(--card-2); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(20, 30, 90, .5); }
.step.is-on b, .step.is-done b { color: #fff; background: linear-gradient(180deg, var(--blue-2), var(--blue-3)); }
.step .sp .fn { margin: 4px 0 0 -2px; font-size: 14px; }
.step .sp q { quotes: none; font-style: italic; color: var(--fg); }
.picker { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.pick { width: 104px; border-radius: 9px; padding: 3px; transition: box-shadow .2s; }
.pick .shot { border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.pick.is-on { box-shadow: 0 0 0 2.5px var(--blue); }
.pick:hover { box-shadow: 0 0 0 2.5px var(--blue-2); }

/* ---------------------------------------------------------------- 3. whole */
.whole-bar { display: flex; justify-content: center; }
.whole { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.wcard { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.wcard .shot { border-radius: 10px; }
.veil { position: absolute; inset: 0; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 3px; background: #0D1230; color: #C9D2FF; font: 12px/1.35 var(--mono); text-align: left; overflow: hidden; opacity: 0; transition: opacity .45s var(--out); }
.veil span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.veil span:first-child { color: #7F8AC4; }
.is-blind .veil { opacity: 1; }
.wname { min-height: 62px; align-items: center; justify-items: center; }
.wname .fn { font-size: 15px; }
.is-blind .wname .fn--sel { background: linear-gradient(180deg, #7B84A8, #565E82); box-shadow: none; }

/* ---------------------------------------------------------------- 4. apps */
.bar-c { display: flex; justify-content: center; }
.one { width: min(860px, 100%); margin: 30px auto 0; padding: 14px 14px 20px; }
.one .shot { border-radius: 12px; }
.one .shot img { opacity: 0; transition: opacity .4s var(--out); }
.one .shot img.is-on { opacity: 1; }
.ring { position: absolute; border-radius: 8px; box-shadow: 0 0 0 3px #FFD84D, 0 0 0 9999px rgba(8, 12, 38, .42); opacity: 0; transition: opacity .4s var(--out); }
.ring.is-on { opacity: 1; }
.guess { display: flex; flex-direction: column; align-items: center; gap: 9px; padding-top: 16px; }
.guess .raw { font: 15.5px/1.4 var(--mono); color: var(--fg-2); min-height: 22px; }
.guess .raw s { color: #E0325F; text-decoration-thickness: 2px; }
.guess .raw u { text-decoration: none; background: rgba(255, 216, 77, .75); border-radius: 3px; padding: 0 2px; color: var(--fg); }
.guess .fn { font-size: 16px; }
.guess .cap-t { margin-top: 2px; min-height: 3em; }

/* ---------------------------------------------------------------- 5. clean: a rename field */
.clean { width: min(900px, 100%); margin: 30px auto 0; padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 44px); }
.clean-row { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 14px; min-height: 212px; align-content: center; }
.clean .in { width: 100%; min-height: 4.6em; padding: 12px 18px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(4, 6, 24, .6); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 0 0 3px rgba(61, 139, 255, .55), 0 0 40px -6px rgba(61, 139, 255, .6); font: clamp(15px, 1.9vw, 21px)/1.45 var(--mono); color: #E6EBFF; overflow-wrap: anywhere; }
.clean .in s { color: #FF7A9C; background: rgba(255, 61, 119, .2); border-radius: 4px; padding: 0 2px; text-decoration-thickness: 2px; }
.clean .in u { text-decoration: none; color: #FFD84D; }
.clean .out { min-height: 46px; display: flex; align-items: center; }
.clean .fn { font-size: clamp(16px, 2.1vw, 23px); padding: 7px 16px; border-radius: 10px; font-weight: 550; }
.clean svg { width: 24px; height: 24px; opacity: .5; }
.clean-row.is-play .in s { animation: cut 1.5s var(--out) both; }
.clean-row.is-play .out .fn { animation: pop .5s var(--spring) .95s both; }
@keyframes cut { 0%, 45% { opacity: 1; } 46% { opacity: .2; } 60% { opacity: 1; } 100% { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.86); } 100% { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 6. seconds */
.sec-bar { display: flex; justify-content: center; }
.desk { position: relative; width: min(820px, 100%); margin: 30px auto 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9.4; box-shadow: var(--pic); background:
  radial-gradient(60% 70% at 20% 0%, rgba(52, 92, 255, .8), transparent 70%), radial-gradient(50% 60% at 95% 20%, rgba(255, 61, 119, .5), transparent 70%), radial-gradient(70% 60% at 50% 110%, rgba(255, 122, 61, .55), transparent 70%), #0B1036; color: #fff; }
.watch { position: absolute; left: 50%; top: 13%; transform: translateX(-50%); font: 900 clamp(40px, 8vw, 84px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 6px 30px rgba(0, 0, 0, .4); white-space: nowrap; }
.watch small { font-size: .34em; font-weight: 700; letter-spacing: 0; margin-left: .2em; opacity: .8; }
.file { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: min(44%, 320px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.file .shot { width: 100%; border-radius: 8px; box-shadow: 0 0 0 3px #fff, 0 20px 40px -12px rgba(0, 0, 0, .7); }
.file .fn { font-size: 13px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); min-height: 2.9em; display: flex; align-items: center; text-align: center; }
.file .fn--sel { text-shadow: none; }
.file.is-gone { opacity: 0; }
.prog { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: rgba(11, 16, 54, .72); transform-origin: 100% 50%; transition: none; }
.desk .flash { border-radius: 0; }
.sec-note { min-height: 3.1em; margin-top: 18px; }
.go { margin-top: 26px; }
.go[disabled] { opacity: .55; cursor: default; filter: none; }

/* ---------------------------------------------------------------- 7. recordings */
.rec-bar { display: flex; justify-content: center; }
.player { width: min(860px, 100%); margin: 30px auto 0; padding: 14px 14px 18px; }
.player .shot { border-radius: 12px; }
.player .shot img { opacity: 0; transition: opacity .25s; }
.player .shot img.is-on { opacity: 1; }
.rec-dot { position: absolute; left: 14px; top: 12px; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: rgba(15, 16, 24, .72); color: #fff; font: 600 12.5px/1 var(--mono); font-variant-numeric: tabular-nums; }
.rec-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FF3B30; }
.track { position: relative; height: 54px; margin: 30px 6px 0; }
.track-bar { position: absolute; left: 0; right: 0; top: 23px; height: 8px; border-radius: 99px; background: var(--well); box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; }
.track-bar i { position: absolute; top: 0; bottom: 0; left: 0; background: linear-gradient(90deg, var(--blue-3), var(--blue-2)); width: 100%; transform-origin: 0 50%; }
.track input { position: absolute; left: -11px; right: -11px; top: 5px; width: calc(100% + 22px); height: 44px; margin: 0; -webkit-appearance: none; appearance: none; background: none; cursor: grab; }
.track input::-webkit-slider-runnable-track { height: 44px; background: none; }
.track input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 4px 12px rgba(0, 0, 0, .5); }
.track input::-moz-range-track { height: 44px; background: none; }
.track input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 4px 12px rgba(0, 0, 0, .5); }
.pin { position: absolute; top: -16px; width: 0; pointer-events: none; }
.pin span { position: absolute; left: 0; top: 0; transform: translateX(-50%); padding: 4px 10px; border-radius: 8px; background: #FFD84D; color: #1a1400; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pin::after { content: ""; position: absolute; left: -1.5px; top: 22px; width: 3px; height: 30px; border-radius: 2px; background: #FFD84D; }
.pin.is-right span { transform: translateX(-88%); }
.pin.is-left span { transform: translateX(-12%); }
.rec-name { margin-top: 12px; min-height: 64px; align-items: center; justify-items: center; }
.rec-name .fn { font-size: 15.5px; }

/* ---------------------------------------------------------------- 8. alone */
.alone { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lcard { padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lcard .shot { width: 100%; border-radius: 10px; }
.lcard .fn { font-size: 15px; }
.lcard .cap-t { margin-top: 0; min-height: 3em; }
.lcard .loglines { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--well); min-height: 104px; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }

/* ---------------------------------------------------------------- 9. safe: a Finder window */
.finder { width: min(940px, 100%); margin: 26px auto 0; overflow: hidden; text-align: left; }
.fbar { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 650; color: var(--fg); }
.lights { display: inline-flex; gap: 7px; flex: none; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; }
.lights i:nth-child(3) { background: #28C840; }
.frow { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; align-items: center; padding: 10px 18px; min-height: 58px; font-size: 14px; }
.frow:nth-child(odd) { background: rgba(255, 255, 255, .035); }
.frow.fhead { min-height: 34px; padding-block: 0; font-size: 12px; font-weight: 600; color: var(--fg-3); background: none; border-bottom: 1px solid var(--line); }
.frow .nm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.frow .nm > span { min-width: 0; overflow-wrap: anywhere; }
.ic { flex: none; width: 38px; aspect-ratio: 16 / 10; border-radius: 4px; background: #5a6185 center / cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 2px 5px rgba(0, 0, 0, .25); }
.frow .did { color: var(--fg-2); font-size: 13.5px; line-height: 1.35; }
.frow.is-lang { min-height: 92px; background: rgba(61, 139, 255, .14); }
.frow.is-lang .nm > span { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.frow.is-lang .old { color: var(--fg-3); font-size: 13px; text-decoration: line-through; }
.frow .fn { font-size: 13.5px; }
.ffoot { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); text-align: center; }

/* ---------------------------------------------------------------- 10. settings */
.sett { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; align-items: stretch; }
.json { padding: 0 0 12px; overflow: hidden; font: 14px/1.5 var(--mono); }
.json .fbar { font-family: var(--text); }
.json .brace { padding: 8px 20px 0; color: var(--fg-3); }
.json .ffoot { margin-top: 10px; font: 12px/1.4 var(--mono); overflow-wrap: anywhere; }
.json { padding-bottom: 0; }
.jrow { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 46px; padding: 4px 20px 4px 36px; text-align: left; transition: background .2s; }
.jrow:hover { background: rgba(10, 108, 255, .06); }
.jrow.is-on { background: rgba(10, 108, 255, .12); box-shadow: 3px 0 0 var(--blue) inset; }
.jrow .k { color: #9A2FB8; }
.jrow .k--plain { color: var(--fg-2); font-family: var(--text); font-weight: 600; }
.jrow .v { margin-left: auto; padding: 3px 11px; border-radius: 8px; background: var(--card-2); box-shadow: 0 0 0 1px var(--line); color: var(--fg); font-weight: 600; font-size: 13px; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jrow .v.is-off { color: #C2264B; }
.jrow .v.is-bad { color: #fff; background: #E0325F; box-shadow: none; }
.fxp { padding: 18px 20px 20px; display: flex; flex-direction: column; }
.fxp > .stack { flex: 1; }
.fx-pane { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.fx-pane h3 { font: 800 19px/1.25 var(--display); letter-spacing: -.01em; }
.fx-pane p { font-size: 14.5px; color: var(--fg-2); }
.pair { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; background: var(--well); }
.pair > span:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.pair .ic { width: 54px; box-shadow: 0 0 0 1px var(--line), 0 3px 8px rgba(20, 30, 90, .2); }
.tip { margin-left: auto; padding: 5px 11px; border-radius: 8px; background: #FFD84D; color: #1a1400; font-size: 12.5px; font-weight: 650; transition: opacity .3s; }
.tip.is-gone { opacity: 0; }
.pair .old { font-size: 13px; color: var(--fg-3); overflow-wrap: anywhere; }
.pair .fn { font-size: 13.5px; }
.pair .same { font-size: 13.5px; font-weight: 550; padding: 4px 0; overflow-wrap: anywhere; }
.fx-pane .logline { padding: 10px 13px; border-radius: 12px; background: var(--well); }

/* ---------------------------------------------------------------- 11. text */
.txt { width: min(900px, 100%); margin: 26px auto 0; padding: 14px 14px 20px; }
.txt .shot { border-radius: 10px; }
.tb { position: absolute; border-radius: 3px; box-shadow: 0 0 0 1.5px rgba(120, 130, 170, .55); transition: box-shadow .3s, background .3s, opacity .3s; }
.tb em { position: absolute; left: 0; bottom: calc(100% + 3px); padding: 2px 7px; border-radius: 6px; font: 700 11.5px/1.3 var(--text); font-style: normal; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.tb.is-flip em { bottom: auto; top: calc(100% + 3px); }
.tb.is-end em { left: auto; right: 0; }
.tb.is-hit em { opacity: 1; }
.tb.is-hit.k-out { background: rgba(255, 61, 119, .2); box-shadow: 0 0 0 2px #FF3D77; }
.tb.is-hit.k-out em { background: #FF3D77; color: #fff; }
.tb.is-hit.k-low { background: rgba(255, 150, 60, .2); box-shadow: 0 0 0 2px #FF8A3D; }
.tb.is-hit.k-low em { background: #FF8A3D; color: #241000; }
.tb.is-hit.k-up { background: rgba(10, 108, 255, .16); box-shadow: 0 0 0 2px var(--blue); }
.tb.is-hit.k-up em { background: var(--blue); color: #fff; }
.tb.is-hit.k-win { background: rgba(255, 216, 77, .25); box-shadow: 0 0 0 3px #FFD84D; }
.tb.is-hit.k-win em { background: #FFD84D; color: #1a1400; }
.txt-out { margin-top: 16px; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.txt-out .fn { font-size: 15.5px; }

/* ---------------------------------------------------------------- 12. privacy */
.src { width: min(900px, 100%); margin-inline: auto; overflow: hidden; text-align: left; }
.src-top { display: flex; align-items: center; gap: 12px; padding: 0 18px; min-height: 60px; border-bottom: 1px solid var(--line); }
.src-top svg { width: 21px; height: 21px; flex: none; opacity: .55; }
.src-top input { flex: 1; min-width: 0; height: 60px; background: none; border: 0; outline: 0; font: 17px var(--mono); color: var(--fg); }
.src-top input::placeholder { color: var(--fg-3); }
.src-count { display: flex; align-items: center; gap: 7px; padding: 12px 18px; min-height: 52px; font-size: 15px; font-weight: 650; border-bottom: 1px solid var(--line); }
.src-count b { font: 900 22px/1 var(--display); }
.src-list { height: 264px; overflow: auto; padding: 8px 18px 14px; font: 12.5px/1.6 var(--mono); color: var(--fg-2); overscroll-behavior: contain; }
.src-list > div:not(.src-zero) { display: grid; grid-template-columns: 138px 1fr; gap: 10px; padding: 2px 0; }
.src-list > div:not(.src-zero) > span:first-child { color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src-list > div:not(.src-zero) > span:last-child { white-space: pre-wrap; overflow-wrap: anywhere; }
.src-list mark { background: #FFD84D; color: #1a1400; border-radius: 3px; }
.src-zero { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-family: var(--text); }
.src-zero b { font: 900 84px/1 var(--display); color: var(--blue); letter-spacing: -.04em; }
.src-zero span { font-size: 15px; color: var(--fg-2); }
.src-foot { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); text-align: center; }
.src { margin-top: 22px; }

/* ---------------------------------------------------------------- 13. install */
.inst { width: min(820px, 100%); margin-inline: auto; padding: 10px 26px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); text-align: left; }
.inst li { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; row-gap: 8px; align-items: center; padding: 20px 0; min-width: 0; }
.inst li + li { border-top: 1px solid var(--line); }
.inst li > :not(b) { grid-column: 2; min-width: 0; }
.inst b { grid-row: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 900 17px/1 var(--display); color: #fff; background: linear-gradient(180deg, var(--blue-2), var(--blue-3)); box-shadow: 0 8px 18px -8px rgba(10, 108, 255, .9); }
.inst h3 { font: 800 21px/1.2 var(--display); letter-spacing: -.01em; }
.inst p { font-size: 15px; color: var(--fg-2); }
.term { border-radius: 14px; background: #05071A; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; min-width: 0; }
.term-bar { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 6px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.term pre { padding: 14px 16px 16px; font: 13.5px/1.7 var(--mono); color: #D8E0FF; overflow-x: auto; }
.copy { min-height: 44px; min-width: 76px; padding: 0 14px; font-size: 13.5px; font-weight: 650; color: var(--blue-2); text-align: right; }
.copy.is-done { color: #7CE0A3; }
.mac { width: min(820px, 100%); margin: 22px auto 0; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mac h3 { font: 800 21px/1.2 var(--display); letter-spacing: -.01em; }
.mac > .cap-t { margin-top: -8px; }
.mac-out { width: 100%; min-height: 96px; align-items: center; justify-items: center; }
.mac-pane { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mac-pane p { font-size: 15px; color: var(--fg-2); text-wrap: balance; }
.mac-pane .fn { font-size: 15px; }
.install .fine code { color: var(--fg-2); }

/* ---------------------------------------------------------------- foot */
.foot { background: #EEF2FC; color: var(--fg-2); padding: 34px 0 40px; font-size: 14.5px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.foot p { max-width: 720px; text-wrap: balance; }
.foot nav { display: flex; gap: 4px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; color: var(--fg); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- static and reduced motion */
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
.static .cross { display: none; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1060px) {
  .find-grid { grid-template-columns: repeat(3, 1fr); }
  .how { grid-template-columns: 1fr; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; }
  .fan .shot:nth-child(3), .fan .shot:nth-child(4) { display: none; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-link span { display: none; }
  .nav-cta .lg { display: none; }
  .nav-cta .sm { display: inline; }
  .nav-cta { min-height: 44px; }
  .ink { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: .02em .16em .06em; }
  h1 { font-size: clamp(34px, 10.4vw, 46px); line-height: 1.12; }
  h2 { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.2; }
  .btn { width: 100%; max-width: 340px; }
  .hint { display: none; }
  .fan { display: none; }
  .stage-glow { inset: 0 -4% -8%; }
  .namebar { min-height: 100px; }
  .seg--tall { flex-direction: column; width: 100%; border-radius: 26px; }
  .seg--tall button { width: 100%; }
  .seg button { min-height: 44px; padding: 0 13px; font-size: 13.5px; }
  .chip { min-height: 44px; }
  .spot { min-height: 60px; padding: 0 16px; gap: 10px; }
  .spot input { height: 60px; font-size: 18px; }
  .spot-n { min-width: 62px; font-size: 12.5px; }
  .find-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .tile .fn { font-size: 12px; min-height: 4em; padding: 3px 6px; }
  .steps { grid-template-columns: 1fr; padding: 10px; }
  .step .sp { min-height: 4.5em; }
  .pick { width: 84px; }
  .whole, .alone, .sett { grid-template-columns: 1fr; }
  .inst { padding: 6px 16px; }
  .inst li { grid-template-columns: 36px 1fr; column-gap: 12px; }
  .inst b { width: 36px; height: 36px; }
  .tip { display: none; }
  .wname { min-height: 70px; }
  .clean-row { min-height: 270px; }
  .clean .in { min-height: 6.4em; padding: 10px 12px; }
  .desk { aspect-ratio: 4 / 4.3; border-radius: 16px; }
  .watch { top: 12%; }
  .file { width: 62%; bottom: 7%; }
  .sec-note { min-height: 7.6em; }
  .player { padding: 10px 10px 14px; }
  .pin span { font-size: 11.5px; padding: 4px 8px; }
  .rec-name { min-height: 84px; }
  .frow { grid-template-columns: 1fr; gap: 4px; min-height: 84px; }
  .frow.fhead { display: none; }
  .frow.is-lang { min-height: 138px; }
  .jrow { padding: 4px 14px 4px 20px; min-height: 48px; }
  .json { font-size: 13px; }
  .jrow .v { max-width: 50%; }
  .fx-pane { min-height: 0; }
  .tb em { font-size: 9.5px; padding: 1px 4px; }
  .src-list { height: 300px; font-size: 11.5px; }
  .src-list div { grid-template-columns: 1fr; gap: 0; padding: 5px 0; }
  .src-zero b { font-size: 64px; }
  .term pre { font-size: 12px; }
  .foot-in { flex-direction: column; text-align: center; }
}
@media (max-width: 360px) {
  .seg button { padding: 0 9px; font-size: 12.5px; }
  .brand span { font-size: 18px; }
  .json { font-size: 12px; }
}
@media (hover: none) { .cross { display: none; } .torch { display: none; } }
