/* 10xplus1 landing page. "On Air": warm charcoal with one hot tally-light colour,
 * the same palette and type as the app. Nothing is set in italics. */

:root {
  --canvas: #16120f;
  --sunk: #100d0b;
  --panel: #1e1915;
  --raised: #29221d;
  --lift: #342c25;
  --line: #3b322b;
  --line-soft: #2a231e;
  --ink: #f4ede4;
  --ink-2: #c9bfb2;
  --mute: #8f8477;
  --air: #ff5b2e;
  --air-hover: #ff7650;
  --on-air: #1c0b04;
  --ok: #c5f26b;
  --bad: #ff4f79;
  --cue: #f2b84b;

  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: 16px;
  --max: 1120px;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.air {
  color: var(--air);
}

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

.wrap-narrow {
  max-width: 760px;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ---- buttons ------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 100ms ease;
}

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

.btn-primary {
  background: var(--air);
  color: var(--on-air);
}

.btn-primary:hover {
  background: var(--air-hover);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--raised);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--lift);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 15px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

.arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.chip-air {
  border-color: transparent;
  background: color-mix(in oklab, var(--air) 16%, transparent);
  color: var(--air);
  font-family: var(--sans);
  font-weight: 600;
}

/* ---- navigation ---------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in oklab, var(--canvas) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 200ms ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
}

/* The name is set in the sans: the display serif's "1" reads as an "l". */
.wordmark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.wordmark-sm {
  display: inline-block;
  font-size: 22px;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
}

.nav-links > a {
  color: var(--ink-2);
  transition: color 150ms ease;
}

.nav-links > a:hover {
  color: var(--ink);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login {
  color: var(--ink-2);
  font-size: 15px;
}

.nav-login:hover {
  color: var(--ink);
}

/* Equal sides keep the links centred on the page, whatever sits left and right. */
@media (min-width: 921px) {
  .nav-inner > .wordmark,
  .nav-auth {
    flex: 1 1 0;
  }

  .nav-links {
    flex: 0 0 auto;
  }

  .nav-auth {
    justify-content: flex-end;
  }
}

.nav-auth-mobile,
.nav-toggle {
  display: none;
}

@media (max-width: 920px) {
  .nav-inner {
    justify-content: space-between;
  }

  .nav-links,
  .nav-login {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--raised);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 200ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav.is-open .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--canvas);
  }

  .nav.is-open .nav-links > a {
    padding: 10px 0;
    font-size: 17px;
  }

  .nav.is-open .nav-auth-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    color: var(--ink-2);
  }
}

@media (max-width: 420px) {
  .nav-auth .btn-sm {
    display: none;
  }
}

/* ---- hero ---------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px var(--gutter) 112px;
  text-align: center;
}

/* The tally light, glowing behind a headline. */
.glow {
  position: absolute;
  top: 4%;
  left: 50%;
  width: min(680px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--air);
  opacity: 0.11;
  filter: blur(120px);
  transform: translateX(-50%);
  pointer-events: none;
}

.glow-low {
  top: auto;
  bottom: -30%;
  opacity: 0.09;
}

.hero h1 {
  position: relative;
  max-width: 1040px;
  font-family: var(--display);
  font-size: clamp(46px, 7.4vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  position: relative;
  max-width: 64rem;
  color: var(--ink-2);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  text-wrap: pretty;
}

.actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.hero .actions {
  gap: 16px;
}

.hero .btn-lg {
  min-width: 250px;
  padding: 17px 36px;
  font-size: 18px;
}

@media (max-width: 560px) {
  .hero .actions {
    flex-direction: column;
    align-self: stretch;
  }

  .hero .btn-lg {
    width: 100%;
    min-width: 0;
  }
}

.fineprint {
  position: relative;
  color: var(--mute);
  font-size: 14px;
}

/* ---- sections ------------------------------------------------------------------ */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line-soft);
}

.section-band {
  background: var(--sunk);
}

.title {
  max-width: 920px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}

.title-left {
  margin: 0;
  text-align: left;
}

.intro {
  max-width: 36rem;
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: 18px;
  text-align: center;
  text-wrap: pretty;
}

.intro-wide {
  max-width: 46rem;
}

.body {
  color: var(--ink-2);
  font-size: 18px;
  text-wrap: pretty;
}

/* ---- for engineers / for founders --------------------------------------------- */

.audiences {
  border-top: 0;
  padding-top: 24px;
}

.tabs {
  display: flex;
  width: fit-content;
  margin: 0 auto 48px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.tab {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

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

.tab[aria-selected="true"] {
  background: var(--air);
  color: var(--on-air);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line-soft);
}

.feature-row:first-of-type {
  margin-top: 40px;
}

.feature-row.flip {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.feature-row.flip .feature-copy {
  order: 2;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-copy h3 {
  font-family: var(--display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.feature-copy p:last-child {
  max-width: 30rem;
  color: var(--ink-2);
  font-size: 18px;
  text-wrap: pretty;
}

@media (max-width: 920px) {
  .feature-row,
  .feature-row.flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 48px 0;
  }

  .feature-row.flip .feature-copy {
    order: 0;
  }
}

.audience-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding: 18px 18px 18px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--sunk);
}

.audience-price {
  color: var(--ink-2);
  font-size: 17px;
}

.audience-price strong {
  color: var(--ink);
  font-weight: 700;
}

.audience-price span {
  margin: 0 8px;
  color: var(--mute);
}

@media (max-width: 560px) {
  .tab {
    padding: 10px 16px;
  }

  .audience-foot {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }
}

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

/* Stills of the product, built from plain boxes. Decorative: hidden from screen readers. */

/* The team workspace. */
.workspace {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #1a1512;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 91, 46, 0.04);
  font-size: 13px;
  line-height: 1.4;
}

.ws-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  border-right: 1px solid var(--line-soft);
  background: #110e0c;
  color: var(--mute);
}

.ws-org {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 6px 10px;
  color: var(--ink);
  font-weight: 700;
}

.ws-org-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--air);
  color: var(--on-air);
  font-size: 12px;
}

.ws-head {
  margin: 10px 6px 2px;
  font-size: 11.5px;
  font-weight: 700;
}

.ws-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.ws-ico {
  width: 14px;
  text-align: center;
}

.ws-active {
  background: color-mix(in oklab, var(--air) 14%, transparent);
  color: var(--ink);
}

.ws-bold {
  color: var(--ink);
  font-weight: 700;
}

.ws-badge {
  margin-left: auto;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--air);
  color: var(--on-air);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 16px;
}

.ws-dot {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
}

.ws-dot-lg {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 12px;
}

.ws-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding-bottom: 96px;
}

.ws-title {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 700;
}

.ws-title span {
  margin-left: 8px;
  color: var(--mute);
  font-weight: 400;
}

.ws-group {
  padding: 12px 16px 6px;
  color: var(--ink-2);
  font-weight: 700;
}

.ws-ticket {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}

.ws-ticket code {
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11.5px;
}

.ws-mine {
  background: color-mix(in oklab, var(--air) 12%, transparent);
}

.ws-you {
  margin-left: auto;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--raised);
  color: var(--ink-2);
  font-size: 11px;
}

.ws-urgent {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--bad);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.ws-bars {
  display: inline-flex;
  flex-shrink: 0;
  align-items: flex-end;
  gap: 2px;
  width: 14px;
  height: 12px;
}

.ws-bars i {
  width: 3px;
  border-radius: 1px;
  background: var(--ink-2);
}

.ws-bars i:nth-child(1) {
  height: 5px;
}

.ws-bars i:nth-child(2) {
  height: 8px;
}

.ws-bars i:nth-child(3) {
  height: 12px;
}

.ws-bars-2 i:nth-child(3) {
  background: var(--line);
}

.ws-toast {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--raised);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
  color: var(--ink-2);
}

.ws-toast strong {
  color: var(--ink);
}

.ws-muted {
  color: var(--mute);
  font-size: 12px;
  font-style: normal;
}

@media (max-width: 560px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-side {
    display: none;
  }
}

/* The window every other screen sits in. */
.scr {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #1a1512;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  font-size: 13px;
  line-height: 1.45;
}

.scr-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #110e0c;
  color: var(--ink-2);
}

.scr-bar > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lift);
}

.scr-title {
  margin-left: 10px;
  font-weight: 600;
}

.scr-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: nowrap;
}

.scr-pad {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.scr-split {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 300px;
}

/* An editor: a file explorer, tabs over the code, and the agent alongside. */
.ide {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 164px;
  min-height: 310px;
}

.ide-editor pre {
  padding: 14px 12px;
  font-size: 11px;
}

.ide .checks {
  font-size: 12px;
  white-space: nowrap;
}

/* The editor needs the room: give its screen a bigger share of the row. */
@media (min-width: 921px) {
  .feature-row:has(.ide) {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }

  .feature-row.flip:has(.ide) {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }
}

.ide-tree {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 8px;
  border-right: 1px solid var(--line-soft);
  background: #15110e;
  color: var(--mute);
}

.tree-head {
  margin: 0 6px 8px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tree-dir {
  padding: 3px 6px;
  color: var(--ink-2);
  font-size: 12.5px;
}

.tree-file {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px 3px 20px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: nowrap;
}

.tree-file.is-open {
  background: color-mix(in oklab, var(--air) 14%, transparent);
  color: var(--ink);
}

.tree-new {
  color: var(--ok);
}

.tree-badge {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
}

.tree-m {
  color: var(--cue);
}

.tree-a {
  color: var(--ok);
}

.ide-tabs {
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: #110e0c;
}

.ide-tab {
  padding: 7px 12px;
  border-right: 1px solid var(--line-soft);
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.ide-tab.is-active {
  background: var(--sunk);
  box-shadow: inset 0 2px 0 var(--air);
  color: var(--ink);
}

.scr-side,
.scr-agent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  background: #15110e;
}

.scr-side {
  align-items: flex-start;
  border-right: 1px solid var(--line-soft);
}

.scr-agent {
  border-left: 1px solid var(--line-soft);
}

.scr-code {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--sunk);
}

.scr-code pre {
  flex: 1;
  margin: 0;
  padding: 16px;
  overflow: hidden;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
}

.scr-code .k { color: #ff8a65; }
.scr-code .f { color: var(--ink); }
.scr-code .t { color: var(--cue); }
.scr-code .n { color: var(--ok); }
.scr-code .s { color: var(--cue); }

.dim {
  color: var(--mute);
}

.ok {
  color: var(--ok);
}

.scr-tests {
  padding: 10px 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2);
}

.line-bad {
  display: block;
  margin: 0 -16px;
  padding: 0 16px;
  background: color-mix(in oklab, var(--bad) 14%, transparent);
  box-shadow: inset 2px 0 0 var(--bad);
}

.review {
  margin: 0 12px 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--ink-2);
}

.review b {
  margin-right: 6px;
  color: var(--ink);
}

.bubble {
  max-width: 100%;
  padding: 9px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--raised);
  color: var(--ink);
}

.bubble-you {
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
  background: color-mix(in oklab, var(--air) 16%, var(--panel));
}

.bubble-wide {
  max-width: 88%;
}

.bubble code,
.scr code {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.5px;
}

.disc {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff7650, var(--air) 60%, #c23d16);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--air) 18%, transparent), 0 0 0 14px color-mix(in oklab, var(--air) 7%, transparent);
  color: var(--on-air);
  font-weight: 800;
}

.onair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--air);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.onair b,
.agent-head b,
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--air);
}

.agent-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.agent-head b {
  background: var(--ok);
}

.checks {
  margin-top: auto;
  color: var(--ink-2);
}

/* Plan */
.diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
}

.node {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  white-space: nowrap;
}

.node-air {
  border-color: color-mix(in oklab, var(--air) 60%, var(--line));
  color: var(--air);
}

.edge {
  width: 22px;
  height: 1px;
  background: var(--mute);
}

.reqs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
}

.reqs b {
  display: inline-block;
  width: 72px;
  color: var(--mute);
  font-weight: 500;
}

/* Product IQ */
.brief {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-left: 2px solid var(--air);
  border-radius: 0 10px 10px 0;
  background: var(--panel);
  color: var(--ink);
}

.brief-label {
  color: var(--mute);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.piq {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.scope {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2);
}

.scope li:first-child {
  border-top: 0;
}

.tag {
  flex-shrink: 0;
  width: 46px;
  padding: 2px 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.tag-ship,
.dot-ship {
  background: color-mix(in oklab, var(--ok) 18%, transparent);
  color: var(--ok);
}

.tag-later,
.dot-later {
  background: color-mix(in oklab, var(--cue) 18%, transparent);
  color: var(--cue);
}

.tag-cut,
.dot-cut {
  background: var(--raised);
  color: var(--mute);
}

/* Value against effort, as a 2x2. */
.matrix {
  position: relative;
  min-height: 132px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background:
    linear-gradient(var(--line-soft), var(--line-soft)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line-soft), var(--line-soft)) 0 50% / 100% 1px no-repeat,
    var(--sunk);
}

.axis {
  position: absolute;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 10px;
}

.axis-y {
  top: 6px;
  left: 8px;
}

.axis-x {
  right: 8px;
  bottom: 5px;
}

.dot {
  position: absolute;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Results and reports */
.signals {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signals li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  gap: 14px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
}

.signals code {
  color: var(--air);
  text-align: right;
}

/* A level, 1 to 5, as five pips. */
.lv {
  display: inline-block;
  width: 64px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--air) calc(var(--l, 1) * 20%), var(--lift) 0);
  /* Five pips that scale with the width. */
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 2px), transparent calc(20% - 2px) 20%);
  mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 2px), transparent calc(20% - 2px) 20%);
}

.lv-2 { --l: 2; }
.lv-3 { --l: 3; }
.lv-4 { --l: 4; }
.lv-5 { --l: 5; }

.evidence {
  margin: 0;
  padding: 10px 12px;
  border-left: 2px solid var(--air);
  background: var(--panel);
  color: var(--ink-2);
}

.evidence code {
  margin-right: 8px;
  color: var(--air);
}

/* Creating an interview: the brief, then the tree of what a strong fit needs. */
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--mute);
  font-size: 12px;
}

.input {
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--sunk);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-2);
}

.key-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--mute);
  font-size: 11.5px;
}

.key-hint i {
  width: 14px;
  height: 8px;
  border: 1px solid var(--air);
  border-radius: 999px;
  background: color-mix(in oklab, var(--air) 18%, transparent);
}

.fit-tree {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.fit-node rect {
  fill: var(--panel);
  stroke: var(--line);
  stroke-width: 1;
}

.fit-node text {
  fill: var(--ink-2);
  font-family: var(--sans);
  font-size: 12px;
  text-anchor: middle;
}

.fit-node.fit-key rect {
  fill: color-mix(in oklab, var(--air) 16%, var(--panel));
  stroke: color-mix(in oklab, var(--air) 70%, var(--line));
}

.fit-node.fit-key text {
  fill: var(--ink);
  font-weight: 600;
}

.fit-leaf text {
  fill: var(--mute);
}

.fit-root rect {
  fill: var(--raised);
  stroke: var(--air);
  stroke-width: 1.5;
}

.fit-root text {
  fill: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.fit-root .fit-sub {
  fill: var(--mute);
  font-size: 11px;
  font-weight: 400;
}

.fit-edge {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}

.fit-edge.fit-key {
  stroke: color-mix(in oklab, var(--air) 70%, transparent);
}

/* Three startups take turns in one screen; it keeps the height of the tallest. */
.cases {
  display: grid;
}

.case {
  display: flex;
  grid-area: 1 / 1;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.case.is-current {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

.case-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 10px;
}

.case-dots b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lift);
  transition: background-color 0.3s ease;
}

.case-dots b.is-on {
  background: var(--air);
}

.challenge {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, var(--air) 40%, var(--line-soft));
  border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--air) 8%, var(--panel)), var(--panel));
}

.challenge h4 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.challenge p {
  color: var(--ink-2);
}

.challenge-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.challenge-meta .dim {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
}

.skill {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mute);
  font-size: 11.5px;
}

.skill.is-on {
  border-color: color-mix(in oklab, var(--air) 55%, var(--line));
  background: color-mix(in oklab, var(--air) 14%, transparent);
  color: var(--ink);
}

/* A generated challenge, and the candidates taking it */
.gen {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, var(--air) 40%, var(--line-soft));
  border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--air) 8%, var(--panel)), var(--panel));
}

.gen h4 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.gen p {
  color: var(--ink-2);
}

.gen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.gen-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: var(--sunk);
  color: var(--ink);
}

.gen-item b {
  color: var(--mute);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.takers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.takers-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--raised);
  color: var(--ink-2);
}

.stat b {
  color: var(--ink);
}

.stat-done {
  background: color-mix(in oklab, var(--ok) 14%, transparent);
}

.stat-done b {
  color: var(--ok);
}

.stat-live {
  background: color-mix(in oklab, var(--air) 14%, transparent);
}

.stat-live b:not(.live-dot) {
  color: var(--air);
}

.takers-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.takers-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 90px 160px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
}

.av {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
}

.taker-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--raised);
}

.bar i {
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: inherit;
  background: var(--ok);
}

.takers-list li:has(.live) .bar i {
  background: var(--air);
}

.state {
  font-family: var(--mono);
  font-size: 11.5px;
  text-align: right;
  white-space: nowrap;
}

.state.done {
  color: var(--ink-2);
}

.state.live {
  color: var(--air);
}

/* Compare candidates */
.scr-table {
  display: flex;
  flex-direction: column;
  padding: 6px 18px 12px;
}

.tr {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
}

.tr .lv {
  width: 100%;
  max-width: 64px;
}

.th {
  align-items: end;
  border-top: 0;
  color: var(--mute);
  font-size: 11px;
  line-height: 1.25;
}

.label-short {
  display: none;
}

.analysis {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel);
}

.analysis p {
  color: var(--ink);
}

@media (max-width: 560px) {
  .scr-split,
  .ide {
    grid-template-columns: minmax(0, 1fr);
  }

  .ide-tree {
    display: none;
  }

  .scr-side {
    display: none;
  }

  .scr-agent {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .tr {
    gap: 8px;
    font-size: 12px;
  }

  .piq,
  .fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .takers-list li {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }

  .takers-list .bar {
    display: none;
  }

  .label-long {
    display: none;
  }

  .label-short {
    display: inline;
  }
}

@media (max-width: 420px) {
  .scr-meta {
    display: none;
  }

  /* Too small to read in full: keep the fit and its qualities, drop the skills column. */
  .fit-leaf,
  .fit-to-leaf {
    display: none;
  }
}

/* ---- animated screens ------------------------------------------------------------ */

/* The whiteboard. */
.whiteboard {
  gap: 12px;
  background:
    radial-gradient(circle at 1px 1px, rgba(244, 237, 228, 0.06) 1px, transparent 0) 0 0 / 18px 18px,
    #1a1512;
}

.wb {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.wb path {
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wb path.wb-air {
  stroke: var(--air);
  stroke-width: 2.6;
}

.hand {
  fill: var(--ink);
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  font-size: 22px;
  font-weight: 600;
  text-anchor: middle;
}

.hand-mute {
  fill: var(--mute);
  font-size: 19px;
}

.hand-air {
  fill: var(--air);
  font-size: 21px;
  text-anchor: start;
}

.wb-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.who {
  margin-right: 8px;
  color: var(--air);
  font-family: var(--mono);
  font-size: 11px;
}

.ln {
  display: block;
}

.a-type-inline {
  display: inline-block;
}

/* Pieces wait hidden until their screen scrolls into view, then play in order (--d is
 * each piece's delay). Without JS, or with reduced motion, everything just shows. */
@media (prefers-reduced-motion: no-preference) {
  .js .feature-screen .a-fade,
  .js .feature-screen .a-rise,
  .js .feature-screen .a-pop {
    opacity: 0;
  }

  .js .feature-screen .a-draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }

  .js .feature-screen .a-type {
    clip-path: inset(0 100% 0 0);
  }

  .js .feature-screen .a-grow {
    transform: scaleX(0);
    transform-origin: left center;
  }

  .is-playing .a-fade {
    animation: a-fade 0.5s ease-out var(--d, 0s) both;
  }

  .is-playing .a-rise {
    animation: a-rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both;
  }

  .is-playing .a-pop {
    animation: a-pop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) var(--d, 0s) both;
  }

  .is-playing .a-draw {
    animation: a-draw var(--t, 0.6s) ease-in-out var(--d, 0s) both;
  }

  .is-playing .a-type {
    animation: a-type var(--t, 0.5s) steps(24, end) var(--d, 0s) both;
  }

  .is-playing .a-type.a-mark {
    animation:
      a-type 0.5s steps(24, end) var(--d, 0s) both,
      a-mark 0.4s ease-out var(--m, 0s) both;
  }

  .is-playing .a-grow {
    animation: a-grow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both;
  }

  .is-playing .a-speak {
    animation: a-speak 1.6s ease-in-out 0.2s 3;
  }

  .live-dot {
    animation: a-blink 1.4s ease-in-out infinite;
  }
}

@keyframes a-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes a-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes a-pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes a-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes a-type {
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* Flags a line: the highlight arrives after the line is written. */
@keyframes a-mark {
  from {
    background-color: transparent;
    box-shadow: inset 0 0 0 transparent;
  }
}

@keyframes a-grow {
  to {
    transform: scaleX(1);
  }
}

@keyframes a-speak {
  50% {
    box-shadow: 0 0 0 10px color-mix(in oklab, var(--air) 22%, transparent), 0 0 0 22px color-mix(in oklab, var(--air) 8%, transparent);
  }
}

@keyframes a-blink {
  50% {
    opacity: 0.35;
  }
}

/* ---- comparison ---------------------------------------------------------------- */

.compare {
  max-width: 820px;
  margin: 48px auto 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
}

.compare-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row span {
  padding: 16px 22px;
}

.compare-row span:first-child {
  color: var(--mute);
}

.compare-row span:last-child {
  background: color-mix(in oklab, var(--air) 7%, var(--panel));
  color: var(--ink);
  font-weight: 500;
}

.compare-head span {
  font-size: 14px;
  font-weight: 700;
}

.compare-head span:first-child {
  color: var(--ink-2);
}

.compare-head span:last-child {
  color: var(--air);
}

@media (max-width: 560px) {
  .compare-row span {
    padding: 14px 14px;
    font-size: 15px;
  }
}

/* ---- pricing ------------------------------------------------------------------- */

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

.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--panel);
}

.plan h3 {
  font-size: 20px;
  font-weight: 700;
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-pro {
  border-color: color-mix(in oklab, var(--air) 50%, var(--line-soft));
  background: linear-gradient(180deg, color-mix(in oklab, var(--air) 9%, var(--panel)), var(--panel) 60%);
}

.price {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
}

.price span {
  margin-left: 4px;
  color: var(--mute);
  font-family: var(--sans);
  font-size: 16px;
}

.ticks {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
}

.ticks li::before {
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ok) 18%, transparent);
  content: "";
}

.ticks li::after {
  position: absolute;
  top: calc(0.3em + 4px);
  left: 5px;
  width: 6px;
  height: 4px;
  border-bottom: 2px solid var(--ok);
  border-left: 2px solid var(--ok);
  content: "";
  transform: rotate(-45deg);
}

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

@media (max-width: 680px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- for startups -------------------------------------------------------------- */

.startups {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--panel);
}

.waitlist {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.waitlist input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sunk);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.waitlist input::placeholder {
  color: var(--mute);
}

.waitlist input:focus {
  border-color: var(--air);
}

.waitlist input[aria-invalid="true"] {
  border-color: var(--bad);
}

.waitlist-msg {
  min-height: 1.5em;
  color: var(--ok);
  font-size: 15px;
}

.waitlist-msg.is-error {
  color: var(--bad);
}

@media (max-width: 600px) {
  .startups {
    padding: 24px 20px;
  }

  .waitlist {
    flex-direction: column;
  }
}

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

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

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

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--mute);
  font-size: 24px;
  font-weight: 400;
  content: "+";
  transform: translateY(-50%);
  transition: transform 200ms ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  max-width: 44rem;
  padding: 0 0 22px;
  color: var(--ink-2);
}

/* ---- final call to action ------------------------------------------------------ */

.final {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: 120px var(--gutter) 128px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.final .title {
  position: relative;
  max-width: 820px;
}

.text-link {
  position: relative;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

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

/* ---- footer -------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--sunk);
  color: var(--mute);
  font-size: 15px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand .wordmark {
  color: var(--ink);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}

.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cols h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) 32px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 20px;
}

@media (max-width: 560px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .footer-cols {
    gap: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-toggle span,
  .faq summary::after {
    transition: none;
  }
}
