/* ============================================================================
   Pragma home page

   Loaded after base.css, which has the tokens, type, buttons, nav and footer.
   This file is the home page alone: the hero and its 3D stage, the app
   window, and every section below it.
   ========================================================================== */

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--ground); }
.hero__pin { position: relative; display: flex; flex-direction: column; }

/* A faint dot grid: a surface for the shadows to land on, faded at the edges
   so it reads as texture rather than graph paper. */
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgb(22 22 26 / .09) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 62% 42%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 42%, #000 20%, transparent 78%);
}

.hero__copy { position: relative; z-index: 3; padding-top: calc(var(--nav-h) + clamp(28px, 7vh, 96px)); }
.hero__copy > * { max-width: 40rem; }
.hero__copy .display { max-width: none; }
/* "intelligence" is about 5.4em wide in this face; on a phone the shared 3.9rem floor runs it past the gutter. */
@media (max-width: 640px) {
  .hero__copy .display { font-size: clamp(2.4rem, calc((100vw - 40px) / 5.7), 3.9rem); }
}

.news {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .6rem .4rem .75rem;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-size: .82rem; color: var(--text-3);
  transition: scale var(--press), border-color .2s, box-shadow .3s;
}
.news:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.news.is-pressed { scale: .97; }
.news b { color: var(--ink); font-weight: 600; }
.news__sep { width: 1px; height: 12px; background: var(--line); }
.news__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.news__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok);
  animation: beacon 2.4s var(--expo) infinite;
}
.news svg { transition: translate .3s var(--expo); }
.news:hover svg { translate: 3px 0; }
@keyframes beacon { from { scale: 1; opacity: .5; } to { scale: 3.2; opacity: 0; } }

.hero__lede { font-size: clamp(1.1rem, .5vw + 1rem, 1.32rem); line-height: 1.5; color: var(--text-2); max-width: 30rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.1rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 2.6rem; }
.hero__facts li { display: grid; gap: .1rem; padding: 0 1.4rem; border-left: 1px solid var(--line-2); font-size: .82rem; line-height: 1.35; }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { font-weight: 600; }
.hero__facts span { color: var(--text-3); }

.hero__stage { position: relative; z-index: 2; }
.team__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.team__flat { position: absolute; inset: 0; }
.team__flat > span { position: absolute; width: var(--s, 120px); height: var(--s, 120px); translate: -50% -50%; cursor: pointer; }
.mascot__img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.mascot__vid { position: relative; display: block; width: 100%; height: 100%; }
.mascot__vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.team__flat .mascot__img, .team__flat .mascot__vid { filter: drop-shadow(0 18px 22px rgb(22 22 26 / .14)); }
.is-grabbable { cursor: grab; }

.hero__hint {
  position: absolute; z-index: 1; display: flex; align-items: flex-end; gap: 4px;
  font-size: .9rem; font-weight: 600; color: var(--text-3); letter-spacing: -.01em;
  pointer-events: none; opacity: 0; transition: opacity .8s .9s;
}
.hero__hint.is-on { opacity: 1; }
.hero__hint.is-on.is-away { opacity: 0; transition: opacity .25s; }
.hero__hint svg { color: var(--line-2); translate: 0 -12px; }
.hero__hint path { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.2s 1.2s var(--expo); }
.hero__hint.is-on path { stroke-dashoffset: 0; }

.hero__app { position: relative; z-index: 1; }

/* Wide: the copy on the left, the team loose across the whole first screen.
   The window sits under it in the flow until home.js pins the hero, which
   only it can do. With JavaScript off this is the whole layout. */
@media (min-width: 1024px) {
  .hero__pin { min-height: 100svh; }
  .hero__stage { position: absolute; inset: 0 0 auto 0; height: 100svh; pointer-events: none; }
  .hero__copy { min-height: 100svh; }
  .hero__hint { left: 59%; top: 61%; }
  .hero__app { padding: 40px var(--gut) 120px; }
}

/* Pinned: one viewport, three layers. The window rises from under the fold
   and the team flies into it; home.js drives every value on the scroll. */
.hero.is-pinned .hero__pin { height: 100vh; min-height: 0; overflow: hidden; }
.hero.is-pinned .hero__stage { height: 100%; }
.hero.is-pinned .hero__app {
  position: absolute; inset: 0; padding: calc(var(--nav-h) + 20px) var(--gut) 24px;
  display: grid; place-items: center; align-content: center; gap: 14px;
  pointer-events: none;
}
.hero.is-pinned .win, .hero.is-pinned .win__hint { pointer-events: auto; }
.hero.is-pinned .side__item .av { opacity: 0; }

@media (max-width: 1023.98px) {
  .hero__copy { order: 1; }
  .hero__stage { order: 2; height: clamp(300px, 74vw, 470px); margin-top: .5rem; touch-action: pan-y; }
  .hero__app { order: 3; padding: 8px var(--gut) 88px; }
  .hero__hint { left: 50%; top: 4%; translate: -50% 0; flex-direction: row-reverse; }
  .hero__hint svg { display: none; }
  .hero__grid { mask-image: radial-gradient(ellipse 90% 50% at 50% 55%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 90% 50% at 50% 55%, #000 20%, transparent 80%); }
}

/* ── the app window ────────────────────────────────────────────────────── */
.win {
  width: min(1120px, 100%); height: min(640px, calc(100vh - 170px));
  min-height: 480px; margin-inline: auto;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid rgb(22 22 26 / .08);
  border-radius: var(--r);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  transform-origin: 50% 0;
}
.win__bar {
  height: 38px; flex: none;
  display: flex; align-items: center; gap: .5rem; padding: 0 0 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: .76rem; font-weight: 600; color: var(--text-3);
}
.win__title { display: inline-flex; align-items: center; gap: .45rem; }
.win__title::before {
  content: ""; width: 14px; height: 14px; border-radius: 4px;
  background: url("assets/pragma-icon.svg") center / contain no-repeat;
}
.win__spacer { flex: 1; }
.traffic { display: flex; height: 100%; order: 3; }
.traffic i { width: 44px; height: 100%; display: grid; place-items: center; }
.traffic i::before { content: ""; width: 10px; height: 1.4px; background: var(--text-3); }
.traffic i:nth-child(2)::before { width: 9px; height: 9px; background: none; border: 1.4px solid var(--text-3); border-radius: 1.5px; }
.traffic i:nth-child(3)::before { width: 12px; height: 12px; background:
  linear-gradient(45deg, transparent calc(50% - .7px), var(--text-3) calc(50% - .7px), var(--text-3) calc(50% + .7px), transparent calc(50% + .7px)),
  linear-gradient(-45deg, transparent calc(50% - .7px), var(--text-3) calc(50% - .7px), var(--text-3) calc(50% + .7px), transparent calc(50% + .7px)); }

.win__body { flex: 1; display: flex; min-height: 0; }
.win__side {
  width: 264px; flex: none;
  display: flex; flex-direction: column; gap: .35rem;
  padding: 12px 10px;
  background: var(--ground);
  border-right: 1px solid var(--line);
}
.side__search {
  display: flex; align-items: center; gap: .45rem;
  height: 32px; padding: 0 10px; margin-bottom: .4rem;
  border-radius: 9px; background: var(--paper); border: 1px solid var(--line);
  font-size: .76rem; color: var(--text-3);
}
.side__label { font-size: .66rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); padding: 0 8px; margin-bottom: .1rem; }
.side__list { display: grid; gap: 2px; }
.side__item {
  display: flex; align-items: center; gap: .65rem;
  padding: 8px; border-radius: 11px;
}
.side__item.is-on { background: var(--paper); box-shadow: var(--shadow-1); }
.side__item .av { width: 36px; height: 36px; flex: none; }
.side__meta { min-width: 0; flex: 1; display: grid; line-height: 1.25; }
.side__name { font-size: .82rem; font-weight: 600; }
.side__sub { font-size: .72rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__unread {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-size: .66rem; font-weight: 700;
}
.side__foot { margin-top: auto; display: grid; gap: 2px; padding-top: .5rem; border-top: 1px solid var(--line); }
.side__row { display: flex; align-items: center; gap: .55rem; padding: 7px 8px; font-size: .78rem; font-weight: 500; color: var(--text-2); }
.ic { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--text-3); }
.ic--plug { border-radius: 50%; }

.win__chat { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat__head {
  height: 58px; flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 18px; border-bottom: 1px solid var(--line);
}
.chat__who { display: flex; align-items: center; gap: .65rem; line-height: 1.2; }
.chat__who b { display: block; font-size: .9rem; }
.chat__who small { font-size: .72rem; color: var(--text-3); }
.chat__avatar { width: 32px; height: 32px; }
.chat__model {
  font-size: .72rem; font-weight: 600; color: var(--text-2);
  padding: .3rem .65rem; border-radius: 999px; background: var(--inset); border: 1px solid var(--line);
  transition: scale .5s var(--expo), background-color .5s;
}
.chat__model.is-flash { scale: 1.08; background: var(--paper); }
.chat__scroll { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.chat__scroll::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 28px; z-index: 1;
  background: linear-gradient(var(--paper), transparent);
}
.chat__stream { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 14px; }

.msg {
  max-width: 76%; padding: 10px 14px;
  border-radius: 18px;
  font-size: .86rem; line-height: 1.5;
  transition: opacity .45s var(--expo), translate .55s var(--expo), scale .55s var(--expo), filter .45s;
}
.msg code { font-size: .8em; padding: .1em .35em; border-radius: 5px; background: rgb(22 22 26 / .07); }
.msg--me {
  align-self: flex-end; background: var(--accent); color: #fff;
  border-bottom-right-radius: 6px; transform-origin: 100% 100%;
}
.msg--bot { align-self: flex-start; background: var(--inset); border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.msg.is-pre { opacity: 0; translate: 0 10px; scale: .94; filter: blur(4px); }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: typing 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { translate: 0 0; opacity: .45; } 30% { translate: 0 -4px; opacity: 1; } }

.askcard {
  align-self: flex-start; width: min(420px, 92%);
  padding: 14px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  display: grid; gap: 10px;
  transition: opacity .5s var(--expo), translate .6s var(--expo), scale .6s var(--expo), filter .5s, height .35s var(--expo), margin .35s var(--expo), padding .35s var(--expo);
}
.askcard.is-pre { opacity: 0; translate: 0 12px; scale: .95; filter: blur(6px); }
.askcard.is-out { opacity: 0; scale: .97; height: 0 !important; padding-block: 0; margin-block: -4px; }
.askcard__t { font-size: .8rem; color: var(--text-2); }
.askcard__t b { color: var(--ink); }
.askcard pre { margin: 0; padding: 9px 11px; border-radius: 9px; background: var(--inset); font-size: .76rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.askcard__row { display: flex; gap: 8px; justify-content: flex-end; }

.btn--deny, .btn--allow { height: 34px; padding: 0 16px; font-size: .82rem; }
.btn--deny { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn--deny:hover { border-color: var(--line-2); }
.btn--allow { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 6px 16px -8px rgb(206 63 25 / .8); }
.btn--allow:hover { background: color-mix(in oklab, var(--accent) 88%, var(--ink)); }

.chat__composer {
  flex: none; margin: 0 16px 16px;
  height: 46px; padding: 0 6px 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 14px; background: var(--paper); border: 1px solid var(--line-2);
  font-size: .84rem; color: var(--text-3);
}
.chat__composer-text { display: inline-flex; align-items: center; min-width: 0; }
.caret { width: 1.5px; height: 1.1em; background: var(--ink); margin-left: 2px; animation: caret 1.05s steps(2, jump-none) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat__send { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--control); color: var(--text-2); }

.win__hint { font-size: .82rem; color: var(--text-3); text-align: center; margin-top: 14px; }
.win__hint b { color: var(--ink); font-weight: 600; }

/* ── why ───────────────────────────────────────────────────────────────── */
.why { background: var(--paper); padding: clamp(110px, 15vw, 220px) 0 clamp(80px, 10vw, 140px); }
.why__text {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.85rem, 3.9vw, 3.65rem);
  line-height: 1.1; letter-spacing: -.034em;
  max-width: 21em;
  text-wrap: pretty;
}
.why__text .w { transition: none; }
.why__faces { display: inline-flex; vertical-align: -.12em; margin: 0 .08em; }
.why__faces span { width: .95em; height: .95em; margin-left: -.2em; }
.why__faces span:first-child { margin-left: 0; }

.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem;
  margin-top: clamp(72px, 9vw, 128px);
}
.pillars li { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pillars__n { font-size: .78rem; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pillars h3 { font-family: var(--display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.025em; line-height: 1.2; margin: .9rem 0 .6rem; }
.pillars p { font-size: .95rem; color: var(--text-2); }
.pillars code, .ticks code { padding: .1em .35em; border-radius: 5px; background: var(--inset); }

/* ── how it works ──────────────────────────────────────────────────────── */
.steps { background: var(--paper); padding: 0 0 clamp(80px, 10vw, 140px); }
.steps .pillars { margin-top: clamp(32px, 4vw, 56px); }

/* ── teams ─────────────────────────────────────────────────────────────── */
.teams { background: var(--paper); padding: clamp(110px, 14vw, 200px) 0 clamp(40px, 6vw, 90px); }
.teams__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pillars--stack { grid-template-columns: 1fr; gap: 0; margin-top: clamp(40px, 5vw, 64px); }
.pillars--stack li { padding: 1.2rem 0 1.3rem; }
.pillars--stack h3 { margin: 0 0 .4rem; font-size: 1.18rem; }
.teamchat { margin: 0; background: var(--ground); border: 1px solid var(--line); border-radius: var(--r-lg, 22px); box-shadow: var(--shadow-2); overflow: hidden; }
.teamchat__bar { display: flex; align-items: center; gap: .35rem; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.teamchat__hash { color: var(--text-3); }
.teamchat__people { display: inline-flex; margin-left: auto; }
.teamchat__people .teamchat__av { width: 28px; height: 28px; margin-left: -8px; border: 2px solid var(--paper); }
.teamchat__log { list-style: none; margin: 0; padding: 18px; display: grid; gap: 16px; }
.teamchat__log li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.teamchat__log b { font-size: .9rem; }
.teamchat__log b i { font-style: normal; font-weight: 500; color: var(--text-3); font-size: .8rem; margin-left: .35rem; }
.teamchat__log p { margin: .15rem 0 0; color: var(--text-2); font-size: .95rem; line-height: 1.45; }
.teamchat__av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--paper); display: grid; place-items: center; }
.teamchat__av--human { background: var(--inset); color: var(--ink); font-weight: 700; font-size: .85rem; }
.teamchat__av--b { background: #E8E2FF; }
.teamchat__av--pip { background: #2A2A2E; }
.teamchat__at { color: var(--accent-text); font-weight: 600; }
.teamchat__task { display: inline-block; padding: 0 .4em; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9em; }
@media (max-width: 900px) {
  .teams__grid { grid-template-columns: 1fr; }
}

/* ── smarter ─────────────────────────────────────────────────────────── */
.smart { background: var(--paper); padding: clamp(40px, 6vw, 90px) 0 clamp(110px, 14vw, 200px); }
.smart__head { max-width: 900px; }
.smart__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(48px, 6vw, 88px); }
.smart__card {
  border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px);
  background: var(--ground); color: var(--ink);
}
/* The second card is the step up: same content shape, ink instead of paper. */
.smart__card--ink { background: var(--ink); color: var(--paper); }
.smart__tag { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.smart__card--ink .smart__tag { color: color-mix(in oklab, var(--paper) 58%, var(--ink)); }
.smart__card h3 {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: -.035em; line-height: 1.1; margin: .8rem 0 1.4rem;
}
.smart__list { display: grid; gap: .85rem; }
.smart__list li { position: relative; padding-left: 1.5rem; font-size: .98rem; line-height: 1.5; color: var(--text-2); }
.smart__card--ink .smart__list li { color: color-mix(in oklab, var(--paper) 78%, var(--ink)); }
.smart__list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: .7;
}
.smart__list b { color: var(--ink); font-weight: 600; }
.smart__card--ink .smart__list b { color: var(--paper); }
.smart__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.smart__stats div { display: flex; flex-direction: column-reverse; gap: .3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.smart__stats dd {
  margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums;
}
.smart__stats dt { font-size: .9rem; color: var(--text-3); }
@media (max-width: 820px) {
  .smart__cols, .smart__stats { grid-template-columns: 1fr; }
}

/* ── compare ────────────────────────────────────────────────────────── */
.compare { background: var(--ground); padding: clamp(90px, 12vw, 170px) 0; }
.compare__head { max-width: 860px; }
.compare__tabs { margin-top: clamp(40px, 5vw, 64px); }
.compare__tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.compare__switch { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-1); }
.compare__switch label {
  cursor: pointer; padding: .55rem 1.1rem; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--text-2);
  transition: background var(--press), color var(--press);
}
.compare__switch label:hover { color: var(--ink); }
#compare-poster:checked ~ .compare__switch label[for="compare-poster"],
#compare-website:checked ~ .compare__switch label[for="compare-website"],
#compare-video:checked ~ .compare__switch label[for="compare-video"] { background: var(--ink); color: var(--paper); }
#compare-poster:focus-visible ~ .compare__switch label[for="compare-poster"],
#compare-website:focus-visible ~ .compare__switch label[for="compare-website"],
#compare-video:focus-visible ~ .compare__switch label[for="compare-video"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.compare__panel { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
#compare-poster:checked ~ .compare__panels [data-for="poster"],
#compare-website:checked ~ .compare__panels [data-for="website"],
#compare-video:checked ~ .compare__panels [data-for="video"] { display: grid; }
.compare__side { margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--paper); }
.compare__side--pragma { box-shadow: var(--shadow-2); outline: 2px solid var(--ink); outline-offset: -2px; }
.compare__side figcaption { font-size: .98rem; line-height: 1.55; color: var(--text-2); min-height: 4.6em; }
.compare__side figcaption b { color: var(--ink); font-weight: 600; margin-right: .3em; }
.compare__tag { display: block; margin-bottom: .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.compare__side--pragma .compare__tag { color: var(--accent-text); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
/* The plain side reads as the before: quieter, so the finished thing is what the eye lands on. */
.compare__side:not(.compare__side--pragma) { background: color-mix(in oklab, var(--paper) 55%, var(--ground)); }
.compare__side:not(.compare__side--pragma) .compare__frame { filter: grayscale(1) contrast(.92); opacity: .72; }
.compare__check { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .5rem; border-radius: 999px;
  background: color-mix(in oklab, var(--ok, #1E9E5A) 14%, var(--paper)); color: var(--ok, #1E9E5A); letter-spacing: .02em; text-transform: none; font-size: .72rem; }
.compare__frame { display: flex; align-items: center; justify-content: center; border-radius: var(--r); overflow: hidden; background: var(--ground); aspect-ratio: 4 / 5; }
.compare__frame img, .compare__frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.compare__note { margin-top: 1.5rem; max-width: 60rem; font-size: .88rem; line-height: 1.6; color: var(--text-3); }
.compare__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .compare__panel { grid-template-columns: 1fr; } }

/* ── questions ─────────────────────────────────────────────────────────── */
.faq { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 70px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  cursor: pointer; list-style: none; position: relative; padding: 1.25rem 2.2rem 1.25rem 0;
  font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; translate: 0 -50%;
  font-size: 1.4rem; font-weight: 400; color: var(--text-3); transition: rotate var(--press);
}
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list details p { color: var(--text-2); line-height: 1.65; padding-bottom: 1.4rem; max-width: 40rem; }
@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } }

/* ── film ──────────────────────────────────────────────────────────────── */
.film { background: var(--paper); padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 14vw, 200px); }
.film__head { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.film__side { color: var(--text-2); max-width: 22rem; justify-self: end; margin-bottom: .5rem; }
.film__outer { padding-inline: var(--gut); }
.film__frame {
  position: relative; max-width: 1400px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-3);
  transform-origin: 50% 0;
}
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: .9rem;
  padding: 10px 26px 10px 10px; border-radius: 999px;
  background: rgb(255 255 255 / .9); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / .5);
  transition: scale var(--press), opacity .4s, background-color .3s;
}
.film__play:hover { background: #fff; }
.film__play.is-pressed { scale: .96; }
.film__play-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: scale .45s var(--expo); }
.film__play:hover .film__play-icon { scale: 1.08; }
.film__play-icon .pi { color: #fff; margin-left: 3px; }
.film__play-text { display: grid; text-align: left; font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.film__play-text small { font-weight: 500; font-size: .78rem; color: var(--text-3); }
.film__frame.is-playing .film__play { opacity: 0; pointer-events: none; }
.film__side a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── roster ────────────────────────────────────────────────────────────── */
.roster { background: var(--ground); padding: clamp(110px, 14vw, 200px) 0; }
.roster__body {
  display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 20px;
  margin-top: clamp(48px, 6vw, 80px);
  align-items: stretch;
}
.contacts { position: relative; display: grid; gap: 4px; align-content: start; padding: 6px; }
.contacts__thumb {
  position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 0;
  border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-2);
  pointer-events: none;
}
.contact {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: .9rem;
  padding: 12px 14px 12px 12px; border-radius: 18px; text-align: left;
  transition: background-color .25s;
}
.contact:hover:not(.is-on) { background: rgb(22 22 26 / .035); }
.contact__av { width: 48px; height: 48px; }
.contact__meta { display: grid; line-height: 1.3; min-width: 0; }
.contact__name { font-weight: 650; font-size: 1rem; letter-spacing: -.01em; }
.contact__role { font-size: .82rem; color: var(--text-3); }
.contact__state { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color .3s, scale .4s var(--expo); }
.contact.is-on .contact__state { background: var(--ok); scale: 1.2; }

.profile {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-xl); background: var(--paper);
  box-shadow: var(--shadow-2);
  min-height: 460px;
}
.profile__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.profile__ring {
  position: absolute; inset: 4%; border-radius: 50%;
  border: 1px dashed var(--line-2);
  animation: turn 60s linear infinite;
}
.profile__ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: var(--ground); }
.profile__ring::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); translate: -50% 0;
}
@keyframes turn { to { rotate: 360deg; } }
.profile__face { position: relative; width: 62%; height: 62%; }
.profile__info > * { transition: opacity .35s var(--expo), translate .5s var(--expo); }
.profile__info > *:nth-child(2) { transition-delay: .03s; }
.profile__info > *:nth-child(3) { transition-delay: .06s; }
.profile__info > *:nth-child(4) { transition-delay: .09s; }
.profile__info > *:nth-child(5) { transition-delay: .12s; }
.profile.is-out .profile__info > * { opacity: 0; translate: 0 10px; transition-duration: .16s; transition-delay: 0s; }
.profile__role { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.profile__name { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.055em; line-height: .95; margin: .2em 0 .3em; }
.profile__engine { display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; padding: .35rem .8rem .35rem .6rem; border-radius: 999px; background: var(--inset); border: 1px solid var(--line); }
.profile__engine .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.profile__job { margin-top: 1.2rem; color: var(--text-2); font-size: 1.04rem; max-width: 30rem; }
.profile__msg { display: flex; align-items: flex-end; gap: .6rem; margin-top: 1.6rem; }
.profile__msg-av { width: 30px; height: 30px; flex: none; }
.bubble {
  padding: 11px 15px; border-radius: 18px; border-bottom-left-radius: 6px;
  background: var(--inset); font-size: .93rem; min-height: 1.5em;
}

/* ── features ──────────────────────────────────────────────────────────── */
.features { background: var(--paper); padding: clamp(110px, 14vw, 200px) 0 clamp(64px, 7vw, 110px); }
.bento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px;
  margin-top: clamp(48px, 6vw, 80px);
}
.tile {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  background: var(--ground);
  border: 1px solid var(--line);
  transition: border-color .3s;
}
/* A light that follows the pointer across the tile: the tile is a stage, and
   this is someone walking a lamp over it. */
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgb(255 255 255 / .95), transparent 62%);
  opacity: 0; transition: opacity .45s;
}
.tile:hover { border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile--ask   { grid-column: span 7; }
.tile--brain { grid-column: span 5; }
.tile--hands { grid-column: span 5; }
.tile--apps  { grid-column: span 7; }
.tile__label { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: .7rem; }
.tile h3 { font-family: var(--display); font-weight: 750; font-size: clamp(1.45rem, 2vw, 1.85rem); letter-spacing: -.035em; line-height: 1.1; margin-bottom: .55rem; }
.tile__copy p:not(.tile__label) { color: var(--text-2); font-size: .95rem; max-width: 30rem; }
.tile__demo { margin-top: auto; display: grid; gap: 14px; }
.tile__meta { font-size: .84rem; color: var(--text-2); display: flex; gap: .6rem; flex-wrap: wrap; min-height: 1.4em; }
.tile__meta b { color: var(--ink); font-weight: 600; }
.tile__meta--note { min-height: 2.9em; }
.tile__foot { font-size: .82rem; color: var(--text-3); }
.tile__foot b { color: var(--ink); }

/* approvals */
.approval {
  position: relative; width: 100%; max-width: 480px;
  padding: 18px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  display: grid; gap: 12px;
}
.approval__head { display: flex; align-items: center; gap: .75rem; }
.approval__face { width: 38px; height: 38px; flex: none; }
.approval__head p { font-size: .9rem; line-height: 1.3; }
.approval__head span { display: block; font-size: .78rem; color: var(--text-3); }
.approval__cmd { margin: 0; padding: 12px 14px; border-radius: 11px; background: var(--ink); color: #EDEDF2; font-size: .82rem; overflow-x: auto; }
.approval__prompt { color: var(--flare); margin-right: .5em; }
.approval__row { display: flex; gap: 8px; justify-content: flex-end; }
.approval__result {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--expo);
  font-size: .86rem; color: var(--text-2);
}
.approval__result > div { overflow: hidden; }
.approval__result.is-on { grid-template-rows: 1fr; }
.approval__result p { padding-top: 2px; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.approval__result b { color: var(--ink); }
.approval__again { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.approval__again:hover { text-decoration-color: var(--ink); }
.approval.is-answered .approval__row .btn:not(.is-chosen) { opacity: .35; }
.approval__stamp {
  position: absolute; right: 16px; top: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 7px; border: 1.5px solid currentColor;
  rotate: -6deg; scale: 1.4; opacity: 0;
  transition: scale .45s cubic-bezier(.3, 1.6, .5, 1), opacity .2s;
}
.approval__stamp.is-on { scale: 1; opacity: 1; }
.approval__stamp--ok { color: var(--ok); }
.approval__stamp--no { color: var(--danger); }

/* segmented controls */
.seg {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: 14px; background: var(--control);
}
.seg--grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg__thumb {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  border-radius: 10px; background: var(--paper); box-shadow: var(--shadow-1);
  pointer-events: none;
}
.seg__opt {
  position: relative; z-index: 1;
  height: 38px; padding: 0 10px; border-radius: 10px;
  font-size: .84rem; font-weight: 550; color: var(--text-2); white-space: nowrap;
  transition: color .25s;
}
.seg__opt:hover { color: var(--ink); }
.seg__opt.is-on { color: var(--ink); font-weight: 650; }

.minihead { display: flex; align-items: center; gap: .55rem; font-size: .88rem; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.minihead__av { width: 28px; height: 28px; }
.minihead__model {
  margin-left: auto; font-size: .76rem; font-weight: 600; color: var(--text-2);
  padding: .25rem .6rem; border-radius: 999px; background: var(--inset); border: 1px solid var(--line);
  transition: scale .5s var(--expo);
}
.minihead__model.is-flash { scale: 1.1; }

/* the computer */
.screen { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-1); }
.screen__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: .7rem; color: var(--text-3); font-family: var(--mono); }
.screen__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.screen__bar span { margin-left: 6px; }
.screen__view {
  position: relative; height: 184px; overflow: hidden;
  background-color: var(--ground-2);
  transition: background-color .6s;
}
.screen__view::before {
  content: ""; position: absolute; inset: 0; opacity: .6; transition: opacity .6s;
  background-image: radial-gradient(circle at 1px 1px, rgb(22 22 26 / .12) 1px, transparent 1.3px);
  background-size: 14px 14px;
}
.screen[data-place="vm"] .screen__view { background-color: #2A2A31; }
.screen[data-place="vm"] .screen__view::before { background-image: repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 18px); opacity: 1; }
.screen[data-place="host"] .screen__view { background-color: var(--inset); }
.screen[data-place="host"] .screen__view::before { background-image: radial-gradient(120% 90% at 20% 110%, rgb(22 22 26 / .1), transparent 60%); opacity: 1; }
.sw {
  position: absolute; display: grid; align-content: start; gap: 6px;
  padding: 22px 10px 10px; border-radius: 8px;
  background: var(--paper); box-shadow: var(--shadow-1);
  transition: translate .8s var(--expo), rotate .8s var(--expo), scale .8s var(--expo);
}
.sw i { position: absolute; left: 0; right: 0; top: 0; height: 14px; border-bottom: 1px solid var(--line); background: var(--inset); border-radius: 8px 8px 0 0; }
.sw b { display: block; height: 6px; border-radius: 3px; background: var(--control); }
.sw b:nth-child(3) { width: 70%; }
.sw b:nth-child(4) { width: 45%; }
.sw--a { left: 8%; top: 14%; width: 46%; height: 64%; }
.sw--b { left: 46%; top: 26%; width: 38%; height: 52%; }
.sw--c { left: 70%; top: 10%; width: 22%; height: 34%; }
.screen[data-place="vm"] .sw--a { translate: 12% 6%; rotate: -1.5deg; }
.screen[data-place="vm"] .sw--b { translate: -8% 12%; rotate: 1deg; }
.screen[data-place="vm"] .sw--c { scale: .8; translate: 0 90%; }
.screen[data-place="host"] .sw--a { translate: -4% -8%; }
.screen[data-place="host"] .sw--b { translate: 14% -2%; }
.screen[data-place="host"] .sw--c { translate: -210% 110%; }
.cursor {
  position: absolute; left: 0; top: 0; width: 18px; height: 18px; z-index: 3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 2l11.5 7.2-5.1.9-2.5 4.6z' fill='%2316161A' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25));
}

/* connected apps */
.apps { display: flex; flex-wrap: wrap; gap: 8px; }
.app {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 38px; padding: 0 14px 0 6px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 550; color: var(--text-2);
  transition: scale var(--press), border-color .25s, color .25s, box-shadow .25s;
}
.app:hover { border-color: var(--line-2); }
.app.is-pressed { scale: .95; }
.app__mark {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--inset); color: var(--text-3); font-size: .74rem; font-weight: 700;
  transition: background-color .3s, color .3s;
}
.app__mark svg { width: 15px; height: 15px; }
.app.is-on { color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-1); }
.app.is-on .app__mark { background: var(--ok); color: #fff; }
.crew { display: flex; align-items: center; gap: .8rem; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.crew__faces { display: flex; }
.crew__faces span { width: 30px; height: 30px; margin-left: -6px; }
.crew__faces span:first-child { margin-left: 0; }
.crew p { font-size: .84rem; color: var(--text-2); line-height: 1.35; }
.crew b { color: var(--ink); font-weight: 600; }
.ticker {
  overflow: hidden; padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__track { display: flex; gap: 8px; width: max-content; }
.ticker__track span {
  font-size: .78rem; font-weight: 550; color: var(--text-3);
  padding: .3rem .7rem; border-radius: 999px; border: 1px dashed var(--line-2);
}

/* ── engines ───────────────────────────────────────────────────────────── */
.engines { background: var(--paper); padding: 0 0 clamp(80px, 9vw, 130px); overflow: clip; }
.engines__row { display: flex; width: max-content; }
.engines__set {
  display: flex; align-items: center; gap: .32em; padding-right: .32em;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3rem, 8.4vw, 8.2rem); line-height: 1.02; letter-spacing: -.055em;
  white-space: nowrap;
}
.engines__set i { width: .72em; height: .72em; display: block; flex: none; }
.engines__set b { width: .2em; height: .2em; border-radius: 50%; background: var(--line-2); flex: none; }
.engines__row--soft .engines__set { color: var(--soft); font-size: clamp(2rem, 5vw, 4.6rem); }

/* ── local ─────────────────────────────────────────────────────────────── */
/* Online is the page's own light. Offline, a dark wipe opens from the switch
   and every colour in the section changes with it. */
.local {
  --l-bg: var(--ground); --l-ink: var(--ink); --l-2: var(--text-2); --l-3: var(--text-3);
  --l-card: var(--paper); --l-line: var(--line); --l-inset: var(--inset);
  --cx: 75%; --cy: 30%;
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--l-bg); color: var(--l-ink);
  padding: clamp(110px, 14vw, 200px) 0;
}
.local[data-online="false"] {
  --l-ink: var(--ground); --l-2: color-mix(in oklab, var(--ground) 72%, var(--ink));
  --l-3: color-mix(in oklab, var(--ground) 58%, var(--ink));
  --l-card: color-mix(in oklab, var(--ink) 90%, var(--paper));
  --l-line: color-mix(in oklab, var(--ink) 78%, var(--paper));
  --l-inset: color-mix(in oklab, var(--ink) 84%, var(--paper));
}
.local__dark {
  position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0% at var(--cx) var(--cy));
  transition: clip-path .95s cubic-bezier(.7, 0, .2, 1);
}
.local[data-online="false"] .local__dark { clip-path: circle(160% at var(--cx) var(--cy)); }
.local, .local * { transition-property: color, background-color, border-color, clip-path, translate, scale, opacity, box-shadow; }
.local .h2, .local .head__lede, .local .kicker, .local .ticks li, .local .soft { transition: color .6s .12s; }
.local .head__lede { color: var(--l-2); }
.local .kicker { color: var(--l-3); }
.local .soft { color: color-mix(in oklab, var(--l-ink) 50%, var(--l-bg)); }
.local[data-online="false"] .soft { color: var(--l-3); }
.local__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ticks { display: grid; gap: .8rem; margin-top: 2rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--l-2); font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--l-card); border: 1px solid var(--l-line);
}
.ticks li::after {
  content: ""; position: absolute; left: .38rem; top: .56em; width: .34rem; height: .56rem;
  border: solid var(--l-ink); border-width: 0 1.8px 1.8px 0; rotate: 42deg;
  transition: border-color .6s .12s;
}

.rig { display: grid; gap: 14px; }
.cable {
  display: flex; align-items: center; gap: 1rem;
  padding: 16px 20px 16px 16px; border-radius: 20px; text-align: left;
  background: var(--l-card); border: 1px solid var(--l-line); box-shadow: var(--shadow-1);
  transition: scale var(--press), background-color .6s .1s, border-color .6s .1s;
}
.cable.is-pressed { scale: .98; }
.cable__track {
  position: relative; width: 62px; height: 36px; flex: none; border-radius: 999px;
  background: var(--ok); transition: background-color .45s;
}
.cable__knob {
  position: absolute; left: 4px; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .25);
  translate: 26px 0; transition: translate .55s cubic-bezier(.3, 1.5, .5, 1);
}
.local[data-online="false"] .cable__track { background: var(--l-line); }
.local[data-online="false"] .cable__knob { translate: 0 0; }
.cable__text { display: grid; line-height: 1.3; }
.cable__text b { font-size: 1.02rem; }
.cable__text small { font-size: .8rem; color: var(--l-3); transition: color .6s .1s; }

.tree {
  padding: 18px 20px; border-radius: 20px;
  background: var(--l-card); border: 1px solid var(--l-line);
  font-family: var(--mono); font-size: .8rem;
  transition: background-color .6s .1s, border-color .6s .1s;
}
.tree__path { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-weight: 600; margin-bottom: .8rem; }
.tree__status { display: inline-flex; align-items: center; gap: .45rem; color: var(--l-3); font-weight: 500; transition: color .6s; }
.tree__files li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--l-line); transition: border-color .6s .1s; }
.tree__files li span:first-child { color: var(--l-ink); transition: color .6s .1s; }
.tree__files li span:last-child { color: var(--l-3); font-family: var(--sans); transition: color .6s .1s; }
.live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: beacon 2.4s var(--expo) infinite; }

.survive { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.survive li {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .6rem;
  padding: 14px 16px; border-radius: 16px;
  background: var(--l-card); border: 1px solid var(--l-line);
  transition: background-color .6s .1s, border-color .6s .1s, translate .5s var(--expo);
}
.survive b { font-size: .92rem; }
.survive__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); grid-row: span 2; transition: background-color .4s; }
.survive__state { grid-column: 2; font-size: .78rem; color: var(--l-3); transition: color .6s .1s; }
.survive li[data-ok="false"] .survive__dot { background: var(--danger); }
.survive li[data-ok="false"] .survive__state { color: color-mix(in oklab, var(--danger) 60%, var(--ground)); }
.survive li.is-bump { translate: 0 -4px; }

/* ── download ──────────────────────────────────────────────────────────── */
.cta { background: var(--paper); padding: clamp(90px, 11vw, 160px) 0 clamp(40px, 5vw, 64px); }
.cta__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(72px, 9vw, 130px) clamp(20px, 4vw, 48px) clamp(150px, 16vw, 230px);
  border-radius: var(--r-xl);
  background: var(--ground);
  text-align: center;
}
.cta__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgb(22 22 26 / .08) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent 75%);
}
.cta .h2--xl { margin-inline: auto; max-width: 11em; }
.cta__lede { margin: 1.6rem auto 0; max-width: 34rem; font-size: 1.12em; color: var(--text-2); text-wrap: balance; }
.cta__row { display: flex; justify-content: center; margin-top: 2.2rem; }
.cta__alt { margin: 1.2rem auto 0; max-width: 34rem; font-size: .95rem; color: var(--text-2); text-wrap: balance; }
.cta__alt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.cta__alt a:hover { text-decoration-color: currentColor; }
.cta__note { margin: 1.1rem auto 0; max-width: 34rem; font-size: .86rem; color: var(--text-3); min-height: 1.4em; text-wrap: balance; }
.cta__fine { margin: .5rem auto 0; max-width: 34rem; font-size: .86rem; color: var(--text-3); text-wrap: balance; }
.peek {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  display: flex; align-items: flex-end; gap: clamp(6px, 1.4vw, 22px);
  pointer-events: none;
}
.peek span {
  --lift: 0px;
  width: clamp(64px, 9vw, 128px); height: clamp(64px, 9vw, 128px);
  translate: 0 calc(38% - var(--lift));
  transition: translate .7s cubic-bezier(.3, 1.4, .5, 1);
}
.peek span:nth-child(1) { transition-delay: .09s; }
.peek span:nth-child(2) { transition-delay: .03s; }
.peek span:nth-child(4) { transition-delay: .05s; }
.peek span:nth-child(5) { transition-delay: .12s; }
.peek span:nth-child(3) { width: clamp(82px, 11.5vw, 164px); height: clamp(82px, 11.5vw, 164px); }
.cta__panel:hover .peek span { --lift: 8%; }
.cta__panel.is-eager .peek span { --lift: 26%; }

/* ── entrances ─────────────────────────────────────────────────────────── */
/* Armed only when home.js is going to run them, so with JavaScript off or
   GSAP missing nothing is ever left invisible. */
.motion [data-reveal],
.motion [data-stagger] > *,
.motion .hero__copy > :not(h1) { opacity: 0; }
.motion [data-split]:not(.is-split) { visibility: hidden; }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tile--ask, .tile--brain, .tile--hands, .tile--apps { grid-column: span 6; }
}
@media (max-width: 900px) {
  .head--split, .film__head { grid-template-columns: 1fr; }
  .film__side { justify-self: start; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillars li { padding: 1.4rem 0 1.6rem; }
  .roster__body { grid-template-columns: 1fr; }
  .contacts {
    display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
    scroll-snap-type: x proximity;
  }
  .contacts::-webkit-scrollbar { display: none; }
  .contact { grid-template-columns: 40px auto; padding: 10px 16px 10px 10px; scroll-snap-align: start; flex: none; }
  .contact__av { width: 40px; height: 40px; }
  .contact__state { display: none; }
  .profile { grid-template-columns: 1fr; min-height: 0; }
  .profile__art { width: min(260px, 70%); margin-inline: auto; }
  .bento { grid-template-columns: 1fr; }
  .tile--ask, .tile--brain, .tile--hands, .tile--apps { grid-column: auto; }
  .local__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .win { height: 540px; min-height: 0; }
  .win__side { display: none; }
  .msg { max-width: 88%; }
  .news__sep, .news__sub { display: none; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
  .hero__facts li, .hero__facts li:first-child { padding: 0 0 0 .7rem; border-left: 1px solid var(--line-2); font-size: .74rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .survive { grid-template-columns: 1fr; }
  .seg--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .local__dark { transition-duration: .01ms; }
}
@media (prefers-reduced-transparency: reduce) {
  .film__play { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
