/* Layout: a Mac desktop pinned while you scroll, whose windows and dock icons collapse into palette's real two-ring layout at the pointer; below it, quiet Apple-style sections built from the same glass, bubbles and teal. */
:root {
  /* Page, dark first: palette lives on a Mac in dark mode in every picture it makes of itself. */
  --bg: #0b0c10;
  --bg-2: #121318;
  --card: #17181d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fg: #f5f5f7;
  --muted: #a1a1a8;
  --dim: #6e6e76;
  --teal: #00d2e0;          /* NSColor.systemTeal, dark, as the app's prominent bubble draws it */
  --teal-text: #3fe0ec;
  --teal-ink: #001f22;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  /* The app's own surfaces, dark appearance (PaletteLegibility, PaletteGlass). Mac pictures always use these. */
  --win: #1e1e1e;
  --win-2: #262628;
  --win-line: #333336;
  --win-fg: #f2f2f2;
  --win-muted: #98989d;
  --band: rgba(28, 28, 30, .42);
  --bub: rgba(30, 30, 30, .55);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f5f7; --bg-2: #ebebef; --card: #ffffff; --line: rgba(0, 0, 0, .08); --line-2: rgba(0, 0, 0, .14);
    --fg: #1d1d1f; --muted: #6e6e73; --dim: #8e8e93; --teal-text: #00838f; --shadow: 0 30px 70px -34px rgba(20, 30, 50, .35);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5f5f7; --bg-2: #ebebef; --card: #ffffff; --line: rgba(0, 0, 0, .08); --line-2: rgba(0, 0, 0, .14);
  --fg: #1d1d1f; --muted: #6e6e73; --dim: #8e8e93; --teal-text: #00838f; --shadow: 0 30px 70px -34px rgba(20, 30, 50, .35);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: -0.011em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--teal-text); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1080px; margin: 0 auto; }

/* ---------- The palette itself (ring, bands, bubbles), drawn in the app's dark appearance ---------- */
.pal { position: absolute; inset: 0; pointer-events: none; font-family: var(--sans); }
.pal svg.rim { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ringhost { visibility: hidden; }
.ringhost svg.rim, .ringhost .bub { will-change: transform, opacity; }
.ringhost.pal .bub { transition: none; }
.pal .bub {
  position: absolute; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: calc(1px * var(--s));
  color: #fff; background: radial-gradient(circle, rgba(255,255,255,.08), rgba(255,255,255,.08)), var(--bub);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); text-align: center; pointer-events: auto;
  transition: transform .12s ease-out, background .12s ease-out;
}
.pal .bub svg { width: calc(15px * var(--s)); height: calc(15px * var(--s)); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pal .bub b { font-weight: 600; font-size: calc(9px * var(--s)); line-height: 1.05; white-space: nowrap; }
.pal .bub small { font-weight: 500; font-size: calc(8px * var(--s)); opacity: .7; line-height: 1; }
.pal .bub.pri { background: var(--teal); color: rgba(0, 0, 0, .85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.pal .bub.pri svg { width: calc(18px * var(--s)); height: calc(18px * var(--s)); }
.pal .bub.pri b { font-size: calc(10px * var(--s)); }
.pal .bub.on { background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,.16)), var(--bub); }
.pal .bub.logo { background-color: #1e1e1e; background-position: center; background-size: cover; background-repeat: no-repeat; padding: 0; box-shadow: inset 0 0 0 .75px rgba(255,255,255,.22), 0 1px 4px rgba(0,0,0,.35); }
.pal .bub .mark { position: absolute; top: calc(-1px * var(--s)); right: calc(-1px * var(--s)); width: calc(15px * var(--s)); height: calc(15px * var(--s)); border-radius: 50%; background: #ff9f0a; box-shadow: 0 0 0 1px rgba(255,255,255,.92); display: grid; place-items: center; }
.pal .bub .mark svg { width: 60%; height: 60%; stroke: #fff; stroke-width: 3; }
.pal .bub:hover { transform: scale(1.06); }
.pal .pt, .mac > .pt { position: absolute; width: 22px; height: 22px; margin: -2px 0 0 -3px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }

/* ---------- Hero: the desktop ---------- */
.scene { position: relative; height: 560vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #05070d; }
.wall { position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 18% 20%, rgba(56, 110, 255, .55), transparent 70%),
  radial-gradient(50% 60% at 85% 80%, rgba(0, 210, 224, .35), transparent 70%),
  radial-gradient(70% 70% at 60% 40%, rgba(40, 60, 160, .5), transparent 75%),
  linear-gradient(160deg, #0d1640 0%, #0a1030 45%, #050816 100%); }
.wall::after { content: ""; position: absolute; inset: 0; opacity: .3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E"); }
.menubar { position: absolute; left: 0; right: 0; top: 0; height: 28px; display: flex; align-items: center; gap: 18px; padding: 0 14px; font-size: 13px; color: rgba(255,255,255,.92); background: rgba(10, 14, 30, .35); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); z-index: 30; padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box; }
.menubar b { font-weight: 700; }
.menubar .r { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.menubar img { width: 17px; height: 17px; border-radius: 4px; }
.menubar .items span { margin-right: 16px; }
.menubar svg { width: 15px; height: 15px; fill: currentColor; }
.menubar svg.wifi { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; }
.menubar svg.wifi circle { fill: currentColor; stroke: none; }
.desk { position: absolute; inset: 28px 0 0 0; }

.mw { position: absolute; left: 0; top: 0; contain: layout paint; background: var(--win); color: var(--win-fg); border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 16px 36px -10px rgba(0,0,0,.7); overflow: hidden; font-size: 12.5px; will-change: transform, opacity; transform-origin: 50% 50%; }
.mw .tb { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 11px; background: var(--win-2); border-bottom: 1px solid var(--win-line); color: var(--win-muted); font-size: 12px; font-weight: 600; }
.mw .tb i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; display: block; flex: none; }
.mw .tb i:nth-child(2) { background: #febc2e; } .mw .tb i:nth-child(3) { background: #28c840; margin-right: 6px; }
.mw .tb .ic { width: 15px; height: 15px; border-radius: 3px; flex: none; }
.mw .bd { padding: 14px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.mw .split { display: flex; height: calc(100% - 30px); }
.mw .split .bd { flex: 1; }
.mw .list { width: 36%; flex: none; border-right: 1px solid var(--win-line); background: rgba(255,255,255,.02); }
.mw .list div { padding: 9px 12px; border-bottom: 1px solid var(--win-line); color: var(--win-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw .list div b { display: block; color: var(--win-fg); font-size: 12px; }
.mw .list .on { background: rgba(10,132,255,.28); }
.mw .ln { height: 7px; border-radius: 4px; background: #343437; }
.mw .muted { color: var(--win-muted); }
.mw .mono { font-family: var(--mono); font-size: 11.5px; }
.mw .warn { color: #ff9f0a; }
.mw .chatbox { border: 1px solid var(--win-line); border-radius: 14px; padding: 9px 12px; color: var(--win-muted); background: #252527; }
.mw .row { display: flex; align-items: center; gap: 10px; }
.mw .av { width: 34px; height: 34px; border-radius: 50%; background: #48484c; display: grid; place-items: center; font-weight: 600; font-size: 12px; flex: none; }
.mw .pill { display: inline-block; padding: 3px 9px; border-radius: 99px; background: #0a66c2; color: #fff; font-weight: 600; font-size: 11px; }
.mw.front { box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 30px 70px -10px rgba(0,0,0,.85); }

.dock { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); height: 66px; border-radius: 20px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); z-index: 20; }
.dk { position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 12px; z-index: 25; will-change: transform, opacity; }
.dk img, .dk .tile { width: 100%; height: 100%; border-radius: 12px; display: block; object-fit: cover; }
.dk .tile { display: grid; place-items: center; }
.dk .tile svg { width: 58%; height: 58%; }
.dk.landed img, .dk.landed .tile { border-radius: 50%; }
.rundot { position: absolute; left: 0; top: 0; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.85); z-index: 26; opacity: 0; }


.cue { position: absolute; z-index: 40; pointer-events: none; }
.cursor { position: absolute; width: 26px; height: 26px; margin: -3px 0 0 -4px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); z-index: 41; }
.pad { position: absolute; right: 26px; bottom: 96px; width: 190px; height: 124px; border-radius: 18px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); z-index: 28; opacity: 0; }
.pad i { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.88); box-shadow: 0 4px 12px rgba(0,0,0,.35); top: 46px; }
.pad i:nth-child(1) { left: 54px; top: 50px; } .pad i:nth-child(2) { left: 84px; top: 40px; } .pad i:nth-child(3) { left: 114px; top: 46px; }
.pad span { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 11px; color: rgba(255,255,255,.75); font-weight: 600; letter-spacing: .02em; }

.capt { position: absolute; left: 0; right: 0; top: 13%; text-align: center; z-index: 35; pointer-events: none; color: #fff; padding: 0 16px; will-change: transform, opacity; }
/* A soft dark plate behind each line, so it reads over whatever windows are under it. */
.capt::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 130vw); height: 260%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(4, 7, 18, .94), rgba(4, 7, 18, .82) 50%, rgba(4, 7, 18, .4) 80%, transparent); z-index: -1; }
.capt.c1 { top: 30%; }
.capt.c1 h1 { font-size: clamp(40px, 7vw, 92px); }
.capt h1, .capt h2 { font-size: clamp(34px, 5.6vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; text-shadow: 0 8px 40px rgba(0,0,0,.55); }
.capt p { margin-top: 14px; font-size: clamp(16px, 1.7vw, 21px); color: rgba(255,255,255,.78); text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.scrim { position: absolute; inset: 0; background: var(--bg); opacity: 0; z-index: 22; pointer-events: none; }
.ringhost { position: absolute; inset: 0; z-index: 36; }
.ringhost.pal .bub { pointer-events: none; }
.mw { visibility: hidden; opacity: 0; will-change: transform, opacity; }
.end { visibility: hidden; }
.word span, .tagline span, .ctas, .scrim, .cursor, .cue, .dock, .pad { will-change: transform, opacity; }

/* The lighter page for slow machines: no live blur, flatter shadows, the same story. */
.lite .menubar, .lite .dock, .lite .pad, .lite .pal .band, .lite .top::before, .lite .mac .panel, .lite .field { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.lite .menubar { background: rgba(10, 14, 30, .85); }
.lite .dock { background: rgba(58, 64, 84, .92); }
.lite .pad { background: rgba(52, 62, 84, .92); }
.lite .pal .band { background: rgba(28, 28, 30, .86); }
.lite .top::before { background: var(--bg); }
.lite .capt h1, .lite .capt h2, .lite .capt p { text-shadow: none; }
.lite .mw { box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.lite .wall::after, .lite .cursor { filter: none; }
.lite .wall::after { display: none; }
.end { position: absolute; left: 0; right: 0; z-index: 37; text-align: center; padding: 0 16px; }
.word { font-size: clamp(64px, 10vw, 128px); font-weight: 700; letter-spacing: -0.065em; line-height: 1; display: inline-flex; }
.word span { display: inline-block; opacity: 0; }
.tagline { margin: 14px auto 0; max-width: 720px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .27em; color: var(--muted); }
.tagline span { display: inline-block; opacity: 0; }
.tagline .hl { color: var(--fg); }
.ctas { margin-top: 26px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; opacity: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--sans); color: var(--teal-ink); background: var(--teal); border: 0; border-radius: 99px; padding: 12px 22px; text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 210, 224, .6); transition: transform .12s ease-out; letter-spacing: -0.01em; }
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(.95); }
.ghost { font-size: 13px; color: var(--muted); }
.hint { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 35; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.75); display: grid; justify-items: center; gap: 6px; }
.hint i { width: 20px; height: 32px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); display: flex; justify-content: center; }
.hint i::after { content: ""; width: 4px; height: 7px; border-radius: 4px; background: var(--teal); margin-top: 6px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(9px); opacity: .3; } }

/* Fixed top bar, after the scene */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding-top: env(safe-area-inset-top, 0px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.top.show { opacity: 1; pointer-events: auto; }
.top::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-bottom: 1px solid var(--line); z-index: -1; }
.top .in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.04em; }
.brand img { width: 26px; height: 26px; }
.top .btn { margin-left: auto; padding: 8px 16px; font-size: 14px; }

/* ---------- Sections ---------- */
section.blk { padding-block: clamp(100px, 13vw, 170px) 0; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--teal-text); margin-bottom: 12px; letter-spacing: -0.01em; }
.h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.045em; }
.lead { margin-top: 18px; font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 56ch; line-height: 1.45; text-wrap: pretty; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.rise { transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .8s; }
.js .rise.pre { transform: translateY(30px); opacity: .001; }

/* Scenes: a Mac window with the real ring */
.tabs { display: flex; justify-content: center; gap: 6px; margin: 40px auto 22px; padding: 5px; border-radius: 99px; background: var(--bg-2); width: max-content; max-width: 100%; overflow-x: auto; }
.tab { font: 600 14.5px var(--sans); color: var(--muted); background: transparent; border: 0; border-radius: 99px; padding: 9px 16px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 8px; letter-spacing: -0.01em; }
.tab img { width: 18px; height: 18px; border-radius: 50%; }
.tab .env { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(#5bb4ff, #1a73e8); display: grid; place-items: center; }
.tab .env svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.4; }
.tab.on { background: var(--card); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 0 0 1px var(--line); }
.mac { position: relative; height: 540px; border-radius: 14px; background: var(--win); color: var(--win-fg); box-shadow: 0 0 0 1px rgba(255,255,255,.1), var(--shadow); overflow: hidden; }
.mac .tb { position: relative; z-index: 2; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--win-2); border-bottom: 1px solid var(--win-line); }
.mac .tb i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; display: block; } .mac .tb i:nth-child(2) { background: #febc2e; } .mac .tb i:nth-child(3) { background: #28c840; }
.mac .url { margin: 0 auto; font-size: 12.5px; color: var(--win-muted); background: rgba(255,255,255,.06); padding: 4px 16px; border-radius: 8px; display: flex; gap: 6px; align-items: center; }
.mac .url svg { width: 13px; height: 13px; }
.mac .side { position: absolute; left: 0; top: 40px; bottom: 0; width: 30%; background: #232325; border-right: 1px solid var(--win-line); padding: 14px 0; }
.mac .side div { padding: 10px 18px; font-size: 13px; color: var(--win-muted); line-height: 1.35; }
.mac .side div b { display: block; color: var(--win-fg); font-weight: 600; }
.mac .side div.on { background: rgba(255,255,255,.07); }
.mac .main { position: absolute; left: 30%; right: 0; top: 40px; bottom: 0; padding: 30px 36px; display: grid; align-content: start; gap: 12px; }
.mac .main.full { left: 0; }
.mac h4 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.mac .who { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--win-muted); }
.mac .who b { display: block; color: var(--win-fg); font-weight: 600; font-size: 14px; }
.mac .av { width: 40px; height: 40px; border-radius: 50%; background: #4a4a4e; display: grid; place-items: center; font-weight: 600; flex: none; }
.mac p { color: #d0d0d4; font-size: 15px; max-width: 46ch; }
.mac .term { font-family: var(--mono); font-size: 13px; color: #d0d0d4; background: #151516; border: 1px solid var(--win-line); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; }
.mac .panel { position: absolute; z-index: 5; width: 300px; border-radius: 20px; padding: 16px; background: rgba(28,28,30,.82); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 0 0 .75px rgba(255,255,255,.25), 0 20px 50px -10px rgba(0,0,0,.6); font-size: 14px; overflow: hidden; padding: 0; }
.mac .panel.off { visibility: hidden; }
.mac .panel .pin { padding: 16px; box-sizing: border-box; display: grid; gap: 10px; opacity: 0; transition: opacity .1s ease-out; }
.mac .panel.in .pin { opacity: 1; transition: opacity .15s ease-out .3s; }
.mac .panel .st { font-size: 12.5px; color: var(--teal); display: flex; gap: 7px; align-items: center; font-weight: 600; }
.mac .panel .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mac .panel .txt { white-space: pre-wrap; min-height: 4.2em; color: var(--win-fg); }
.mac .panel .btns { display: flex; gap: 8px; }
.mac .panel .btns span { flex: 1; text-align: center; padding: 8px; border-radius: 10px; background: rgba(0,210,224,.14); color: var(--teal); font-weight: 600; }
.mac .panel .btns span.pri { background: var(--teal); color: var(--teal-ink); }
.mac .panel .head { display: flex; gap: 10px; align-items: center; }
.mac .panel .head img { width: 30px; height: 30px; border-radius: 8px; }
.mac .panel .head b { display: block; font-weight: 600; }
.mac .panel .head small { color: var(--win-muted); }
.mac .panel .head em { margin-left: auto; white-space: nowrap; font-style: normal; color: #ff9f0a; font-size: 12.5px; font-weight: 600; }
.mac .panel code { font-family: var(--mono); font-size: 12.5px; background: rgba(255,255,255,.05); border-radius: 8px; padding: 9px 10px; display: block; }
.scene-cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* Your ring */
.yours { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 12px; }
.pick { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 22px; border: 0; padding: 0; cursor: pointer; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: transform .2s cubic-bezier(.3,1.4,.5,1), box-shadow .2s; }
.pick img { width: 56%; height: 56%; border-radius: 50%; object-fit: cover; transition: filter .2s, opacity .2s; }
.pick { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.pick.on { box-shadow: inset 0 0 0 2px var(--teal); }
.pick.on::before { content: ""; position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pick:hover { transform: scale(1.06); }
.pick::after { content: attr(data-name); position: absolute; bottom: -2px; left: 0; right: 0; transform: translateY(100%); font-size: 11px; color: var(--dim); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview { position: relative; height: 440px; border-radius: 26px; overflow: hidden; background:
  radial-gradient(70% 60% at 25% 20%, rgba(56, 110, 255, .45), transparent 70%), radial-gradient(60% 60% at 90% 90%, rgba(0, 210, 224, .3), transparent 70%), linear-gradient(160deg, #0d1640, #050816); box-shadow: var(--shadow); }
.preview .count { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.fine { margin-top: 34px; font-size: 14px; color: var(--dim); }

/* Pixels vs structure */
.verdict { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.verdict span { padding: 5px 12px; border-radius: 99px; background: rgba(0, 210, 224, .14); color: var(--teal-text); font-weight: 600; }
.verdict .q { background: var(--bg-2); color: var(--muted); font-weight: 500; }

/* Last tap */

/* Letter */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,210,224,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(0,210,224,0); } }

/* Final: the waitlist field grows out of a bubble, as palette's fields do */
.final { padding-block: clamp(120px, 15vw, 200px) 60px; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; }
.final .h2 { font-size: clamp(36px, 7.4vw, 96px); letter-spacing: -0.055em; }
.field { display: flex; align-items: center; gap: 0; width: min(520px, 100%); height: 64px; border-radius: 99px; padding: 6px; background: rgba(28,28,30,.6); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 0 0 .75px rgba(255,255,255,.3), var(--shadow); }
:root[data-theme="light"] .field { background: rgba(255,255,255,.8); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .field { background: rgba(255,255,255,.8); } }
.field .bub0 { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: rgba(0,0,0,.85); display: grid; place-items: center; flex: none; }
.field .bub0 svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--fg); font: 500 17px var(--sans); padding: 0 14px; outline: none; }
.field input::placeholder { color: var(--dim); }
.field button { flex: none; height: 52px; border-radius: 99px; border: 0; padding: 0 20px; background: var(--fg); color: var(--bg); font: 600 15px var(--sans); cursor: pointer; }
.joined { font-size: 14.5px; color: var(--teal-text); min-height: 1.4em; }
.small { font-size: 13.5px; color: var(--dim); }
footer { border-top: 1px solid var(--line); padding-block: 26px 44px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12.5px; color: var(--dim); }

@media (max-width: 860px) {
  .yours, .versus { grid-template-columns: minmax(0, 1fr); }
  .mac .side { display: none; }
  .mac .main { left: 0; padding: 22px 20px; }
  .mac { height: 600px; }
  .menubar .items { display: none; }
  /* The ring sits above the apps, so a tap on an app shows up on the ring without scrolling. */
  .yours .preview { order: -1; }
  .picker { width: 100%; max-width: 520px; margin-inline: auto; }
}
@media (pointer: coarse) {
  .top .btn { padding: 11px 16px; }
  body .linkbtn { padding: 10px 0; }
}
@media (max-width: 560px) {
  .mw { transform-origin: 0 0; }
  .pad { right: 12px; bottom: 90px; transform: scale(.8); transform-origin: 100% 100%; }
  .capt h2 { font-size: 27px; }
  .preview { height: 280px; }
  .mac.trymac { height: 500px; }
  .preview .count { top: 14px; bottom: auto; }
  .picker { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 8px; }
  .tabs { gap: 2px; padding: 4px; }
  .tab { padding: 8px 9px; font-size: 13px; letter-spacing: -0.02em; }
  .tab img, .tab .env { display: none; }
  .field button { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hint i::after { animation: none; }
}

/* Connect: the pointer that drags an app over, and the logo you carry */
.yours { position: relative; }
.democur { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -4px; z-index: 6; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); transition: opacity .2s; will-change: transform; }
.ghost { position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: #1e1e1e center / cover no-repeat; box-shadow: inset 0 0 0 .75px rgba(255,255,255,.22), 0 10px 24px rgba(0,0,0,.35); z-index: 5; opacity: 0; pointer-events: none; transform: scale(.6); will-change: transform; }
.ghost.on { opacity: 1; }
.preview { transition: box-shadow .15s; }
.preview.drop { box-shadow: 0 0 0 3px var(--teal), var(--shadow); }
.pal .bub.logo { cursor: grab; }

/* Try it: hold anywhere in the window */
.trymac { margin-top: 44px; cursor: default; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: pan-y; }
.trycue { position: absolute; left: 0; top: 0; z-index: 4; opacity: 0; pointer-events: none; }
.trycue.hold { opacity: 1; }
.trycue.hold .fill { stroke-dashoffset: 0; transition: stroke-dashoffset .42s linear; }
.tryhint { position: absolute; right: 22px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--teal); background: rgba(0,210,224,.1); padding: 7px 12px; border-radius: 99px; pointer-events: none; transition: opacity .3s; }
.tryhint.gone { opacity: 0; }
.tryhint .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: ping 2s infinite; }
.linkbtn { font: inherit; color: var(--teal-text); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tryhint .pulse { animation: none; } }

/* ---------- A field that grows out of its bubble (FieldCard.swift) ---------- */
.mac > .pt { z-index: 6; pointer-events: none; }
.pal .bub.cap { background: var(--teal); color: rgba(0, 0, 0, .85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); z-index: 2; }
.fcard { position: absolute; z-index: 1; pointer-events: auto; font-size: 14px; color: var(--win-fg); }
.fcard .fbg { position: absolute; left: 0; top: 0; background: rgba(38,38,42,.95); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.fcard .fin { position: relative; display: flex; flex-direction: column; }
.fcard .fthread { display: none; padding: 52px 12px 2px; opacity: 0; transition: opacity .25s ease-out; }
.fcard.open .fthread { display: block; opacity: 1; }
.fcard .ftxt { white-space: pre-wrap; line-height: 1.5; }
.fcard .ffoot { height: var(--fh); display: flex; align-items: center; padding: 0 8px 0 calc(var(--fh) + 2px); }
.fcard.trail .ffoot { padding: 0 calc(var(--fh) + 2px) 0 8px; }
.fcard .fbody { display: flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.fcard .fph { color: var(--win-muted); }
.fcard .caret { width: 1.5px; height: 17px; background: var(--teal); margin-left: 1px; animation: blink 1s steps(1) infinite; }
.fcard .frow { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--teal); }
.fcard .frow.done::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fcard .spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(0,210,224,.25); border-top-color: var(--teal); animation: spin .8s linear infinite; }
.lite .fcard .fbg { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(38,38,42,.97); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fcard .caret, .fcard .spin { animation: none; } }

/* ---------- FAQ ---------- */
.qs { margin: 36px auto 0; max-width: 720px; display: grid; gap: 10px; }
.qs details { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 4px 20px; }
.qs summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; color: var(--teal-text); font-weight: 500; font-size: 22px; line-height: 1; }
.qs details[open] summary::after { content: "–"; }
.qs details p { margin: 0 0 16px; color: var(--muted); }
/* ---------- Same question, two assistants ---------- */
.race { margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.race .mac.mini { height: 420px; }
.race .rbody .main { padding: 26px 26px; }
.race .rbody h4 { font-size: 19px; }
.race .rbody p { font-size: 14px; }
.race .flash { position: absolute; inset: 40px 0 0 0; background: #fff; opacity: 0; pointer-events: none; z-index: 6; }
.race .flash.go { animation: flash .45s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.aip { position: absolute; right: 14px; bottom: 14px; width: min(270px, calc(100% - 28px)); z-index: 5; border-radius: 16px; padding: 14px; background: #2a2a2e; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px -12px rgba(0,0,0,.7); display: grid; gap: 10px; font-size: 13.5px; color: var(--win-fg); opacity: 0; transform: translateY(8px); transition: opacity .2s ease-out, transform .25s ease-out; }
.aip.on { opacity: 1; transform: none; }
.aip .q { justify-self: end; background: #3a3a3f; padding: 7px 12px; border-radius: 14px 14px 4px 14px; }
.aip .steps { display: grid; gap: 6px; color: var(--win-muted); font-size: 12.5px; }
.aip .steps div { display: flex; gap: 8px; align-items: center; }
.aip .steps div::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: rgba(255,255,255,.7); animation: spin .8s linear infinite; flex: none; }
.aip .steps div.ok::before { animation: none; border: 0; width: 6px; height: 6px; margin: 0 3px; background: rgba(255,255,255,.45); }
.aip .ans:empty { display: none; }
@media (max-width: 760px) {
  /* Stacked, both lanes still fit one phone screen, so the two clocks can be watched side by side in time. */
  .race { grid-template-columns: 1fr; gap: 14px; }
  .race .mac.mini { height: 290px; }
  .race .rbody .main { padding: 18px 18px; }
  .race .rbody .who { display: none; }
  .race .rbody h4 { font-size: 17px; margin-bottom: 8px; }
  .lanehead { margin-bottom: 8px; }
  .lanehead b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .aip .steps div::before { animation: none; } .race .flash.go { animation: none; } }
/* The title reads as speed: slanted, with streaks that whip past once when it comes into view. */
.fasth em { font-style: italic; display: inline-block; transform: skewX(-8deg); color: var(--teal-text); padding-right: .08em; }
.fasth .zoom { position: relative; display: inline-block; }
.fasth .zoom::before, .fasth .zoom::after { content: ""; position: absolute; right: 100%; height: .07em; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--teal)); opacity: 0; pointer-events: none; }
.fasth .zoom::before { top: 38%; width: 1.6em; }
.fasth .zoom::after { top: 62%; width: 1.1em; }
.rise:not(.pre) .fasth em { animation: whoosh .55s cubic-bezier(.2,.9,.25,1) both; }
.rise:not(.pre) .fasth .zoom::before { animation: streak .7s ease-out .05s both; }
.rise:not(.pre) .fasth .zoom::after { animation: streak .7s ease-out .14s both; }
@keyframes whoosh { 0% { transform: translateX(-.6em) skewX(-24deg); opacity: 0; } 60% { transform: translateX(.05em) skewX(-4deg); opacity: 1; } 100% { transform: skewX(-8deg); } }
@keyframes streak { 0% { transform: translateX(-.6em) scaleX(.3); opacity: 0; transform-origin: right; } 30% { opacity: .9; } 100% { transform: translateX(.2em) scaleX(1); opacity: 0; } }
/* Each side's name and a big clock over its window; palette's stops almost at once. */
.lanehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.lanehead b { display: flex; align-items: center; gap: 9px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -0.03em; color: var(--fg); }
.lanehead b img { width: 26px; height: 26px; }
.clock { font-weight: 700; font-size: clamp(34px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.04em; color: var(--muted); font-variant-numeric: tabular-nums; display: inline-flex; align-items: baseline; transition: color .2s; }
.clock small { font-size: .45em; margin-left: .15em; }
.clock.done { color: var(--fg); }
.me .clock.done { color: var(--teal-text); animation: stamp .35s cubic-bezier(.3,1.6,.5,1); }
.me .mac.mini { box-shadow: 0 0 0 1.5px rgba(0,210,224,.55), var(--shadow); }
@keyframes stamp { 0% { transform: scale(1.18); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise:not(.pre) .fasth em, .rise:not(.pre) .fasth .zoom::before, .rise:not(.pre) .fasth .zoom::after, .me .clock.done { animation: none; } }
.race + .center { margin-top: 18px; }
/* Yes / No under a question palette asks in the card */
.fchoice { display: flex; gap: 8px; margin-top: 10px; opacity: 0; transform: translateY(4px); transition: opacity .2s ease-out, transform .2s ease-out; pointer-events: none; }
.fchoice.in { opacity: 1; transform: none; pointer-events: auto; }
.fchoice button { font: 600 13px var(--sans); color: var(--win-fg); background: rgba(255,255,255,.1); border: 0; border-radius: 99px; padding: 7px 16px; min-height: 32px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.fchoice button[data-a="yes"] { background: var(--teal); color: var(--teal-ink); box-shadow: none; }
.fchoice button:active { transform: scale(.96); }
.pchoice { margin-top: 12px; }
@media (pointer: coarse) { .fchoice button { min-height: 40px; padding: 9px 20px; } }

/* Kept on your Mac: what's stored there, and the one thing that goes out */
.vault { margin: 48px auto 0; max-width: 820px; display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; align-items: center; }
.mbox { border-radius: 22px; padding: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.mhead { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.mhead svg, .chips svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 99px; background: var(--bg-2); font-size: 14.5px; color: var(--fg); }
.chips svg { color: var(--teal-text); }
.wire { position: relative; height: 2px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.wire i { position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); will-change: transform; animation: carry 2.6s cubic-bezier(.45,0,.2,1) infinite; }
@keyframes carry { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateX(92px); opacity: 0; } }
.model { display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.model b { font-weight: 700; letter-spacing: -0.02em; }
.model span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) {
  .vault { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .mbox { width: 100%; }
  .wire { width: 2px; height: 52px; margin: 8px 0; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); }
  .wire i { left: -3px; top: 0; animation-name: carryv; }
  .model { text-align: center; }
}
@keyframes carryv { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(44px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wire i { animation: none; opacity: 1; } }
.small a, footer a { color: inherit; text-underline-offset: 3px; }

/* Context: the email lifts apart into what's drawn, the text, and what palette reads; the prompt and the read
   fields both go into the model, and the reply comes back. Transforms and opacity only. */
.x3 { position: relative; margin: 96px auto 10px; max-width: 1000px; display: grid; grid-template-columns: minmax(0, 1fr) 90px 170px; align-items: center; }
.x3-scene { position: relative; perspective: 1400px; perspective-origin: 50% 30%; }
.x3-stack { position: relative; height: 270px; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.x3-p { position: absolute; inset: 0; border-radius: 14px; transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.x3.live .x3-stack, .x3.live .x3-p { will-change: transform; }
.x3-win { background: var(--win); box-shadow: 0 0 0 1px rgba(255,255,255,.1), var(--shadow); overflow: hidden; }
.x3-win .tb { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: var(--win-2); border-bottom: 1px solid var(--win-line); }
.x3-win .tb i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .x3-win .tb i:nth-child(2) { background: #febc2e; } .x3-win .tb i:nth-child(3) { background: #28c840; }
.x3-win .url { margin: 0 auto; font-size: 12px; color: var(--win-muted); transform: translateX(-20px); }
.x3 .cm { padding: 54px 26px 0; color: var(--win-fg); }
.x3 .cm h4 { font-size: 20px; letter-spacing: -0.02em; }
.x3 .cm-who { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-weight: 600; font-size: 14.5px; }
.x3 .cm-who .av { width: 30px; height: 30px; border-radius: 50%; background: #48484c; display: grid; place-items: center; font-size: 11px; }
.x3 .cm p { font-size: 14.5px; line-height: 1.6; color: #d6d6da; max-width: 46ch; }
.x3-read { opacity: 0; pointer-events: none; background: rgba(8, 26, 32, .74); box-shadow: inset 0 0 0 1px rgba(0,210,224,.5), 0 20px 40px -16px rgba(0,0,0,.5); }
.x3-read .cm, .x3-read .cm p { color: transparent; }
.x3-read .av { visibility: hidden; }
.fld { position: relative; color: var(--teal); border-radius: 5px; padding: 1px 4px; margin: -1px -4px; background: rgba(0,210,224,.14); box-shadow: 0 0 0 1.5px rgba(0,210,224,.8); }
.fld::before { content: attr(data-l); position: absolute; left: 0; bottom: 100%; margin-bottom: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.x3-reply { position: absolute; left: 18px; right: 18px; bottom: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(38,38,42,.97); box-shadow: inset 0 0 0 1px rgba(0,210,224,.5), 0 14px 30px -10px rgba(0,0,0,.6); color: #ececf0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.x3-reply .atxt { min-height: 63px; }
.x3-st { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--teal); opacity: 0; transition: opacity .3s; }
.x3.done .x3-reply { opacity: 1; transform: none; }
.x3.done:not(.live) .x3-st { opacity: 1; }
.x3-prompt { position: relative; z-index: 2; margin: 18px auto 0; width: min(340px, 100%); height: 48px; border-radius: 99px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font-weight: 600; }
.x3-prompt img { width: 32px; height: 32px; }
.x3-prompt .caret { width: 2px; height: 18px; background: var(--teal); opacity: 0; }
.x3.live:not(.back) .x3-prompt .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
/* Lifted: tipped back and turned, with each layer standing off the one below */
.x3.open .x3-stack { transform: translateY(24px) rotateX(52deg) rotateZ(-24deg) scale(.84); }
.x3.open .x3-txt { transform: translateZ(64px); }
.x3.open .x3-read { transform: translateZ(128px); opacity: 1; }
.x3.read .x3-txt { opacity: .35; }
.x3-wire { height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.x3-model { display: grid; justify-items: center; gap: 10px; }
.x3-model .core { width: 92px; height: 92px; border-radius: 28px; background: radial-gradient(circle at 35% 30%, #6ff3ff, #00b8c8 45%, #0a5a8c); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 18px 40px -12px rgba(0,180,200,.6); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.x3.think .x3-model .core { transform: scale(1.08); box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 60px 6px rgba(0,210,224,.45); }
.x3-model b { font-weight: 700; letter-spacing: -0.02em; }
.x3-fly { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.x3-chip { position: absolute; padding: 5px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--teal-ink); background: var(--teal); box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); transition: transform .9s cubic-bezier(.5,0,.3,1), opacity .9s cubic-bezier(.7,0,1,1); }
.x3-chip.p { color: var(--fg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 20px -6px rgba(0,0,0,.4); }
.x3-chip.go { opacity: 0; }
/* Lite: no tilt; the layers fan out flat, each a step up and over */
.lite .x3.open .x3-stack { transform: none; }
.lite .x3.open .x3-txt { transform: translate(18px, -18px); }
.lite .x3.open .x3-read { transform: translate(36px, -36px); }
@media (max-width: 760px) {
  .x3 { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; margin-top: 76px; }
  .x3-scene { width: 100%; }
  .x3-stack { height: 300px; }
  .x3 .cm { padding: 50px 18px 0; }
  .x3-wire { width: 2px; height: 40px; margin: 10px 0; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px); }
  .x3-model .core { width: 72px; height: 72px; border-radius: 22px; }
  .x3.open .x3-stack { transform: translateY(30px) rotateX(48deg) rotateZ(-18deg) scale(.78); }
}
@media (prefers-reduced-motion: reduce) { .x3-stack, .x3-p, .x3-chip, .x3-reply { transition: none; } }

/* ---------- The example tabs: a pill that slides, a line that fills while a scene plays ---------- */
.tabs { position: relative; }
.tabs .tab { position: relative; z-index: 1; transition: color .2s ease-out; }
.tabs .tab.on { background: transparent; box-shadow: none; }
.tpill { position: absolute; left: 0; top: 5px; bottom: 5px; border-radius: 99px; background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 0 0 1px var(--line); transition: transform .42s cubic-bezier(.3, 1.25, .5, 1), width .42s cubic-bezier(.3, 1.25, .5, 1); will-change: transform; }
.tab .prog { position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal); opacity: 0; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.tab.run .prog { opacity: .85; animation: tprog var(--dur, 8s) linear forwards; }
@keyframes tprog { to { transform: scaleX(1); } }
/* Each scene's page fades in over the last one. */
.mac .sb { position: absolute; inset: 0; transition: opacity .26s ease-out, transform .32s cubic-bezier(.2, .8, .3, 1); }
.mac .sb.pre { opacity: 0; transform: translateY(8px); }
.mac .sb.out { opacity: 0; transition-duration: .18s; }
/* The pointer, carried from scene to scene; it dips as it clicks. */
.dpt { position: absolute; left: 0; top: 0; z-index: 7; width: 22px; height: 22px; margin: -2px 0 0 -3px; pointer-events: none; will-change: transform; }
.dpt svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); transform-origin: 22% 10%; transition: transform .1s ease-out; }
.dpt.down svg { transform: scale(.86); }
#macCue { z-index: 6; }
/* A bubble hovered lifts and brightens; pressed, it sinks (BubbleStyle in PaletteArcView.swift). */
.pal .bub.hov { transform: scale(1.06); background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,.16)), var(--bub); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.pal .bub.pri.hov { background: var(--teal); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.pal .bub.logo.hov { background-color: #1e1e1e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 1px 4px rgba(0,0,0,.35); }
.pal .bub.press { transform: scale(.93); filter: brightness(.85); transition-duration: .1s; }
.mac .panel .btns span { transition: transform .1s ease-out, filter .12s ease-out; }
.mac .panel .btns span.hov { filter: brightness(1.12); }
.mac .panel .btns span.press { transform: scale(.96); filter: brightness(.9); }
.mac .panel .lbl { font-size: 12px; color: var(--win-muted); margin-bottom: -4px; }
/* A reply streams in with a caret at its end. */
.scaret { display: inline-block; width: 7px; height: 1.05em; margin-left: 1px; vertical-align: -2px; border-radius: 1.5px; background: var(--teal); }
/* One line by the pointer once the work is done (PaletteStatusLine). */
.pstat { position: absolute; z-index: 6; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 18px; font-size: 12.5px; font-weight: 500; color: var(--win-fg); white-space: nowrap; background: rgba(36,36,40,.82); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 0 0 .75px rgba(255,255,255,.25), 0 14px 34px -10px rgba(0,0,0,.6); opacity: 0; transform: scale(.94); transform-origin: 0 0; transition: opacity .18s ease-out, transform .26s cubic-bezier(.3, 1.3, .5, 1); pointer-events: none; }
.pstat.in { opacity: 1; transform: none; }
.pstat .ic { width: 20px; height: 20px; display: grid; place-items: center; flex: none; }
.pstat .ic svg { width: 20px; height: 20px; }
.pstat .ic circle { fill: var(--teal); }
.pstat .ic path { fill: none; stroke: var(--teal-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pstat .spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(0,210,224,.25); border-top-color: var(--teal); animation: spin .8s linear infinite; }
.lite .pstat { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(36,36,40,.97); }
/* A LinkedIn profile, dark, as the sample page. */
.mac .li { position: absolute; left: 0; right: 0; top: 40px; bottom: 0; background: #000; padding: 22px 0 0 7%; display: grid; align-content: start; gap: 10px; }
.mac .li-card { position: relative; width: min(560px, 62%); background: #1b1f23; border-radius: 10px; overflow: hidden; padding: 0 24px 20px; display: grid; gap: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.mac .li-ban { height: 92px; margin: 0 -24px; background: linear-gradient(120deg, #24435c, #5a7d8f 55%, #a8b9a7); }
.mac .li-av { width: 104px; height: 104px; margin-top: -58px; margin-bottom: 6px; border-radius: 50%; background: #5c6670; border: 4px solid #1b1f23; display: grid; place-items: center; font-size: 32px; font-weight: 600; color: #fff; }
.mac .li-name { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.mac .li-name span { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.6); }
.mac .li-head { font-size: 14.5px; color: rgba(255,255,255,.9); }
.mac .li-loc { font-size: 13px; color: rgba(255,255,255,.6); }
.mac .li-loc em { font-style: normal; color: #71b7fb; font-weight: 600; }
.mac .li-btns { display: flex; gap: 8px; margin-top: 10px; }
.mac .li-btns span { padding: 6px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: #71b7fb; box-shadow: inset 0 0 0 1px #71b7fb; }
.mac .li-btns span.pri { background: #71b7fb; color: #000; }
.mac .li-btns span:last-child { color: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.mac .li-about { padding-top: 16px; }
.mac .li-about b { font-size: 18px; }
.mac .li-about p { font-size: 14px; margin: 4px 0 0; color: rgba(255,255,255,.85); }
/* A docs site, as the sample page Claude Code interrupts. */
.mac .side.docs { width: 24%; background: #1a1a1c; padding-top: 18px; }
.mac .side.docs div { padding: 7px 22px; font-size: 13.5px; }
.mac .side.docs .dh { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #6e6e73; }
.mac .side.docs div.on { color: var(--teal-text); background: rgba(0,210,224,.08); box-shadow: inset 2px 0 0 var(--teal); }
.mac .side.docs + .main { left: 24%; }
@media (max-width: 860px) {
  .mac .li { padding: 14px 12px 0; }
  .mac .li-card { width: auto; }
  .mac .side.docs + .main { left: 0; }
}
@media (max-width: 560px) {
  .tpill { top: 4px; bottom: 4px; }
  .tab .prog { left: 10px; right: 10px; bottom: 3px; }
  .mac .li-ban { height: 70px; }
  .mac .li-av { width: 80px; height: 80px; margin-top: -44px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .pstat .spin { animation: none; } .tpill, .mac .sb { transition: none; } }
