/* two64.ai/argus: the Argus product page.
   The world is Argus's own (Argus DESIGN.md and the brand film kit): Dawn and Dusk
   wallpapers, glass sheets, Geist with Geist Mono for figures, Georgia only for the
   narrative lines, the Beacon's violet signal as the thread, crimson once per render.
   Presentation here; enhancement and motion choreography in argus.js. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f7f8fa;
  --surface: #fdfdfe;
  --recessed: #eff1f4;
  --deep: #e5e9ee;
  --ink: #20242b;
  --ink-dim: #4f5763;
  --ink-faint: #626d7a;
  --hair: rgba(32, 36, 43, 0.09);
  --hair-strong: rgba(32, 36, 43, 0.18);
  --crimson: #c0232a;
  --crimson-soft: rgba(192, 35, 42, 0.08);
  --blue: #1f5fa8;
  --teal: #23776d;
  --violet: #7651a6;
  --violet-ink: #5b3d86;
  --violet-d: #b9a0df;
  --amber: #b7791f;
  --violet-wash: rgba(118, 81, 166, 0.08);
  --violet-line: rgba(118, 81, 166, 0.3);
  --glass-chrome: rgba(247, 248, 252, 0.66);
  --glass-widget: rgba(253, 253, 254, 0.66);
  --glass-stage: rgba(253, 253, 254, 0.86);
  --glass-edge: rgba(255, 255, 255, 0.8);
  --glass-highlight: rgba(255, 255, 255, 0.92);
  --shadow-float: 0 2px 2px rgba(16, 22, 34, 0.04), 0 26px 64px -26px rgba(16, 22, 34, 0.32);
  --shadow-stage: 0 2px 4px rgba(16, 22, 34, 0.05), 0 48px 110px -40px rgba(16, 22, 34, 0.42);
  --shadow-raised: 0 4px 10px rgba(32, 36, 43, 0.05), 0 28px 70px -34px rgba(32, 36, 43, 0.3);
  --wall-dawn:
    radial-gradient(60% 45% at 18% 18%, rgba(255, 227, 204, 0.75) 0%, rgba(255, 227, 204, 0) 70%),
    radial-gradient(55% 40% at 82% 12%, rgba(196, 214, 238, 0.95) 0%, rgba(196, 214, 238, 0) 70%),
    radial-gradient(70% 50% at 50% 110%, rgba(86, 150, 168, 0.85) 0%, rgba(86, 150, 168, 0) 70%),
    radial-gradient(40% 30% at 70% 70%, rgba(150, 196, 204, 0.55) 0%, rgba(150, 196, 204, 0) 70%),
    linear-gradient(180deg, #e9eef6 0%, #dce4ee 45%, #bfd3d8 100%);
  --wall-dusk:
    radial-gradient(55% 45% at 16% 14%, rgba(94, 76, 140, 0.55) 0%, rgba(94, 76, 140, 0) 70%),
    radial-gradient(50% 40% at 84% 10%, rgba(40, 70, 120, 0.65) 0%, rgba(40, 70, 120, 0) 70%),
    radial-gradient(70% 50% at 50% 112%, rgba(24, 92, 108, 0.85) 0%, rgba(24, 92, 108, 0) 70%),
    radial-gradient(35% 30% at 72% 68%, rgba(52, 110, 120, 0.45) 0%, rgba(52, 110, 120, 0) 70%),
    linear-gradient(180deg, #121622 0%, #151b2a 50%, #10232b 100%);
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: Georgia, "Times New Roman", serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --gutter: clamp(16px, 4.4vw, 64px);
  --maxw: 1240px;
  --mast-h: 68px;
  scrollbar-color: rgba(32, 36, 43, 0.32) transparent;
}

/* Dusk: the bands where signals are read. Same recipe, night values. */
.dusk {
  --ink: #f2f3f5;
  --ink-dim: #b4bbc6;
  --ink-faint: #9aa3b0;
  --hair: rgba(242, 243, 245, 0.1);
  --hair-strong: rgba(242, 243, 245, 0.2);
  --surface: #202328;
  --recessed: #2a2e35;
  --violet-wash: rgba(185, 160, 223, 0.12);
  --violet-line: rgba(185, 160, 223, 0.36);
  color: var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mast-h) + 16px);
}
body {
  margin: 0;
  background: #dce4ee;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection {
  background: rgba(118, 81, 166, 0.24);
  color: #20242b;
}
input,
textarea {
  caret-color: var(--violet);
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.dusk :focus-visible {
  outline-color: var(--violet-d);
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
p,
h1,
h2,
h3,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
}
.mono,
.num {
  font-variant-numeric: tabular-nums;
}
.mono {
  font-family: var(--mono);
}
.crimson {
  color: var(--crimson);
}
.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: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  font-weight: 500;
}
.skip:focus {
  top: 12px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tint-blue {
  color: var(--blue);
}
.tint-teal {
  color: var(--teal);
}
.tint-violet {
  color: var(--violet);
}
.tint-amber {
  color: var(--amber);
}
.tint-crimson {
  color: var(--crimson);
}

/* ---------- Walls ---------- */
.wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.wall-dawn {
  background: var(--wall-dawn);
}
.wall-dusk {
  background: var(--wall-dusk);
}

/* ---------- Marks ---------- */
.beacon {
  height: 1em;
  width: auto;
  fill: currentColor;
  flex: none;
}
.beacon .band-signal {
  fill: var(--violet);
}
.dusk .beacon .band-signal {
  fill: var(--violet-d);
}
.wordmark {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.dot {
  color: var(--violet);
}
.dusk .dot {
  color: var(--violet-d);
}
.lockup-264 {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: #0c1f1a;
  text-decoration: none;
  font-family: Archivo, var(--sans);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.mark264 {
  height: 0.76em;
  width: auto;
  fill: currentColor;
}
.mark264 .valley {
  fill: #1f8f82;
}
.word264 .ai {
  color: #086240;
}

/* ---------- Buttons and pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-ink {
  background: var(--ink);
  color: #fdfdfe;
}
.btn-ghost {
  background: rgba(253, 253, 254, 0.62);
  border-color: var(--hair-strong);
  color: var(--ink);
}
.btn-lg {
  height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 16px;
}
.btn .ic {
  width: 18px;
  height: 18px;
}
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover {
    background: #363c47;
  }
  .btn-ghost:hover {
    background: var(--surface);
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 1.75em;
  padding: 0 0.7em;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  background: var(--surface);
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.7em;
  height: 2.7em;
  border-radius: 999px;
  background: var(--recessed);
  border: 1px solid var(--hair-strong);
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.avatar-sm {
  width: 2.4em;
  height: 2.4em;
  font-size: 0.74em;
}
.src {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 2em;
  padding: 0 0.65em;
  border-radius: 0.6em;
  background: var(--recessed);
  border: 1px solid var(--hair);
  color: var(--ink-dim);
  font-size: 0.74em;
  white-space: nowrap;
}

/* ---------- Masthead ---------- */
.mast {
  position: fixed;
  inset: 12px var(--gutter) auto;
  z-index: 50;
  pointer-events: none;
}
.mast-bar {
  pointer-events: auto;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 16px;
  border-radius: 18px;
  background: var(--glass-chrome);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    var(--shadow-float);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  transition: background-color 300ms ease;
}
.mast.is-scrolled .mast-bar {
  background: rgba(247, 248, 252, 0.86);
}
.mast .lockup-264 {
  font-size: 19px;
}
.mast-sep {
  width: 1px;
  height: 22px;
  background: var(--hair-strong);
}
.mast-product {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
}
.mast-product .beacon {
  height: 17px;
}
.mast-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.mast-nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 15px;
  color: var(--ink-dim);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .mast-nav a:hover {
    background: rgba(32, 36, 43, 0.06);
    color: var(--ink);
  }
}
@media (max-width: 860px) {
  .mast-nav,
  .mast-sep {
    display: none;
  }
  .mast-cta {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .mast-product {
    display: none;
  }
  .mast-bar {
    padding-left: 14px;
  }
  .mast .lockup-264 {
    font-size: 17px;
  }
  .mast-cta {
    padding: 0 13px;
    font-size: 14px;
  }
}

/* ---------- Hero: the control room ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--mast-h) + clamp(36px, 6vh, 72px)) var(--gutter) clamp(56px, 8vh, 96px);
  overflow: clip;
}
.hero-dusk {
  opacity: 0;
  animation: dusk-out 1100ms var(--ease-out) both;
}
@keyframes dusk-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.4vw, 76px);
  align-items: center;
}
.lockup-argus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 4vh, 40px);
  font-size: 27px;
}
.lockup-argus .beacon {
  height: 30px;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero h1 {
  font-size: clamp(46px, 5.5vw, 86px);
  line-height: 1;
  max-width: 11ch;
}
.hero-lede {
  margin: clamp(20px, 3vh, 28px) 0 clamp(26px, 4vh, 36px);
  max-width: 39ch;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-dim);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  margin-top: clamp(22px, 3.4vh, 32px);
  font-size: 14px;
  color: var(--ink-dim);
}
.wake {
  animation: wake 820ms var(--ease-out) both;
  animation-delay: calc(240ms + var(--i, 0) * 70ms);
}
@keyframes wake {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
}
.hero .lockup-argus .band-signal {
  animation: signal-on 900ms var(--ease-out) 420ms both;
}
@keyframes signal-on {
  from {
    opacity: 0.15;
  }
}

/* The window */
.hero-stage {
  position: relative;
  container-type: inline-size;
  perspective: 1900px;
}
.win {
  position: relative;
  border-radius: 24px;
  background: rgba(253, 253, 254, 0.88);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 2px 4px rgba(16, 22, 34, 0.05),
    0 60px 120px -44px rgba(16, 22, 34, 0.5);
  font-size: 13px;
  font-size: clamp(12.5px, 1.95cqw, 14px);
  line-height: 1.4;
  overflow: hidden;
  transform: rotateY(-9deg) rotateX(4deg);
  transform-origin: 40% 50%;
  animation: win-in 1200ms var(--ease-out) 380ms backwards;
}
@keyframes win-in {
  from {
    opacity: 0;
    transform: translateY(46px) rotateY(-16deg) rotateX(16deg) scale(0.94);
  }
}
.win-top {
  display: flex;
  align-items: center;
  gap: 1em;
  min-height: 3.6em;
  padding: 0.55em 1.1em;
  border-bottom: 1px solid var(--hair);
  background: rgba(247, 248, 252, 0.72);
}
.win-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: 1.05em;
  letter-spacing: -0.03em;
}
.win-brand .beacon {
  height: 1.05em;
}
.win-search {
  flex: 1;
  max-width: 24em;
  margin: 0 auto;
  height: 2.3em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0 0.6em 0 0.8em;
  border-radius: 0.65em;
  background: var(--recessed);
  color: var(--ink-faint);
  font-size: 0.92em;
}
.win-search kbd {
  margin-left: auto;
  padding: 0.1em 0.4em;
  border-radius: 0.35em;
  border: 1px solid var(--hair-strong);
  font-family: var(--mono);
  font-size: 0.82em;
}
.win-body {
  position: relative;
  padding: 1.1em;
}
.glance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85em 1.2em;
  padding: 0.95em 1.2em;
  border-radius: 1.2em;
  background: var(--surface);
  border: 1px solid var(--hair);
}
.glance-title {
  font-family: var(--serif);
  font-size: 2.3em;
  line-height: 1;
  letter-spacing: -0.04em;
}
.glance-date {
  margin-top: 0.35em;
  font-size: 0.8em;
  color: var(--ink-dim);
}
.focus-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 2.5em;
  padding: 0.35em 0.95em;
  border-radius: 999px;
  background: var(--violet-wash);
  border: 1px solid var(--violet-line);
  white-space: nowrap;
}
.focus-k {
  font-family: var(--mono);
  font-size: 0.72em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.focus-v {
  font-weight: 500;
}
.pulse-dot {
  position: relative;
  width: 0.55em;
  height: 0.55em;
  border-radius: 999px;
  background: var(--violet);
}
.pulse-dot {
  box-shadow: 0 0 0 0.22em rgba(118, 81, 166, 0.18);
}
.focus-pill {
  justify-self: end;
  min-width: 0;
  max-width: 100%;
}
.focus-v {
  overflow: hidden;
  text-overflow: ellipsis;
}
.counts {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 0.8em 0.4em 0;
  border-top: 1px solid var(--hair);
}
.counts div {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.counts dt {
  margin-top: 0.3em;
  font-size: 0.74em;
  color: var(--ink-dim);
  white-space: nowrap;
}
.counts dd {
  font-size: 1.75em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.counts .is-crimson dd {
  color: var(--crimson);
}
.widgets {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.85em;
  margin-top: 0.85em;
}
.widget {
  padding: 0.9em 1em;
  border-radius: 1.1em;
  background: rgba(253, 253, 254, 0.74);
  border: 1px solid var(--hair);
}
.w-renew {
  grid-row: span 2;
}
.widget-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.55em;
  font-weight: 600;
  font-size: 0.95em;
}
.count-tag {
  padding: 0.1em 0.5em;
  border-radius: 999px;
  background: var(--recessed);
  color: var(--ink-dim);
  font-size: 0.78em;
  font-weight: 500;
}
.widget-aside {
  margin-left: auto;
  font-size: 0.8em;
  font-weight: 400;
  color: var(--ink-dim);
}
.rows {
  display: grid;
  gap: 0.2em;
}
.row {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name fig" "meta fig";
  align-items: center;
  column-gap: 0.8em;
  padding: 0.6em 0.65em;
  border: 0;
  border-radius: 0.75em;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease-out);
}
.row:active {
  transform: scale(0.985);
}
.row-name {
  grid-area: name;
  font-weight: 500;
}
.row-meta {
  grid-area: meta;
  font-size: 0.78em;
  color: var(--ink-dim);
}
.row-fig {
  grid-area: fig;
  font-size: 0.92em;
  font-weight: 500;
}
.row.is-focus {
  background: var(--violet-wash);
  box-shadow: inset 0 0 0 1px var(--violet-line);
}
@media (hover: hover) and (pointer: fine) {
  .row:hover {
    background: var(--recessed);
  }
  .row.is-focus:hover {
    background: rgba(118, 81, 166, 0.13);
  }
}
.sig-list li,
.meet-list li {
  display: flex;
  gap: 0.6em;
  padding: 0.45em 0;
  font-size: 0.86em;
}
.sig-list li + li,
.meet-list li + li {
  border-top: 1px solid var(--hair);
}
.sig-list .ic {
  margin-top: 0.12em;
  color: var(--violet);
}
.sig-list small {
  display: block;
  margin-top: 0.15em;
  font-size: 0.86em;
  color: var(--ink-faint);
}
.meet-list .mono {
  width: 3.4em;
  flex: none;
  color: var(--ink-dim);
}

/* Peek: the account picture opened from a row; the board recedes under it */
.board {
  transition:
    opacity 320ms var(--ease-out),
    filter 320ms var(--ease-out);
}
.is-peeking .board {
  opacity: 0.16;
  filter: blur(2px);
}
.peek {
  position: absolute;
  inset: 0.7em 0.7em auto;
  z-index: 2;
  padding: 1.1em 1.25em;
  border-radius: 1.2em;
  background: var(--surface);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
}
.peek[hidden],
.ask-pop[hidden] {
  display: none;
}
.peek-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.peek-back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  height: 2.3em;
  padding: 0 0.8em;
  border: 0;
  border-radius: 0.65em;
  background: var(--recessed);
  font-size: 0.84em;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease-out);
}
.peek-back:active {
  transform: scale(0.97);
}
.peek-back .ic {
  transform: rotate(-135deg);
}
@media (hover: hover) and (pointer: fine) {
  .peek-back:hover {
    background: var(--deep);
  }
}
.peek-name {
  margin-top: 0.6em;
  font-size: 1.75em;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.peek-sub {
  margin-top: 0.2em;
  font-size: 0.84em;
  color: var(--ink-dim);
}
.peek-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7em;
  margin: 0.95em 0;
}
.peek-stats div {
  padding: 0.6em 0.8em;
  border-radius: 0.8em;
  background: var(--recessed);
}
.peek-stats dt {
  font-size: 0.76em;
  color: var(--ink-dim);
}
.peek-stats dd {
  margin-top: 0.15em;
  font-size: 1.3em;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.peek-quads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7em;
}
.quad {
  padding: 0.7em 0.85em;
  border-radius: 0.9em;
  border: 1px solid var(--hair);
}
.quad-risk {
  box-shadow: inset 0 2px 0 var(--crimson);
}
.quad-k {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.8em;
  font-weight: 500;
  color: var(--ink-dim);
}
.quad-v {
  margin-top: 0.35em;
  font-size: 1.15em;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.quad-s {
  margin-top: 0.1em;
  font-size: 0.78em;
  color: var(--ink-dim);
}
.peek-next {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  margin-top: 0.7em;
  padding: 0.7em 0.85em;
  border-radius: 0.9em;
  background: var(--violet-wash);
  font-weight: 500;
}
.peek-next .ic {
  margin-top: 0.1em;
}
.peek-next-k {
  display: block;
  font-size: 0.76em;
  font-weight: 400;
  color: var(--ink-dim);
}
.peek-src {
  margin-top: 0.85em;
  font-size: 0.76em;
  color: var(--ink-dim);
}

/* Ask, over the board */
.ask-pop {
  position: absolute;
  left: 0.7em;
  right: 0.7em;
  bottom: 0.7em;
  z-index: 3;
  padding: 1em 1.15em;
  border-radius: 1.15em;
  background: var(--surface);
  transform-origin: 50% 100%;
  box-shadow:
    inset 0 2px 0 var(--violet),
    0 2px 4px rgba(32, 36, 43, 0.05),
    0 12px 22px -14px rgba(16, 22, 34, 0.4);
}
.ask-q {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.95em;
}
.ask-a {
  min-height: 4.5em;
  margin: 0.55em 0 0.6em;
  font-size: 0.92em;
  line-height: 1.55;
  text-wrap: pretty;
}
.ask-srcs {
  font-size: 0.76em;
  color: var(--ink-dim);
}
.ask-pop .peek-back {
  position: absolute;
  top: 0.7em;
  right: 0.7em;
}
.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 1em;
  margin-left: 0.2em;
  vertical-align: -0.14em;
  border-radius: 1px;
  background: var(--violet);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.win-ask {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.75em 1.1em;
  border-top: 1px solid var(--hair);
  background: rgba(247, 248, 252, 0.76);
  overflow: hidden;
}
.win-ask-label {
  font-weight: 600;
  font-size: 0.9em;
  margin-right: 0.3em;
  white-space: nowrap;
}
.chip-q {
  appearance: none;
  flex: none;
  height: 2.4em;
  padding: 0 0.95em;
  border-radius: 999px;
  border: 1px solid var(--violet-line);
  background: var(--violet-wash);
  font-size: 0.86em;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms var(--ease-out);
}
.chip-q:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .chip-q:hover {
    background: rgba(118, 81, 166, 0.15);
  }
}

/* The guided cursor */
.cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 22px;
  height: 22px;
  margin: -3px 0 0 -4px;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 950ms var(--ease-in-out),
    opacity 300ms ease;
}
.cursor svg {
  width: 100%;
  height: 100%;
  fill: #20242b;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 4px rgba(16, 22, 34, 0.3));
}
.cursor::after {
  content: "";
  position: absolute;
  left: -9px;
  top: -9px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid var(--violet);
  opacity: 0;
}
.cursor.is-click::after {
  animation: click-ring 480ms var(--ease-out);
}
@keyframes click-ring {
  from {
    opacity: 0.8;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}
.stage-hint {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-dim);
  transition: opacity 400ms ease;
}
.stage-hint.is-quiet {
  opacity: 0;
}

@container (max-width: 600px) {
  .win-search {
    visibility: hidden;
  }
  .glance {
    gap: 0.9em 1em;
    padding: 0.9em;
  }
  .focus-k {
    display: none;
  }
  .counts {
    padding-inline: 0;
  }
  .widgets {
    grid-template-columns: minmax(0, 1fr);
  }
  .w-meet {
    display: none;
  }
  .win-ask .chip-q + .chip-q {
    display: none;
  }
  .peek-stats dd {
    font-size: 1.1em;
  }
}

@media (max-width: 1060px) {
  .hero {
    min-height: 0;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    max-width: 13ch;
  }
  .win {
    transform: none;
  }
  @keyframes win-in {
    from {
      opacity: 0;
      transform: translateY(40px) scale(0.97);
    }
  }
}
@media (max-width: 520px) {
  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

/* ---------- Chapters ---------- */
.chapter {
  position: relative;
  isolation: isolate;
  padding: clamp(96px, 12vw, 168px) var(--gutter);
  background: var(--ground);
}
.chapter > :not(.wall) {
  position: relative;
  z-index: 1;
}
.chapter-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(40px, 5vw, 72px);
}
.headline {
  max-width: 21ch;
  font-size: clamp(32px, 3.7vw, 58px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.headline .dim {
  color: var(--ink-faint);
}
.chapter-lede {
  max-width: 48ch;
  margin-top: 22px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.5;
  color: var(--ink-dim);
  text-wrap: pretty;
}
.render {
  max-width: var(--maxw);
  margin: 0 auto;
  container-type: inline-size;
}
.render-cap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--ink-dim);
}
.cap-line {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
}
.replay {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  background: rgba(253, 253, 254, 0.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease-out);
}
.replay:active {
  transform: scale(0.97);
}
.replay[hidden] {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .replay:hover {
    background: var(--surface);
  }
}
.sheet {
  padding: 24px;
  padding: clamp(16px, 2.4cqw, 32px);
  border-radius: 28px;
  background: var(--glass-stage);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    var(--shadow-stage);
}
.sheet,
.meet-sheet,
.ask-sheet {
  font-size: 14px;
  font-size: clamp(13px, 1.24cqw, 15px);
  line-height: 1.45;
}

/* Assemble on arrival (set by script only when the render starts below the fold) */
.will-assemble .as {
  opacity: 0;
  transform: translateY(22px);
}
.will-assemble.is-in .as {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms var(--ease-out),
    transform 900ms var(--ease-out);
  transition-delay: calc(var(--k, 0) * 80ms);
}

/* ---------- Signals (Dusk, pinned) ---------- */
.signals {
  position: relative;
  isolation: isolate;
  background: #121622;
}
.signals-stage {
  position: relative;
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  overflow: hidden;
}
.signals-stage > :not(.wall) {
  position: relative;
  z-index: 1;
}
.signals-dawn {
  opacity: 0;
}
.signals-copy {
  display: grid;
  gap: 18px;
  max-width: var(--maxw);
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.sig-line {
  max-width: 17ch;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1.04;
}
.sig-line[data-line="1"] {
  color: var(--ink-dim);
}
.signals.is-live .sig-line {
  transition: color 600ms ease;
}
.signals.is-live.is-dawn .sig-line {
  color: #20242b;
}
.readline {
  display: none;
}
.frag-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.frag-group-k {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #f2f3f5;
}
.frag-group-k .ic {
  color: var(--violet-d);
}
.signals.is-live .frag-group-k {
  color: #20242b;
}
.signals.is-live .frag-group-k .ic {
  color: var(--violet);
}
.frag-group {
  padding: 14px;
  border-radius: 20px;
  background: rgba(253, 253, 254, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.frag {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.3;
  color: #20242b;
  background: rgba(253, 253, 254, 0.94);
  border: 1px solid rgba(118, 81, 166, 0.42);
  transition:
    background-color 450ms ease,
    border-color 450ms ease,
    color 450ms ease;
}
.frag .ic {
  color: var(--violet);
}
.frag-kind {
  min-width: 5.8em;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5d6773;
  transition: color 450ms ease;
}
.frag b {
  font-weight: 500;
  color: var(--crimson);
}
.frag.is-raw {
  background: rgba(32, 36, 46, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f2f3f5;
}
.frag.is-raw .ic {
  color: #9aa3b0;
}
.frag.is-raw .frag-kind {
  color: #9aa3b0;
}
.frag.is-raw b {
  color: #ec6369;
}
.frag-loss.is-loss {
  box-shadow: inset 0 2px 0 #ec6369;
}

/* Live: the stage pins and the script moves the fragments */
.signals.is-live {
  height: 330vh;
}
.signals.is-live .signals-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  padding: 0;
}
.signals.is-live .signals-copy {
  position: absolute;
  top: calc(var(--mast-h) + clamp(28px, 6vh, 64px));
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  margin: 0 auto;
}
.signals.is-live .sig-line {
  grid-area: 1 / 1;
  opacity: 0;
}
.signals.is-live .sig-line[data-line="0"] {
  opacity: 1;
}
.signals.is-live .readline {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 160px;
  margin-left: -80px;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(118, 81, 166, 0), rgba(150, 118, 200, 0.22) 46%, rgba(205, 186, 236, 0.95) 50%, rgba(150, 118, 200, 0.22) 54%, rgba(118, 81, 166, 0));
}
.signals.is-live .frag-board {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: clamp(250px, 38vh, 400px);
  margin: 0 auto;
  z-index: 3;
}
.signals.is-live .frag-group {
  background: transparent;
  border-color: transparent;
  transition: background-color 500ms ease, border-color 500ms ease;
}
.signals.is-live.is-sorted .frag-group {
  background: rgba(253, 253, 254, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}
.signals.is-live .frag-group-k {
  opacity: 0;
}
.signals.is-live .frag {
  will-change: transform;
}
@media (max-width: 900px) {
  .frag-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .frag {
    font-size: 12px;
    line-height: 1.25;
    padding: 6px 9px;
    gap: 6px;
    margin-bottom: 5px;
    border-radius: 11px;
  }
  .frag-kind {
    display: none;
  }
  .frag-group {
    padding: 8px;
    border-radius: 16px;
  }
  .frag-group-k {
    font-size: 12.5px;
    margin-bottom: 6px;
  }
  .frag-board {
    gap: 6px;
  }
  /* The settled board sits just under the last line so both rows fit a phone's screen. */
  .signals.is-live .frag-board {
    top: clamp(228px, 34vh, 400px);
  }
}

/* ---------- Picture ---------- */
/* Static chapters paint their wall on the section itself; the fades bake in the seams. */
.picture,
.meetings {
  background:
    linear-gradient(#c4d6dc, rgba(196, 214, 220, 0) 300px, rgba(196, 214, 220, 0) calc(100% - 240px), #c4d6dc),
    var(--wall-dawn);
  background-color: #c4d6dc;
}
.sheet-head .crumbs {
  font-size: 0.78em;
  color: var(--ink-faint);
}
.sheet-title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.5em;
  font-size: 2.05em;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.sheet-title .ic {
  width: 0.95em;
  height: 0.95em;
}
.sheet-title .pill {
  margin-left: auto;
  font-size: 0.34em;
  letter-spacing: 0.06em;
}
.sheet-sub {
  margin-top: 0.3em;
  font-size: 0.92em;
  color: var(--ink-dim);
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2em;
  margin: 1.3em 0;
  padding: 1.1em 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.stat-strip div {
  display: flex;
  flex-direction: column;
}
.stat-strip dt {
  font-size: 0.8em;
  color: var(--ink-dim);
}
.stat-strip dd {
  margin: 0.2em 0 0.15em;
  font-size: 1.9em;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.stat-strip span {
  font-size: 0.76em;
  color: var(--ink-faint);
}
.quads {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1em;
}
.panel {
  display: flex;
  flex-direction: column;
  padding: 1.1em 1.1em 1em;
  border-radius: 1.3em;
  background: var(--surface);
  border: 1px solid var(--hair);
}
.render-picture .panel {
  transition:
    opacity 500ms ease,
    filter 500ms ease,
    transform 600ms var(--ease-out),
    box-shadow 600ms var(--ease-out);
}
.render-picture.is-cycling .panel {
  opacity: 0.5;
  filter: blur(1.2px);
}
.render-picture.is-cycling .panel.is-focus {
  opacity: 1;
  filter: none;
  transform: translateY(-6px);
  box-shadow: 0 14px 24px -16px rgba(32, 36, 43, 0.35);
}
.q-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.45em;
  font-weight: 600;
}
.q-head > span {
  flex-basis: 100%;
  padding-left: 1.6em;
  font-size: 0.8em;
  font-weight: 400;
  color: var(--ink-dim);
}
.q-risk {
  box-shadow: inset 0 2px 0 var(--crimson);
}
.render-picture.is-cycling .q-risk.is-focus {
  box-shadow:
    inset 0 2px 0 var(--crimson),
    0 14px 24px -16px rgba(32, 36, 43, 0.35);
}
.people {
  margin-top: 0.7em;
}
.people li {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.42em 0;
  font-size: 0.92em;
  font-weight: 500;
}
.people small {
  display: block;
  font-size: 0.84em;
  font-weight: 400;
  color: var(--ink-dim);
}
.pill-new {
  margin-left: auto;
  background: var(--violet-wash);
  border-color: var(--violet-line);
  color: var(--ink);
}
.q-fig {
  margin-top: 0.65em;
  font-size: 2.3em;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.q-cap {
  margin-top: 0.2em;
  font-size: 0.82em;
  color: var(--ink-dim);
}
.bars {
  margin: 0.4em 0 0.4em;
}
.bars li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25em 0.5em;
  margin-top: 0.6em;
  font-size: 0.82em;
}
.bars i {
  position: relative;
  grid-column: 1 / -1;
  height: 0.45em;
  border-radius: 999px;
  background: var(--recessed);
  overflow: hidden;
}
.bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--amber);
  transform-origin: left;
  transform: scaleX(var(--w));
}
.will-assemble .bars i::after {
  transform: scaleX(0);
}
.will-assemble.is-in .bars i::after {
  transform: scaleX(var(--w));
  transition: transform 1100ms var(--ease-out) 600ms;
}
.notes {
  margin: 0.4em 0 0.6em;
}
.notes li {
  display: flex;
  gap: 0.55em;
  margin-top: 0.65em;
  font-size: 0.86em;
}
.notes small {
  display: block;
  margin-top: 0.1em;
  font-size: 0.86em;
  color: var(--ink-dim);
}
.panel .src {
  margin-top: auto;
}
.panel .src::before {
  content: "";
  display: block;
}
@container (max-width: 900px) {
  .quads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container (max-width: 520px) {
  .quads {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Stacked, the panels outgrow the screen: the focus lifts one without dimming the rest. */
  .render-picture.is-cycling .panel {
    opacity: 1;
    filter: none;
  }
  .sheet-title {
    flex-wrap: wrap;
    font-size: 1.7em;
  }
  .sheet-title .pill {
    margin-left: 0;
    font-size: 0.4em;
  }
  .stat-strip dd {
    font-size: 1.6em;
  }
}

/* ---------- Meetings ---------- */
.render-meeting,
.render-ask {
  perspective: 1800px;
}
.meet-sheet,
.ask-sheet {
  transform-origin: 50% 100%;
}
.meet-sheet {
  position: relative;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.3em;
}
.transcript {
  padding: 1.15em 1.2em;
  border-radius: 1.3em;
  background: var(--surface);
  border: 1px solid var(--hair);
}
.t-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 0.7em;
  font-weight: 600;
}
.t-head .mono {
  margin-left: auto;
  font-size: 0.78em;
  font-weight: 400;
  color: var(--ink-dim);
}
.t-lines li {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr);
  gap: 0.75em;
  align-items: start;
  padding: 0.55em 0;
}
.t-lines li + li {
  border-top: 1px solid var(--hair);
}
.t-lines li {
  transition:
    opacity 450ms ease,
    filter 450ms ease;
}
.is-racking .t-lines li {
  opacity: 0.42;
  filter: blur(0.8px);
}
.is-racking .t-lines li.is-active {
  opacity: 1;
  filter: none;
}
.t-lines p {
  font-size: 0.97em;
  line-height: 1.55;
  padding-top: 0.15em;
}
.hl {
  color: inherit;
  padding: 0.05em 0.15em;
  margin: 0 -0.15em;
  border-radius: 0.3em;
  background-color: transparent;
  background-image: linear-gradient(var(--hl), var(--hl));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-violet {
  --hl: rgba(118, 81, 166, 0.2);
}
.hl-crimson {
  --hl: rgba(192, 35, 42, 0.15);
}
.hl-teal {
  --hl: rgba(35, 119, 109, 0.18);
}
.hl-blue {
  --hl: rgba(31, 95, 168, 0.16);
}
.follow {
  padding: 1.15em 0.4em 0.4em;
}
.fcard {
  display: grid;
  grid-template-columns: 1.4em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75em;
  margin-top: 0.7em;
  padding: 0.85em 0.95em;
  border-radius: 1em;
  background: var(--surface);
  border: 1px solid var(--hair);
  box-shadow: 0 1px 2px rgba(16, 22, 34, 0.04);
}
.fcard-t {
  font-weight: 500;
  font-size: 0.94em;
}
.fcard-t small {
  display: block;
  margin-top: 0.15em;
  font-size: 0.8em;
  font-weight: 400;
  color: var(--ink-dim);
}
.is-pre .hl {
  background-size: 0% 100%;
}
.is-pre .hl.is-on {
  background-size: 100% 100%;
  transition: background-size 700ms var(--ease-out);
}
.is-pre .fcard {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.is-pre .fcard .pill {
  opacity: 0;
  transform: scale(0.9);
}
.is-pre .fcard.is-on {
  opacity: 1;
  transform: none;
  transition:
    opacity 400ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.is-pre .fcard.is-on .pill {
  opacity: 1;
  transform: none;
  transition:
    opacity 260ms var(--ease-out) 260ms,
    transform 260ms var(--ease-out) 260ms;
}
.pill-done {
  border-color: var(--violet-line);
  background: var(--violet-wash);
  color: var(--ink);
}
.flyer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  max-width: 20em;
  padding: 0.35em 0.7em;
  border-radius: 0.6em;
  background: var(--surface);
  border: 1px solid var(--violet-line);
  box-shadow: 0 6px 14px -8px rgba(32, 36, 43, 0.4);
  font-size: 0.86em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
@container (max-width: 720px) {
  .meet-sheet {
    grid-template-columns: minmax(0, 1fr);
  }
  .follow {
    padding-top: 0.4em;
  }
}

/* ---------- Agents (Dusk) ---------- */
.agents {
  background:
    linear-gradient(#c4d6dc, rgba(196, 214, 220, 0) clamp(96px, 12vw, 168px)),
    var(--wall-dusk);
  background-color: #121622;
}
.flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.05fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6cqw, 96px);
  padding: 28px;
  padding: clamp(18px, 3cqw, 40px);
  border-radius: 28px;
  background-color: rgba(18, 21, 28, 0.55);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-size: clamp(13px, 1.2cqw, 15px);
  line-height: 1.4;
}
.flow-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.flow-wires path {
  fill: none;
  stroke: rgba(185, 160, 223, 0.22);
  stroke-width: 1.5;
  transition: stroke 300ms ease;
}
.flow-wires path.is-hot {
  stroke: rgba(205, 186, 236, 0.75);
}
.flow-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75em;
}
.col-k {
  font-family: var(--mono);
  font-size: 0.74em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.src-node {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  width: fit-content;
  padding: 0.6em 0.9em;
  border-radius: 0.85em;
  background: rgba(32, 35, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.94em;
  transition: border-color 300ms ease;
}
.src-node .ic {
  color: var(--ink-faint);
}
.src-node.is-hot {
  border-color: rgba(205, 186, 236, 0.6);
}
.agent {
  appearance: none;
  display: grid;
  grid-template-columns: 2.5em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75em;
  padding: 0.75em 0.85em;
  border-radius: 1em;
  background: rgba(32, 35, 40, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 250ms ease,
    background-color 250ms ease,
    transform 160ms var(--ease-out);
}
.agent:active {
  transform: scale(0.98);
}
@media (hover: hover) and (pointer: fine) {
  .agent:hover {
    background: rgba(42, 46, 53, 0.96);
    border-color: rgba(255, 255, 255, 0.24);
  }
}
.agent-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 0.75em;
  background: rgba(185, 160, 223, 0.16);
  color: var(--violet-d);
}
.agent-ic .ic {
  width: 1.25em;
  height: 1.25em;
}
.agent-t {
  font-weight: 500;
  font-size: 0.98em;
}
.agent-t small {
  display: block;
  margin-top: 0.15em;
  font-size: 0.78em;
  font-weight: 400;
  color: var(--ink-dim);
}
.agent-run {
  padding: 0.3em 0.65em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 250ms ease, border-color 250ms ease;
}
.agent.is-running {
  border-color: rgba(205, 186, 236, 0.62);
}
.agent.is-running .agent-run {
  color: var(--ink);
  border-color: rgba(205, 186, 236, 0.6);
}
.agent.is-running .agent-ic::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1.5px solid var(--violet-d);
  animation: agent-ring 1100ms var(--ease-out) infinite;
}
@keyframes agent-ring {
  from {
    opacity: 0.9;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.45);
  }
}
.out {
  --ink: #20242b;
  --ink-dim: #4f5763;
  --hair: rgba(32, 36, 43, 0.09);
  --recessed: #eff1f4;
  padding: 0.85em 1em;
  border-radius: 1em;
  background: rgba(253, 253, 254, 0.95);
  color: var(--ink);
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.8);
}
.out-h {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.35em;
  font-weight: 600;
  font-size: 0.94em;
}
.out-h .ic {
  color: var(--violet);
}
.out li {
  padding: 0.28em 0;
  font-size: 0.86em;
}
.out li + li {
  border-top: 1px solid var(--hair);
}
.out small {
  display: block;
  font-size: 0.86em;
  color: var(--ink-dim);
}
.out-s {
  font-size: 0.88em;
  color: var(--ink-dim);
}
.fc {
  display: flex;
  align-items: flex-end;
  gap: 0.9em;
  height: 7.4em;
  padding-top: 0.4em;
}
.fc-bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3em;
}
.fc-bar span {
  font-size: 0.8em;
  font-weight: 500;
}
.fc-bar i {
  width: 100%;
  height: calc(var(--h) * 4.4em);
  border-radius: 0.35em 0.35em 0.15em 0.15em;
  background: rgba(32, 36, 43, 0.14);
  transform-origin: bottom;
}
.fc-bar.is-lead i {
  background: var(--crimson);
}
.fc-bar.is-lead span {
  color: var(--crimson);
}
.fc-bar small {
  font-size: 0.74em;
  color: var(--ink-dim);
}
.out-mail {
  font-size: 0.86em;
  line-height: 1.5;
  min-height: 7.5em;
}
.out-mail b {
  display: block;
  margin-bottom: 0.3em;
  font-weight: 600;
}
.out.is-fresh {
  animation: out-fresh 620ms var(--ease-out);
}
@keyframes out-fresh {
  from {
    opacity: 0.35;
    transform: translateX(10px);
  }
}
.out.is-fresh .fc-bar i {
  animation: bar-grow 900ms var(--ease-out) backwards;
}
.out.is-fresh .fc-bar:nth-child(2) i {
  animation-delay: 80ms;
}
.out.is-fresh .fc-bar:nth-child(3) i {
  animation-delay: 160ms;
}
@keyframes bar-grow {
  from {
    transform: scaleY(0.05);
  }
}
.out.is-fresh li {
  animation: out-fresh 520ms var(--ease-out) backwards;
}
.out.is-fresh li:nth-child(2) {
  animation-delay: 60ms;
}
.out.is-fresh li:nth-child(3) {
  animation-delay: 120ms;
}
.will-run .out {
  opacity: 0.18;
  transition: opacity 500ms ease;
}
.will-run .out.has-run {
  opacity: 1;
}
.pulse {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 999px;
  background: #e4d8f6;
  pointer-events: none;
}
@container (max-width: 820px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2em;
  }
  .flow-sources {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .flow-sources .col-k {
    flex-basis: 100%;
  }
  .flow-agents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-agents .col-k,
  .flow-outs .col-k {
    grid-column: 1 / -1;
  }
  .agent-run {
    display: none;
  }
  .agent {
    grid-template-columns: 2.5em minmax(0, 1fr);
  }
}
@container (max-width: 460px) {
  .flow-agents {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Ask ---------- */
.ask {
  background:
    linear-gradient(#10232b, rgba(16, 35, 43, 0) clamp(96px, 12vw, 168px), rgba(196, 214, 220, 0) calc(100% - 240px), #c4d6dc),
    var(--wall-dawn);
  background-color: #c4d6dc;
}
.ask-sheet {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.3em;
}
.ask-thread {
  padding: 1.3em;
  border-radius: 1.3em;
  background: var(--surface);
  border: 1px solid var(--hair);
}
.ask-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1.4em;
}
.ask-chips .chip-q {
  height: 2.5em;
  font-size: 0.88em;
}
.chip-q.is-on {
  background: rgba(118, 81, 166, 0.16);
  border-color: rgba(118, 81, 166, 0.5);
}
.bubble-q {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.6em;
}
.bubble-q p {
  order: -1;
  max-width: 34em;
  padding: 0.65em 0.95em;
  border-radius: 1em 1em 0.3em 1em;
  background: var(--recessed);
  font-weight: 500;
}
.bubble-a {
  margin-top: 1.2em;
}
.a-head {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: 0.92em;
}
.a-head .mono {
  margin-left: auto;
  font-size: 0.8em;
  font-weight: 400;
  color: var(--ink-dim);
}
.a-text {
  max-width: 62ch;
  min-height: 8.4em;
  margin-top: 0.55em;
  font-size: 1.04em;
  line-height: 1.62;
  text-wrap: pretty;
}
.cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  height: 1.5em;
  margin: 0 0.12em;
  padding: 0 0.3em;
  border-radius: 0.4em;
  background: rgba(118, 81, 166, 0.13);
  color: var(--violet-ink);
  font-family: var(--mono);
  font-size: 0.66em;
  font-weight: 600;
  line-height: 1;
  vertical-align: 0.4em;
}
.cite.is-new {
  animation: cite-in 360ms var(--ease-out);
}
@keyframes cite-in {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.92);
  }
}
.ask-sources {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}
.source {
  padding: 0.85em 1em;
  border-radius: 1em;
  background: var(--surface);
  border: 1px solid var(--hair);
  transition:
    filter 400ms ease,
    opacity 400ms ease,
    border-color 400ms ease,
    box-shadow 400ms ease,
    transform 400ms var(--ease-out);
}
.s-k {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.8em;
  color: var(--ink-dim);
}
.s-k span {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  border-radius: 0.45em;
  background: rgba(118, 81, 166, 0.13);
  color: var(--violet-ink);
  font-weight: 600;
}
.s-q {
  margin-top: 0.45em;
  font-size: 0.9em;
  line-height: 1.5;
}
.s-q mark {
  color: inherit;
  border-radius: 0.25em;
  background-color: transparent;
  background-image: linear-gradient(rgba(118, 81, 166, 0.18), rgba(118, 81, 166, 0.18));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.is-streaming .source {
  opacity: 0.45;
  filter: blur(0.8px);
}
.is-streaming .source mark {
  background-size: 0% 100%;
}
.is-streaming .source.is-lit {
  opacity: 1;
  filter: none;
  border-color: var(--violet-line);
  box-shadow: 0 10px 18px -12px rgba(32, 36, 43, 0.3);
  transform: translateX(-4px);
}
.is-streaming .source.is-lit mark {
  background-size: 100% 100%;
  transition: background-size 700ms var(--ease-out) 120ms;
}
@container (max-width: 760px) {
  .ask-sheet {
    grid-template-columns: minmax(0, 1fr);
  }
  .is-streaming .source.is-lit {
    transform: none;
  }
}

/* ---------- Plans ---------- */
.plans {
  background:
    linear-gradient(#c4d6dc, rgba(196, 214, 220, 0) 300px, rgba(18, 22, 34, 0) calc(100% - 300px), #121622),
    var(--wall-dawn);
  background-color: #c4d6dc;
}
.docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.6cqw, 36px);
  align-items: start;
  font-size: 13.5px;
  font-size: clamp(12.5px, 1.2cqw, 14.5px);
  line-height: 1.4;
}
.doc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 31em;
  padding: 1.5em;
  border-radius: 1.2em;
  background: var(--surface);
  box-shadow: var(--shadow-raised);
  transform-origin: 50% 90%;
}
.doc-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78em;
  color: var(--ink-dim);
}
.doc-top > span:first-child {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.doc-title {
  margin-top: 1.5em;
  font-family: var(--serif);
  font-size: 2.35em;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.doc-sub {
  margin-top: 0.4em;
  font-size: 0.88em;
  color: var(--ink-dim);
}
.toc {
  margin: 1.4em 0 1.2em;
}
.toc li {
  display: grid;
  grid-template-columns: 2.1em minmax(0, 1fr) auto;
  padding: 0.36em 0;
  border-bottom: 1px solid var(--hair);
  font-size: 0.86em;
}
.toc .mono {
  color: var(--ink-dim);
}
.doc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4em;
  margin: auto 0 0;
}
.doc-plan .doc-ev {
  margin: 0.9em 0 1.1em;
}
.doc-stats div {
  padding: 0.4em 0.5em;
  border-radius: 0.5em;
}
.doc-stats dt {
  font-size: 0.72em;
  color: var(--ink-dim);
}
.doc-stats dd {
  font-weight: 500;
}
.ev-target {
  transition: background-color 500ms ease;
}
.is-signed .ev-target {
  background-color: var(--violet-wash);
}
.minibars.ev-target {
  padding: 0.3em;
  margin-left: -0.3em;
  margin-right: -0.3em;
  border-radius: 0.5em;
}
.ev-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5px;
  height: 0;
  background: var(--violet);
  transform-origin: 50% 100%;
  transform: scaleY(0);
  pointer-events: none;
}
.is-signed .ev-line {
  transform: scaleY(1);
  transition: transform 520ms var(--ease-out) 200ms;
}
.render-plans:not(.is-live-plans) .ev-line {
  transform: scaleY(1);
}
.doc-sign small {
  display: block;
  font-size: 0.72em;
  color: var(--ink-dim);
}
.sig {
  display: inline-block;
  margin-top: 0.15em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6em;
  letter-spacing: -0.02em;
}
.is-live-plans .sig {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1100ms var(--ease-out);
}
.is-live-plans.is-signed .sig {
  clip-path: inset(0 0 0 0);
}
.doc-ev {
  margin-top: 1.1em;
}
.is-live-plans .doc-ev {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.is-live-plans.is-signed .doc-ev {
  opacity: 1;
  transform: none;
}
.doc-deck {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.slide {
  position: relative;
  padding: 1.3em;
  border-radius: 1em;
  box-shadow: var(--shadow-raised);
}
.slide .mono {
  font-size: 0.72em;
  color: var(--ink-dim);
}
.slide-a {
  min-height: 15em;
  background: #20242b;
  color: #f2f3f5;
}
.slide-a .mono {
  color: #b4bbc6;
}
.slide-t {
  margin-top: 1.7em;
  max-width: 12em;
  font-size: 1.65em;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.slide-rule {
  display: block;
  width: 3em;
  height: 2px;
  margin-top: 1.1em;
  background: var(--violet-d);
}
.slide-b,
.slide-c {
  margin: -2.6em 0 0 1.3em;
  background: var(--surface);
}
.slide-c {
  margin: -0.9em 0 0 2.6em;
}
.slide-t2 {
  margin-top: 0.45em;
  font-size: 1.12em;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.phases {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 1.2em 0.3em 0.3em;
}
.phases::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(35, 119, 109, 0.3);
}
.phases i {
  position: relative;
  width: 0.95em;
  height: 0.95em;
  border-radius: 999px;
  border: 2px solid var(--teal);
  background: var(--surface);
}
.minibars {
  display: flex;
  align-items: flex-end;
  gap: 0.35em;
  height: 4.4em;
  margin-top: 0.9em;
}
.minibars i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 0.25em 0.25em 0.1em 0.1em;
  background: var(--deep);
}
.minibars i:nth-child(n + 4) {
  background: var(--amber);
}
.doc-deck .doc-ev {
  margin-left: 2.6em;
}
.doc-k {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
}
.doc-k2 {
  margin-top: 0.25em;
  font-size: 0.76em;
  color: var(--ink-dim);
}
.case-label {
  margin-top: 1.6em;
  font-size: 0.84em;
  color: var(--ink-dim);
}
.case-fig {
  margin-top: 0.1em;
  font-size: 2.9em;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.case-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.9em;
  height: 10em;
  margin-top: 1.2em;
}
.case-bars div {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3em;
}
.case-bars span {
  font-size: 0.76em;
}
.case-bars i {
  width: 100%;
  height: calc(var(--h) * 6.4em);
  border-radius: 0.35em 0.35em 0.12em 0.12em;
  background: var(--teal);
  transform-origin: bottom;
}
.case-bars small {
  font-size: 0.74em;
  color: var(--ink-dim);
}
.case-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4em;
  margin-top: auto;
  padding-top: 0.6em;
  border-top: 1px solid var(--hair);
}
.case-foot div {
  padding: 0.35em 0.5em;
  border-radius: 0.5em;
}
.case-foot dt {
  font-size: 0.76em;
  color: var(--ink-dim);
}
.case-foot dd {
  margin-top: 0.15em;
  font-weight: 500;
}
.doc-case .case-bars {
  margin-bottom: 1.4em;
}
.doc,
.slide {
  will-change: auto;
}
.is-live-plans .doc,
.is-live-plans .slide-b,
.is-live-plans .slide-c {
  will-change: transform;
}
@container (max-width: 760px) {
  .docs {
    grid-template-columns: minmax(0, 1fr);
    max-width: 30em;
    margin: 0 auto;
  }
  .doc {
    min-height: 0;
  }
  .doc-plan .toc li:nth-child(n + 6) {
    display: none;
  }
}

/* ---------- The book (Dusk, pinned) ---------- */
.book {
  position: relative;
  isolation: isolate;
  background: #121622;
}
.book-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 180px) var(--gutter);
}
.book-stage > :not(.wall) {
  position: relative;
  z-index: 1;
}
.sky {
  position: absolute !important;
  inset: 0;
  pointer-events: none;
}
.sky-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sky-lines line {
  stroke: rgba(185, 160, 223, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.star {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  translate: -50% 0;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--ink-faint);
}
.star::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 999px;
  background: #e8ebf0;
  box-shadow: 0 0 0 4px rgba(232, 235, 240, 0.08);
}
.star[data-star="harbourline"] {
  color: var(--ink);
}
.star[data-star="harbourline"]::before {
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  background: var(--violet-d);
  box-shadow: 0 0 0 6px rgba(185, 160, 223, 0.16);
}
.mote {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #cfd5df;
  opacity: var(--o, 0.4);
}
.mote.is-v {
  background: var(--violet-d);
}
.is-off .agent-ic::after {
  animation-play-state: paused;
}
.book-copy {
  display: grid;
  justify-items: center;
  gap: 0.3em;
  font-weight: 400;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.book-line {
  display: block;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.08;
}
.book-close {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-top: clamp(56px, 8vw, 96px);
  text-align: center;
}
.beacon-xl {
  height: clamp(72px, 8vw, 112px);
}
.close-line {
  font-size: clamp(30px, 3.6vw, 54px);
}
.book.is-live {
  height: 300vh;
}
.book.is-live .book-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  padding: 0 var(--gutter);
  display: grid;
  place-items: center;
}
.book.is-live .book-copy,
.book.is-live .book-close {
  grid-area: 1 / 1;
  margin: 0;
}
.book.is-live .book-line {
  opacity: 0.16;
}
.book.is-live .book-close {
  opacity: 0;
}
.book.is-live .sky,
.book.is-live .star {
  will-change: transform;
}
.book-copy::before {
  content: "";
  position: absolute;
  inset: -18% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(16, 20, 30, 0.82), rgba(16, 20, 30, 0));
  pointer-events: none;
}
.book-copy {
  position: relative;
}
@media (max-width: 640px) {
  .star,
  .star[data-star="harbourline"] {
    color: transparent;
  }
}

/* ---------- Pricing ---------- */
.pricing {
  background:
    linear-gradient(#10232b, rgba(16, 35, 43, 0) clamp(96px, 12vw, 168px)),
    var(--wall-dawn);
  background-color: #c4d6dc;
}
.composer {
  max-width: var(--maxw);
  margin: 0 auto;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.tier {
  position: relative;
  display: block;
  cursor: pointer;
}
.tier input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: rgba(253, 253, 254, 0.66);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 22px 54px -32px rgba(16, 22, 34, 0.38);
  transition:
    transform 260ms var(--ease-out),
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}
.tier input:checked + .tier-card {
  background: var(--surface);
  box-shadow:
    inset 0 0 0 1.5px rgba(118, 81, 166, 0.55),
    0 30px 64px -32px rgba(16, 22, 34, 0.42);
  transform: translateY(-4px);
}
.tier input:focus-visible + .tier-card {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .tier:hover input:not(:checked) + .tier-card {
    background: rgba(253, 253, 254, 0.86);
    transform: translateY(-2px);
  }
}
.tier-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding-right: 34px;
}
.tier-top .ic {
  width: 22px;
  height: 22px;
}
.tier-name {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tier-seats {
  grid-column: 2;
  font-size: 13px;
  color: var(--ink-dim);
}
.tier-line {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.tier-body {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.tier-mail {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 500;
  text-decoration-color: var(--violet-line);
}
.tier-check {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid var(--hair-strong);
  background: var(--surface);
  color: #fff;
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}
.tier-check .ic {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 200ms var(--ease-out),
    transform 260ms var(--ease-out);
}
.tier input:checked + .tier-card .tier-check {
  background: var(--violet);
  border-color: var(--violet);
}
.tier input:checked + .tier-card .tier-check .ic {
  opacity: 1;
  transform: none;
}
.composer.is-live .tier-mail {
  display: none;
}
.composer:not(.is-live) .tier-check {
  display: none;
}
.desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 40px;
  gap: 32px;
}
.desk[hidden] {
  display: none;
}
.desk-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  align-content: start;
}
.field {
  grid-column: 1 / -1;
  min-width: 0;
}
.field-2 {
  grid-column: auto;
}
.field[hidden] {
  display: none;
}
.field-k {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid var(--hair-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15.5px;
  line-height: 1.45;
  transition: border-color 160ms ease;
}
.field textarea {
  resize: vertical;
  min-height: 92px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6b7380;
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(118, 81, 166, 0.6);
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hair-strong);
  border-radius: 11px;
  background: var(--surface);
  overflow: hidden;
}
.stepper button {
  appearance: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 19px;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.stepper .ic {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.stepper button:disabled {
  color: #9aa3b0;
  cursor: default;
}
@media (hover: hover) and (pointer: fine) {
  .stepper button:not(:disabled):hover {
    background: var(--recessed);
  }
}
.stepper output {
  min-width: 3ch;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
}
.crm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crm-chips button {
  appearance: none;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  background: var(--surface);
  font-size: 15px;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 160ms var(--ease-out);
}
.crm-chips button:active {
  transform: scale(0.97);
}
.crm-chips button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fdfdfe;
}
.draft {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow:
    inset 0 1px 0 #fff,
    0 22px 54px -32px rgba(16, 22, 34, 0.38);
}
.draft-k {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 15px;
}
.draft-row {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  padding: 9px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 15px;
}
.draft-row > span:first-child {
  color: var(--ink-dim);
}
.draft-row [data-subject].is-new {
  animation: sub-in 320ms var(--ease-out);
}
@keyframes sub-in {
  from {
    opacity: 0.25;
    transform: translateY(3px);
  }
}
.draft-row [data-subject] {
  display: inline-block;
}
.draft-body {
  flex: 1;
  min-height: 11em;
  margin: 14px 0 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--ink);
}
.draft-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.copy-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-dim);
}
.copy-addr {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--violet-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  cursor: pointer;
}
@media (max-width: 960px) {
  .tiers,
  .desk {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .desk-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .field-2 {
    grid-column: 1 / -1;
  }
  .draft-actions .btn {
    flex: 1 1 auto;
  }
}

/* ---------- Footer ---------- */
.foot {
  padding: clamp(56px, 7vw, 88px) var(--gutter) 48px;
  background: var(--ground);
  border-top: 1px solid var(--hair);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.foot .lockup-argus {
  margin-bottom: 14px;
}
.foot-line {
  font-size: clamp(28px, 3vw, 40px);
}
.foot-two64 {
  max-width: 38ch;
  font-size: 15.5px;
  color: var(--ink-dim);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
}
.foot .lockup-264 {
  font-size: 22px;
}
.foot-mail {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Reduced motion: no movement, the finished state ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wake,
  .win,
  .hero-dusk,
  .hero .lockup-argus .band-signal {
    animation: none;
  }
  .agent-ic::after,
  .is-typing::after {
    animation: none;
  }
  .cursor {
    display: none;
  }
  .btn,
  .row,
  .chip-q,
  .tier-card,
  .agent {
    transition-property: background-color, border-color, color, box-shadow;
  }
  .btn:active,
  .row:active,
  .chip-q:active,
  .agent:active,
  .replay:active,
  .peek-back:active,
  .crm-chips button:active {
    transform: none;
  }
  .tier input:checked + .tier-card,
  .tier:hover input:not(:checked) + .tier-card {
    transform: none;
  }
  .tier-check .ic {
    transform: none;
    transition: opacity 200ms var(--ease-out);
  }
}
