/* Index — landing page.
   It should look like the app: a Mac. Light, native, calm, real icons and
   real thumbnails. The intelligence gradient appears only where the model is
   at work — the search ring and Ask — exactly as in DesignSystem.swift.
   Two curves, nothing bounces, and every motion has a reduced form. */

/* BZG's typeface, the one bzgapps.com is set in (Sequel Sans, Display cut).
   The page is set in it; anything drawn to look like a Mac app keeps the
   system font (--ui). */
@font-face { font-family: "Sequel Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(assets/fonts/sequel-sans-400.woff) format("woff"); }
@font-face { font-family: "Sequel Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(assets/fonts/sequel-sans-500.woff) format("woff"); }
@font-face { font-family: "Sequel Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(assets/fonts/sequel-sans-600.woff) format("woff"); }
@font-face { font-family: "Sequel Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(assets/fonts/sequel-sans-700.woff) format("woff"); }

:root {
  color-scheme: light;
  --bg: #fbfbfd;
  --tint: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --dim: #86868b;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .12);
  --select: rgba(0, 122, 255, .12);
  --blue: #0071e3;

  --i1: #4C8DFF;
  --i2: #9A6BFF;
  --i3: #FF6EC7;
  --i4: #FFB56B;
  --i-solid: #8F87F8;
  --grad: linear-gradient(120deg, var(--i1), var(--i2) 38%, var(--i3) 72%, var(--i4));

  --enter: cubic-bezier(.2, .7, .3, 1);
  --move: cubic-bezier(.4, .2, .2, 1);

  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: "Sequel Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-window: 0 0 0 .5px rgba(0, 0, 0, .18), 0 22px 70px rgba(0, 0, 0, .18), 0 6px 18px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.soft { color: var(--dim); }

/* Drawn to look like Mac apps, so they keep the Mac's type. */
.finder, .sd-frame, .ag-win { font-family: var(--ui); letter-spacing: -.011em; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--enter), transform .9s var(--enter);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
/* Words arrive: small, quick, one after another (main.js groups them). */
.flow .reveal { transform: translateY(10px); transition: opacity .5s var(--enter), transform .5s var(--enter); transition-delay: var(--d, 0s); }
.flow .reveal.in { transform: none; }
.flow .reveal.now { transition: none; }
/* A headline arrives a word at a time, soft to sharp. */
.flow .reveal.words { opacity: 1; transform: none; }
.flow .words .w {
  display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.32em);
  transition: opacity .7s var(--enter), filter .7s var(--enter), transform .7s var(--enter);
  transition-delay: calc(var(--d, 0s) + var(--i) * 55ms);
}
.flow .words.in .w { opacity: 1; filter: none; transform: none; }
.flow .words.now .w { transition: none; }
/* Windows build: main.js moves these with the scroll until they land. The glass
   shell comes first, tilted back; the white sheets slide up into it after. */
.flow .reveal:is(.shot, .sd, .mb-demo, .sz, .cl, .get), .pose {
  opacity: var(--o, 0);
  transform: perspective(1600px) translateY(var(--ty, 48px)) rotateX(var(--rx, 9deg)) scale(var(--sc, .94));
  transform-origin: 50% 100%; transition: none; will-change: transform, opacity;
}
.flow .reveal:is(.shot, .sd, .mb-demo, .sz, .cl, .get).in { opacity: 1; transform: none; will-change: auto; }
.asm { position: relative; display: block; }
.asm > img { display: block; }
.asm-cover, .asm-sheet { position: absolute; z-index: 4; display: block; overflow: hidden; }
.asm-cover { background: #e7e7f1; }
.asm-sheet {
  opacity: var(--so, 0);
  transform: translateY(calc((1 - var(--sp, 0)) * 7%)) scale(calc(.965 + .035 * var(--sp, 0)));
  transform-origin: 50% 100%;
  box-shadow: 0 calc((1 - var(--sp, 0)) * 30px) calc((1 - var(--sp, 0)) * 60px) rgba(40, 30, 90, calc((1 - var(--sp, 0)) * .28));
}
.asm-sheet > img { position: absolute; max-width: none; height: auto; opacity: 1 !important; transform: none !important; transition: none !important; border-radius: 0 !important; box-shadow: none !important; }
/* The hero: the wallpaper fades up as the page opens, and the window builds on it. */
.flow :is(.desk, .stage).reveal { opacity: 0; transform: none; transition: opacity 1s ease-out .1s; }
.flow :is(.desk, .stage).reveal.in { opacity: 1; }
.flow :is(.desk, .stage).reveal.now { transition: none; }
.hero-win { margin-bottom: -2.6%; transform-origin: 50% 100%; will-change: transform; }
.hero-win .desk-win { margin-bottom: 0; }
.hero-copy { transform-origin: 50% 0; will-change: transform, opacity; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 500; white-space: nowrap;
  transition: background .15s ease-out, transform .15s ease-out;
}
.btn-sm { height: 30px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 17px; }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-dark:active { transform: scale(.98); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease-out;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1080px; margin: 0 auto; height: 52px;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.brand img { border-radius: 6px; }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero-copy { padding: 0 var(--gutter); }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 1.03;
  letter-spacing: -.025em;
  font-weight: 700;
}
.lede {
  max-width: 640px; margin: 22px auto 0;
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.38;
  color: var(--muted);
  letter-spacing: 0;
}
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-note { font-size: 13px; color: var(--dim); }

/* The real app, on a desktop. The wallpaper is a soft wash of the
   intelligence colors, the way a Mac wallpaper sits behind a window. */
.desk {
  position: relative;
  max-width: 1200px;
  margin: 56px auto 0;
  padding: clamp(14px, 4.4vw, 56px) clamp(14px, 4.4vw, 56px) 0;
  border-radius: clamp(16px, 2.4vw, 30px) clamp(16px, 2.4vw, 30px) 0 0;
  background:
    radial-gradient(60% 80% at 12% 10%, rgba(76, 141, 255, .55), transparent 60%),
    radial-gradient(55% 70% at 88% 12%, rgba(255, 110, 199, .45), transparent 60%),
    radial-gradient(70% 80% at 70% 100%, rgba(255, 181, 107, .5), transparent 60%),
    radial-gradient(60% 70% at 25% 95%, rgba(154, 107, 255, .5), transparent 60%),
    #e9e6f7;
  overflow: hidden;
  width: calc(100% - 2 * var(--gutter));
}
.desk-win {
  display: block; width: 100%; height: auto;
  /* The window runs off the bottom of the stage: its own lower edge (the strip of
     shell under the sheet, and the sheet's round corners) stays out of sight. */
  margin-bottom: -2.6%;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .22), 0 30px 80px rgba(40, 30, 90, .28);
  transform-origin: 50% 100%;
  will-change: transform;
}
.hero { padding-bottom: 0; }

/* Three things Index does, right under the window */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.pillar { display: block; padding: 4px 0; }
.pillar h3 { font-size: 24px; letter-spacing: -.015em; margin-bottom: 6px; }
.pillar p { font-size: 17px; color: var(--muted); }
.pillar:hover h3 { color: var(--i-solid); }

/* The search, with everywhere your files live gathered around it */
.finder {
  position: relative;
  max-width: 1120px;
  margin: 56px auto 0;
  padding: 44px var(--gutter) 0;
}
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; left: 0; top: 0;
  width: 64px; height: 64px;
  transform: translate(-50%, -50%);
  transition: transform .5s var(--enter), opacity .5s ease-out, filter .5s ease-out;
}
.orb img { width: 100%; height: 100%; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .14)); }
.orb .float { width: 100%; height: 100%; animation: bob var(--bd, 6s) ease-in-out var(--bdl, 0s) infinite alternate; }
.orbit.has-hits .orb { opacity: .35; filter: saturate(.6); }
.orbit.has-hits .orb.hit { opacity: 1; filter: none; transform: translate(-50%, -50%) scale(1.14); }
.orb .ring {
  position: absolute; inset: -7px; border-radius: 22px;
  background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 2px;
  transition: opacity .4s ease-out;
}
.orb.hit .ring { opacity: .9; }
@keyframes bob { from { translate: 0 -5px; } to { translate: 0 5px; } }

.search-card {
  position: relative; z-index: 2;
  max-width: 680px; margin: 0 auto;
  text-align: left;
}
/* The Home field from the app: white, soft shadow, the gradient ring. */
.field {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(76, 80, 140, .14), 0 2px 6px rgba(0, 0, 0, .05);
  cursor: text;
}
.field::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .85;
}
.field.thinking::before { animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .4; } }
.field-glass { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; }
.field input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: none;
  font: inherit; font-size: 21px; letter-spacing: -.02em; color: var(--text);
}
.field input::placeholder { color: #b0b0b6; }
.kbd { font-size: 12px; color: var(--dim); padding: 3px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }

.results {
  margin-top: 12px;
  min-height: 404px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 24px 60px rgba(0, 0, 0, .1);
  padding: 8px;
  overflow: hidden;
}
.res-group { font-size: 11px; font-weight: 600; color: var(--dim); padding: 10px 12px 6px; letter-spacing: 0; }
.res {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 12px; border-radius: 12px;
  animation: rowIn .45s var(--enter) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.res.stay { animation: none; }
.res:first-of-type, .res.sel { background: var(--select); }
.res-thumb {
  flex: none; width: 46px; height: 46px;
  display: grid; place-items: center;
}
.res-thumb img { max-width: 46px; max-height: 46px; object-fit: contain; }
.res-thumb img.page { border-radius: 3px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 2px 5px rgba(0, 0, 0, .12); background: #fff; }
.res-main { flex: 1; min-width: 0; }
.res-name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-snip { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.res-name mark { background: none; color: inherit; box-shadow: inset 0 -2px 0 rgba(143, 135, 248, .55); }
.res-snip mark { background: rgba(143, 135, 248, .2); color: var(--text); border-radius: 3px; padding: 0 2px; }
.res-src { flex: none; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); white-space: nowrap; }
.res-src img { width: 16px; height: 16px; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }

.answer {
  margin: 6px 6px 10px; padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(120deg, rgba(76, 141, 255, .07), rgba(154, 107, 255, .07) 40%, rgba(255, 110, 199, .06) 75%, rgba(255, 181, 107, .06));
  box-shadow: inset 0 0 0 1px rgba(143, 135, 248, .22);
  animation: rowIn .5s var(--enter) both;
}
.answer-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--i-solid); margin-bottom: 6px; }
.answer p { font-size: 17px; line-height: 1.45; letter-spacing: -.015em; }
.answer p .w { opacity: 0; transition: opacity .2s ease-out; }
.answer p .w.on { opacity: 1; }
.spark {
  display: inline-block; width: 12px; height: 12px; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l1.4 4.6L12 6 7.4 7.4 6 12 4.6 7.4 0 6l4.6-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l1.4 4.6L12 6 7.4 7.4 6 12 4.6 7.4 0 6l4.6-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 15px; }
.empty b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

.try { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; position: relative; z-index: 2; }
.try-label { font-size: 13px; color: var(--dim); margin-right: 2px; }
.try button {
  border: 0; background: #fff; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; color: var(--text);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .04);
  transition: box-shadow .15s ease-out, transform .15s ease-out;
}
.try button:hover { box-shadow: 0 0 0 1px var(--line-2), 0 3px 10px rgba(0, 0, 0, .08); }
.try button.on { box-shadow: 0 0 0 1.5px var(--i-solid); }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 150px) 0; }
.section-tint { background: var(--tint); }
.section-try { padding-top: clamp(80px, 10vw, 120px); }
.section-try .finder { margin-top: 28px; }
.eyebrow { text-align: center; font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--i-solid); }
.h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
.h2 {
  text-align: center;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 700;
}
.sub {
  max-width: 680px; margin: 22px auto 0; text-align: center;
  font-size: clamp(18px, 1.9vw, 21px); line-height: 1.43; color: var(--muted); letter-spacing: 0;
}
.caption { text-align: center; margin-top: 18px; font-size: 14px; color: var(--dim); }

/* Race */
.find-why { margin-top: clamp(64px, 8vw, 96px); }
.race { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.lane { background: var(--card); border-radius: 24px; padding: 26px 28px 28px; box-shadow: 0 0 0 1px var(--line); }
.lane-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.lane-head span { font-size: 15px; font-weight: 600; color: var(--muted); }
.clock { font-variant-numeric: tabular-nums; font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.lane-old .clock { color: #d9453b; }
.lane-new .clock { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; padding: 8px 10px; border-radius: 10px;
  opacity: .18; transition: opacity .4s ease-out, background .4s ease-out;
}
.steps li.on { opacity: 1; }
.steps li img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.steps li em { font-style: normal; color: var(--dim); font-size: 13px; margin-left: auto; }
.steps li.done { font-weight: 600; }
.steps li.done.on { background: rgba(52, 199, 89, .1); color: #1f7a39; }
.lane-new .steps li.done.on { background: rgba(143, 135, 248, .12); color: #5a4fd6; }
.typed {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 9px;
  background: #fff; box-shadow: 0 0 0 1px rgba(143, 135, 248, .45); font-size: 14px;
}

/* Keycaps */
.keys { display: inline-flex; gap: 4px; }
kbd {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: 7px; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--text);
  background: linear-gradient(#fff, #f2f2f5);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 2px 0 rgba(0, 0, 0, .1);
}
.keys.big kbd { min-width: .95em; height: .95em; padding: 0 .16em; border-radius: .2em; font-size: .78em; vertical-align: .06em; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 .06em 0 rgba(0, 0, 0, .12); }
.keys.big { gap: .1em; }

/* ---------- Ask ---------- */
.ask-q {
  margin-left: auto; width: fit-content; max-width: 100%; min-height: 42px;
  padding: 10px 16px; border-radius: 20px 20px 6px 20px;
  background: var(--blue); color: #fff; font-size: 16px;
}
.caret { display: inline-block; width: 2px; height: 17px; background: currentColor; vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.ask-q.sent .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.ask-trail { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 14px; min-height: 26px; }
.ask-trail span {
  font-size: 12.5px; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--tint);
  opacity: 0; transform: translateY(4px); transition: opacity .3s ease-out, transform .4s var(--enter), color .3s;
}
.ask-trail span.on { opacity: 1; transform: none; }
.ask-trail span.done { color: var(--dim); }
.ask-a { font-size: 21px; line-height: 1.45; letter-spacing: -.02em; min-height: 92px; }
.ask-a .w { opacity: 0; transition: opacity .25s ease-out; }
.ask-a .w.on { opacity: 1; }
.ask-a sup, .cite sup { color: var(--i-solid); font-weight: 700; font-size: 11px; margin-left: 1px; }
.ask-cites { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.cite {
  margin: 0; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--tint);
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease-out, transform .5s var(--enter);
}
.cite.on { opacity: 1; transform: none; }
.cite img { width: 40px; height: 48px; object-fit: contain; }
.cite img.page { border-radius: 3px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 2px 6px rgba(0, 0, 0, .12); background: #fff; }
.cite figcaption { font-size: 14px; font-weight: 500; }
.cite small { display: block; font-size: 12px; color: var(--dim); font-weight: 400; }

/* ---------- Real screenshots ---------- */
.shot { margin: 64px auto 0; max-width: 1000px; }
.shot img {
  width: 100%; height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-window);
  background: #fff;
}
.shot.missing { display: none; }

/* ---------- Spaces demo ----------
   A small Mac desktop, drawn at 960×560 and scaled to fit. */
.sd { margin-top: 64px; }
.sd-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 24px;
  padding: 4px; border-radius: 999px; background: var(--tint);
}
.sd-tabs button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: none; height: 36px; padding: 0 16px 0 8px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: background .3s var(--move), color .15s ease-out, box-shadow .3s;
}
.section-tint .sd-tabs { background: rgba(0, 0, 0, .05); }
.sd-tabs b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .06); font-size: 12px; }
.sd-tabs button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.sd-tabs button[aria-selected="true"] b { background: var(--grad); color: #fff; }
.sd-frame {
  position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 960 / 560; overflow: hidden;
  border-radius: clamp(10px, 2vw, 22px);
  background:
    radial-gradient(60% 80% at 12% 10%, rgba(76, 141, 255, .5), transparent 60%),
    radial-gradient(55% 70% at 88% 12%, rgba(255, 110, 199, .4), transparent 60%),
    radial-gradient(70% 80% at 70% 100%, rgba(255, 181, 107, .45), transparent 60%),
    radial-gradient(60% 70% at 25% 95%, rgba(154, 107, 255, .45), transparent 60%),
    #e9e6f7;
}
.sd-stage { position: absolute; left: 0; top: 0; width: 960px; height: 560px; transform: scale(var(--s, 1)); transform-origin: 0 0; }
.sd-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease-out, visibility 0s .5s; }
.sd-scene.on { opacity: 1; visibility: visible; transition: opacity .5s ease-out; }
.sd-win { position: absolute; background: rgba(255, 255, 255, .96); border-radius: 12px; box-shadow: var(--shadow-window); overflow: hidden; }
.sd-bar { position: relative; height: 40px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f6f6f8; }
.sd-bar span { position: absolute; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; pointer-events: none; }
.sd-bar span img { width: 18px; height: 18px; }
.sd-tile { text-align: center; }
.sd-img { position: relative; height: 74px; display: grid; place-items: center; }
.sd-img img { max-width: 64px; max-height: 70px; object-fit: contain; }
.sd-img img.page { background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 2px 6px rgba(0, 0, 0, .12); }
.sd-tile span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.3; margin-top: 6px; }

/* 1 — Downloads sorting itself */
.sd-pile { left: 40px; top: 50px; width: 540px; height: 460px; }
.sd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 10px; padding: 22px 18px; }
.sd-badge { position: absolute; right: 10px; bottom: -4px; width: 26px !important; height: 26px !important; opacity: 0; transform: scale(.4); transition: opacity .3s ease-out, transform .45s var(--enter); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .2)); }
.sd-tile.filed .sd-badge { opacity: 1; transform: none; }
.sd-folders { position: absolute; left: 620px; top: 70px; width: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 10px; }
.sd-folder { text-align: center; color: var(--text); }
.sd-folder img { width: 112px; height: 112px; margin: 0 auto; filter: drop-shadow(0 6px 14px rgba(40, 30, 90, .25)); }
.sd-folder b { display: block; font-size: 14px; margin-top: 4px; }
.sd-folder small { font-size: 12px; color: var(--muted); }
.sd-folder.bump img { animation: bump .45s var(--enter); }
@keyframes bump { 40% { transform: scale(1.1); } }
.sd-ghost { position: absolute; z-index: 5; margin: 0; transition: transform .75s var(--move), opacity .75s ease-in; }

/* 2 — a Space as a Finder window */
.sd-finder { left: 60px; top: 40px; width: 840px; height: 480px; }
.sd-split { display: grid; grid-template-columns: 200px 1fr; height: calc(100% - 40px); }
.sd-side { padding: 12px 10px; background: rgba(240, 240, 244, .9); border-right: 1px solid var(--line); }
.sd-side h5 { margin: 10px 8px 4px; font-size: 11px; color: var(--dim); font-weight: 600; }
.sd-side button, .sd-side .loc { display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; padding: 0 8px; border: 0; border-radius: 7px; background: none; font-size: 13px; text-align: left; }
.sd-side img { width: 18px; height: 18px; object-fit: contain; }
.sd-side button.on { background: rgba(0, 0, 0, .08); font-weight: 600; }
.sd-side button:hover { background: rgba(0, 0, 0, .05); }
.sd-main { padding: 22px 26px; overflow: hidden; }
.sd-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sd-head img { width: 52px; height: 52px; }
.sd-head h4 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.sd-head p { font-size: 13px; color: var(--muted); }
.sd-icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 12px; }
.sd-icons .sd-tile { animation: rowIn .45s var(--enter) both; animation-delay: calc(var(--i, 0) * 45ms); }

/* 3 — the Dock, as macOS draws it */
.sd-deskicon { position: absolute; left: 800px; top: 56px; width: 104px; text-align: center; font-size: 12.5px; font-weight: 500; z-index: 2; }
.sd-deskicon img { width: 80px; height: 80px; margin: 0 auto 3px; padding: 4px; border-radius: 8px; box-sizing: content-box; filter: drop-shadow(0 4px 10px rgba(40, 30, 90, .2)); }
.sd-deskicon span { display: inline-block; padding: 1px 6px; border-radius: 4px; color: var(--text); }
.sd-deskicon.sel img { background: rgba(0, 0, 0, .14); }
.sd-deskicon.sel span { background: #0a64d8; color: #fff; }
.sd-dragimg { position: absolute; left: 0; top: 0; width: 104px; text-align: center; font-size: 12.5px; font-weight: 500; z-index: 5; opacity: 0; pointer-events: none; transform-origin: 0 0; transition-property: transform, opacity; transition-timing-function: cubic-bezier(.45, .05, .35, 1); }
.sd-dragimg img { width: 80px; height: 80px; margin: 0 auto 3px; padding: 4px; box-sizing: content-box; }
.sd-dragimg span { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #0a64d8; color: #fff; transition: opacity .15s; }
.sd-dragimg.on { opacity: .6; }
.sd-dragimg.drop { opacity: 1; transition-timing-function: var(--enter); }
.sd-dragimg.drop span { opacity: 0; }
.sd-dock {
  position: absolute; left: 0; right: 0; bottom: 14px; width: fit-content; margin: 0 auto;
  display: flex; align-items: center; height: 74px; padding: 0 6px; border-radius: 24px;
  background: rgba(255, 255, 255, .3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 .5px rgba(0, 0, 0, .12), 0 12px 32px rgba(40, 30, 90, .16);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
}
.sd-app { position: relative; width: 60px; height: 60px; flex: none; display: grid; place-items: center; }
.sd-app img { width: 58px; height: 58px; transition: filter .08s; }
.sd-app img.sd-index { width: 48px; height: 48px; border-radius: 11px; }
.sd-app.run::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.sd-sep { width: 1px; height: 50px; background: rgba(0, 0, 0, .14); margin: 0 7px; flex: none; }
.sd-slot { width: 0; overflow: hidden; transition: width .32s cubic-bezier(.3, .7, .3, 1); }
.sd-slot.open { width: 60px; }
.sd-slot img { opacity: 0; }
.sd-slot.landed img { opacity: 1; }
.sd-app img.press { filter: brightness(.55); }
.sd-tip {
  position: absolute; z-index: 4; transform: translate(-50%, -100%) translateY(4px);
  padding: 4px 11px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap;
  background: rgba(246, 246, 248, .86); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 4px 14px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .12s ease-out;
}
.sd-tip.on { opacity: 1; }
.sd-fan { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.sd-fanitem {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: 10px;
  transform-origin: calc(100% - 28px) 50%;
  transform: translate(calc(var(--cx) - 100%), var(--cy)) scale(.25);
  opacity: 0;
  transition: transform .2s cubic-bezier(.4, 0, 1, 1), opacity .16s ease-in;
}
.sd-fan.open .sd-fanitem {
  transform: translate(calc(var(--x) - 100%), var(--y)) rotate(var(--r));
  opacity: 1;
  transition: transform .34s cubic-bezier(.22, 1.12, .36, 1), opacity .14s ease-out;
}
.sd-fan:not(.open) .sd-fanitem { transition-delay: 0s !important; }
.sd-fanitem .sd-img { width: 56px; height: 56px; }
.sd-fanitem .sd-img img { max-width: 50px; max-height: 56px; }
.sd-fanitem span {
  white-space: nowrap; font-size: 13px; font-weight: 500; color: #fff;
  background: rgba(40, 40, 46, .62); padding: 3px 10px; border-radius: 7px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.sd-openin .sd-img i {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(40, 40, 46, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11 11 5M6 5h5v5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.sd-cursor {
  position: absolute; left: 0; top: 0; width: 18px; height: 22px; z-index: 6; background: #111;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M1 1v17l4.5-4.2L8.7 21l3-1.3-3.1-7H15z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M1 1v17l4.5-4.2L8.7 21l3-1.3-3.1-7H15z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 2px 3px rgba(0, 0, 0, .3));
  transform: translate(600px, 300px); transition: transform .9s cubic-bezier(.45, .05, .35, 1);
}
.sd-cursor.click { animation: click .25s ease-out; }
@keyframes click { 50% { scale: .85; } }

/* ---------- Menu bar: find a file and paste it ---------- */
.keys-inline kbd { min-width: 22px; height: 22px; font-size: 12px; vertical-align: 2px; border-radius: 6px; }
.fact kbd { min-width: 0; height: 20px; padding: 0 5px; font-size: 11.5px; border-radius: 5px; vertical-align: 1px; }
.mb-demo { margin-top: 56px; }
.mb-demo .sd-tabs img { width: 22px; height: 22px; }
.sy { display: inline-block; width: 15px; height: 15px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mb-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 3;
  display: flex; align-items: center; gap: 18px; padding: 0 14px;
  font-size: 13px; color: #1d1d1f; background: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
}
.mb-bar b { font-weight: 700; }
.mb-bar .sy { width: 14px; height: 15px; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.mb-right .mb-batt { width: 24px; }
.mb-icon { display: grid; place-items: center; width: 30px; height: 22px; margin: 0 -7px; border-radius: 5px; transition: background-color .12s; }
.mb-icon .sy { width: 17px; height: 16px; }
.mb-icon.open { background: rgba(0, 0, 0, .12); }

.mb-win {
  position: absolute; left: 96px; top: 62px; width: 540px; height: 430px; border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 22px 60px rgba(30, 20, 60, .28);
  opacity: 0; transform: scale(.98); transition: opacity .45s ease-out, transform .45s var(--enter);
}
.mb-win.on { opacity: 1; transform: none; }
.mb-title { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; border-bottom: 1px solid #ececec; font-size: 13px; background: #f6f6f6; }
.mb-title .lights { position: absolute; left: 16px; }
.mb-field { padding: 9px 22px; border-bottom: 1px solid #efefef; font-size: 13.5px; color: #1d1d1f; }
.mb-field span { color: #8a8a8e; margin-right: 6px; }
.mb-mailbody { padding: 18px 22px; font-size: 14.5px; line-height: 1.5; color: #1d1d1f; }
.mb-mailbody p { margin: 0 0 12px; }
.mb-caret { display: inline-block; width: 1.5px; height: 17px; margin-left: 1px; vertical-align: -3px; background: #0a64d8; animation: blink 1s steps(1) infinite; }
.mb-demo.pasted .mb-caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.mb-photo { display: none; width: 196px; height: 134px; margin: 4px 0 14px; border-radius: 6px; overflow: hidden; place-items: center;
  background: radial-gradient(120% 90% at 30% 20%, #b48a62, #7d5636); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2); }
.mb-photo.on { display: grid; animation: paste .45s var(--enter) both; }
.mb-cert { position: relative; width: 132px; height: 100px; padding: 10px 12px; transform: rotate(-4deg); background: #f7f1e1; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); border: 3px double #b9a77a;
  display: flex; flex-direction: column; align-items: center; gap: 5px; font-family: ui-serif, "Iowan Old Style", Georgia, serif; color: #4a3f28; }
.mb-cert b { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mb-cert span { font-size: 12px; font-style: italic; }
.mb-cert em { width: 100%; height: 3px; border-radius: 2px; background: #ddd2b4; }
.mb-cert em.short { width: 55%; align-self: flex-start; }
.mb-cert-seal { position: absolute; right: 10px; bottom: 9px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(#d8b65a, #a8832c); }
.mb-attach {
  display: none; align-items: center; gap: 12px; width: fit-content; margin: 2px 0 14px; padding: 10px 16px 10px 10px;
  border-radius: 10px; background: #f4f4f6; box-shadow: inset 0 0 0 1px #e6e6ea;
}
.mb-attach.on { display: flex; animation: paste .45s var(--enter) both; }
@keyframes paste { from { opacity: 0; transform: scale(.9); } }
.mb-attach img { width: 44px; height: 56px; object-fit: cover; object-position: top; border-radius: 3px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 2px 6px rgba(0, 0, 0, .1); }
.mb-attach span { display: flex; flex-direction: column; font-size: 13px; }
.mb-attach b { font-weight: 600; }
.mb-attach em { font-style: normal; color: #8a8a8e; font-size: 12px; }

.mb-chat { position: absolute; left: 0; right: 0; top: 46px; bottom: 58px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.mb-them { align-self: flex-start; max-width: 70%; margin: 0; padding: 9px 14px; border-radius: 18px; background: #e9e9eb; font-size: 14.5px; line-height: 1.35; color: #1d1d1f; }
.mb-delivered { align-self: flex-end; font-size: 11px; color: #8a8a8e; opacity: 0; transition: opacity .3s .4s; }
.mb-delivered.on { opacity: 1; }
.mb-input { position: absolute; left: 18px; right: 18px; bottom: 14px; height: 32px; display: flex; align-items: center; padding: 0 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px #d9d9de; color: #a1a1a6; font-size: 13.5px; transition: box-shadow .2s, background .2s; }

.mb-me { align-self: flex-end; max-width: 70%; margin: 0; padding: 9px 14px; border-radius: 18px; background: #0a84ff; color: #fff; font-size: 14.5px; line-height: 1.35; display: none; }
.mb-me.on { display: block; animation: paste .45s var(--enter) both; }
.mb-quote { margin: 4px 0 0; padding-left: 12px; border-left: 2px solid #0a64d8; color: #6e6e73; font-size: 13.5px; }
.mb-quote b { font-weight: 600; color: #6e6e73; }
.mb-row em mark { background: none; color: #1d1d1f; font-weight: 600; }
.mb-row.sel em mark { color: #fff; }

/* Preview opens the screenshot Index found. */
.mb-preview {
  position: absolute; left: 380px; top: 84px; width: 440px; height: 440px; z-index: 3; border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 26px 70px rgba(30, 20, 60, .35);
  opacity: 0; transform: scale(.94); transition: opacity .25s ease-out, transform .35s var(--enter); pointer-events: none;
}
.mb-preview.on { opacity: 1; transform: none; }
.mb-preview .mb-title { font-size: 12.5px; }
.mb-shot { position: absolute; inset: 46px 0 0; display: grid; place-items: center; background: #e8e8ea; }
.mb-page { width: 300px; height: 380px; padding: 26px 26px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .16); color: #1d1d1f; font-family: ui-serif, "Iowan Old Style", Georgia, serif; display: flex; flex-direction: column; gap: 7px; }
.mb-page > b { font-size: 15px; font-weight: 600; text-align: center; letter-spacing: .02em; }
.mb-page > p { margin: 0 0 6px; text-align: center; font-size: 10.5px; color: #6e6e73; }
.mb-page dl { margin: 0 0 8px; display: grid; grid-template-columns: 92px 1fr; gap: 6px 8px; font-size: 11px; }
.mb-page dt { color: #6e6e73; }
.mb-page dd { margin: 0; }
.mb-page > i { height: 5px; border-radius: 3px; background: #ececee; }
.mb-page > i.short { width: 60%; }

.mb-panel {
  position: absolute; top: 32px; left: 560px; width: 360px; z-index: 4; border-radius: 12px; overflow: hidden;
  background: rgba(246, 246, 248, .9); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .22), 0 18px 50px rgba(20, 10, 50, .3);
  opacity: 0; transform: translateY(-6px); transform-origin: 50% 0; pointer-events: none;
  transition: opacity .18s ease-out, transform .25s var(--enter);
}
.mb-panel.on { opacity: 1; transform: none; }
.mb-search { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 15px; color: #1d1d1f; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.mb-search .sy { color: #8a8a8e; width: 15px; }
#mbQ.ph { color: #a1a1a6; }
#mbQ:not(.ph)::after { content: ""; display: inline-block; width: 1.5px; height: 17px; margin-left: 1px; vertical-align: -3px; background: #0a64d8; }
.mb-list { padding: 6px; display: flex; flex-direction: column; gap: 1px; min-height: 196px; }
.mb-status { display: flex; align-items: center; gap: 6px; padding: 6px 8px; font-size: 11.5px; color: #8a8a8e; }
.mb-status .sy { width: 11px; height: 11px; }
.mb-h { padding: 8px 8px 2px; font-size: 11.5px; font-weight: 600; color: #8a8a8e; }
.mb-row { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 6px; font-size: 13px; color: #1d1d1f; animation: rowIn .3s var(--enter) both; }
.mb-row > img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.mb-row > img.page { background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2); border-radius: 2px; object-fit: cover; object-position: top; width: 18px; margin: 0 2px; }
.mb-row > .sy { width: 22px; height: 13px; }
.mb-row span { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.mb-row b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-row em { font-style: normal; font-size: 11.5px; color: #8a8a8e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-row small { font-size: 11.5px; color: #b0b0b5; font-variant-numeric: tabular-nums; }
.mb-row.sel { background: #0a64d8; color: #fff; }
.mb-row.sel em, .mb-row.sel small { color: rgba(255, 255, 255, .8); }
.mb-row.ask .sy { background: var(--grad); }
.mb-row.sel.ask .sy { background: #fff; }
.mb-row.flash { animation: flash .35s ease-out; }
@keyframes flash { 40% { background: #3d8bf0; } }
.mb-foot { display: flex; align-items: center; gap: 12px; padding: 8px 12px; font-size: 11.5px; color: #8a8a8e; border-top: 1px solid rgba(0, 0, 0, .08); }
.mb-foot kbd { min-width: 0; height: auto; padding: 0; background: none; box-shadow: none; font-size: 11.5px; color: #8a8a8e; margin-right: 2px; }
.mb-foot .sy { margin-left: auto; width: 14px; height: 14px; }
.mb-hints { display: flex; gap: 12px; }
.mb-hint-alt { display: none; color: #1d1d1f; }
.mb-hint-alt kbd { color: #1d1d1f; }
.mb-foot.alt .mb-hints { display: none; }
.mb-foot.alt .mb-hint-alt { display: inline; animation: mbFade .15s ease-out; }
@keyframes mbFade { from { opacity: 0; } }


.mb-keys { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 6; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.mb-keys kbd {
  min-width: 54px; height: 54px; padding: 0 14px; border-radius: 12px; font-size: 24px; font-weight: 500; color: #fff;
  background: rgba(30, 30, 34, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .15) inset, 0 10px 30px rgba(0, 0, 0, .25);
  animation: keyIn .22s var(--enter) both;
}
.mb-keys.out kbd { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
@keyframes keyIn { from { opacity: 0; transform: translateY(8px) scale(.9); } }
.mb-hold { position: relative; max-width: 1000px; margin: 0 auto; }
.mb-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 7; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(60, 60, 67, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .2s;
}
.mb-toggle:hover { background: rgba(60, 60, 67, .42); }
.mb-toggle:focus-visible { outline: 2px solid var(--blue, #0071e3); outline-offset: 2px; }
.mb-toggle svg { width: 16px; height: 16px; fill: #fff; }
.mb-toggle .i-play, .mb-toggle.stopped .i-pause { display: none; }
.mb-toggle.stopped .i-play { display: block; }
.mb-toggle[hidden] { display: none; }

/* 4 — The real Organization window; the veil and the box are what animate. */
.sd-org { position: absolute; left: 40px; top: 49px; width: 880px; height: 462px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--shadow-window); }
.sd-org img { display: block; width: 100%; height: 100%; }
.sd-org.look { transform: scale(1.05); transition: transform 6s var(--enter); }
/* Over the list of Spaces, until Index has an answer. */
.sd-org-veil {
  position: absolute; left: 29.3%; top: 27.5%; width: 56.2%; height: 55.4%; border-radius: 12px;
  background: rgba(244, 244, 246, .72); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  opacity: 0; transition: opacity .55s ease-out;
}
.sd-org.asking .sd-org-veil { opacity: 1; }
.sd-org.thinking .sd-org-veil { background: linear-gradient(120deg, rgba(76, 141, 255, .22), rgba(154, 107, 255, .22) 38%, rgba(255, 110, 199, .22) 72%, rgba(255, 181, 107, .22)), rgba(244, 244, 246, .72); }
/* Where the app's describe-a-change box sits, over the preview bar. */
.sd-org-ask {
  position: absolute; left: 31.8%; top: 88.7%; width: 51.2%; height: 7.4%; display: flex; align-items: center; padding: 0 16px;
  border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 6px 20px rgba(0, 0, 0, .1);
  font-size: 12.5px; color: #1d1d1f; white-space: nowrap; overflow: hidden; opacity: 0; transition: opacity .3s ease-out;
}
.sd-org.asking .sd-org-ask { opacity: 1; }
.sd-org-ask .ph { color: #8a8a8e; }

/* ---------- Sizes demo ----------
   Real frames of the app. The map zooms from the block you'd double-click,
   the way Sizes does, and rings sweep in around their center. */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.sz { margin-top: 56px; }
.sz-frame {
  position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 14px; background: #fff; box-shadow: var(--shadow-window);
}
.sz-full { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .35s ease-out; }
.sz-full.on { opacity: 1; }
/* Where the map sits in the window, as parts of it. */
.sz-area { position: absolute; left: 16.25%; top: 19.86%; width: 57.19%; height: 70.69%; overflow: hidden; visibility: hidden; }
.sz-area.on { visibility: visible; }
.sz-layer { position: absolute; inset: 0; overflow: hidden; transform-origin: 0 0; transition: transform .75s var(--move), opacity .45s ease-out; }
.sz-layer img { position: absolute; left: -28.42%; top: -28.09%; width: 174.86%; height: auto; max-width: none; }
/* Movies' block on the map, filling the area; and the reverse. */
.sz-from.in { transform: translate(-115.7%, -139%) scale(2.952, 2.39); opacity: 0; }
.sz-into { transform: translate(39.21%, 58.15%) scale(.3388, .4185); opacity: 0; }
.sz-into.in { transform: none; opacity: 1; }
/* A white sheet over the rings, opening around their center. */
.sz-sweep {
  position: absolute; left: 15.47%; top: 18.4%; width: 58.79%; height: 73.61%; background: #fff; opacity: 0;
  -webkit-mask-image: conic-gradient(from 0deg at 49.9% 49.9%, transparent var(--sweep), #000 0);
          mask-image: conic-gradient(from 0deg at 49.9% 49.9%, transparent var(--sweep), #000 0);
}
.sz-sweep.go { opacity: 1; transition: --sweep 1.1s var(--move); }
.sz-cursor { position: absolute; z-index: 3; margin: 0; opacity: 0; transition: left .6s var(--move), top .6s var(--move), opacity .2s; }
.sz-cursor.on { opacity: 1; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.fact { background: var(--card); border-radius: 22px; padding: 26px; box-shadow: 0 0 0 1px var(--line); }
.fact img { width: 44px; height: 44px; margin-bottom: 18px; }
.fact .keys { margin-bottom: 22px; height: 26px; }
.fact img.thumb { width: auto; height: 44px; }
.fact img.thumb.page { border-radius: 3px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 2px 5px rgba(0, 0, 0, .12); }
.facts-3 .fact h3 { margin-top: 0; }
.rename { display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 44px; margin-bottom: 18px; font-size: 13px; }
.rename s { color: var(--dim); }
.rename span { font-weight: 600; }
.fact h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -.015em; }
.fact p { font-size: 15px; color: var(--muted); }

/* ---------- Highlights ----------
   A row of cards that runs off the right edge, the way Apple's "Get the
   highlights" does. The track bleeds full width but starts and snaps at the
   page's left edge, so the first card lines up with the text above. */
.hl { --edge: max(var(--gutter), calc((100vw - 1080px) / 2 + var(--gutter))); margin-top: clamp(64px, 8vw, 96px); }
.hl-title { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -.015em; font-weight: 700; }
.hl-track {
  display: flex; gap: 20px;
  list-style: none; margin: 28px 0 0; padding: 4px var(--edge) 34px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.hl-track::-webkit-scrollbar { display: none; }
.hl-track:focus-visible { outline: none; }
.hl-card { --c: clamp(280px, 30vw, 372px); flex: none; width: var(--c); scroll-snap-align: start; opacity: 0; transition: opacity .9s var(--enter); }
/* Inside the card, so the slide never moves what the row snaps to. */
.hl-card > * { transform: translateX(40px); transition: transform .9s var(--enter); transition-delay: inherit; }
.hl-wide { width: calc(var(--c) * 2 + 20px); }
.hl.in .hl-card { opacity: 1; }
.hl.in .hl-card > * { transform: none; }
.hl.reveal { transform: none; }
/* The picture is a small desktop: the hero's wallpaper, with the real app on it.
   Sizes are in card widths, so a screenshot keeps its crop at any card size. */
.hl-media {
  position: relative; height: calc(var(--c) * 1.183); overflow: hidden; container-type: inline-size;
  border-radius: 28px;
  background:
    radial-gradient(70% 90% at 10% 0%, rgba(76, 141, 255, .26), transparent 62%),
    radial-gradient(70% 80% at 100% 10%, rgba(255, 110, 199, .2), transparent 60%),
    radial-gradient(80% 90% at 80% 100%, rgba(255, 181, 107, .26), transparent 60%),
    radial-gradient(70% 80% at 15% 100%, rgba(154, 107, 255, .26), transparent 60%),
    #eeecf6;
  transition: box-shadow .2s;
}
.hl-track:focus-visible .hl-media { box-shadow: 0 0 0 2px var(--blue); }
/* A window runs off the right and bottom, so it reads as part of a bigger one. */
.hl-media img {
  position: absolute; left: 8.6cqw; top: 10.75cqw;
  width: calc(var(--w) * 1cqw); max-width: none; height: auto;
  border-radius: 3.6cqw 0 0 0; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .16), 0 16px 50px rgba(40, 30, 90, .24), 0 3px 10px rgba(0, 0, 0, .07);
}
/* A panel is a whole object, floating in the middle. */
.hl-float img { left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 14px; }
/* A window can rise from the bottom edge, hang from the top, or fill the width. */
.hl-rise img { left: 50%; top: auto; bottom: 0; transform: translateX(-50%); border-radius: 14px 14px 0 0; }
.hl-drop img { left: 50%; top: 40px; transform: translateX(-50%); border-radius: 14px 14px 0 0; }
.hl-edge img { left: 0; top: 40px; border-radius: 0; box-shadow: 0 -1px 0 rgba(0, 0, 0, .08), 0 -10px 40px rgba(40, 30, 90, .12); }
/* A list slides in from the right edge, big enough to read. */
.hl-slide img { top: 50%; transform: translateY(-50%); border-radius: 14px 0 0 14px; }
/* A photo fills the card. */
.hl-full img { left: 0; top: 0; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
/* Not every desktop is the same color. */
.hl-white { background: #fff; }
.hl-warm { background: radial-gradient(90% 80% at 15% 10%, rgba(255, 181, 107, .42), transparent 65%), radial-gradient(90% 90% at 90% 90%, rgba(255, 110, 199, .3), transparent 65%), #f8efe9; }
.hl-cool { background: radial-gradient(90% 90% at 10% 0%, rgba(76, 141, 255, .36), transparent 65%), radial-gradient(90% 90% at 100% 100%, rgba(154, 107, 255, .3), transparent 65%), #e9edf8; }
.hl-media.missing img { display: none; }
.hl-copy { padding: 20px 10px 0; font-size: 17px; line-height: 1.42; color: var(--muted); letter-spacing: 0; }
.hl-copy b { color: var(--text); font-weight: 600; }
.hl-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hl-dots { display: flex; gap: 10px; padding: 0 2px; }
.hl-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px;
  background: rgba(0, 0, 0, .22);
  transition: width .4s var(--move), background .2s;
}
.hl-dots button[aria-selected="true"] { width: 26px; background: rgba(0, 0, 0, .7); }
.hl-paddles { display: flex; gap: 14px; }
.hl-paddle {
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56);
  transition: background .2s, color .2s, opacity .2s;
}
.hl-paddle svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hl-paddle:hover:not(:disabled) { background: rgba(223, 223, 227, .7); color: rgba(0, 0, 0, .64); }
.hl-paddle:disabled { opacity: .42; cursor: default; }

/* ---------- AI apps ---------- */
/* One Claude window: full, split to compare, then full again.
   Tracks are minmax(0, …) so they can animate all the way to nothing. */
.cl { max-width: 1040px; margin: 56px auto 0; }
.cl-grid {
  display: grid; height: 580px;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 0fr);
  transition: grid-template-columns .9s var(--move);
}
[data-phase="split"] .cl-grid { grid-template-columns: minmax(0, 0px) minmax(0, 1fr) minmax(0, 1fr); }
[data-phase="right"] .cl-grid { grid-template-columns: minmax(0, 200px) minmax(0, 0fr) minmax(0, 1fr); }
[data-phase="split"] .ag-side { padding: 0; border-right-width: 0; opacity: 0; }
.cl-win .ag-side { transition: padding .9s var(--move), opacity .4s ease-out; }
.cl-pane { min-width: 0; min-height: 0; overflow: hidden; transition: opacity .45s ease-out, box-shadow .4s; }
[data-phase="split"] .cl-pane[data-side="on"] { box-shadow: inset 1px 0 0 #e3e1d7; }
[data-phase="right"] .cl-pane[data-side="off"], [data-phase="full"] .cl-pane[data-side="on"] { opacity: 0; }
.cl-in { display: flex; flex-direction: column; height: 100%; min-width: 280px; padding: 0 24px 18px; }
.cl-head { display: flex; align-items: center; justify-content: space-between; flex: none; height: 0; opacity: 0; overflow: hidden; transition: height .6s var(--move), opacity .4s ease-out; }
[data-phase="split"] .cl-head { height: 44px; opacity: 1; }
.cl-head b { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #3d3d3a; }
.cl-head b img { width: 16px; height: 16px; }
.cl-head .clock { font-size: 20px; }
.cl-pane[data-side="off"] .clock { color: #d9453b; }
.cl-pane[data-side="on"] .clock { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl-win:not([data-phase="split"]) .duel-verdict { display: none; }
[data-phase="split"] .ag-composer { display: none; }
.cl-win .ag-user { font-size: 15px; }
[data-phase="split"] .ag-user { font-size: 14px; max-width: 88%; }
.duel-steps { display: flex; flex-direction: column; gap: 6px; }
.duel-step {
  display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%;
  padding: 6px 11px; border-radius: 9px; font-size: 12.5px; color: #5e5d59;
  background: #fff; box-shadow: inset 0 0 0 1px #e8e6dc; animation: rowIn .35s var(--enter) both;
}
.duel-step b { font-weight: 500; color: #29261b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duel-step em { font-style: normal; color: var(--dim); white-space: nowrap; }
.duel-step.skip { background: #fdf3ee; box-shadow: inset 0 0 0 1px #f3d9cc; color: #a2492b; }
.duel-step.skip em { color: #c0775c; }
.duel-step .ico { width: 16px; height: 16px; flex: none; text-align: center; line-height: 16px; }
.duel-step.busy .ico { border: 2px solid #d8d5ca; border-top-color: #8a877d; border-radius: 50%; width: 12px; height: 12px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.duel-files { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 2px 0 2px 4px; }
.duel-file { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 5px 8px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #e8e6dc; font-size: 12px; animation: rowIn .35s var(--enter) both; }
.duel-file img { width: 20px; height: 24px; object-fit: contain; flex: none; }
.duel-file img.page { background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); border-radius: 2px; }
.duel-file span { min-width: 0; display: flex; flex-direction: column; }
.duel-file b { font-weight: 500; color: #29261b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duel-file em { font-style: normal; color: var(--dim); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duel-file.star { box-shadow: inset 0 0 0 1.5px #b9a6ff; background: #f8f5ff; }
.duel-answer { font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 15px; line-height: 1.5; color: #29261b; }
.duel-answer b { font-weight: 600; }
.cl-pane[data-side="off"] .duel-answer { color: #5e5d59; }
.duel-verdict {
  display: flex; align-items: center; gap: 10px; flex: none; margin: 0 -24px -18px; padding: 12px 24px 14px;
  font-size: 14px; font-weight: 500; border-top: 1px solid #ebe9e1;
  opacity: 0; transform: translateY(4px); transition: opacity .4s ease-out, transform .4s var(--enter);
}
.duel-verdict.on { opacity: 1; transform: none; }
.duel-verdict i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 12px; color: #fff; flex: none; }
.cl-pane[data-side="off"] .duel-verdict { color: #a2492b; }
.cl-pane[data-side="off"] .duel-verdict i { background: #d9453b; }
.cl-pane[data-side="on"] .duel-verdict { color: #29261b; }
.cl-pane[data-side="on"] .duel-verdict i { background: var(--grad); }
.duel-tag { text-align: center; margin: 36px 0 0; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.duel-replay { margin-left: 10px; vertical-align: middle; font: inherit; font-size: 14px; font-weight: 500; color: var(--i1); background: none; border: 0; cursor: pointer; padding: 4px 6px; }
.duel-replay:hover { text-decoration: underline; }
.ag-badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 12px 5px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #3d3d3a; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1.5px solid transparent; animation: rowIn .4s var(--enter) both; }
.ag-badge img { width: 16px; height: 16px; }

.ag-win { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-window); background: #fff; }
.ag-bar { height: 38px; display: flex; align-items: center; padding: 0 14px; }
.ag-side { padding: 6px 10px; font-size: 13px; overflow: hidden; }
.ag-side > div { padding: 6px 10px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #3d3d3a; }
.ag-side > div.on { background: rgba(0, 0, 0, .06); font-weight: 500; }
.ag-side .ag-new { font-weight: 600; margin-bottom: 6px; }
.ag-side h6 { margin: 14px 10px 4px; font-size: 11px; font-weight: 600; color: var(--dim); }
.ag-thread { flex: 1; min-height: 0; overflow: hidden; padding: 14px 0 10px; display: flex; flex-direction: column; gap: 14px; }
.ag-hello { margin: auto; display: flex; align-items: center; gap: 12px; font-size: 30px; letter-spacing: -.02em; color: #3d3d3a; }
.ag-hello img { width: 32px; height: 32px; }
[data-skin="claude"] .ag-hello { font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-weight: 400; }
.ag-user { align-self: flex-end; max-width: 78%; padding: 10px 16px; border-radius: 18px; font-size: 15px; }
.ag-tools { display: flex; flex-direction: column; gap: 6px; }
.ag-tool {
  display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%;
  padding: 7px 12px; border-radius: 10px; font-size: 13px; color: #5e5d59;
  animation: rowIn .35s var(--enter) both;
}
.ag-tool b { font-weight: 500; color: #29261b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-tool em { font-style: normal; color: var(--dim); }
.ag-tool em.add { color: #1f8a4c; font-weight: 600; }
.ag-tool .chev { color: var(--dim); margin-left: 2px; }
.ag-mark { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.ag-edit { width: 16px; text-align: center; flex: none; }
.ag-answer { font-size: 16px; line-height: 1.55; color: #29261b; }
.ag-answer p + p, .ag-answer p + ul { margin-top: 10px; }
.ag-answer ul { margin: 8px 0 0; padding-left: 20px; }
.ag-answer li { margin-bottom: 6px; }
.ag-answer b { font-weight: 600; }
.ag-sources { display: flex; flex-wrap: wrap; gap: 8px; animation: rowIn .4s var(--enter) both; }
.ag-sources span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 10px; font-size: 12.5px; }
.ag-sources img { width: 22px; height: 26px; object-fit: contain; }
.ag-sources img.page { background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); border-radius: 2px; }
.ag-composer { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 10px 0 18px; border-radius: 18px; font-size: 15px; }
.ag-input { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-input.ph { color: #9a9890; }
.ag-send { width: 32px; height: 32px; border-radius: 10px; flex: none; }

/* Claude: warm paper, serif replies, the orange send button. */
.ag-win[data-skin="claude"] { background: #faf9f5; }
[data-skin="claude"] .ag-side { background: #f5f4ee; border-right: 1px solid #ebe9e1; }
[data-skin="claude"] .ag-bar { background: #f5f4ee; }
[data-skin="claude"] .ag-user { background: #f0eee6; color: #29261b; }
[data-skin="claude"] .ag-tool { background: #fff; box-shadow: inset 0 0 0 1px #e8e6dc; }
[data-skin="claude"] .ag-answer { font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 16.5px; }
[data-skin="claude"] .ag-sources span { background: #fff; box-shadow: inset 0 0 0 1px #e8e6dc; }
[data-skin="claude"] .ag-composer { background: #fff; box-shadow: 0 0 0 1px #e3e1d7, 0 4px 14px rgba(60, 50, 20, .06); }
[data-skin="claude"] .ag-send { background: #d97757 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 13V3M3.5 7.5 8 3l4.5 4.5'/%3E%3C/svg%3E") center / 16px no-repeat; }

.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 40px; font-size: 15px; font-weight: 500; }
.logos span { display: inline-flex; align-items: center; gap: 8px; }
.logos img { width: 30px; height: 30px; }
.logos img.mark { width: 22px; height: 22px; margin: 4px; }
.logos .more { color: var(--dim); font-weight: 400; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }

/* ---------- Your AI ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.plan { display: flex; flex-direction: column; background: var(--card); border-radius: 22px; padding: 26px; box-shadow: 0 0 0 1px var(--line); }
.plan > img { width: 44px; height: 44px; margin-bottom: 16px; }
.plan > img.mark { width: 34px; height: 34px; margin: 5px 5px 21px; }
.plan b { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.plan p { font-size: 15px; color: var(--muted); flex: 1; }
.plan em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--i-solid); margin-top: 18px; }
.plan-none { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; max-width: 1000px; margin: 20px auto 0; }
.plan-none > div { display: flex; flex-direction: column; gap: 6px; }
.plan-none p { margin: 0; }
.plan-none em { margin: 0; }

/* ---------- Privacy ---------- */
.promises { display: grid; gap: 12px; margin-top: 48px; }
.promise { background: var(--card); border-radius: 18px; padding: 20px 24px; font-size: 17px; color: var(--muted); box-shadow: 0 0 0 1px var(--line); }
.promise b { color: var(--text); font-weight: 600; }

/* ---------- Final ---------- */
.final { text-align: center; padding: clamp(100px, 13vw, 160px) var(--gutter); background: linear-gradient(var(--bg), #fff); }
.final-mark { margin: 0 auto 34px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--dim); font-size: 12.5px; background: var(--tint); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 14px; color: var(--muted); }
.footer nav { display: flex; gap: 20px; }
.footer nav a:hover { color: var(--text); }

/* Small icon-and-text rows: what a purchase needs and includes. */
.meta { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: var(--muted); }
.meta li { display: flex; align-items: center; gap: 7px; }
.meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Get Index: the closing card, as on BZG's app pages ---------- */
.get-section { padding-top: clamp(70px, 9vw, 110px); }
/* The heading bzgapps.com uses above each app's buy card: the app's icon
   beside "Get <app>", set left over the card's edge. */
.get-title { display: flex; align-items: center; gap: .26em; text-align: left; font-size: clamp(30px, 4vw, 44px); }
/* The icon's pale tile disappears into the page, so what reads as its left
   edge is the folder, a tenth of the way in: pull that onto the card's edge. */
.get-title img { flex: none; width: 1.5em; height: 1.5em; margin-left: -.147em; }
.get-sub { max-width: none; margin: 14px 0 0; text-align: left; }
.get-section .get { margin-top: 28px; }
.get {
  position: relative; overflow: hidden; margin-top: 48px; min-height: 400px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px;
  border-radius: 28px;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(255, 110, 199, .38), transparent 62%),
    radial-gradient(70% 90% at 70% 100%, rgba(154, 107, 255, .42), transparent 62%),
    radial-gradient(60% 80% at 30% 100%, rgba(76, 141, 255, .28), transparent 62%),
    #f1f0fa;
}
.get-copy { padding: 44px 0 44px 48px; display: flex; flex-direction: column; align-items: flex-start; }
.get-copy h3 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; font-weight: 700; line-height: 1.1; }
.get-copy > p { margin-top: 6px; font-size: 17px; color: var(--muted); }
.get-copy .get-from { margin-top: 22px; font-size: 24px; font-weight: 600; color: var(--text); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.get-meta { flex-direction: column; gap: 10px; margin-top: 18px; font-size: 15px; color: var(--text); }
.get-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 30px; }
.get-actions .btn-lg { height: 46px; padding: 0 24px; font-size: 16px; }
.btn-quiet { background: rgba(0, 0, 0, .07); color: var(--text); }
.btn-quiet:hover { background: rgba(0, 0, 0, .11); }
.get-shot { position: relative; }
.get-shot img { position: absolute; left: 0; top: 56px; width: 150%; max-width: none; height: auto; border-radius: 11px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .22), 0 30px 80px rgba(40, 30, 90, .28); }

/* ---------- The bzgapps.com bar ---------- */
.bzg-footer { background: #fff; border-top: 1px solid var(--line); padding: 30px 0 36px; font-size: 14px; }
.bzg-cols { display: grid; grid-template-columns: minmax(0, 1.9fr) 1.1fr 1fr .8fr; gap: 28px 36px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.bzg-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.bzg-footer h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.bzg-footer a { color: var(--text); }
.bzg-app { display: flex; align-items: center; gap: 14px; padding: 3px 0; font-size: 16px; }
.bzg-app img { flex: none; width: 40px; height: 40px; }
/* Mac icons carry their own margin; a full-bleed mark is drawn to the same
   visible size, and a square one gets the same corners. */
.bzg-app img.flat { transform: scale(.82); }
.bzg-app img.round { border-radius: 23%; }
.bzg-app span { min-width: 0; }
.bzg-app i { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); }
.bzg-retired { display: flex; align-items: center; gap: 8px; }
.bzg-retired img { width: 24px; height: 24px; }
.bzg-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.bzg-base small { font-size: 12.5px; color: var(--muted); }
.bzg-base img { display: block; width: 34px; height: 20px; }

/* Narrower: Products moves to its own row, two across, with the link lists
   in three columns beneath. On a phone everything stacks, lists side by side. */
@media (max-width: 1100px) {
  .bzg-cols { grid-template-columns: repeat(3, 1fr); }
  .bzg-cols nav:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .bzg-cols nav:first-child h2 { grid-column: 1 / -1; margin-bottom: 0; }
}
@media (max-width: 640px) {
  .bzg-footer { font-size: 15px; padding-top: 26px; }
  .bzg-cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .bzg-cols nav:first-child { grid-template-columns: 1fr; gap: 14px; }
  .bzg-cols nav:last-child { grid-column: 1 / -1; }
  .bzg-footer nav { gap: 12px; }
  .bzg-app { gap: 12px; }
  .bzg-base { align-items: flex-start; }
  .bzg-base small { line-height: 1.4; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .orbit { display: none; }
}
@media (max-width: 820px) {
  .get { grid-template-columns: 1fr; gap: 0; }
  .get-copy { padding: 34px 30px 0; }
  .get-actions { margin-top: 0; }
  .get-shot { height: 300px; margin-top: 30px; }
  .get-shot img { left: 30px; top: 0; width: 130%; }
  .nav-links { display: none; }
  .race, .facts, .plans, .pillars { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .pillars { gap: 22px; margin-top: 40px; }
}
@media (max-width: 640px) {
  .get { border-radius: 22px; }
  .get-copy { padding: 26px 22px 0; }
  .get-shot { height: 220px; }
  .get-shot img { left: 22px; width: 170%; }
  .duel-files { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .finder { margin-top: 36px; padding-top: 0; }
  .field { height: 56px; padding: 0 16px; border-radius: 16px; }
  .field input { font-size: 18px; }
  .kbd { display: none; }
  .results { min-height: 380px; }
  .res { gap: 11px; padding: 8px; }
  .res-src span { display: none; }
  .try button { font-size: 13px; }
  .facts { grid-template-columns: 1fr; }
  .lane { padding: 22px; }
  .ask-a { font-size: 18px; }
  .sd-tabs button { padding: 0 12px 0 6px; font-size: 13px; }
  .cl-grid { height: 760px; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 0fr); transition: grid-template-rows .9s var(--move); }
  [data-phase="split"] .cl-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  [data-phase="right"] .cl-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 0fr) minmax(0, 1fr); }
  .cl-win .ag-side { display: none; }
  .cl-in { min-width: 0; padding: 0 14px 14px; }
  [data-phase="split"] .cl-pane[data-side="on"] { box-shadow: inset 0 1px 0 #e3e1d7; }
  .duel-verdict { margin: 0 -14px -14px; padding: 10px 14px; font-size: 13px; }
  .plan-none { grid-template-columns: 1fr; gap: 12px; }
  .hl-track { gap: 14px; }
  .hl-card { --c: min(310px, 82vw); }
  .hl-wide { width: var(--c); }
  .hl-media { border-radius: 24px; }
  .hl-media img { width: calc(var(--wp, var(--w)) * 1cqw); }
  .hl-wide img { left: 8.6cqw; top: 10.75cqw; bottom: auto; transform: none; border-radius: 12px 0 0 0; }
  .hl-wide .hl-whole img { left: 50%; top: 50%; width: 92cqw; transform: translate(-50%, -50%); border-radius: 10px; }
  .hl-dots { display: none; }
  .hl-controls { justify-content: flex-end; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity .4s ease-out; }
  .orb .float, .caret, .field.thinking::before { animation: none !important; }
  .res, .answer, .sd-icons .sd-tile { animation: none !important; }
  .hl-track { scroll-behavior: auto; }
  .sd-org.look { transform: none; transition: none; }
  .sz-layer, .sz-sweep.go { transition: opacity .3s ease-out; }
  .sz-from.in, .sz-into { transform: none; }
  .hl-card { transition: opacity .4s ease-out; }
  .hl-card > * { transform: none; transition: none; }
  .cite, .ask-trail span { transition: opacity .2s ease-out !important; transform: none !important; }
  .cl-grid, .cl-head, .cl-win .ag-side { transition: none; }
}
