/* The site's root, booted like an operating system: one mark that never leaves the screen (Plymouth's flicker-free
   handoff), a Plymouth theme as the splash, the boot log behind Esc, then the greeter. Dark only. */
:root {
  --bg: #000;
  --ink: #ededed;
  --ink-2: #a1a1a1;
  --ink-3: #6b6b6b;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glow: 214, 232, 255;
  --ok: #3ddc97;
  --fail: #ff5f56;
  --sans: "Geist", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", "Cascadia Mono", "Cascadia Code", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --glide: 1.1s;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow: hidden; cursor: default; user-select: none; }
body.booting { cursor: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* The mark: one element from the first frame to the greeter. Booting, it sits at the centre of the screen; at the
   handoff home.mjs moves it into the greeter's slot. */
#stage { position: fixed; inset: 0; pointer-events: none; z-index: 3; }
/* Once the desktop is up, the mark is part of it: under the windows, never over them. */
body.up:not(.booting) #stage { z-index: 1; }
.mark { position: absolute; left: 50%; top: 50%; width: var(--size, 132px); height: var(--size, 132px); transform: translate(-50%, -50%) translate(var(--x, 0px), var(--y, 0px)); transition: transform var(--glide) var(--ease), width var(--glide) var(--ease), height var(--glide) var(--ease); overflow: visible; }
.mark circle { fill: #fff; transform-box: fill-box; transform-origin: center; opacity: 0; }
.mark circle.s { fill: rgba(255, 255, 255, 0.4); animation: dot-in 0.9s var(--ease) calc(var(--d, 0s) + 0.35s) forwards; }
.mark circle.b { animation: ignite 1.1s var(--ease) calc(var(--d, 0s) + 0.95s) forwards, sweep 6s ease-in-out calc(var(--y2, 0s) + 4s) infinite; }
.quick .mark circle { animation-delay: 0s; animation-duration: 0.01s; }
.quick .mark circle.b { animation: ignite 0.01s forwards, sweep 6s ease-in-out calc(var(--y2, 0s) + 2s) infinite; }
@keyframes dot-in { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
@keyframes ignite { 0% { opacity: 0; transform: scale(0.3); } 55% { opacity: 1; transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(var(--glow), 0.9)); } 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 2px rgba(var(--glow), 0.5)); } }
@keyframes sweep { 0%, 82%, 100% { filter: drop-shadow(0 0 2px rgba(var(--glow), 0.5)); } 88% { filter: drop-shadow(0 0 9px rgba(var(--glow), 1)) brightness(1.4); } }

/* Splash: the Plymouth theme, drawn by plymouth.mjs on a canvas that fills the screen. While it plays, the vector mark
   waits unseen at the same place and size; at the handoff it takes over from the theme's last frame. */
#splash { position: fixed; inset: 0; z-index: 2; background: #000; transition: opacity 0.6s ease; }
#screen { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
body.player.booting .mark { opacity: 0; }
.settled .mark circle { animation: none; opacity: 1; transform: none; }
.settled .mark circle.b { filter: drop-shadow(0 0 2px rgba(var(--glow), 0.5)); animation: sweep 6s ease-in-out calc(var(--y2, 0s) + 3s) infinite; }
.hint { position: absolute; left: 0; right: 0; bottom: max(28px, env(safe-area-inset-bottom)); margin: 0; text-align: center; font: 500 12px var(--mono); letter-spacing: 0.08em; color: var(--ink-3); opacity: 0; animation: fade-in 0.6s ease 2s forwards; }
@keyframes fade-in { to { opacity: 1; } }
body.up #splash { opacity: 0; pointer-events: none; }
body.player.up #splash { transition-duration: 0s; }

/* Details: the boot log, as Esc shows it under Plymouth. */
#details { position: fixed; inset: 0; z-index: 5; background: #000; overflow: auto; padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left)); cursor: text; user-select: text; }
#log { margin: 0; font: 400 13px/1.6 var(--mono); color: #cfcfcf; white-space: pre-wrap; word-break: break-word; }
#log .t { color: var(--ink-3); }
#log .ok { color: var(--ok); }
#log .fail { color: var(--fail); }
#log .note { color: var(--ink-2); }
#log .tip { display: block; margin-top: 14px; color: var(--ink-3); }

/* Greeter: the panel, the login (this page's one message and its two ways in) and the tray. */
#greeter { position: fixed; inset: 0; z-index: 1; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; }
#greeter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 45% at 50% 38%, rgba(var(--glow), 0.10), transparent 70%); opacity: 0; transition: opacity 1.6s ease; }
body.up #greeter::before { opacity: 1; }
.panel { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 32px; padding: 0 max(6px, env(safe-area-inset-right)) 0 max(6px, env(safe-area-inset-left)); font-size: 13px; font-weight: 500; color: var(--ink); background: rgba(12, 12, 14, 0.72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--line); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; stroke: currentColor; }
.ic.chev { width: 12px; height: 12px; opacity: 0.7; }
.pbtn { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 9px; border-radius: 6px; color: var(--ink); font: 500 13px var(--sans); transition: background 0.15s; }
.pbtn:hover, .pbtn:focus-visible, .pbtn:popover-open, .pbtn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.10); outline: none; }
.panel-left { justify-self: start; display: flex; align-items: center; gap: 2px; }
.brand-btn { gap: 8px; padding: 0 10px 0 8px; font-weight: 650; letter-spacing: -0.01em; }
.brand-btn .mini { width: 18px; height: 18px; }
.brand-btn .mini circle { fill: currentColor; }
.brand-btn .mini circle.s { opacity: 0.45; }
.menubar { display: flex; align-items: center; gap: 0; }
.menu-btn { padding: 0 9px; font-weight: 450; color: var(--ink); }
.panel-middle { width: 0; }
/* A menu drops straight down under its title (left set when it opens), as a desktop's menus do. */
.pop-menu { left: 6px; width: auto; min-width: 220px; padding: 6px; }
.pop-menu .menu b { font-size: 13.5px; font-weight: 450; }
.pop-menu .menu a, .pop-menu .menu button { padding: 6px 10px; flex-direction: row; justify-content: space-between; align-items: center; }
.pop-menu .menu button:disabled { opacity: 0.4; pointer-events: none; }
.pop-menu .menu .front b::after { content: " •"; color: var(--ok); }
#apps.pop-menu { width: 300px; }
#apps.pop-menu .menu a { flex-direction: column; align-items: flex-start; }
.panel-clock { font-variant-numeric: tabular-nums; }
#clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
.panel-tray { justify-self: end; display: flex; align-items: center; gap: 2px; }
#bat-pct { font-variant-numeric: tabular-nums; font-size: 12px; color: var(--ink-2); }
.bat #bat-fill { stroke: none; transform-origin: 3px 8px; }
.sys-btn { gap: 10px; padding: 0 10px; }
.sys-btn > span { display: inline-flex; align-items: center; gap: 5px; }
.sep-title { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
#proof[data-state="idle"], #proof[data-state="busy"] { color: var(--ink-3); }
#proof[data-state="busy"] .ic { animation: pulse 1s ease-in-out infinite; }
#proof[data-state="ok"] { color: var(--ok); }
#proof[data-state="fail"] { color: var(--fail); }
@keyframes pulse { 50% { opacity: 0.3; } }

/* Menus and popovers: native [popover], so Esc and a click outside close them as a system menu does. */
.pop { position: fixed; inset: auto; top: 38px; margin: 0; padding: 8px; min-width: 240px; max-width: calc(100vw - 16px); border: 1px solid var(--line-2); border-radius: 12px; background: rgba(22, 22, 25, 0.88); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); color: var(--ink); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7); font-size: 13px; opacity: 0; transform: translateY(-6px) scale(0.98); transition: opacity 0.16s ease, transform 0.16s var(--ease), overlay 0.16s allow-discrete, display 0.16s allow-discrete; }
.pop:popover-open { opacity: 1; transform: none; }
@starting-style { .pop:popover-open { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.pop-left { left: 6px; width: 300px; }
.pop-center { left: 50%; translate: -50% 0; width: 300px; }
.pop-right { right: 6px; width: 280px; }
.pop-title { margin: 4px 8px 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
#app-search { width: 100%; height: 34px; margin-bottom: 6px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--ink); font: 400 14px var(--sans); outline: none; user-select: text; }
#app-search:focus { border-color: rgba(255, 255, 255, 0.35); }
.menu { list-style: none; margin: 0; padding: 0; }
.menu a, .menu button { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 7px 10px; border-radius: 7px; text-align: left; }
.menu a:hover, .menu button:hover, .menu a:focus-visible, .menu button:focus-visible, .menu a.hit { background: rgba(255, 255, 255, 0.09); outline: none; }
.menu b { font-weight: 500; font-size: 14px; }
.menu small { font-size: 12px; color: var(--ink-3); }
.menu .sep { height: 1px; margin: 6px 4px; background: var(--line); }
.empty { margin: 10px; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 8px 6px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.facts .ok { color: var(--ok); } .facts .fail { color: var(--fail); }
.cal-day { margin: 4px 8px 10px; font-size: 15px; font-weight: 600; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 6px; }
.cal-head button { width: 28px; height: 28px; border-radius: 7px; font-size: 18px; color: var(--ink-2); }
.cal-head button:hover { background: rgba(255, 255, 255, 0.09); color: var(--ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-variant-numeric: tabular-nums; }
.cal-grid span { display: grid; place-items: center; height: 32px; border-radius: 50%; }
.cal-grid .dow { height: 22px; font-size: 11px; color: var(--ink-3); }
.cal-grid .other { color: var(--ink-3); opacity: 0.5; }
.cal-grid .today { background: var(--ink); color: #000; font-weight: 600; }
.link { display: block; margin: 8px auto 2px; padding: 4px 10px; border-radius: 6px; color: var(--ink-2); font-size: 12px; }
.link:hover { background: rgba(255, 255, 255, 0.09); color: var(--ink); }

/* Wallpaper: the photo behind the desktop, dimmed toward the middle so the words stay legible on any photo. */
#wall { position: fixed; inset: 0; z-index: 0; background: #000 center / cover no-repeat; opacity: 0; transition: opacity 1.2s ease, background-image 0.6s ease; }
body.up #wall[data-on="1"] { opacity: 1; }
#wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.3) 75%), linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.45)); }
.pop-wide { width: 380px; }
#wall-search { width: 100%; height: 34px; margin-bottom: 4px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--ink); font: 400 14px var(--sans); outline: none; user-select: text; }
#wall-search:focus { border-color: rgba(255, 255, 255, 0.35); }
.wall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-height: 330px; overflow: auto; padding: 2px; }
.wall-grid button { position: relative; aspect-ratio: 16 / 10; border-radius: 7px; overflow: hidden; background: #111; outline: 1px solid var(--line); outline-offset: -1px; transition: transform 0.15s var(--ease), outline-color 0.15s; }
.wall-grid button:hover { transform: scale(1.03); outline-color: rgba(255, 255, 255, 0.35); }
.wall-grid button[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: -2px; }
.wall-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wall-grid span { display: grid; place-items: center; height: 100%; font-size: 12px; color: var(--ink-3); }
#credit { color: var(--ink-3); }
#credit a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

/* Accounts: the avatar in the tray, the account menu, and the sign-in screen over the desktop. */
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 600; font-size: 15px; color: #fff; background: hsl(var(--hue, 220) 45% 38%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); flex: 0 0 auto; }
.avatar.small { width: 20px; height: 20px; font-size: 9px; }
.avatar.huge { width: 96px; height: 96px; font-size: 34px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 20px 50px -12px rgba(0, 0, 0, 0.7); }
.avatar.guest { background: rgba(255, 255, 255, 0.12); color: var(--ink-2); }
.avatar .person { width: 58%; height: 58%; }
#me-btn { padding: 0 6px; }
.me-head { display: flex; align-items: center; gap: 12px; padding: 6px 8px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.me-head b { display: block; font-size: 14px; font-weight: 600; }
.me-head small { color: var(--ink-3); font-size: 12px; }
#login { position: fixed; inset: 32px 0 0; z-index: 3; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%); animation: fade-in 0.4s ease; }
#login[hidden] { display: none; }
#login.leaving { opacity: 0; transition: opacity 0.45s ease; }
.login-card { display: flex; flex-direction: column; align-items: center; width: min(360px, calc(100vw - 32px)); text-align: center; }
.login-card h2 { margin: 18px 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.login-sub { margin: 0 0 22px; color: var(--ink-2); font-size: 14px; }
.login-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
#login-name { height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.07); color: var(--ink); font: 400 16px var(--sans); text-align: center; outline: none; user-select: text; }
#login-name:focus { border-color: rgba(255, 255, 255, 0.4); }
.login-card .btn { width: 100%; }
.login-error { margin: 12px 0 0; color: #ffb4ae; font-size: 13px; }
.login-links { display: flex; justify-content: center; gap: 18px; margin-top: 22px; }
.login-links button { font-size: 13px; color: var(--ink-2); }
.login-links button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.login-links button[hidden] { display: none; }
body.signing .login > :not(.slot) { visibility: hidden; }

#pair { position: fixed; inset: 32px 0 0; z-index: 6; display: grid; place-items: center; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); animation: fade-in 0.3s ease; }
.pair-link { display: flex; gap: 8px; width: 100%; }
.qr { width: min(260px, 70vw); height: min(260px, 70vw); margin: 0 0 16px; padding: 8px; border-radius: 14px; background: #fff; fill: #000; }
#help-box { margin-top: 14px; }
#help-link { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: var(--ink-2); font: 400 12px var(--mono); }
#pair-link { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: var(--ink-2); font: 400 12px var(--mono); user-select: all; }
.pair-link .btn { width: auto; height: 44px; }
#pair-code, #join-link { height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.07); color: var(--ink); font: 400 16px var(--sans); text-align: center; outline: none; user-select: text; }
#pair-code { font: 600 22px var(--mono); letter-spacing: 0.3em; }
.join-code { margin: 16px 0 0; font: 600 30px var(--mono); letter-spacing: 0.25em; }
.file-pick { position: relative; display: grid; place-items: center; height: 46px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 14px; cursor: pointer; }
.file-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.login-links { flex-wrap: wrap; row-gap: 10px; }

/* Windows: each app in its own, over the desktop, under the top bar's menus. */
#windows { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.win { position: absolute; pointer-events: auto; display: flex; flex-direction: column; min-width: 360px; min-height: 260px; border-radius: 12px; overflow: hidden; background: #0b0b0c; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 80px -20px rgba(0, 0, 0, 0.85), 0 12px 30px -12px rgba(0, 0, 0, 0.6); animation: win-in 0.22s var(--ease); }
.win.active { border-color: rgba(255, 255, 255, 0.2); }
.win.max { border-radius: 10px; }
.win.closing { animation: win-out 0.16s ease forwards; }
@keyframes win-in { from { opacity: 0; transform: scale(0.97) translateY(6px); } }
@keyframes win-out { to { opacity: 0; transform: scale(0.97); } }
.win-bar { flex: 0 0 auto; display: flex; align-items: center; height: 38px; padding: 0 8px 0 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); border-bottom: 1px solid rgba(255, 255, 255, 0.07); cursor: default; user-select: none; touch-action: none; }
.win:not(.active) .win-bar { opacity: 0.65; }
.win-title { flex: 1; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-controls { display: flex; gap: 6px; }
.win-controls button { position: relative; width: 26px; height: 26px; border-radius: 7px; color: var(--ink-2); }
.win-controls button:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.win-controls .win-close:hover { background: #e5484d; color: #fff; }
.win-controls button::before, .win-controls button::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; }
.win-min::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.win-max::before { width: 9px; height: 9px; background: none !important; border: 1.5px solid currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.win-close::before, .win-close::after { width: 12px; height: 1.5px; transform: translate(-50%, -50%) rotate(45deg); }
.win-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.win iframe { flex: 1; width: 100%; border: 0; background: #000; }
.win.moving iframe { pointer-events: none; }
.win.moving { user-select: none; }
.win-edge { position: absolute; z-index: 1; }
.win-edge.e { top: 10px; right: -4px; bottom: 10px; width: 8px; cursor: ew-resize; }
.win-edge.w { top: 10px; left: -4px; bottom: 10px; width: 8px; cursor: ew-resize; }
.win-edge.s { left: 10px; right: 10px; bottom: -4px; height: 8px; cursor: ns-resize; }
.win-edge.se { right: -4px; bottom: -4px; width: 16px; height: 16px; cursor: nwse-resize; }
.win-edge.sw { left: -4px; bottom: -4px; width: 16px; height: 16px; cursor: nesw-resize; }
.win.max .win-edge { display: none; }

/* Snapping: where a dragged window would land, and the layouts the maximise button offers. */
.snap-preview { position: absolute; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 40px rgba(var(--glow), 0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: left 0.14s var(--ease), top 0.14s var(--ease), width 0.14s var(--ease), height 0.14s var(--ease); pointer-events: none; }
.win.snapped { border-radius: 10px; }
.win:not(.moving) { transition: left 0.18s var(--ease), top 0.18s var(--ease), width 0.18s var(--ease), height 0.18s var(--ease); }
.snap-picker { position: fixed; display: grid; grid-template-columns: repeat(2, 92px); gap: 10px; padding: 12px; border-radius: 14px; background: rgba(24, 24, 27, 0.92); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: fade-in 0.12s ease; }
.snap-layout { position: relative; height: 58px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.snap-tile { position: absolute; padding: 0; border: 2px solid transparent; background-clip: padding-box; border-radius: 6px; background-color: rgba(255, 255, 255, 0.16); transition: background-color 0.12s; }
.snap-tile:hover, .snap-tile:focus-visible { background-color: rgba(var(--glow), 0.85); outline: none; }

/* Open apps, in the top bar after Applications: one icon each, the one in front marked; click to switch. */
#dock { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.dock-app { display: none; position: relative; place-items: center; width: 30px; height: 24px; border-radius: 6px; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.dock-app.running { display: grid; }
.dock-app:hover { background: rgba(255, 255, 255, 0.10); color: var(--ink); }
.dock-app.front { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.dock-ic { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; }
.dock-app.running::after { content: ""; position: absolute; bottom: 1px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.dock-app.front::after { background: #fff; }
/* While a window is open, the desktop's mark steps back: nothing of it shows between windows. */
body.has-windows #stage { opacity: 0; transition: opacity 0.2s ease; }
#greeter .tray { position: fixed; left: 14px; bottom: 12px; padding: 0; justify-content: flex-start; font-size: 12px; }


/* The small links at the bottom, and their panels. */
.foot-links { position: fixed; left: 50%; bottom: 12px; z-index: 1; display: flex; gap: 22px; transform: translateX(-50%); font-size: 12px; opacity: 0; transition: opacity 0.8s var(--ease) 0.6s; }
body.up .foot-links { opacity: 1; }
body.has-windows .foot-links { opacity: 0; pointer-events: none; }
.foot-links a, .foot-links button { color: var(--ink-3); font-size: 12px; transition: color 0.15s; }
.foot-links a:hover, .foot-links button:hover { color: var(--ink); }
.pop-bottom { top: auto; bottom: 40px; left: 50%; translate: -50% 0; width: 320px; }
.pop-text { margin: 0 8px 10px; color: var(--ink-2); line-height: 1.5; }
.pop-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pricing { width: min(620px, calc(100vw - 16px)); padding: 14px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier { display: flex; flex-direction: column; padding: 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.tier h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.price { margin: 0 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.tier-pitch { margin: 0 0 14px; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.tier ul { flex: 1; margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; }
.tier li { position: relative; padding-left: 20px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg); }
.tier .btn { width: 100%; height: 40px; border-radius: 10px; font-size: 14px; }
.tier-note { margin: 12px 4px 2px; font-size: 12px; color: var(--ink-3); text-align: center; }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

#feedback { position: fixed; inset: 32px 0 0; z-index: 6; display: grid; place-items: center; overflow: auto; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); animation: fade-in 0.3s ease; }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
.kinds label { position: relative; }
.kinds input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kinds span { display: grid; place-items: center; height: 34px; border-radius: 8px; font-size: 14px; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.kinds input:checked + span { background: var(--ink); color: #000; font-weight: 500; }
.kinds input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
#feedback-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.07); color: var(--ink); font: 400 15px var(--sans); outline: none; user-select: text; resize: vertical; }
#feedback-form textarea:focus { border-color: rgba(255, 255, 255, 0.4); }
.attach { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.attach input { margin-top: 2px; accent-color: #fff; }
#enterprise { position: fixed; inset: 32px 0 0; z-index: 6; display: grid; place-items: center; overflow: auto; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); animation: fade-in 0.3s ease; }
.login-card.wide { width: min(480px, calc(100vw - 32px)); padding: 24px 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#enterprise-form input, #enterprise-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.07); color: var(--ink); font: 400 15px var(--sans); outline: none; user-select: text; resize: vertical; }
#enterprise-form input:focus, #enterprise-form textarea:focus { border-color: rgba(255, 255, 255, 0.4); }
@media (max-width: 460px) { .form-row { grid-template-columns: 1fr; } }

/* In a session the welcome steps away: the desktop is the wallpaper, the bar and the person's windows. */
.login, #stage, .foot-links { transition: opacity 0.5s var(--ease), visibility 0s linear 0s; }
body.in-session .login, body.in-session #stage, body.in-session .foot-links { opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s; }
body.in-session #greeter::before { opacity: 0; }
body.in-session #wall::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.3)); }

/* Lock and power off. */
#lock { position: fixed; inset: 0; z-index: 8; display: grid; place-content: center; text-align: center; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(var(--glow), 0.10), transparent 70%), rgba(0, 0, 0, 0.82); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); cursor: default; animation: fade-in 0.35s ease; }
#lock[hidden], #off[hidden] { display: none; }
#lock-time { font-size: clamp(72px, 12vw, 148px); font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
#lock-date { margin: 14px 0 0; font-size: 18px; color: var(--ink-2); }
.lock-hint { position: fixed; left: 0; right: 0; bottom: 40px; margin: 0; font-size: 13px; color: var(--ink-3); }
#off { position: fixed; inset: 0; z-index: 9; display: grid; place-items: center; background: #000; animation: fade-in 0.6s ease; }
#on-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-3); opacity: 0; animation: fade-in 0.6s ease 1.4s forwards; transition: color 0.2s, border-color 0.2s; }
#on-btn:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.4); }
#on-btn .ic { width: 22px; height: 22px; }
/* Monolith: black, the mark, the name, one way in. The content sits a φ step above the middle: 14.6% (φ⁻⁴) is kept below it. */
/* Every size and gap is the tagline's size b times a power of φ (1.618): the wordmark b·φ², the mark b·φ⁴, the button
   b·φ² tall and b·φ⁶ wide; gaps b·φ³ and b·φ. b follows the screen, from 16 to 21 px. */
.login { --b: clamp(16px, 1.75vmin, 21px); --phi1: calc(var(--b) * 1.618); --phi2: calc(var(--b) * 2.618); --phi3: calc(var(--b) * 4.236); --phi4: calc(var(--b) * 6.854); --phi6: calc(var(--b) * 17.944);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px 14.6vh; }
/* Three groups, spaced by φ: the mark; the name with its line; the ways in. Between groups b·φ² (55 px at most),
   within a group b·φ⁻¹ (13) and b (21): Fibonacci steps of the same scale. */
.slot { width: var(--phi4); height: var(--phi4); margin-bottom: var(--phi2); flex: 0 0 auto; }
h1 { margin: 0; font-size: clamp(44px, 7vw, 92px); line-height: 0.98; font-weight: 600; letter-spacing: -0.05em; background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, 0.6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: calc(var(--b) * 0.618) 0 calc(var(--phi2) + var(--b) * 0.382); max-width: 26em; font-size: var(--b); font-weight: 400; line-height: 1.3; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.58); }
/* The wordmark: HOLOGRAM in capitals, widely spaced, under the H. Its size is the mark's divided by φ. */
.wordmark { font-size: var(--phi2); line-height: 1; font-weight: 600; letter-spacing: 0.38em; text-transform: uppercase; margin-right: -0.38em; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.72)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta { display: flex; flex-direction: column; align-items: center; gap: var(--b); }
.cta .btn.solid { width: min(var(--phi6), calc(100vw - 40px)); height: var(--phi2); border-radius: calc(var(--b) * 0.618); font-size: var(--b); }
.cta .guest { color: rgba(255, 255, 255, 0.5); font-size: calc(var(--b) * 0.875); text-decoration: none; transition: color 0.15s ease; }
.cta .guest:hover, .cta .guest:focus-visible { color: #fff; }
.cta .guest[hidden] { display: none; }
/* The two ways in, side by side and the same size: one bright, one glass, both crisp at any pixel density. */
.cta .btn { width: 200px; height: 48px; border-radius: 12px; font: 500 15px/1 var(--sans); letter-spacing: -0.01em; transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.25s ease, transform 0.12s ease; }
.cta .btn.solid { color: #0a0a0a; background: linear-gradient(180deg, #ffffff, #e8e8ea); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -8px rgba(255, 255, 255, 0.25); }
.cta .btn.solid:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 32px -6px rgba(255, 255, 255, 0.4); }
.cta .btn.ghost { color: var(--ink); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cta .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.32); }
.cta .btn:active { transform: translateY(1px) scale(0.99); }
.cta .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 12px; }
@media (max-width: 460px) { .cta { width: 100%; } }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn.solid { background: var(--ink); color: #000; }
.btn.solid:hover { background: #fff; }
.btn.ghost { border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }
.btn .arrow { margin-left: 8px; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.tray { display: flex; justify-content: center; gap: 24px; padding: 18px 16px max(20px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--ink-3); }
.tray a:hover { color: var(--ink); }

/* The greeter waits behind the splash; at the handoff its parts rise in after the mark lands. */
.panel, .login > :not(.slot), .tray { opacity: 0; transform: translateY(8px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
body.up .panel, body.up .tray { opacity: 1; transform: none; transition-delay: 0.5s; }
body.up .login > :not(.slot) { opacity: 1; transform: none; }
body.up .login > h1 { transition-delay: 0.35s; }
body.up .login > .lede { transition-delay: 0.45s; }
body.up .login > .cta { transition-delay: 0.55s; }
body.up { cursor: default; }

@media (max-width: 560px) {
  #apps-btn span, #full-btn, #bat-pct { display: none; }
  .pop-left, .pop-center, .pop-right { left: 8px; right: 8px; width: auto; translate: none; }

  .btn { height: 44px; }
  #log { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
}

/* The desktop's icons: apps, folders and the Trash, in a grid from the top left; folders open in windows of their own. */
#desk { position: fixed; inset: 32px 0 30px; z-index: 2; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s; user-select: none; -webkit-user-select: none; }
body.in-session #desk { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease) 0.15s; }
.icon { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 88px; padding: 6px 4px 5px; border: 1px solid transparent; border-radius: 10px; background: none; color: #fff; font: inherit; cursor: default; touch-action: none; transition: background 0.12s ease, border-color 0.12s ease, opacity 0.12s ease; }
.icon:hover { background: rgba(255, 255, 255, 0.08); }
.icon:focus { outline: none; }
.icon:focus-visible { border-color: rgba(255, 255, 255, 0.45); }
.icon.selected { background: rgba(120, 160, 255, 0.24); border-color: rgba(150, 185, 255, 0.45); }
.icon.drop { background: rgba(120, 160, 255, 0.32); border-color: rgba(170, 200, 255, 0.8); }
.icon.dragging { opacity: 0.35; }
.icon.ghost { position: fixed; z-index: 50; pointer-events: none; opacity: 0.9; background: none; border-color: transparent; }
.icon .label { max-width: 100%; font-size: 12px; font-weight: 500; line-height: 1.25; text-align: center; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.55); }
.icon.selected .label { -webkit-line-clamp: 4; }
.icon .rename { width: 100%; resize: none; padding: 2px 4px; border: 1px solid rgba(150, 185, 255, 0.8); border-radius: 5px; background: #111; color: #fff; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.25; text-align: center; outline: none; user-select: text; }
.glyph { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)); }
.glyph svg { width: 28px; height: 28px; fill: #fff; stroke: #fff; }
.glyph.app, .glyph.action { background: linear-gradient(160deg, #3a3a42, #17171b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.glyph.assistant { background: linear-gradient(160deg, #7b5cff, #3a1fb0); }
.glyph.editor { background: linear-gradient(160deg, #2f8cff, #0b46b8); }
.glyph.projects { background: linear-gradient(160deg, #ffb340, #d86a00); }
.glyph.console { background: linear-gradient(160deg, #3b3f46, #101114); }
.glyph.folder, .glyph.trash { background: none; box-shadow: none; }
.glyph.folder svg { width: 58px; height: 48px; stroke: none; }
.glyph.trash { background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)); border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.glyph.trash.full { background: linear-gradient(160deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.16)); }
.win.view { background: rgba(20, 20, 23, 0.94); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.view-body { flex: 1; display: flex; flex-direction: column; min-height: 0; user-select: none; -webkit-user-select: none; }
.view-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; }
.view-bar button { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 7px; background: rgba(255, 255, 255, 0.06); color: var(--ink); font: inherit; font-size: 12.5px; }
.view-bar button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); }
.view-bar button:disabled { opacity: 0.4; }
.view-grid { flex: 1; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, 96px); grid-auto-rows: min-content; align-content: start; gap: 4px; padding: 14px; }
.view-grid .icon { position: relative; width: 96px; }
.view-grid .label { text-shadow: none; }
.view-grid .empty { grid-column: 1 / -1; margin: 64px 0; text-align: center; color: var(--ink-3); font-size: 13px; }
.ctx { position: fixed; z-index: 60; min-width: 190px; padding: 5px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(22, 22, 25, 0.92); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.75); font-size: 13px; animation: fade-in 0.1s ease; }
.ctx button { display: block; width: 100%; padding: 6px 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: default; }
.ctx button:hover:not(:disabled), .ctx button:focus-visible { background: rgba(120, 160, 255, 0.3); outline: none; }
.ctx button:disabled { opacity: 0.4; }
.ctx hr { margin: 4px 6px; border: 0; border-top: 1px solid var(--line); }

/* Q: its orb rests in the corner; opened, it rises into a glass sheet with a larger orb, what was heard and what Q says. */
.q-orb { position: relative; display: block; aspect-ratio: 1; user-select: none; -webkit-user-select: none; }
.q-orb img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.5s ease; }
/* The renderer draws the sphere across 70% of its canvas and its glow beyond: the canvas is larger than the box by that ratio. */
.q-orb canvas { position: absolute; left: -21.4%; top: -21.4%; width: 142.8%; height: 142.8%; pointer-events: none; }
.q-corner { position: fixed; right: 21px; bottom: 21px; z-index: 5; width: 55px; height: 55px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; opacity: 0; visibility: hidden; transform: scale(0.9); transition: transform 0.377s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0s linear 0.4s; }
body.in-session:not(.q-open) .q-corner { opacity: 1; visibility: visible; transform: none; transition: transform 0.377s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease 0.4s; }
.q-corner:hover { transform: scale(1.06); }
.q-corner:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.9); outline-offset: 4px; }
.q-corner .q-orb { width: 100%; }
/* The orb at the heart of the screen, with what was heard and Q's answer beneath it. It arrives from the corner. */
/* A slow aurora behind the orb, that breathes with what Q is doing. */
.pop-menu .menu kbd { margin-left: 18px; color: var(--ink-3); font: 11px var(--mono, ui-monospace, monospace); }

/* The desktop's own windows (panels.mjs): a panel's content, at home in a window. */
.panel-win { flex: 1; min-height: 0; overflow: auto; padding: 20px 22px; font-size: 13.5px; color: var(--ink); user-select: text; -webkit-user-select: text; }
.panel-win .pop-title { margin: 0 0 10px; font-size: 18px; font-weight: 600; color: var(--ink); }
.panel-win .pop-text { margin: 0 0 12px; color: var(--ink-2); line-height: 1.6; font-size: 14px; }
.panel-win .login-card { width: auto; max-width: none; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.panel-win .login-card .login-links, .panel-win #feedback-close, .panel-win #enterprise-close { display: none; }
.panel-win .wall-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: none; }
.panel-win #wall-search { height: 38px; margin-bottom: 10px; }
.panel-boot-log { background: #000; }
.panel-win .facts { margin: 0; font-size: 14px; gap: 10px 18px; }
.panel-win .facts dd { text-align: left; }
.panel-win .facts [data-state="ok"] dd { color: var(--ok); } .panel-win .facts [data-state="fail"] dd { color: var(--fail); }
.panel-pricing .tiers { margin: 0; }
/* "Hey Q": a switch in Q's sheet; while it listens with Q closed, the corner orb wears a soft ring so it is never hidden. */
.q-corner.awake::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.55); animation: q-awake 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes q-awake { 50% { transform: scale(1.08); opacity: 0.35; } }
.panel-win .facts { display: block; }
.panel-win .facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.panel-win .facts > div:last-child { border-bottom: 0; }
.panel-win .facts dd { text-align: right; }
.glyph.q { background: none; box-shadow: none; }
.glyph.q img { width: 56px; height: 56px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }

/* Theme: the selector (Immersive, Dark, Light), and the desktop and system surfaces of each. */
.theme-title { margin: 2px 4px 10px; font-size: 15px; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.theme-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 10px; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.theme-modes button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; border-radius: 9px; color: var(--ink-2); font: 500 13.5px var(--sans); transition: background 0.15s ease, color 0.15s ease; }
.theme-modes button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.theme-modes button svg use { stroke: currentColor; }
.theme-modes button:hover { color: var(--ink); }
.theme-modes button[aria-checked="true"] { background: rgba(255, 255, 255, 0.1); color: var(--ink); font-weight: 650; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.wall-search { display: flex; align-items: center; gap: 8px; height: 38px; margin-bottom: 8px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.wall-search:focus-within { border-color: rgba(255, 255, 255, 0.32); }
.wall-search svg { flex: none; width: 15px; height: 15px; stroke: var(--ink-3); }
.wall-search #wall-search { flex: 1; height: 100%; margin: 0; padding: 0; border: 0; background: none; }
.wall-grid { gap: 8px; }
.wall-grid button { border-radius: 9px; }
.theme-credit { margin: 10px 4px 2px; font-size: 12.5px; color: var(--ink-2); }
.theme-credit a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.pop-wide { width: 340px; padding: 12px; }
.panel-win .wall-search { margin-bottom: 10px; }

:root[data-theme="dark"] body.in-session #wall, :root[data-theme="light"] body.in-session #wall { background-image: none !important; }
:root[data-theme="dark"] body.in-session #wall { background-color: #0b0b0d !important; }
:root[data-theme="dark"] body.in-session #wall::after { background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(120, 140, 200, 0.10), transparent 70%); }
:root[data-theme="light"] { --bg: #eceef2; --ink: #141416; --ink-2: #4c4f57; --ink-3: #868a94; --line: rgba(0, 0, 0, 0.08); --line-2: rgba(0, 0, 0, 0.14); }
:root[data-theme="light"] body.in-session #wall { background-color: #e9ebf0 !important; }
:root[data-theme="light"] body.in-session #wall::after { background: radial-gradient(ellipse 80% 60% at 50% 25%, rgba(255, 255, 255, 0.9), transparent 70%), linear-gradient(180deg, #f4f5f8, #dfe2e8); }
:root[data-theme="light"] .panel { background: rgba(250, 250, 252, 0.78); color: var(--ink); }
:root[data-theme="light"] .pop, :root[data-theme="light"] .ctx { background: rgba(255, 255, 255, 0.9); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.28); }
:root[data-theme="light"] .win { background: #fff; border-color: rgba(0, 0, 0, 0.12); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 30px 80px -24px rgba(0, 0, 0, 0.35); }
:root[data-theme="light"] .win.view { background: rgba(255, 255, 255, 0.94); }
:root[data-theme="light"] .win-bar { background: linear-gradient(180deg, #f7f7f9, #eeeff2); border-bottom-color: rgba(0, 0, 0, 0.08); }
:root[data-theme="light"] .win-controls button:hover { background: rgba(0, 0, 0, 0.07); }
:root[data-theme="light"] .icon { color: #141416; }
:root[data-theme="light"] .icon .label { text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); }
:root[data-theme="light"] .icon:hover { background: rgba(0, 0, 0, 0.05); }
:root[data-theme="light"] .icon.selected { background: rgba(40, 100, 230, 0.14); border-color: rgba(40, 100, 230, 0.35); }
:root[data-theme="light"] .view-grid .icon { color: #141416; }
:root[data-theme="light"] .theme-modes button[aria-checked="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.panel-win .theme-title { display: none; }
:root[data-theme="light"] .glyph.trash { background: linear-gradient(160deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.07)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); } :root[data-theme="light"] .glyph.trash svg { stroke: #2a2a30; }
.panel-win .wall-grid { grid-template-columns: repeat(3, 1fr); }

/* Q's layer, proportioned by the golden ratio: the orb's centre on the golden line (38.2% down), its diameter 38.2% of
   the screen's shorter side, the input φ times as wide; type 10, 16, 26, 42 and spacing 6, 10, 16, 26, 42, each φ the last. */
.q-sheet { --phi: 1.618; --d: clamp(176px, 38.2vmin, 416px); --s1: 6px; --s2: 10px; --s3: 16px; --s4: 26px; --s5: 42px; --bar: min(calc(var(--d) * var(--phi)), calc(100vw - 2 * var(--s4)));
  position: fixed; inset: 32px 0 0; z-index: 6; color: #fff; background: radial-gradient(circle at 50% 38.2%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.64) 61.8%, rgba(0, 0, 0, 0.82)); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); animation: q-fade 0.38s ease; overflow: hidden; }
@keyframes q-fade { from { opacity: 0; } }
.q-center { position: absolute; left: 50%; top: calc(38.2% - var(--d) / 2); width: min(calc(var(--bar) * var(--phi)), calc(100vw - 2 * var(--s4))); translate: -50% 0; display: grid; justify-items: center; }
.q-sheet .q-orb { width: var(--d); animation: q-arrive 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes q-arrive { from { opacity: 0.3; transform: translate(40vw, 46vh) scale(0.14); } }
.q-halo { position: absolute; top: calc(var(--d) / 2); left: 50%; width: calc(var(--d) * var(--phi) * var(--phi)); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; background: conic-gradient(from 0deg, rgba(255, 90, 140, 0.2), rgba(255, 190, 80, 0.14), rgba(90, 230, 160, 0.16), rgba(80, 170, 255, 0.22), rgba(190, 120, 255, 0.2), rgba(255, 90, 140, 0.2)); filter: blur(64px); opacity: 0.5; animation: q-turn 26s linear infinite; transition: opacity 0.6s ease, scale 0.6s ease; }
@keyframes q-turn { to { rotate: 1turn; } }
.q-sheet[data-mode="listening"] .q-halo { opacity: 0.8; scale: 1.06; }
.q-sheet[data-mode="thinking"] .q-halo { opacity: 0.66; animation-duration: 5s; }
.q-sheet[data-mode="speaking"] .q-halo { opacity: 0.9; scale: 1.1; }
.q-center > :not(.q-halo) { position: relative; }
.q-state { margin: var(--s4) 0 0; height: var(--s3); color: rgba(255, 255, 255, 0.5); font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.q-state:empty { visibility: hidden; }
.q-heard { margin: var(--s2) 0 0; max-width: var(--bar); text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.q-heard.partial { color: rgba(255, 255, 255, 0.42); }
.q-reply { margin: var(--s3) 0 0; max-width: var(--bar); text-align: center; font-size: clamp(19px, 2.2vmin, 26px); font-weight: 500; line-height: 1.5; letter-spacing: -0.012em; overflow-wrap: anywhere; color: rgba(255, 255, 255, 0.94); text-wrap: balance; animation: q-say 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes q-say { from { opacity: 0; transform: translateY(var(--s2)); filter: blur(var(--s1)); } }
.q-heard:empty, .q-reply:empty { display: none; }
.q-bottom { position: absolute; left: 50%; bottom: var(--s5); width: var(--bar); translate: -50% 0; display: grid; gap: var(--s2); }
.q-form { display: flex; align-items: center; gap: var(--s1); height: var(--s5); padding: 0 var(--s1); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--s3); background: rgba(255, 255, 255, 0.06); box-shadow: 0 var(--s4) var(--s5) calc(var(--s3) * -1) rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07); backdrop-filter: blur(var(--s4)) saturate(170%); -webkit-backdrop-filter: blur(var(--s4)) saturate(170%); transition: border-color 0.2s ease; }
.q-form:focus-within { border-color: rgba(255, 255, 255, 0.3); }
.q-form input { flex: 1; min-width: 0; height: 100%; padding: 0 var(--s1); border: 0; outline: none; background: none; color: #fff; font: inherit; font-size: 16px; }
.q-form input::placeholder { color: rgba(255, 255, 255, 0.38); }
.q-mic { display: grid; place-items: center; flex: none; width: var(--s4); height: var(--s4); margin-left: var(--s1); padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, 0.7); cursor: pointer; transition: color 0.15s ease, background 0.15s ease, box-shadow 0.2s ease; }
.q-mic svg { width: 18px; height: 18px; stroke: currentColor; }
.q-mic:hover { color: #fff; }
.q-mic.on { background: #fff; color: #000; box-shadow: 0 0 0 var(--s1) rgba(255, 255, 255, 0.12), 0 0 var(--s4) rgba(140, 200, 255, 0.5); }
.q-wake { flex: none; height: var(--s4); padding: 0 var(--s2); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: none; color: rgba(255, 255, 255, 0.5); font: 600 10px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.q-wake:hover { color: #fff; }
.q-wake[aria-pressed="true"] { border-color: transparent; background: rgba(255, 255, 255, 0.92); color: #000; }
.q-ask { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); height: var(--s5); padding: 0 var(--s1) 0 var(--s3); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--s3); background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.72); font-size: 13px; backdrop-filter: blur(var(--s4)); -webkit-backdrop-filter: blur(var(--s4)); animation: q-say 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.q-ask[hidden] { display: none; }
.q-size { color: rgba(255, 255, 255, 0.45); }
.q-ask button { height: var(--s4); padding: 0 var(--s3); border: 0; border-radius: 999px; background: #fff; color: #000; font: 600 13px var(--sans); cursor: pointer; }
:root[data-theme="light"] .q-sheet { color: #141416; background: radial-gradient(circle at 50% 38.2%, rgba(255, 255, 255, 0.2), rgba(238, 240, 244, 0.72) 61.8%, rgba(234, 236, 240, 0.9)); }
:root[data-theme="light"] .q-state { color: rgba(0, 0, 0, 0.45); }
:root[data-theme="light"] .q-heard { color: rgba(0, 0, 0, 0.6); }
:root[data-theme="light"] .q-reply { color: #141416; }
:root[data-theme="light"] .q-form, :root[data-theme="light"] .q-ask { background: rgba(255, 255, 255, 0.75); border-color: rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.7); box-shadow: 0 var(--s4) var(--s5) calc(var(--s3) * -1) rgba(0, 0, 0, 0.25); }
:root[data-theme="light"] .q-form input { color: #141416; }
:root[data-theme="light"] .q-form input::placeholder { color: rgba(0, 0, 0, 0.38); }
:root[data-theme="light"] .q-mic { color: rgba(0, 0, 0, 0.6); }
:root[data-theme="light"] .q-wake { color: rgba(0, 0, 0, 0.5); border-color: rgba(0, 0, 0, 0.14); }
:root[data-theme="light"] .q-wake[aria-pressed="true"] { background: #141416; color: #fff; }
:root[data-theme="light"] .q-ask button { background: #141416; color: #fff; }
@media (max-width: 560px) { .q-corner { right: 14px; bottom: 14px; width: 48px; height: 48px; } .q-bottom { bottom: var(--s4); } }
@media (prefers-reduced-motion: reduce) { .q-sheet, .q-sheet .q-orb, .q-halo, .q-reply, .q-ask { animation: none; } }
/* The homepage (before Log in or guest): the bar's left holds the H alone; the name and the menus come with the desktop. */
body:not(.in-session) .brand-btn span, body:not(.in-session) .menubar { display: none; }
body:not(.in-session) .brand-btn { padding: 0 8px; }
body:not(.in-session) .brand-btn .mini { width: 20px; height: 20px; }

/* The one sign-in page before the desktop: the wallpaper sharp, the H, the name, one way in (lockscreen.mjs). */
body:not(.in-session) .panel { opacity: 0 !important; pointer-events: none; }
#wall { transition: opacity 1.2s ease, background-image 0.6s ease; }
body.up:not(.in-session) #wall { opacity: 1; }
body:not(.in-session) #wall::after { background: radial-gradient(ellipse 52% 46% at 50% 42%, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.12) 70%, transparent), linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 30%, transparent 72%, rgba(0, 0, 0, 0.4)); }
body:not(.in-session) .login { text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45); }
.who { margin: 0; font-size: calc(var(--b) * 1.618); font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.who[hidden], .login .wordmark[hidden] { display: none; }
#greeter { background: transparent; }
/* Welcome: the person's picture and name, the dots going round, then the desktop. */
#welcome { position: fixed; inset: 0; z-index: 7; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 14vh; gap: 14px; color: #fff; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(44px) saturate(1.2); -webkit-backdrop-filter: blur(44px) saturate(1.2); transition: opacity 0.6s ease; }
#welcome[hidden] { display: none; }
#welcome.leaving { opacity: 0; }
#welcome .avatar.huge { width: 168px; height: 168px; font-size: 56px; }
#welcome-name { margin: 6px 0 0; font-size: 26px; font-weight: 600; }
.welcome-word { margin: 0; font-size: 20px; font-weight: 500; }
.spinner { position: relative; width: 36px; height: 36px; margin: 6px 0 4px; }
.spinner i { position: absolute; inset: 0; animation: orbit 2.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite; }
.spinner i::before { content: ""; position: absolute; left: 50%; top: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; }
.spinner i:nth-child(2) { animation-delay: 0.12s; } .spinner i:nth-child(3) { animation-delay: 0.24s; } .spinner i:nth-child(4) { animation-delay: 0.36s; } .spinner i:nth-child(5) { animation-delay: 0.48s; }
@keyframes orbit { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .spinner i { animation: none; } }

/* The sign-in page, in the manner of spacex.com: the Earth turning full height on the right, the H and the HOLOGRAM
   wordmark top left with the site's links beside them in small bold capitals, the headline low on the left, one
   outlined way in, monochrome. D-DIN (Datto, SIL OFL) is the face, self-hosted with its licence. */
@font-face { font-family: "D-DIN"; font-style: normal; font-weight: 400; font-display: swap; src: url("./media/d-din.woff2") format("woff2"); }
@font-face { font-family: "D-DIN"; font-style: normal; font-weight: 700; font-display: swap; src: url("./media/d-din-bold.woff2") format("woff2"); }
body:not(.in-session) { --page: #000; --fg: rgb(240, 240, 250); --muted: rgba(240, 240, 250, 0.7); --line: rgba(240, 240, 250, 0.35); --din: "D-DIN", Arial, Verdana, sans-serif; background: var(--page); }
body.up:not(.in-session) #wall { opacity: 0; }
body:not(.in-session) #credit { display: none; }
body:not(.in-session) #greeter::before { display: none; }
#earth { position: fixed; top: 0; bottom: 0; right: 0; z-index: 0; width: 100%; overflow: hidden; background: #000 url("./media/earth-poster.jpg") 55% 30% / cover no-repeat; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
body.up:not(.in-session) #earth { opacity: 1; }
body.in-session #earth { visibility: hidden; }
#signin-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; transform: scale(1.08); }
#earth::before, #earth::after { content: ""; position: absolute; inset: 0; }
#earth::before { background: linear-gradient(30deg, #000 0%, #000 22%, rgba(0, 0, 0, 0.82) 40%, rgba(0, 0, 0, 0.4) 62%, rgba(0, 0, 0, 0.1) 84%, transparent 100%); }
.login { position: fixed; inset: 0; display: block; padding: 0; text-align: left; font-family: var(--din); color: var(--fg); }
/* The bar: the H and the wordmark, then the links, as spacex.com's bar is laid out. */
/* The H stands φ times the wordmark's capitals, centred on them. The capitals, stroke included, are 0.8375 of the
   wordmark's height (its viewBox pads 4 of 48 units each side, less half the stroke); the dots' ink is 0.96 of the H's box. */
.lockup { --wm: 17px; position: fixed; top: 24px; left: 20px; display: flex; align-items: center; gap: calc(var(--wm) * 0.75); height: 19px; }
.login .lockup .slot { width: calc(var(--wm) * 0.8375 * 1.618 / 0.96); height: calc(var(--wm) * 0.8375 * 1.618 / 0.96); margin: 0; }
.lockup-wm { display: block; height: var(--wm); width: auto; color: var(--fg); overflow: visible; }
/* No glide from the boot: the H is simply there, top left, as the page appears. */
body.up .mark { transition: none; }
/* The bar does not rise into place with the rest, so the H lands exactly where the slot will stay. */
body .login > .lockup { transform: none; }
body:not(.in-session) .foot-links { display: none; }
/* The headline, low on the left. */
.hero { position: absolute; left: 20px; right: 20px; bottom: 15vh; display: flex; flex-direction: column; align-items: flex-start; }
.wordmark.headline { margin: 0; font: 700 clamp(34px, 9vw, 60px)/1.2 var(--din); letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg); background: none; -webkit-text-fill-color: currentColor; }
.hero-line { margin: 20px 0 0; max-width: 40em; font: 400 16px/24px var(--din); letter-spacing: 0.02em; color: var(--fg); }
.who { margin: 0; font: 700 clamp(34px, 8vw, 60px)/1.2 var(--din); letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg); }
.lede { margin: 20px 0 0; font: 400 16px/24px var(--din); letter-spacing: 0.02em; color: var(--fg); }
.lede[hidden], .who[hidden], .wordmark.headline[hidden] { display: none; }
.who:not([hidden]) ~ .hero-line, .wordmark.headline[hidden] + .hero-line { display: none; }
/* Log in, and beside it the way in as a guest: plain words, no frame. */
.cta { display: flex; flex-direction: row; align-items: center; width: auto; gap: 32px; margin-top: 30px; }
.login .cta .guest { font: 400 12px var(--din); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.login .cta .guest:hover, .login .cta .guest:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.cta .btn.solid { display: inline-flex; align-items: center; gap: 14px; width: auto; height: 50px; min-height: 0; padding: 0 20px; border: 1px solid var(--line); border-radius: 4px; background: rgba(0, 0, 0, 0.5); box-shadow: none; color: var(--fg); font: 400 12px var(--din); letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.cta .btn.solid::after { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.cta .btn.solid:hover { background: var(--fg); color: #000; border-color: var(--fg); }
.copyright { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; padding: 20px; text-align: center; font: 400 11px var(--din); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240, 240, 250, 0.5); }
@media (min-width: 768px) {
  #earth { width: 72%; background-position: 28% center; }
  #signin-video { transform: none; object-position: 28% center; }
  #earth::before { background: linear-gradient(90deg, #000 0%, #000 6%, rgba(0, 0, 0, 0.7) 26%, transparent 60%); }
  #earth::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 22%, transparent 70%, rgba(0, 0, 0, 0.75) 100%); }
  .lockup { left: 40px; }
  /* The site's links beside the logo, as spacex.com's are. */
  body:not(.in-session) .foot-links { display: flex; position: fixed; top: 24px; left: 328px; bottom: auto; transform: none; gap: 36px; opacity: 1; }
  body:not(.in-session) .foot-links button { font: 700 13px/19px var(--din); letter-spacing: 0.09em; text-transform: uppercase; color: rgba(240, 240, 250, 0.9); }
  body:not(.in-session) .foot-links button:hover { color: #fff; }
  .hero { left: 60px; bottom: 22.9vh; }
}
@media (prefers-reduced-motion: reduce) { #signin-video { visibility: hidden; } }

/* Hologram on X, at the bar's right end, on the bar's centre line. */
.login > .social { position: fixed; top: 19.5px; right: 20px; display: grid; place-items: center; width: 28px; height: 28px; color: var(--fg); opacity: 0.85; transition: opacity 0.2s; }
.login > .social svg { width: 18px; height: 18px; fill: currentColor; }
.login > .social:hover, .login > .social:focus-visible { opacity: 1; }
@media (min-width: 768px) { .login > .social { right: 36px; } }

/* On the homepage, About, Pricing and Feedback open in the desktop's own windows, over the page; the bar stays. */
body:not(.in-session).has-windows #stage { opacity: 1; }
body:not(.in-session).has-windows .foot-links { pointer-events: auto; }
/* A homepage page fills the screen: its content centred in a readable column. */
body:not(.in-session) .win.max { border-radius: 0; border: 0; }
body:not(.in-session) .win.max .panel-win { display: flex; flex-direction: column; justify-content: safe center; padding: 48px max(24px, calc(50% - 440px)); }
body:not(.in-session) .win.max :is(.panel-about, .panel-feedback, .panel-enterprise) { padding-inline: max(24px, calc(50% - 300px)); }

/* About Hologram: five pages, each one screen, in the homepage's type. Every size is in em of one base, which
   home.mjs lowers (--k) until the page fits its window, so no page ever scrolls. Colours follow the window
   (currentColor), so it reads on a dark or a light desktop alike. */
.about { --din: "D-DIN", Arial, Verdana, sans-serif; flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 1200px; margin: 0 auto; font: 400 calc(17px * var(--k, 1))/1.6 var(--din); letter-spacing: 0.01em; color: inherit; }
.about b { font-weight: 700; }
.about-slides { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.about-slide { flex: 1; display: flex; flex-direction: column; justify-content: safe center; animation: fade-in 0.35s ease; }
.about-slide[hidden] { display: none; }
.about-hero { padding: 0 0 2em; }
.about-eyebrow { margin: 0 0 1em; font-size: 0.72em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.about-h1 { margin: 0 0 0.4em; font-size: 3.2em; font-weight: 700; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; }
.about-lede { margin: 0; max-width: 40em; font-size: 1.15em; line-height: 1.55; opacity: 0.85; }
.about-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 3.5em; align-items: center; padding: 2em 0 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.about-slide > .about-row:first-child { border-top: 0; padding-top: 0; }
.about h3 { margin: 0 0 0.7em; font-size: 1.35em; font-weight: 700; line-height: 1.2; letter-spacing: 0.03em; text-transform: uppercase; }
.about-copy p { margin: 0 0 0.85em; opacity: 0.85; }
.about-copy p:last-child { margin-bottom: 0; }
.about-note { font-size: 0.85em; opacity: 0.65 !important; padding-left: 1em; border-left: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
.about-fig { margin: 0; }
.about-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.about-fig svg text { font-family: var(--din); fill: currentColor; }
.about-fig .box text { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.about-fig .lbl text { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; fill-opacity: 0.6; }
.about-fig .hot text { fill: currentColor; }
.about-fig figcaption { margin-top: 0.9em; font-size: 0.8em; opacity: 0.55; }
.about-pull { margin: 0; padding-left: 1em; border-left: 2px solid currentColor; font-size: 1.8em; font-weight: 700; line-height: 1.25; letter-spacing: 0.02em; text-transform: uppercase; }
.about-pull p { margin: 0; }
.about-pull p + p { margin-top: 0.6em; opacity: 0.6; }
.about-three { list-style: none; margin: 1.3em 0 0; padding: 0; display: grid; gap: 0.75em; }
.about-three li { display: grid; grid-template-columns: 10em 1fr; gap: 0.75em; font-size: 0.92em; opacity: 0.85; }
.about-three b { font-size: 0.8em; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 0.15em; }
.about-end { align-items: start; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.about-list { margin: 0 0 1.5em; padding: 0; list-style: none; display: grid; gap: 0.6em; }
.about-list li { position: relative; padding-left: 1.2em; opacity: 0.85; }
.about-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.5em; height: 1px; background: currentColor; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6em; margin: 0; opacity: 1 !important; }
.about-actions a { color: inherit; font-size: 0.72em; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; opacity: 0.75; }
.about-actions a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.about-actions .about-go { display: inline-flex; align-items: center; height: 3.8em; padding: 0 1.6em; border: 1px solid currentColor; border-radius: 4px; opacity: 1; }
.about-actions .about-go:hover { background: color-mix(in srgb, currentColor 12%, transparent); text-decoration: none; }
body.in-session .about-go { display: none; }
.about-nav { display: flex; align-items: center; justify-content: center; gap: 20px; padding-top: 16px; flex: 0 0 auto; }
.about-step { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 50%; color: inherit; transition: border-color 0.2s, opacity 0.2s; }
.about-step svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.about-step:hover:not(:disabled) { border-color: currentColor; }
.about-step:disabled { opacity: 0.25; cursor: default; }
.about-dots { display: flex; gap: 10px; }
.about-dots button { width: 24px; height: 2px; padding: 0; background: currentColor; opacity: 0.25; transition: opacity 0.2s; }
.about-dots button[aria-current] { opacity: 1; }
.about-dots button:hover { opacity: 0.6; }
.panel-about { display: flex; }
body:not(.in-session) .win.max .panel-about { display: flex; padding: 32px 40px 24px; }
@media (max-width: 860px) { .about-row, .about-end { grid-template-columns: 1fr; gap: 1.5em; } .about-three li { grid-template-columns: 1fr; gap: 2px; } .about-h1 { font-size: 2.4em; } }
