/*
 * The Vagmi website. One dark look, taken from the launch film:
 * a near-black zinc stage, Geist and Geist Mono, big tight white type,
 * green only for "live" and "answered", and the real light side panel as the hero.
 * Geist (SIL Open Font License) is self-hosted, so the site loads nothing from other hosts.
 */

@font-face {
  font-family: "Geist";
  src: url("/assets/site.geist.28258d0621.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/site.geist-mono.5bc6413e82.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* The panel uses the system font, as the real extension does. */
  --panel-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;

  --bg: #09090b;
  --bg-2: #0c0c0e;
  --surface: #0f0f11;
  --surface-2: #161618;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #8b8b95;
  --green: #5fcf97;
  --red: #e5484d;

  /* The light side panel. */
  --p-wash: #ececee;
  --p-card: #ffffff;
  --p-text: #0b0b0c;
  --p-text-2: #4b4b53;
  --p-text-3: #6b6b74;
  --p-line: rgba(9, 9, 11, 0.08);
  --p-live: #22a06b;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-deep: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 70px 140px -40px rgba(0, 0, 0, 0.9);
  --shadow-card: 0 1px 1px rgba(9, 9, 11, 0.04), 0 10px 30px -12px rgba(9, 9, 11, 0.18);
}

/* ------------------------------------------------------------------ Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* A fine grain over everything, so the black reads as a surface, not a void. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(95, 207, 151, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-wide {
  max-width: calc(1280px + 2 * var(--gutter));
}

.narrow {
  max-width: calc(760px + 2 * var(--gutter));
}

.center {
  text-align: center;
}

.g {
  color: var(--green);
}

.muted {
  color: var(--text-3);
}

/* ------------------------------------------------------------------ Type */

.eyebrow {
  margin-bottom: 18px;
  color: var(--text-3);
  font: 500 12.5px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head h2,
.cta-band h2,
.duo h2 {
  max-width: 18ch;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 0.98;
}

.section-head.center h2,
.center .section-lead,
.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-lead,
.lead {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  text-wrap: pretty;
}

.fine {
  margin-top: 22px;
  color: var(--text-3);
  font-size: 13.5px;
}

.text-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}

.text-link:hover {
  text-decoration-color: var(--text);
}

/* ------------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 500 15px/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease), color 0.2s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
}

.btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  flex: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-actions-center {
  justify-content: center;
}

/* ------------------------------------------------------------------ Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-2);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.btn-header {
  height: 36px;
  margin-left: auto;
  padding: 0 16px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav-wide {
    display: none;
  }
}

@media (max-width: 520px) {
  .nav-mid {
    display: none;
  }
}

/* ------------------------------------------------------------------ Sections */

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section-tight {
  padding-top: 8px;
}

.section-soft {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-foot {
  margin-top: 40px;
  color: var(--text-2);
}

/* ------------------------------------------------------------------ Pricing */

.section-sub {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 17px;
}

.bill {
  display: flex;
  width: max-content;
  margin: 32px auto 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.bill-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 14px/1 var(--font);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s;
}

.bill-opt[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
}

/* The saving of yearly billing: a solid pill that reads on the white thumb and off it. */
.bill-save {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #06301c;
  font: 600 12.5px/1 var(--font);
  letter-spacing: -0.01em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
  margin: 28px auto 0;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.plan-pro {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(95, 207, 151, 0.07), rgba(95, 207, 151, 0) 46%), var(--surface);
  box-shadow: 0 30px 80px -40px rgba(95, 207, 151, 0.35);
}

.plan-pro::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 207, 151, 0.9), transparent);
}

.plan-name {
  color: var(--text-2);
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
}

.plan-was {
  align-self: center;
  color: var(--text-3);
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-decoration: line-through 2px rgba(250, 250, 250, 0.55);
}

.plan-badge {
  position: absolute;
  top: clamp(18px, 2.4vw, 26px);
  right: clamp(18px, 2.4vw, 26px);
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #06301c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(95, 207, 151, 0.14), 0 10px 30px -8px rgba(95, 207, 151, 0.6);
}

.plan-save {
  margin-top: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

/* Two lines, as tall as the two-line yearly text: the card keeps its height when the switch changes. */
.plan-save + .plan-alt {
  margin-top: 0;
}

.plan-amount {
  font-size: clamp(48px, 5.4vw, 64px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-per {
  color: var(--text-2);
  font-size: 15px;
}

.plan-alt {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 14px;
}

.plan-rows {
  display: grid;
  gap: 10px;
  margin: 26px 0 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--text-2);
  font-size: 15px;
}

.plan-rows b {
  color: var(--text);
  font: 600 15px/1 var(--mono);
}

.plan .btn {
  margin-top: auto;
}

.plans-fine {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--text-3);
  font-size: 14px;
  text-align: center;
}


/* ------------------------------------------------------------------ FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.faq-grid .section-head h2 {
  font-size: clamp(36px, 4.4vw, 60px);
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 12px no-repeat;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-q {
  font-size: 17.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq-a {
  padding: 0 40px 24px 0;
  color: var(--text-2);
  font-size: 15.5px;
}

.faq-a p + p {
  margin-top: 10px;
}

.faq-a a {
  color: var(--text);
}

/* ------------------------------------------------------------------ Footer */

.site-footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 14px;
  color: var(--text-3);
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--text-3);
  font: 500 11.5px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-word {
  margin: 56px 0 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #1c1c20 30%, rgba(28, 28, 32, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(96px, 26vw, 380px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.8;
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 12.5px;
}

/* ------------------------------------------------------------------ Other pages */

.page-head {
  padding-top: clamp(72px, 10vw, 136px);
}

.page-head h1 {
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.052em;
}

.page-head .center h1,
.page-head.center h1,
.center h1 {
  margin-left: auto;
  margin-right: auto;
}

.page-head .lead {
  margin-top: 24px;
}

.page-head .split-copy h1 {
  font-size: clamp(38px, 4.8vw, 68px);
}

.page-head .muted {
  margin-top: 16px;
}

.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin-top: clamp(56px, 8vw, 96px);
}

.section-head + .split,
.page-head .split,
.section > .wrap > .split:first-child {
  margin-top: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: clamp(48px, 7vw, 104px);
  }
  .split-reverse {
    grid-template-columns: 400px minmax(0, 1fr);
  }
  .split-reverse .split-copy {
    order: 2;
  }
}

.split-copy {
  max-width: 580px;
}

.split-copy > * + * {
  margin-top: 16px;
}

.split-copy p {
  color: var(--text-2);
}

.split-copy .lead {
  margin-top: 24px;
}

.split-title,
.split-title-lg {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.split-title {
  font-size: clamp(24px, 2.6vw, 32px);
}

.panel-frame {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--p-wash);
  box-shadow: var(--shadow-deep);
}

.panel-frame-narrow {
  max-width: 360px;
}

.panel-frame .shot {
  width: 100%;
}

.panel-crop {
  position: relative;
  max-height: 560px;
}

.panel-crop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(236, 236, 238, 0), var(--p-wash));
  pointer-events: none;
}

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 900px) {
  .duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(48px, 7vw, 96px);
  }
}

.duo h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  list-style: none;
}

.facts-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.fact {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.fact h3 {
  font-size: 19px;
}

.fact p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
  list-style: none;
}

.step {
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}

.step-num {
  display: block;
  margin-bottom: 16px;
  color: var(--text-3);
  font: 500 13px/1 var(--mono);
}

.step-num::before {
  content: "0";
}

.step h3 {
  font-size: 21px;
}

.step p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
}

.plain-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
}

.counts > div + div {
  margin-top: 18px;
}

.counts dt {
  font-weight: 600;
}

.counts dd {
  margin-top: 4px;
  color: var(--text-2);
}

.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin: 0 auto;
}

.cta-band .lead {
  margin: 22px auto 34px;
}

.tool {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tool-title {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.badge {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.field-label {
  display: block;
  margin: 18px 0 8px;
  color: var(--text-2);
  font-size: 14px;
}

.tool textarea {
  display: block;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  resize: vertical;
}

.tool fieldset[disabled] textarea,
.tool fieldset[disabled] .btn {
  opacity: 0.5;
  cursor: not-allowed;
}

.tool .btn {
  margin-top: 14px;
}

.tool-status {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 13.5px;
}

.abstract {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--line-2);
  color: var(--text-2);
}

.abstract-title {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}

.questions {
  list-style: none;
  counter-reset: q;
}

.questions li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  counter-increment: q;
  font-size: 16.5px;
}

.q-tag {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-3);
  font: 500 10.5px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.notfound h1 {
  font-size: clamp(48px, 8vw, 112px);
}

/* Legal pages */

.prose {
  max-width: 72ch;
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 52px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.prose h3 {
  margin-top: 32px;
  color: var(--text);
  font-size: 20px;
}

.prose h4 {
  margin-top: 24px;
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--text);
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
}

.prose code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface-2);
  font: 0.9em var(--mono);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.prose blockquote {
  padding-left: 18px;
  border-left: 2px solid var(--line-2);
}

.table-wrap {
  overflow-x: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.prose th,
.prose td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--text);
  font-weight: 600;
}

.prose .align-center {
  text-align: center;
}

.prose .align-right {
  text-align: right;
}

.draft-note {
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(229, 72, 77, 0.45);
  border-radius: 12px;
  background: rgba(229, 72, 77, 0.08);
  color: var(--text);
}

mark.todo {
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(250, 204, 21, 0.16);
  color: #fde68a;
}

/* ------------------------------------------------------------------ Home: hero */

.hero {
  position: relative;
  padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px);
  overflow-x: clip;
  isolation: isolate;
}

/* A slow mesh of color behind the headline: three soft fields that drift. Transforms only. */
.aurora {
  position: absolute;
  inset: -240px 0 auto;
  z-index: -1;
  height: 1100px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 85%);
  mask-image: linear-gradient(#000 30%, transparent 85%);
}

.au {
  position: absolute;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  will-change: transform;
}

.au-1 {
  top: 40px;
  left: calc(50% - 760px);
  background: radial-gradient(closest-side, rgba(95, 207, 151, 0.2), rgba(95, 207, 151, 0));
}

.au-2 {
  top: -60px;
  left: calc(50% - 200px);
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.13), rgba(56, 189, 248, 0));
}

.au-3 {
  top: 180px;
  left: calc(50% + 40px);
  background: radial-gradient(closest-side, rgba(129, 140, 248, 0.14), rgba(129, 140, 248, 0));
}

@media (prefers-reduced-motion: no-preference) {
  .au-1 {
    animation: drift-a 26s ease-in-out infinite alternate;
  }
  .au-2 {
    animation: drift-b 32s ease-in-out infinite alternate;
  }
  .au-3 {
    animation: drift-c 29s ease-in-out infinite alternate;
  }
}

@keyframes drift-a {
  to {
    transform: translate3d(220px, 80px, 0) scale(1.15);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-180px, 140px, 0) scale(0.9);
  }
}

@keyframes drift-c {
  to {
    transform: translate3d(-260px, -90px, 0) scale(1.2);
  }
}

.hero-copy {
  text-align: center;
}

.works {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 14px;
}

.works-logos {
  display: inline-flex;
  gap: 2px;
}

.works .logo {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-title {
  max-width: 980px;
  margin: 22px auto 0;
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--text-2);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  text-wrap: pretty;
}

.fn {
  position: relative;
  top: -0.5em;
  margin-left: 2px;
  color: var(--text-3);
  font: 500 0.62em/1 var(--mono);
  text-decoration: none;
}

.fn:hover {
  color: var(--text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-cta .logo {
  width: 20px;
  height: 20px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
}

.btn-meta {
  color: var(--text-3);
  font: 500 13px/1 var(--mono);
}

.ico-play {
  width: 14px;
  height: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.9s var(--ease) both;
  }
  .hero-copy .rise:nth-child(2) {
    animation-delay: 0.07s;
  }
  .hero-copy .rise:nth-child(3) {
    animation-delay: 0.14s;
  }
  .hero-copy .rise:nth-child(4) {
    animation-delay: 0.2s;
  }
  .engine.rise {
    animation-duration: 1.2s;
    animation-delay: 0.3s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

/* ------------------------------------------------------------------ Home: the engine */

.engine {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin: clamp(32px, 3.6vw, 44px) auto 0;
}

/* The question on the left, large; the side panel with the answer on the right. */
.engine-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 39%, 440px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  height: 496px;
  padding: 24px 24px 24px clamp(28px, 4.4vw, 60px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(70% 90% at 22% 50%, rgba(129, 140, 248, 0.07), transparent 70%),
    radial-gradient(120% 90% at 50% 70%, #111114 0%, #0a0a0c 60%);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.engine-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.eg-call {
  display: grid;
  gap: 28px;
  min-width: 0;
}

/* The scenes share one cell, so the stage has the height of the longest one. */
.eg-asks {
  display: grid;
}

.eg-ask {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0s 0.2s;
}

.eg-ask.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s var(--ease), visibility 0s;
}

.eg-speaker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--text-2);
  font-size: 14px;
}

.eg-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4c5d7a;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  transition: box-shadow 0.3s;
}

.eg-avatar-ps {
  background: #7a5260;
}

.eg-avatar-ev {
  background: #6b6a4c;
}

.is-talking .eg-avatar {
  box-shadow: 0 0 0 2px #0e0e10, 0 0 0 4px var(--green);
}

.eg-who {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.eg-who b {
  color: var(--text);
  font-weight: 600;
}

.eg-who small {
  color: var(--text-3);
  font-size: inherit;
}

.eg-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.eg-wave i {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: var(--text-3);
  transition: background-color 0.3s;
}

.is-talking .eg-wave i {
  background: var(--green);
  animation: talk 0.9s ease-in-out infinite;
}

.is-talking .eg-wave i:nth-child(2) {
  animation-delay: -0.3s;
}

.is-talking .eg-wave i:nth-child(3) {
  animation-delay: -0.6s;
}

.is-talking .eg-wave i:nth-child(4) {
  animation-delay: -0.15s;
}

.is-talking .eg-wave i:nth-child(5) {
  animation-delay: -0.45s;
}

@keyframes talk {
  50% {
    height: 16px;
  }
}

.eg-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 4px;
  color: var(--text-3);
  font-size: 13px;
}

.eg-app .logo {
  width: 16px;
  height: 16px;
}

.eg-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eg-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(95, 207, 151, 0.18);
}

/* The question, as the call hears it: the largest thing on the stage. */
.eg-say {
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* The words are laid out from the start, so nothing moves while they appear. They fade and
   rise in with a delay each (set from the script); only opacity and transform change. */
.eg-say .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.24em);
}

.eg-ask.is-said .eg-say .w {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur, 260ms) var(--ease), transform var(--dur, 260ms) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger, 35ms));
}

.eg-text .w {
  opacity: 0;
}

.eg-card:not(.is-out) .eg-text .w {
  opacity: 1;
  transition: opacity var(--dur, 220ms) ease-out;
  transition-delay: calc(var(--i, 0) * var(--stagger, 40ms));
}

/* Where the answer came from, with a line that runs towards the panel. */
.eg-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 20px;
  overflow: hidden;
  color: var(--text-3);
  font: 500 13px/20px var(--mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.eg-status::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.eg-status::after {
  content: "";
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.eg-status[data-state="hit"],
.eg-status[data-state="general"] {
  opacity: 1;
}

.eg-status[data-state="hit"]::after,
.eg-status[data-state="general"]::after {
  transform: none;
}

.eg-status[data-state="hit"] {
  color: var(--green);
}

.eg-status[data-state="hit"]::before {
  box-shadow: 0 0 0 4px rgba(95, 207, 151, 0.18);
}

.eg-status[data-state="general"] {
  color: var(--text-2);
}

/* The side panel, as in the extension. */
.eg-panel {
  position: relative;
  align-self: stretch;
  min-width: 0;
  padding: 10px 10px 60px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--p-wash);
  color: var(--p-text);
  font-family: var(--panel-font);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.eg-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
}

.eg-panel-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}

.eg-panel-brand .mark {
  width: 22px;
  height: 22px;
}

.eg-clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(34, 160, 107, 0.13);
  color: #157a42;
  font: 600 14px/1 var(--mono);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s, color 0.3s, background-color 0.3s;
}

.eg-clock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.eg-clock.is-running {
  background: rgba(9, 9, 11, 0.06);
  color: var(--p-text-3);
}

.eg-clock.is-off {
  opacity: 0;
}

.eg-cards {
  position: relative;
  display: grid;
}

.eg-card {
  grid-area: 1 / 1;
  align-self: start;
  padding: 16px 20px 20px;
  border-radius: 14px;
  background: var(--p-card);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
}

.eg-card.is-on:not(.is-out) {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s var(--ease), transform 0.3s var(--ease), visibility 0s;
}

.eg-card-who {
  display: flex;
  justify-content: space-between;
  color: var(--p-text-3);
  font-size: 13px;
}

.eg-text {
  margin-top: 8px;
  color: #18181b;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.eg-card-general .eg-text {
  padding-left: 14px;
  border-left: 3px solid #a1a1aa;
}

.eg-general-label {
  margin-top: 8px;
  color: #4d4d57;
  font-size: 13px;
  font-weight: 600;
}

.eg-code {
  margin: 14px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f4f4f5;
  color: #18181b;
  font: clamp(12.5px, 1.15vw, 15px)/1.5 var(--mono);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}

.eg-code.is-out {
  opacity: 0;
  transform: translateY(4px);
}

.eg-cite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 3px 8px;
  border: 1px solid #d4d4d8;
  border-radius: 7px;
  background: #f4f4f5;
  color: #3f3f46;
  font-size: 12px;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}

.eg-cite .logo {
  width: 13px;
  height: 13px;
  filter: invert(1);
}

.eg-cite.is-out {
  opacity: 0;
  transform: translateY(4px);
}

.eg-card .eg-cite {
  transition-duration: 0.25s;
  margin-top: 16px;
  padding: 5px 10px;
  font-size: 13.5px;
}

.eg-input {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 6px 0 14px;
  border: 1px solid rgba(9, 9, 11, 0.1);
  border-radius: 12px;
  background: #fff;
  color: #a1a1aa;
  font-size: 13px;
}

.eg-input i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e4e4e7;
}

.eg-input svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #71717a;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eg-idle {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  color: var(--p-text-3);
  font-size: 13px;
  transition: opacity 0.2s;
}

.eg-idle.is-out {
  transition-duration: 0.08s;
  opacity: 0;
}

.eg-idle i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p-live);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.engine-bar {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.eg-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.eg-tab {
  position: relative;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  font: 500 13.5px/1 var(--font);
  cursor: pointer;
  overflow: hidden;
  transition: color 0.25s, background-color 0.25s;
}

.eg-tab:hover {
  color: var(--text);
}

.eg-tab[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.eg-tab-bar {
  position: absolute;
  right: 16px;
  bottom: 5px;
  left: 16px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
}

.eg-tab-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.engine-note {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

/* ------------------------------------------------------------------ Home: trust */

.trust {
  padding: 8px 0 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  list-style: none;
  color: var(--text-2);
  font-size: 15px;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trust-row svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ Home: speed */

.speed {
  position: relative;
  padding-block: clamp(44px, 4.5vw, 56px) clamp(32px, 3vw, 40px);
  isolation: isolate;
  overflow-x: clip;
}

.speed-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.speed-title {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.speed-figure {
  display: flex;
  align-items: flex-start;
  margin-top: 14px;
}

.speed-num {
  display: flex;
  align-items: baseline;
  font-size: clamp(88px, 10.5vw, 148px);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.speed-num [data-speed-num] {
  padding-right: 0.04em;
  background: linear-gradient(180deg, #fff 35%, #9fe6c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.speed-unit {
  margin-left: 0.08em;
  color: var(--green);
  font-size: 0.42em;
  letter-spacing: -0.02em;
}

.speed-label {
  margin-top: 6px;
  color: var(--text-2);
  font: 500 12.5px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.speed-text {
  max-width: 50ch;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* The map floats in soft colour, like the light behind the hero. */
.speed-brain {
  position: relative;
  min-width: 0;
}

.speed-brain::before {
  content: "";
  position: absolute;
  inset: -12% -8% 0;
  z-index: -1;
  background:
    radial-gradient(closest-side at 34% 44%, rgba(129, 140, 248, 0.13), transparent),
    radial-gradient(closest-side at 66% 46%, rgba(56, 189, 248, 0.09), transparent),
    radial-gradient(closest-side at 50% 88%, rgba(95, 207, 151, 0.09), transparent);
  pointer-events: none;
}

.brain-box {
  position: relative;
}

.brain {
  display: block;
  width: 100%;
  height: 400px;
}

/* The kinds of source: chips laid over the map, placed by the script next to their group. */
.brain-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.brain-chips:not(.is-placed) {
  visibility: hidden;
}

.bchip {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px 5px 5px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(17, 17, 20, 0.9);
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.9);
  transition: border-color 0.3s var(--ease), color 0.3s, box-shadow 0.3s var(--ease);
}

.bchip.is-hit {
  border-color: rgba(95, 207, 151, 0.75);
  color: var(--text);
  box-shadow: 0 0 0 4px rgba(95, 207, 151, 0.12), 0 0 30px -4px rgba(95, 207, 151, 0.55);
}

.bchip-tile {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  font: 700 8.5px/1 var(--mono);
  letter-spacing: 0.02em;
}

.bchip-tile .logo,
.bchip-tile svg {
  width: 17px;
  height: 17px;
}

.bchip-tile svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.bchip-git {
  border: 1px solid var(--line-2);
  background: #26262b;
}

.bchip-folder {
  background: #1d4e73;
  color: #bae6fd;
}

.bchip-doc {
  background: #2f5fd0;
}

.bchip-pdf {
  background: #c93c3c;
}

.bchip-ppt {
  background: #c8622a;
}

.bchip-xls {
  background: #23774a;
}

.speed-brain figcaption {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

/* ------------------------------------------------------------------ Home: who it is for */

/* One sentence names the role, and the role word rolls to the next one. Under it, one stage
   plays a call of that role. The stage is built from the parts of the hero (.engine-stage,
   .eg-*); the rules here only add what is new. */

.section.who {
  padding-block: clamp(48px, 4.4vw, 64px);
}

.who-title {
  font-size: clamp(30px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.who-l1,
.who-l2 {
  display: block;
}

.who-l2 {
  color: rgba(250, 250, 250, 0.5);
}

.who-l2 em {
  color: var(--text);
  font-style: normal;
}

/* The four role words share one cell: the line keeps the width and height of the longest. */
.who-roll {
  display: inline-grid;
  vertical-align: bottom;
  margin-bottom: -0.16em;
  padding-bottom: 0.16em;
  overflow: hidden;
}

.who-word {
  position: relative;
  grid-area: 1 / 1;
  justify-self: start;
  color: var(--green);
  white-space: nowrap;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.who-word::after {
  content: "";
  position: absolute;
  right: 0.02em;
  bottom: -0.06em;
  left: 0.02em;
  height: max(3px, 0.06em);
  border-radius: 2px;
  background: currentColor;
  opacity: 0.45;
  transform-origin: left;
  transition: transform 0.3s var(--ease) 0.1s;
}

.who-word:not(.is-on) {
  opacity: 0;
  transform: translateY(100%);
}

.who-word.is-gone {
  transform: translateY(-100%);
}

.who-word:not(.is-on)::after {
  transform: scaleX(0);
  transition: none;
}

.who-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(24px, 2.4vw, 32px);
}

.who-chip {
  position: relative;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 15px/1.2 var(--font);
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
}

.who-chip:hover {
  color: var(--text);
}

.who-chip[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.who-chip .eg-tab-bar {
  right: 20px;
  left: 20px;
  bottom: 6px;
}

/* The hero's stage, with the height of this section's longest scene. */
.who-stage {
  height: auto;
  margin-top: 14px;
}

/* The question is dim; the words that matter are in full white. */
.who-say {
  color: rgba(250, 250, 250, 0.52);
}

.who-say b {
  color: var(--text);
  font-weight: inherit;
}

/* Where the answer came from, under the question. */
.who-src {
  margin-top: 24px;
  color: var(--text-3);
  font: 500 clamp(14.5px, 1.3vw, 18px)/1.4 var(--mono);
  letter-spacing: -0.01em;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}

.who-src::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.75em;
  vertical-align: 0.12em;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(95, 207, 151, 0.18);
}

.who-src b {
  color: var(--green);
  font-weight: 600;
}

/* "from" stays with the file name; only the place after the comma can wrap. */
.who-src {
  white-space: nowrap;
}

.who-src span {
  white-space: normal;
}

.who-src.is-out {
  opacity: 0;
  transform: translateY(4px);
}

/* The panel has the height of the longest answer here; a shorter card fills it, with its
   source in a row at its foot. No input row: the panel is about the answer. */
.who-panel {
  align-self: center;
  padding-bottom: 10px;
}

.who-panel .eg-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.who-panel .eg-text {
  margin-bottom: 14px;
}

.who-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.who-foot .eg-cite {
  margin-top: 0;
}

.who-text {
  color: #3f3f46;
  font-size: clamp(18px, 1.6vw, 22px);
}

.who-text b {
  color: #0b0b0c;
  font-weight: 600;
}

/* A mark and the stop or comma after it stay on one line. */
.who-nb {
  white-space: nowrap;
}

/* The key figure of the answer, marked as with a highlighter. */
.who-mark {
  position: relative;
  display: inline-block;
  isolation: isolate;
  background: none;
  color: #0b0b0c;
  font-weight: 650;
}

.who-mark::before {
  content: "";
  position: absolute;
  right: -0.14em;
  bottom: 0.04em;
  left: -0.14em;
  z-index: -1;
  height: 0.46em;
  border-radius: 0.12em;
  background: rgba(34, 160, 107, 0.26);
  transform-origin: left;
  transition: transform 0.3s var(--ease) calc(var(--i, 0) * var(--stagger, 40ms) + 160ms);
}

.eg-card.is-out .who-mark::before {
  transform: scaleX(0);
  transition: none;
}

/* The line of code, as a chip next to its source. */
.who-code {
  display: inline-flex;
  gap: 12px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  line-height: 1.3;
  white-space: pre;
}

.who-code b {
  color: #157a42;
  font-weight: 650;
}

.who-ln {
  color: #a1a1aa;
}

.who-av-mic {
  background: #3d5e50;
}

.who-av-mic .logo {
  width: 15px;
  height: 15px;
}

.logo-mic rect {
  fill: currentColor;
}

.logo-mic path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.who-note {
  position: relative;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 860px) {
  .who-panel {
    align-self: stretch;
  }
  .who-src {
    margin-top: 18px;
  }
}

/* Reduced motion: every word of a scene is there at once, with no delay per word. */
@media (prefers-reduced-motion: reduce) {
  .who-stage .w,
  .who-mark::before {
    transition-delay: 0s !important;
  }
}

/* On phones the role word has its own line, sized so the longest role fits. */
@media (max-width: 600px) {
  .who-title {
    font-size: min(8.4vw, 40px);
  }
  .who-src {
    font-size: 13.5px;
  }
  .who-roll {
    display: grid;
  }
  .who-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .who-chip {
    min-height: 48px;
    padding: 6px 10px 10px;
    font-size: 14.5px;
  }
  .who-chip .eg-tab-bar {
    right: 14px;
    left: 14px;
  }
}

/* ------------------------------------------------------------------ Home: FAQ, notes, closer */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 40px;
}

.faq-wrap h2,
.pricing h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.notes {
  display: grid;
  gap: 6px;
  max-width: 820px;
  margin-top: 56px;
  padding: 20px 0 0 18px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
}

.closer {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 120% at 50% 100%, rgba(95, 207, 151, 0.08), transparent 70%);
}

.closer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.closer-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.closer .hero-cta {
  margin-top: 0;
}

/* ------------------------------------------------------------------ The film */

.film-dialog {
  width: min(1120px, 100% - 32px);
  max-width: none;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: #000;
  overflow: hidden;
}

.film-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.film-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.film-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
}

.film-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ------------------------------------------------------------------ Thanks */

.thanks-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid rgba(95, 207, 151, 0.5);
  border-radius: 50%;
  background: rgba(95, 207, 151, 0.1);
}

.thanks-check svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks .fine {
  margin-top: 28px;
}

/* ------------------------------------------------------------------ Scroll reveals (no JS) */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal,
    .plans,
    .faq-wrap {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
}

/* ------------------------------------------------------------------ Smaller screens */

@media (max-width: 900px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .engine-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    height: auto;
    padding: 20px 14px 14px;
  }
  .eg-call {
    gap: 18px;
    padding: 0 6px;
  }
  .eg-say {
    margin-top: 16px;
  }
  .engine-bar {
    display: block;
  }
  .eg-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 16px;
  }
  .eg-tab {
    height: auto;
    min-height: 44px;
    padding: 8px 8px 12px;
    border-radius: 12px;
    line-height: 1.2;
  }
  .eg-tab-bar {
    right: 10px;
    left: 10px;
  }
  .speed-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .brain {
    height: clamp(240px, 72vw, 300px);
  }
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .closer-row {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero-cta .btn {
    width: 100%;
  }
  .eg-app-name {
    display: none;
  }
  .eg-status {
    font-size: 12px;
  }
  .speed-label {
    font-size: 11.5px;
    letter-spacing: 0.06em;
  }
  .bchip {
    gap: 7px;
    padding: 4px 10px 4px 4px;
    border-radius: 10px;
    font-size: 13px;
  }
  .bchip-tile {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 7.5px;
  }
  .bchip-tile .logo,
  .bchip-tile svg {
    width: 15px;
    height: 15px;
  }
  .works {
    font-size: 13px;
  }
  .trust-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    font-size: 14.5px;
  }
  .footer-base {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
