/* adswork landing — "Fresco" system
   sky + plaster + ink. Archivo (expanded for display), Gloock only for the
   letter swaps in the wordmark and for painting captions. */

:root {
  --sky-1: #6f9bc0;
  --sky-2: #9fc0da;
  --sky-3: #d9e6ef;
  --plaster: #f3f3ef;
  --paper: #ffffff;
  --ink: #141414;
  --ink-2: #5a5c61;
  --ink-3: #8c8f95;
  --line: rgb(20 20 20 / 0.1);
  --lapis: #2b4aa8;
  --night: #120f0c;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --swap: "Gloock", "Didot", "Times New Roman", serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --u: min(.88vw, 1.2vh); /* composition unit for scenes */
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Archivo", sans-serif;
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--plaster); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--lapis); color: #fff; }
:focus-visible { outline: 2px solid var(--lapis); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.layer { will-change: transform; }

/* ---------- type ---------- */
.g { font-family: var(--swap); font-weight: 400; font-stretch: 100%; }
.h1, .h2 {
  font-family: var(--sans); font-weight: 800; font-stretch: 112%;
  letter-spacing: -0.035em; line-height: 0.95; margin: 0; text-wrap: balance;
}
.h1 { font-size: clamp(48px, 7vw, 112px); }
.h2 { font-size: clamp(38px, 4.6vw, 76px); max-width: 13ch; }
.body { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 22px 0 0; }
.on-dark { color: #fff; }
.body.on-dark { color: rgb(255 255 255 / 0.78); }
.step {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px;
  border: 1px solid currentColor; border-radius: 50%;
  font-family: var(--swap); font-size: 17px; line-height: 1; opacity: .8;
}
.caption { font-family: var(--swap); font-size: 15px; line-height: 1.3; color: var(--ink-2); margin: 0; }
.caption.on-dark { color: rgb(255 255 255 / .7); }

/* ---------- liquid glass ----------
   Fallback everywhere: frosted glass. In Chromium, liquid-glass.js gives each
   surface its own edge-refraction filter (--lg-filter) and the glass turns clear. */
.glass, .btn-glass, .btn-clear { --lg-blur: 3px; --lg-sat: 1.5; --tint: rgb(255 255 255 / .12); }
.glass {
  position: relative; isolation: isolate;
  background: rgb(255 255 255 / .34);
  -webkit-backdrop-filter: blur(22px) saturate(1.9); backdrop-filter: blur(22px) saturate(1.9);
  box-shadow:
    inset 0 0 0 0.5px rgb(255 255 255 / .55),
    inset 1.5px 1.5px 1px -0.5px rgb(255 255 255 / .95),
    inset -1px -1px 1px -0.5px rgb(255 255 255 / .5),
    inset 0 0 28px rgb(255 255 255 / .1),
    inset 0 -8px 16px -12px rgb(0 20 50 / .22),
    0 14px 40px -12px rgb(16 32 56 / .35),
    0 2px 6px -2px rgb(16 32 56 / .12);
}
.lg-on .glass, .lg-on .btn-glass, .lg-on .btn-clear {
  -webkit-backdrop-filter: var(--lg-filter, blur(0)) blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(1.05);
          backdrop-filter: var(--lg-filter, blur(0)) blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(1.05);
}
.lg-on .glass { background: var(--tint); }
/* Two lights, both round whatever the element's shape: a soft sheen on the
   surface, and a bright rim that catches the light on the side facing the pointer. */
.glass::after, .btn-glass::after, .btn-clear::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle 150px at var(--lx, 28%) var(--ly, -10%), rgb(255 255 255 / .2), rgb(255 255 255 / 0) 70%);
}
.glass::before, .btn-glass::before, .btn-clear::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; padding: 1.75px;
  background:
    radial-gradient(circle 200px at var(--lx, 28%) var(--ly, -10%), #fff, rgb(255 255 255 / 0) 75%),
    linear-gradient(135deg, rgb(255 255 255 / .55), rgb(255 255 255 / .06) 38%, rgb(255 255 255 / .06) 62%, rgb(255 255 255 / .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass.dark {
  color: #fff; --tint: rgb(24 18 14 / .34); --lg-blur: 7px;
  background: rgb(30 24 20 / .55);
  box-shadow:
    inset 0 0 0 0.5px rgb(255 255 255 / .28),
    inset 1.5px 1.5px 1px -0.5px rgb(255 255 255 / .6),
    inset -1px -1px 1px -0.5px rgb(255 255 255 / .22),
    inset 0 0 30px rgb(255 255 255 / .04),
    0 30px 70px -20px rgb(0 0 0 / .7);
}
.glass.dark::after { background: radial-gradient(circle 150px at var(--lx, 28%) var(--ly, -10%), rgb(255 255 255 / .11), rgb(255 255 255 / 0) 70%); }
/* panels that carry reading text get a little more body */
.glass.panelish { --tint: linear-gradient(180deg, rgb(255 255 255 / .5), rgb(255 255 255 / .34)); --lg-blur: 9px; }

/* ---------- buttons, forms ---------- */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-family: var(--ui); font-weight: 600; font-size: 15px; padding: 13px 22px; letter-spacing: -0.01em;
  transition: transform .35s var(--ease-spring), filter .2s, background .2s;
}
.btn:active { transform: scale(.96); }
.btn-glass {
  color: #fff; --tint: linear-gradient(180deg, rgb(40 40 44 / .86), rgb(8 8 10 / .9)); --lg-blur: 2px;
  background: linear-gradient(180deg, rgb(52 52 58 / .86), rgb(12 12 14 / .92));
  -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6);
  box-shadow:
    inset 0 0 0 0.5px rgb(255 255 255 / .3),
    inset 1.5px 1.5px 1px -0.5px rgb(255 255 255 / .7),
    inset -1px -1px 1px -0.5px rgb(255 255 255 / .25),
    0 10px 26px -10px rgb(0 0 0 / .55);
}
.lg-on .btn-glass { background: var(--tint); }
.btn-glass:hover { filter: brightness(1.2); transform: translateY(-1px) scale(1.015); }
.btn-glass.light { color: var(--ink); --tint: rgb(255 255 255 / .74); background: rgb(255 255 255 / .86); }
.btn-clear {
  color: inherit; --tint: rgb(255 255 255 / .08); background: rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / .35), inset 1.5px 1.5px 1px -0.5px rgb(255 255 255 / .6), inset -1px -1px 1px -0.5px rgb(255 255 255 / .25);
}
.lg-on .btn-clear { background: var(--tint); }
.btn-clear:hover { filter: brightness(1.15); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-xs { padding: 8px 13px; font-size: 13px; }

.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgb(120 120 128 / .14); box-shadow: inset 0 1px 1.5px rgb(0 0 0 / .08); }
.seg button {
  border: 0; background: none; cursor: pointer; border-radius: 999px; padding: 6px 11px;
  font-family: var(--ui); font-size: 12.5px; font-weight: 600; color: rgb(20 20 20 / .55); font-variant-numeric: tabular-nums;
  transition: background .25s, color .25s, box-shadow .25s;
}
.seg button[aria-pressed="true"] {
  color: var(--ink); background: rgb(255 255 255 / .9);
  box-shadow: inset 1px 1px 1px -0.5px #fff, inset 0 0 0 0.5px rgb(255 255 255 / .9), 0 2px 8px rgb(0 0 0 / .14), 0 0 0 0.5px rgb(0 0 0 / .05);
}

.waitlist {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 470px;
  border-radius: 999px; padding: 6px;
}
.waitlist input { flex: 1 1 160px; min-width: 0; border: 0; outline: none; background: none; padding: 10px 16px; font-family: var(--ui); font-size: 16px; color: var(--ink); }
.waitlist input::placeholder { color: rgb(20 20 20 / .45); }
.form-msg { flex-basis: 100%; margin: 0; padding: 4px 16px 8px; font-family: var(--ui); font-size: 14px; }
.form-msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg.ok { color: #14603a; }
.form-msg.err { color: #9b1f1f; }
.waitlist.has-msg { border-radius: 26px; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; padding: 0 var(--gutter); pointer-events: none; }
.nav-inner {
  --tint: rgb(255 255 255 / .2); --lg-sat: 1.25; --lg-blur: 4px; --lg-refract: 1.7;
  transition: color .35s, background .35s;
  pointer-events: auto; max-width: 1180px; margin: 0 auto; height: 58px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 8px 0 22px;
}
.logo { font-weight: 800; font-stretch: 112%; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; line-height: 1; }
.logo .g { font-size: 1.08em; }
.nav-links { display: flex; gap: 6px; font-family: var(--ui); font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; color: rgb(20 20 20 / .7); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: rgb(255 255 255 / .35); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav.on-dark .nav-inner { --tint: rgb(24 18 14 / .42); color: #fff; box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / .25), inset 1.5px 1.5px 1px -0.5px rgb(255 255 255 / .55), inset -1px -1px 1px -0.5px rgb(255 255 255 / .2), 0 14px 40px -12px rgb(0 0 0 / .5); }
.nav.on-dark .nav-links a { color: rgb(255 255 255 / .78); }
.nav.on-dark .nav-links a:hover { color: #fff; background: rgb(255 255 255 / .12); }
.nav.on-dark .seg { background: rgb(255 255 255 / .12); }
.nav.on-dark .seg button { color: rgb(255 255 255 / .6); }
.nav.on-dark .seg button[aria-pressed="true"] { color: var(--ink); }
.nav.on-dark .btn-glass { --tint: rgb(255 255 255 / .9); color: var(--ink); }

/* ---------- sky ---------- */
.sky { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%); }
.sky-pale { background: linear-gradient(180deg, #a9c6dc 0%, #cfdeea 60%, #eef2f3 100%); }
.sky-dawn { background: linear-gradient(180deg, #7ea4c4 0%, #c3d4e0 50%, #f1e4d3 100%); }
.plaster { background: var(--plaster); }

/* ---------- hero ---------- */
.s-hero { position: relative; height: max(100svh, 720px); overflow: hidden; }
.s-hero > .layer { position: absolute; pointer-events: none; }
.cloud-a { width: 46vw; left: -10vw; top: 20%; opacity: .95; }
.cloud-b { width: 44vw; right: -10vw; top: 6%; opacity: .9; }
.wordmark {
  left: 0; right: 0; top: 13vh; margin: 0; text-align: center; color: #fff;
  font-weight: 800; font-stretch: 115%; font-size: min(16.2vw, 31vh);
  line-height: .8; letter-spacing: -0.045em; white-space: nowrap;
}
.wordmark .g { font-size: 1.06em; letter-spacing: -0.02em; }
.hero-woman { height: min(82vh, 150vw); width: auto; max-width: none; left: 50%; bottom: 0; transform: translateX(-46%); }
.cloud-front { width: 130vw; max-width: none; left: -12vw; bottom: -17vh; opacity: .97; }
.hero-foot {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(22px, 5vh, 52px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--gutter);
}
.hero-copy { max-width: 440px; }
.lede { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 18px; color: var(--ink); }
.caption-hero { max-width: 15em; text-align: right; }

/* ---------- painting sections ---------- */
.painting { position: relative; background: var(--night); color: #fff; padding: clamp(96px, 12vw, 180px) 0; overflow: hidden; }
.painting .wrap { max-width: 1680px; }
.pgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.pgrid-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ptext .caption { margin-top: 36px; }
.art { position: relative; margin: 0; }
.frame { position: relative; overflow: hidden; border-radius: 3px; background: #1d1611; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .04); }
.f-stanczyk { aspect-ratio: 4 / 3; }
.f-calling { aspect-ratio: 16 / 9; }
.inner { position: absolute; inset: -6%; }
.inner > .layer { position: absolute; }
.plate { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jester { left: 22.67%; top: 10.27%; width: 44.33%; }
.group { left: 11%; bottom: -2%; width: 80%; }
.beam { inset: 0; background: linear-gradient(118deg, transparent 50%, rgb(255 226 170 / .14) 60%, transparent 72%); mix-blend-mode: screen; pointer-events: none; }

.browser { border-radius: 12px; overflow: hidden; background: #dfe1e5; box-shadow: 0 50px 100px -30px rgb(0 0 0 / .85), 0 0 0 1px rgb(255 255 255 / .06); }
.browser .frame { border-radius: 0; box-shadow: none; }
.chrome { display: flex; align-items: flex-end; gap: 10px; height: 42px; padding: 0 10px 0 14px; background: #dfe1e5; }
.lights { display: flex; gap: 7px; align-self: center; flex: none; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #c4c7cc; }
.tabstrip { display: flex; flex: 1; min-width: 0; height: 34px; }
.btab {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 7px;
  padding: 0 10px; border-radius: 9px 9px 0 0; font-size: 12px; color: #3c4043; white-space: nowrap;
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .55s var(--ease);
  transition-delay: calc(var(--i) * 120ms);
}
.btab + .btab::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: #b5b8bd; }
.btab b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.btab img, .btab .ico-doc, .btab .ico-sheet { width: 14px; height: 14px; flex: none; }
.btab.active { background: #fff; color: #202124; }
.btab.active::before, .btab.active + .btab::before { display: none; }
.in-view .btab { opacity: 1; transform: none; }
.urlbar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; margin: 0; background: #fff; border-bottom: 1px solid #e3e3e3; font-size: 12.5px; color: #5f6368; white-space: nowrap; overflow: hidden; }
.urlbar .lock { width: 10px; height: 11px; flex: none; border: 1.5px solid #5f6368; border-radius: 2px; border-top-width: 5px; }

.insight-wrap { position: absolute; right: -9%; top: -26%; width: min(360px, 48%); z-index: 2; }

/* problem: tools orbiting the jester */
.orbit-art { container-type: inline-size; }
.orbit-art .frame { overflow: hidden; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.jester3d { position: absolute; left: 22.67%; top: 10.27%; width: 44.33%; }
.ring-cv { position: absolute; left: -25%; top: -30%; width: 150%; height: 160%; }

/* ---------- UI fragments ---------- */
.insight { padding: 16px 16px 14px; border-radius: 26px; font-family: var(--ui); }
.insight header { display: flex; align-items: center; gap: 10px; }
.app-ico {
  width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center;
}
.app-ico img { width: 112%; height: 112%; max-width: none; object-fit: contain; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .45)); }
.ttl { display: flex; flex-direction: column; line-height: 1.15; }
.ttl b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.ttl span { font-size: 12px; color: rgb(255 255 255 / .6); }
.insight header time { margin-left: auto; align-self: flex-start; font-size: 12px; color: rgb(255 255 255 / .55); }
.insight p { margin: 12px 2px 14px; font-size: 15px; line-height: 1.42; letter-spacing: -0.012em; min-height: 4.3em; transition: opacity .35s; color: rgb(255 255 255 / .95); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; transition: opacity .35s; }
.kpis div { display: flex; flex-direction: column; gap: 3px; padding: 10px 11px; border-radius: 14px; background: rgb(255 255 255 / .08); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / .25); }
.kpis dt { font-size: 11px; color: rgb(255 255 255 / .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis dd { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; font-weight: 650; font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpis dd small { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 999px; letter-spacing: 0; }
.kpis dd small.up { color: #ffb4a8; background: rgb(255 110 90 / .18); }
.kpis dd small.good { color: #a8f0c4; background: rgb(80 210 130 / .16); }
.insight footer { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.demo { margin-left: auto; font-size: 11px; color: rgb(255 255 255 / .45); }
.swap-out { opacity: 0; }

/* ---------- connect (sticky scene) ---------- */
.s-connect { position: relative; height: 260vh; }
.sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.s-connect .head { position: relative; z-index: 3; padding-top: max(104px, 12vh); text-align: center; display: flex; flex-direction: column; align-items: center; }
.s-connect .h2 { max-width: 16ch; }
.s-connect .body { text-align: center; }
.cc { position: absolute; pointer-events: none; }
.cc-1 { width: 24vw; left: -5vw; top: 22%; }
.cc-2 { width: 15vw; right: 5vw; top: 8%; opacity: .95; }
.cc-3 { width: 22vw; left: 4vw; top: 5%; opacity: .9; }
.cc-4 { width: 13vw; left: 36vw; bottom: 1vh; opacity: .9; }
.cc-5 { width: 48vw; right: -14vw; top: 46%; }
.cc-6 { width: 72vw; left: -12vw; top: 50%; opacity: .65; }
.creation { position: absolute; z-index: 2; left: 0; right: 0; bottom: 6vh; height: calc(var(--u) * 40); }
.adam { position: absolute; width: calc(var(--u) * 40); left: calc(50% - var(--u) * 36.1); top: calc(var(--u) * 7.13); }
.adam > img:first-child { width: 100%; }
.adam-cloud { position: absolute; width: 48%; left: 22%; top: 46%; pointer-events: none; }
.god { position: absolute; width: calc(var(--u) * 52); left: calc(50% + var(--u) * 1); top: calc(var(--u) * -1.5); }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.threads .ray { fill: none; stroke: url(#rayGrad); stroke-width: 1.6; stroke-linecap: round; }
.threads .dot { fill: #fffaf0; filter: drop-shadow(0 0 6px rgb(255 240 200 / .9)); }
.flash {
  position: absolute; z-index: 1; left: 50%; top: calc(var(--u) * 13.85); width: calc(var(--u) * 26); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(255 252 240 / .95) 0%, rgb(255 238 200 / .55) 18%, rgb(255 232 190 / 0) 62%);
  opacity: var(--flash, 0); transform: scale(calc(.4 + var(--flash, 0) * .6));
}
.sources { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.src {
  --tint: rgb(255 255 255 / .8); --lg-sat: 1.2;
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 15px;
  display: grid; place-items: center;
  will-change: transform, opacity; opacity: 0;
}
.src i { width: 23px; height: 23px; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.conn-list {
  position: absolute; z-index: 4; right: var(--gutter); bottom: 6vh; width: 340px; padding: 8px; border-radius: 24px; font-family: var(--ui);
  opacity: var(--list, 0); transform: translateY(calc((1 - var(--list, 0)) * 16px));
}
.cl-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 10px; font-size: 12px; }
.cl-head b { font-size: 13px; font-weight: 600; }
.cl-head > span { display: inline-flex; align-items: center; gap: 6px; color: rgb(20 20 20 / .55); }
.live { width: 6px; height: 6px; border-radius: 50%; background: #2fb36a; box-shadow: 0 0 0 3px rgb(47 179 106 / .2); }
.conn-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.conn-list li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 8px; border-radius: 14px; font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; }
.conn-list li:nth-child(odd) { background: rgb(255 255 255 / .22); }
.conn-list .tile { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .12); flex: none; }
.conn-list .tile img { width: 14px; height: 14px; }
.cl-platform { flex: 1; min-width: 0; display: grid; gap: 4px; }
.cl-platform > b { font-size: 13.5px; font-weight: 600; }
.cl-feature { display: flex; align-items: baseline; gap: 6px; font-size: 11px; line-height: 1.35; }
.cl-feature > span { flex: 1; min-width: 0; }
.conn-list em { flex: none; font-style: normal; font-size: 10px; font-weight: 600; color: #14603a; padding: 2px 6px; border-radius: 999px; background: rgb(47 179 106 / .14); }
.conn-list em.is-pending { color: #75521b; background: rgb(181 128 43 / .13); }
.cl-note { margin: 9px 8px 5px; color: rgb(20 20 20 / .68); font-size: 11px; line-height: 1.45; }
.caption-connect { position: absolute; z-index: 4; left: var(--gutter); bottom: 6vh; }


.ad {
  position: relative; width: min(420px, 34vw, 54vh); aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden;
  transform-style: preserve-3d; background: #2a3a2c;
  box-shadow: 0 50px 90px -30px rgb(20 30 20 / .55);
  transition: aspect-ratio .6s var(--ease), width .6s var(--ease);
}
.ad.open { overflow: visible; background: transparent; box-shadow: none; }
.ly { position: absolute; inset: 0; outline: 1.5px solid transparent; outline-offset: -1px; transition: opacity .3s, outline-color .2s; }
.ly img { width: 100%; height: 100%; object-fit: cover; }
.ly-cloud img { position: absolute; width: 95%; height: auto; left: 22%; top: 8%; }
.ly-figure img { position: absolute; height: 80%; width: auto; max-width: none; left: 50%; bottom: 0; translate: -36% 0; }
.ly-head { padding: 8% 8% 0; }
.ad-head {
  margin: 0; color: #fff; font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em;
  font-size: calc(min(420px, 34vw, 54vh) * .12); line-height: .92; max-width: 7.5ch; text-wrap: balance;
  text-shadow: 0 2px 24px rgb(0 0 0 / .25);
}
.ly-cta { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 0 8% 8%; }
.ad-brand { font-family: var(--swap); color: #fff; font-size: 15px; }
.ad-btn { background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 6px 20px rgb(0 0 0 / .2); }
.ly .tag {
  position: absolute; left: 0; top: 0; translate: 0 -135%; white-space: nowrap;
  font-family: var(--ui); font-size: 11.5px; font-weight: 600; color: var(--ink); border-radius: 999px; padding: 4px 9px;
  background: linear-gradient(180deg, #fff, rgb(255 255 255 / .85)); box-shadow: inset 0 1px 0.5px #fff, 0 2px 8px rgb(0 0 0 / .14); opacity: var(--open, 0);
}
.ad.open .ly { outline-color: rgb(20 20 20 / .18); }
.ad .ly.picked { outline-color: #3862dc !important; }
.ly.hidden { opacity: 0; }

.aside { margin: 22px 0 0; font-family: var(--swap); font-size: 17px; color: var(--ink-2); }
.deliver { display: grid; gap: 10px; margin-top: 28px; max-width: 420px; }
.aep-card { display: flex; align-items: center; gap: 14px; margin-top: 0; max-width: 420px; min-width: 0; padding: 12px 14px; border-radius: 20px; font-family: var(--ui); }
.aep-ico { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #d9d6ff; background: #1f1145; box-shadow: inset 0 0 0 1.5px #9999ff; }
.aep-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aep-meta b { font-size: 15px; font-weight: 600; }
.aep-meta span { font-size: 13px; color: rgb(20 20 20 / .6); }
/* a real frame from the finished video, with a second one peeking out behind */
.vstack { position: relative; flex: none; width: 50px; height: 56px; }
.vthumb { position: absolute; left: 0; bottom: 0; width: 42px; height: 52px; overflow: hidden; border-radius: 7px; background: #2a3a2c; box-shadow: 0 0 0 0.5px rgb(0 0 0 / .2), 0 4px 10px -4px rgb(0 0 0 / .35); }
.vstack > .vthumb { left: 8px; bottom: 4px; rotate: 6deg; filter: brightness(.82); }
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vthumb .vt-fig { inset: auto; left: 50%; bottom: 0; width: auto; height: 82%; translate: -38% 0; }
.vt-play { position: absolute; left: 50%; top: 42%; translate: -50% -50%; width: 18px; height: 18px; border-radius: 50%; background: rgb(0 0 0 / .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.vt-play::after { content: ""; position: absolute; left: 7px; top: 5px; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.vt-dur { position: absolute; right: 3px; bottom: 3px; padding: 1px 3px; border-radius: 3px; background: rgb(0 0 0 / .6); color: #fff; font: 600 8.5px/1.2 var(--ui); font-variant-numeric: tabular-nums; }
.ready { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #14603a; padding: 4px 9px; border-radius: 999px; background: rgb(47 179 106 / .14); }
.aep-card.optional { opacity: .9; }
.aep-dl { margin-left: auto; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ink); position: relative; }
.aep-dl::before { content: ""; position: absolute; left: 50%; top: 8px; width: 2px; height: 10px; background: #fff; translate: -50% 0; }
.aep-dl::after { content: ""; position: absolute; left: 50%; top: 11px; width: 7px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; translate: -50% 0; rotate: 45deg; }

/* ---------- create: a studio delivery board ---------- */
.s-board {
  position: relative; color: #ecebe8;
  padding: clamp(100px, 12vw, 170px) 0 clamp(90px, 10vw, 140px);
  background:
    radial-gradient(60% 50% at 50% 38%, rgb(255 255 255 / .07), transparent 70%),
    linear-gradient(#232326, #18181a 70%, #141416);
}
.board-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.board-head .h2 { max-width: 16ch; }
.board-head .body { text-align: center; max-width: 40em; color: rgb(236 235 232 / .72); }
.board { max-width: 1180px; margin-top: clamp(56px, 7vw, 96px); }
.board-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; align-items: start; }
.board-row + .board-row { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgb(255 255 255 / .1); }
.row-label { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: rgb(236 235 232 / .9); letter-spacing: 0; }
.board-row + .board-row .row-label { margin: 0; }
.formats { display: flex; align-items: flex-end; gap: 2.2%; }
.bd { margin: 0; min-width: 0; }
.b-story { flex: 0 0 16%; } .b-main { flex: 0 0 31%; } .b-square { flex: 0 0 22%; } .b-display { flex: 1 1 0; }
.variants { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 780px; }
.bd .mini, .main-art .ad { border-radius: 6px; box-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 20px 40px -18px rgb(0 0 0 / .8); }
.cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 12px; font-size: 13px; line-height: 1.3; }
.cap b { font-weight: 600; color: #ecebe8; }
.cap span { color: rgb(236 235 232 / .5); font-variant-numeric: tabular-nums; }
.b-main .cap { position: relative; z-index: 3; }
.layers-btn { margin-left: auto; padding: 0; border: 0; background: none; color: #9ec5ff; font: inherit; font-weight: 600; cursor: pointer; }
.layers-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.layers-btn:focus-visible { outline: 2px solid #9ec5ff; outline-offset: 3px; border-radius: 2px; }
div.mini { position: relative; overflow: hidden; container-type: inline-size; background: #2a3a2c; }
.f169 { aspect-ratio: 16 / 9; } .f45 { aspect-ratio: 4 / 5; } .f11 { aspect-ratio: 1; } .f916 { aspect-ratio: 9 / 16; }
.mini .m-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini .m-fig { position: absolute; bottom: 0; left: 50%; height: 80%; width: auto; max-width: none; translate: -36% 0; }
.f916 .m-fig { height: 60%; translate: -46% 0; }
.f11 .m-fig { height: 86%; translate: -10% 0; }
.f169 .m-fig { height: 100%; left: auto; right: 4%; translate: 0 0; }
.mini .m-head { position: absolute; left: 8%; top: 8%; margin: 0; color: #fff; font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: .92; font-size: 12cqw; max-width: 8.4ch; text-shadow: 0 2px 16px rgb(0 0 0 / .25); }
.f169 .m-head { font-size: 7cqw; top: 14%; max-width: 8ch; }
.f916 .m-head { font-size: 14cqw; }
.mini .m-cta { position: absolute; left: 8%; bottom: 8%; background: #fff; color: var(--ink); font-family: var(--ui); font-weight: 700; font-size: 5cqw; padding: .55em .95em; border-radius: 999px; }
.f169 .m-cta { font-size: 3cqw; }
.v-warm .m-bg { filter: hue-rotate(-28deg) saturate(1.2) brightness(1.05); }
.v-blue { background: #2b4aa8; } .v-blue .m-bg { opacity: .22; mix-blend-mode: luminosity; } .v-blue .m-cta { background: #ffd6e7; }
.v-cream { background: #f1e4d3; } .v-cream .m-bg { opacity: 0; } .v-cream .m-head { color: #2a2018; text-shadow: none; } .v-cream .m-cta { background: #2b4aa8; color: #fff; }
.v-night { background: #141414; } .v-night .m-bg { opacity: .35; filter: grayscale(.4); } .v-night .m-head { color: #ffd6e7; }
/* the portrait ad is the real layered file */
.main-art { position: relative; perspective: 1800px; z-index: 2; }
.main-art .ad { width: 100%; aspect-ratio: 4 / 5; container-type: inline-size; }
.main-art .ad-head { font-size: 12.5cqw; max-width: 7.2ch; }
.main-art .ad-brand { font-size: 4.2cqw; }
.main-art .ad-btn { font-size: 4.4cqw; padding: .6em 1em; }
.main-art .ad.open { box-shadow: none; }
.main-art .ad.open .ly { outline-color: rgb(255 255 255 / .4); }
.main-art .ad.open .ly-head, .main-art .ad.open .ly-cta { background: rgb(255 255 255 / .06); }
.ly .anc { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
/* Figma selection around the portrait ad */
.sel { position: absolute; inset: 0; z-index: 3; pointer-events: none; outline: 1.5px solid #0d99ff; border-radius: 6px; transition: opacity .35s; }
.sel > i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid #0d99ff; border-radius: 1px; }
.sel > i:nth-child(1) { left: -4px; top: -4px; } .sel > i:nth-child(2) { right: -4px; top: -4px; }
.sel > i:nth-child(3) { left: -4px; bottom: -4px; } .sel > i:nth-child(4) { right: -4px; bottom: -4px; }
.sel-size { position: absolute; left: 50%; bottom: -30px; translate: -50% 0; padding: 3px 7px; border-radius: 4px; background: #0d99ff; color: #fff; font: 600 11.5px/1.2 var(--ui); font-variant-numeric: tabular-nums; white-space: nowrap; }
.frame-name { position: absolute; left: 0; bottom: calc(100% + 10px); font: 500 12px/1.2 var(--ui); color: rgb(236 235 232 / .55); white-space: nowrap; transition: opacity .35s; }
.figma-tag { position: absolute; z-index: 5; right: -10px; top: -18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: 999px; font: 600 13.5px/1 var(--ui); color: #1e1e1e;
  background: #fff; box-shadow: 0 10px 30px -6px rgb(0 0 0 / .55), 0 0 0 1px rgb(0 0 0 / .06); white-space: nowrap; }
.figma-tag img { width: 11px; height: 16px; }
.main-art.exploded .sel, .main-art.exploded .frame-name { opacity: 0; }
.b-main .cap { margin-top: 44px; }
.formats .bd { transition: opacity .6s; }
.formats.focus .bd:not(.b-main) { opacity: .12; }
/* labels that follow each layer as it lifts */
.notes { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.note { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 0; opacity: 0; will-change: transform; }
.note > span { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 6px 10px; border-radius: 8px; background: rgb(20 20 22 / .82); box-shadow: 0 0 0 1px rgb(255 255 255 / .12); backdrop-filter: blur(8px); }
.note b { font: 600 13px/1.15 var(--ui); color: #fff; white-space: nowrap; }
.note em { font: 400 11.5px/1.15 var(--ui); color: rgb(236 235 232 / .6); font-style: normal; white-space: nowrap; }
.note > i { width: 28px; height: 1px; background: rgb(255 255 255 / .55); position: relative; }
.note > i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #0d99ff; box-shadow: 0 0 0 2px rgb(13 153 255 / .3); }
.board-foot { margin-top: clamp(56px, 6vw, 88px); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); max-width: 1000px; margin: 0 auto; }
.trio h3 { margin: 0 0 6px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; color: #fff; }
.trio p { margin: 0; color: rgb(236 235 232 / .68); font-size: 16px; line-height: 1.5; }
.trio > div { padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .14); }
.board-foot .aside { text-align: center; margin-top: 36px; color: rgb(236 235 232 / .62); }
@media (max-width: 1000px) {
  .board-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .row-label, .board-row + .board-row .row-label { margin: 0; }
}

/* ---------- animate ---------- */
.s-animate { padding: clamp(80px, 10vw, 160px) 0 clamp(100px, 12vw, 180px); }
.animate-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.player { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.ad-anim { width: min(270px, 19vw); aspect-ratio: 9 / 16; }
.ad-anim .ly-figure img { height: 62%; translate: -44% 0; }
.ad-anim .ad-head { font-size: calc(min(270px, 19vw) * .14); }
/* After Effects style timeline, simplified */
.ae {
  --label: 184px; --c-blue: #4b8df8;
  width: 100%; border-radius: 14px; overflow: hidden; font-family: var(--ui); color: #c9c9cc;
  background: #1c1c1e; box-shadow: 0 0 0 1px rgb(255 255 255 / .04) inset, 0 40px 80px -30px rgb(10 12 20 / .6);
}
.ae-tabs { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px 0 0; background: #141415; height: 34px; }
.ae-tab { display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px; font-size: 12px; color: #e6e6e8; background: #1c1c1e; border-top: 2px solid var(--c-blue); }
.ae-comp { width: 11px; height: 9px; border-radius: 1px; background: #d9b56b; }
.aep-btn { font-size: 11.5px; font-weight: 600; color: #e6e6e8; padding: 5px 10px; border-radius: 6px; background: #2d2d31; box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .08); }
.ae-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 8px; border-bottom: 1px solid #2a2a2d; }
.tl-play { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #2d2d31; }
.tl-play i { width: 0; height: 0; border-left: 8px solid #e6e6e8; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.tl-play.playing i { width: 8px; height: 9px; border: 0; margin: 0; border-left: 3px solid #e6e6e8; border-right: 3px solid #e6e6e8; }
.ae-tc { font-size: 19px; font-weight: 600; letter-spacing: .01em; color: var(--c-blue); font-variant-numeric: tabular-nums; }
.ae-fps { font-size: 11px; color: #7d7d82; }
.tl-body { position: relative; padding-bottom: 6px; }
.tl-ruler { display: grid; grid-template-columns: var(--label) 1fr; align-items: end; height: 26px; border-bottom: 1px solid #2a2a2d; }
.ae-colhead { padding: 0 12px 6px; font-size: 11px; color: #7d7d82; }
.ae-ticks { display: flex; justify-content: space-between; padding: 0 2px 6px; font-size: 10px; color: #8d8d92; font-variant-numeric: tabular-nums; border-left: 1px solid #2a2a2d; }
.tl-row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; height: 30px; }
.tl-row:nth-child(odd) { background: #202022; }
.ae-cols { display: flex; align-items: center; gap: 7px; padding: 0 10px; height: 100%; font-size: 12.5px; color: #d5d5d8; overflow: hidden; white-space: nowrap; }
.ae-eye { width: 12px; height: 7px; flex: none; border: 1.4px solid #9a9aa0; border-radius: 50% / 60%; position: relative; }
.ae-eye::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #9a9aa0; translate: -50% -50%; }
.ae-num { width: 10px; flex: none; font-weight: 500; font-size: 11px; color: #8d8d92; text-align: right; }
.ae-lbl { width: 10px; height: 10px; flex: none; border-radius: 2px; background: var(--c); }
.ae-ico { width: 14px; flex: none; font-style: normal; font-size: 11px; font-weight: 700; color: #b9b9be; text-align: center; }
.ae-img { height: 10px; border: 1.3px solid #b9b9be; border-radius: 2px; position: relative; }
.ae-img::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 1px; height: 3px; border-top: 1.3px solid #b9b9be; transform: skewY(-25deg); }
.ae-solid { height: 10px; border-radius: 2px; background: #b9b9be; }
.ae-name { overflow: hidden; text-overflow: ellipsis; }
.bar { position: relative; height: 100%; border-left: 1px solid #2a2a2d; }
.bar::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: calc(var(--s) * 100%); right: calc((1 - var(--e)) * 100%);
  border-radius: 3px; background: var(--c); opacity: .78;
}
.bar::after { content: none; }
.tl-scrub { position: absolute; left: var(--label); right: 0; top: 0; bottom: 0; width: calc(100% - var(--label)); margin: 0; opacity: 0; cursor: ew-resize; }
.tl-head { position: absolute; top: 0; bottom: 0; left: var(--label); width: 1px; background: var(--c-blue); pointer-events: none; }
.tl-head::before { content: ""; position: absolute; top: 0; left: -5px; width: 11px; height: 12px; background: var(--c-blue); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

/* ---------- ask ---------- */
.s-ask { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 200px) 0 clamp(100px, 12vw, 180px); }
.s-ask > .layer { position: absolute; pointer-events: none; }
.a-cloud-1 { width: 40vw; left: 30vw; bottom: 2%; opacity: .85; }
.a-cloud-2 { width: 80vw; right: -20vw; top: 10%; opacity: .7; }
.philosopher { height: calc(100% - 120px); max-height: 1100px; width: auto; max-width: none; right: 2vw; bottom: 0; z-index: 1; }
.ask-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; padding-right: min(26vw, 380px); }
.mcp-url { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; border-radius: 999px; padding: 6px 6px 6px 18px; }
.mcp-url code { font-family: var(--ui); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
/* the demo chat: a real-looking app window, dressed per assistant */
.ask-demo { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.app-pick { background: rgb(255 255 255 / .55); box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / .06), 0 8px 24px -12px rgb(16 32 56 / .35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.app-pick button { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; padding: 7px 14px 7px 11px; }
.app-pick .ic { width: 15px; height: 15px; fill: currentColor; flex: none; }
.app-pick [data-bot="claude"] .ic { fill: #d97757; }
.chat {
  --bg: #faf9f5; --fg: #3d3929; --muted: #83827d; --line: #e8e5dc; --bar: #f0eee6;
  --u-bg: #f0eee6; --u-fg: #3d3929; --u-r: 14px; --bot-font: ui-serif, "Iowan Old Style", Georgia, serif; --bot-size: 15.5px;
  --in-bg: #fff; --in-r: 18px; --send: #c96442; --send-fg: #fff; --send-r: 10px;
  width: 100%; overflow: hidden; border-radius: 14px; font-family: var(--ui); color: var(--fg); background: var(--bg);
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / .18), 0 40px 80px -30px rgb(16 32 56 / .6), 0 12px 28px -16px rgb(16 32 56 / .35);
  transition: background .4s, color .4s;
}
.chat[data-app="chatgpt"] {
  --bg: #fff; --fg: #0d0d0d; --muted: #8f8f8f; --line: #ececec; --bar: #f9f9f9;
  --u-bg: #f4f4f4; --u-fg: #0d0d0d; --u-r: 22px; --bot-font: var(--ui); --bot-size: 15px;
  --in-bg: #fff; --in-r: 28px; --send: #0d0d0d; --send-fg: #fff; --send-r: 50%;
}
.chat[data-app="grok"] {
  --bg: #141414; --fg: #ececec; --muted: #8b8b8b; --line: #2a2a2a; --bar: #1b1b1b;
  --u-bg: #2a2a2a; --u-fg: #f2f2f2; --u-r: 22px; --bot-font: var(--ui); --bot-size: 15px;
  --in-bg: #1f1f1f; --in-r: 28px; --send: #f2f2f2; --send-fg: #141414; --send-r: 50%;
}
.win-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--bar); border-bottom: 1px solid var(--line); transition: background .4s, border-color .4s; }
.win-bar .lights { display: flex; }
.win-bar .lights i { width: 12px; height: 12px; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / .15); }
.win-bar .lights i:nth-child(2) { background: #febc2e; } .win-bar .lights i:nth-child(3) { background: #28c840; }
.win-title { display: flex; align-items: baseline; gap: 8px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.win-title .app-name { font-weight: 600; }
.win-title .convo { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.win-tag { justify-self: end; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.chat-body {
  height: 400px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.chat-body.scrolled { -webkit-mask: linear-gradient(transparent, #000 40px); mask: linear-gradient(transparent, #000 40px); }
.chat-body > * { flex: none; }
.chat-body > :first-child { margin-top: auto; }
.msg { max-width: 92%; animation: rise .45s var(--ease) both; }
.msg.user { align-self: flex-end; max-width: 80%; padding: 10px 15px; border-radius: var(--u-r); background: var(--u-bg); color: var(--u-fg); font-size: 15px; line-height: 1.45; }
.msg.bot { font-family: var(--bot-font); font-size: var(--bot-size); line-height: 1.55; }
.msg.bot p, .msg.bot li { animation: rise .5s var(--ease) both; animation-delay: var(--d, 0ms); }
.msg.bot p { margin: 0 0 8px; }
.msg.bot ul { margin: 0; padding-left: 20px; }
.msg.bot li + li { margin-top: 3px; }
.msg.bot b { font-weight: 650; }
.msg.bot .mk { display: block; width: 20px; height: 20px; margin-bottom: 8px; fill: #d97757; }
.tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font-size: 13px; color: var(--muted); padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); animation: rise .35s var(--ease) both; white-space: nowrap; overflow: hidden; }
.tool .tool-name { color: var(--fg); }
.tool b { font-weight: 600; }
.tool .args { overflow: hidden; text-overflow: ellipsis; }
.tool .spin { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line); border-top-color: var(--muted); animation: spin .8s linear infinite; }
.tool.done .spin { animation: none; border: 0; background: #2f9a5f; }
.chat[data-app="chatgpt"] .tool, .chat[data-app="grok"] .tool { border: 0; padding: 2px 0; border-radius: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.composer { position: relative; display: flex; align-items: center; margin: 0 14px 14px; height: 52px; padding: 13px 58px 13px 18px; border-radius: var(--in-r); background: var(--in-bg); font-size: 15px; color: var(--fg);
  box-shadow: 0 0 0 1px var(--line), 0 4px 14px -6px rgb(0 0 0 / .12); transition: background .4s, border-radius .4s; }
.cmp-line { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.composer .ph { color: var(--muted); }
.composer .ph[hidden] { display: none; }
.composer .send { position: absolute; right: 9px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: var(--send-r); background: var(--send); transition: background .4s, border-radius .4s; }
.composer .send { display: grid; place-items: center; color: var(--send-fg); }
.composer .send svg { width: 18px; height: 18px; }
.chat .caret { background: var(--fg); }
.caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--ink); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.caption-ask { position: absolute; z-index: 2; left: var(--gutter); bottom: 32px; }

/* ---------- crown (sticky scene) ---------- */
.s-crown { position: relative; height: 230vh; }
.cr-cloud-1 { position: absolute; width: 52vw; right: -14vw; top: 30%; opacity: .9; }
.cr-cloud-2 { position: absolute; width: 40vw; left: 30%; top: 4%; opacity: .7; }
.coronation { position: absolute; z-index: 2; bottom: 4vh; left: 68%; transform: translateX(-50%); width: min(56vw, 1040px, 120vh); aspect-ratio: 1800 / 902; }
/* the crown only exists below a line that runs through the dense middle of the cloud */
.crown-clip { position: absolute; z-index: 1; left: 0; width: 100%; bottom: -10%; height: 150%; overflow: hidden; pointer-events: none; }
.crown-hands {
  position: absolute; width: 18%; left: 68.1%; bottom: 70%;
  transform: translateY(calc((1 - var(--e, 0)) * -85%));
  opacity: var(--hands-o, 0);
}
.crown-woman { position: absolute; z-index: 2; left: 0; bottom: 0; width: 100%; }
.heaven { position: absolute; z-index: 4; width: 82%; max-width: none; left: calc(77.5% - 41%); bottom: 117%; pointer-events: none; }
.halo { position: absolute; z-index: 0; left: 77.5%; bottom: 20%; width: 60%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(255 238 196 / .75) 0%, rgb(255 238 196 / .25) 30%, rgb(255 238 196 / 0) 62%); opacity: var(--halo, 0); }

.crown-copy { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.crown-copy > * { max-width: 560px; }
.crown-copy .waitlist { margin-top: 32px; }
.cycle { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; counter-reset: c; font-size: 14px; font-weight: 600; }
.cycle li { counter-increment: c; display: flex; gap: 7px; align-items: baseline; }
.cycle li::before { content: counter(c); font-family: var(--swap); font-weight: 400; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { padding: 40px 0; box-shadow: 0 -1px 0 var(--line); }
.foot-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; }
.foot p { margin: 0; font-size: 13px; color: var(--ink-2); max-width: 56em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-small { grid-column: 1 / -1; font-size: 12px !important; color: var(--ink-3) !important; }

/* ---------- responsive ---------- */
@media (max-height: 820px) and (min-width: 721px) {
  :root { --u: min(.88vw, 1.1vh); }
  .s-connect .step { display: none; }
  .s-connect .head { padding-top: 88px; }
  .s-connect .body { font-size: 15px; margin-top: 12px; }
}
@media (max-width: 1180px) {
  .hero-copy { max-width: 340px; }
  .hero-woman { transform: translateX(-30%); }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .pgrid, .pgrid-rev { grid-template-columns: 1fr; gap: 48px; }
  .pgrid-rev .ptext { order: -1; }
  .ptext { max-width: 620px; }
  .insight-wrap { right: 3%; top: auto; bottom: -14%; }
  .s-monitor { padding-bottom: 180px; }
  .ask-grid { grid-template-columns: 1fr; padding-right: var(--gutter); }
  .ask-demo { width: 100%; max-width: 600px; }
  .ad { width: min(380px, 70vw, 46vh); }
  .ae { --label: 130px; }
  .animate-copy { min-width: 0; }
  .aep-card { max-width: 100%; }
  .aep-meta span { white-space: normal; }
  .animate-grid { grid-template-columns: minmax(0, 1fr); }
  .player { grid-template-columns: 1fr; justify-items: center; }
  .ad-anim { width: min(280px, 64vw); }
  .ad-anim .ad-head { font-size: calc(min(280px, 64vw) * .14); }
  .ae { max-width: 560px; }
  .s-ask { padding-top: 68svh; }
  .philosopher { top: 70px; bottom: auto; height: 58svh; right: auto; left: 50%; transform: translateX(-50%); }
  .a-cloud-2 { top: 36svh; }
  .coronation { left: 60%; width: 74vw; }
}
@media (max-width: 1080px) and (orientation: portrait) {
  :root { --u: 1.3vw; }
}
@media (max-width: 860px) {
  .wordmark { top: 14vh; font-size: 16vw; }
  .hero-woman { height: 50svh; transform: translateX(-50%); bottom: 236px; }
  .cloud-front { bottom: 90px; width: 220vw; left: -60vw; }
  .s-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 250px; background: linear-gradient(rgb(232 238 242 / 0), #e9eef1 40%); z-index: 2; }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-copy { max-width: 520px; }
  .caption-hero { display: none; }
  .coronation { left: 46%; width: 104vw; bottom: 150px; }

  .crown-copy { z-index: 5; }
  .crown-copy { justify-content: flex-start; padding-top: 88px; }
  .crown-copy .waitlist { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: 22px; max-width: none; margin: 0; }
  .s-crown .sticky::after { content: ""; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 190px; background: linear-gradient(rgb(241 228 211 / 0), #f1e4d3 55%); pointer-events: none; }
  .cycle { display: none; }
}
@media (max-width: 720px) {
  .formats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; align-items: end; }
  .b-main { grid-column: 1 / -1; order: -1; width: 82%; justify-self: center; }
  .b-display { grid-column: 1 / -1; }
  .variants { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .layers-btn { margin-left: 0; flex-basis: 100%; margin-top: 4px; }
  .figma-tag { right: -6px; }
  .note > i { width: 14px; }
  .trio { grid-template-columns: 1fr; }
  :root { --u: 1.6vw; }
  body { font-size: 16px; }
  .nav { top: 10px; padding: 0 12px; }
  .nav-inner { height: 52px; padding: 0 6px 0 18px; }
  .nav .btn-sm { display: none; }
  .waitlist { border-radius: 28px; }
  .waitlist .btn { width: 100%; }
  .painting { padding: 88px 0 72px; }
  .btab { padding: 0 7px; justify-content: center; }
  .btab b { display: none; }
  .btab.active b { display: block; }
  .btab.active { flex: 3 1 0; }
  .lights { display: none; }
  .urlbar { font-size: 11px; }
  .insight-wrap { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -36px; padding: 0 12px; }
  .s-monitor { padding-bottom: 72px; }
  .s-connect { height: 220vh; }
  .creation { bottom: calc(20vh - var(--drop, 0px)); }
  .s-connect .step { display: none; }
  .s-connect .head { padding-top: 84px; }
  .s-connect .body { font-size: 15px; line-height: 1.45; margin-top: 10px; }
  .conn-list { left: 50%; right: auto; translate: -50% 0; bottom: 3vh; width: min(320px, 90vw); }
  .insight { border-radius: 22px; }
  .caption-connect { display: none; }
  .cc-1 { top: 44%; width: 30vw; }
  .cc-3 { width: 26vw; top: 4%; }
  .cc-2 { width: 20vw; }
  .src { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; }
  .src i { width: 18px; height: 18px; }
  .ad-head { font-size: calc(min(380px, 70vw, 46vh) * .12); }
  .chat-body { height: 380px; padding: 18px 16px 14px; }
  .win-tag { display: none; }
  .win-bar { grid-template-columns: auto 1fr; }
  .s-crown .h1 { font-size: 40px; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .s-connect, .s-create, .s-crown { height: auto; }
  .sticky { position: relative; height: auto; min-height: 100svh; }
}
