@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/landing/space-grotesk-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/landing/space-grotesk-bold.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --page: #faf5ec;
  --surface: #f7efe1;
  --surface-strong: #efe6d4;
  /* Elevated surface for content sitting above the main page background. */
  --canvas: #ffffff;
  --text: #1c1712;
  --muted: #8a7c68;
  --line: #e8dbbf;
  /* Two-accent system mirroring the product: near-black is the "action" color
     (buttons, matches the chat avatar badge); gold is the "highlight" color
     (matches the user's own message bubble). --gold is fill-only (bubbles,
     borders) — too light for text on this background, so text/link/focus
     uses the deeper --gold-text instead. */
  --accent: #1c1712;
  --accent-hover: #332a21;
  --gold: #ebd7bc;
  --gold-text: #8a6a2e;
  --button-text: #faf5ec;
  --radius: 24px;
  --button-radius: 999px;
  --content: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

/* The UA rule loses to any author display, e.g. .button's inline-flex. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold-text) 70%, transparent);
  outline-offset: 4px;
}

.site-header,
main,
footer {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand img {
  display: block;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-header nav > a:not(.button):hover,
footer nav a:hover {
  color: var(--text);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--button-radius);
  background: var(--accent);
  color: var(--button-text);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 40px;
  padding: 10px 16px;
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--text);
  background: var(--surface);
}

.hero {
  --hero-gap: clamp(48px, 7vw, 96px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(780px, calc(100dvh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: var(--hero-gap);
  padding-block: clamp(48px, 7vh, 88px);
}

.hero > .hero-copy,
.hero > .hero-chat-wrap {
  position: relative;
  z-index: 1;
}

.hero-vanta {
  --bird-shift-x: 0px;
  --bird-shift-y: 0px;
  position: absolute;
  inset: -24px;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--bird-shift-x), var(--bird-shift-y), 0) scale(1.025);
  transform-origin: center;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 52%,
    rgb(0 0 0 / 78%) 74%,
    rgb(0 0 0 / 45%) 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 52%,
    rgb(0 0 0 / 78%) 74%,
    rgb(0 0 0 / 45%) 100%
  );
  transition:
    opacity 900ms var(--ease-out),
    transform 180ms ease-out;
}

.hero-vanta .vanta-canvas {
  pointer-events: none;
}

.hero.has-vanta .hero-vanta {
  opacity: 0.42;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ad8c66;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 4.2vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-summary {
  max-width: 530px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.waitlist-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.waitlist-cta-sublabel {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

.workflow-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.workflow-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-chat-title {
  display: none;
}

.hero-chat-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-chat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: clamp(460px, 52vh, 520px);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--page);
  box-shadow: 0 32px 64px -36px color-mix(in srgb, var(--text) 28%, transparent);
}

.hero-chat--measure {
  position: fixed;
  top: 0;
  left: -200vw;
  height: auto !important;
  min-height: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

.hero-chat-dots {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.hero-chat-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    transform 200ms ease;
}

.hero-chat-dot:hover {
  background: var(--gold-text);
}

.hero-chat-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.app-download-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.app-download-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.app-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.app-download-link:hover {
  border-color: var(--text);
  background: var(--surface);
}

.app-download-link.is-soon {
  border-style: dashed;
  color: var(--muted);
  pointer-events: none;
}

.app-download-row--mobile {
  display: none;
}

.app-download-row--desktop {
  padding-block: 0 clamp(32px, 5vh, 56px);
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.chat-row--user {
  justify-content: flex-end;
}

.chat-avatar {
  flex: none;
  display: block;
  border-radius: 12px;
}

.chat-bubble {
  max-width: 80%;
  margin: 0;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.5;
}

.chat-bubble--user {
  border-bottom-right-radius: 6px;
  background: var(--gold);
  color: var(--text);
}

.chat-bubble--assistant {
  border-bottom-left-radius: 6px;
  background: var(--canvas);
  color: var(--text);
  box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--text) 30%, transparent);
}

.chat-bubble--post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.chat-bubble-lead {
  margin: 0;
  padding: 0 4px;
}

.chat-post {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--page);
}

.chat-post-artwork {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #8d684c;
  color: var(--canvas);
  text-align: center;
  text-transform: uppercase;
}

.chat-post-artwork::before,
.chat-post-artwork::after {
  position: absolute;
  z-index: -1;
  width: 96px;
  height: 96px;
  border: 1px solid color-mix(in srgb, var(--canvas) 52%, transparent);
  border-radius: 50%;
  content: "";
}

.chat-post-artwork::before {
  top: -24px;
  right: -22px;
}

.chat-post-artwork::after {
  bottom: -36px;
  left: -28px;
}

.chat-post-artwork-label,
.chat-post-artwork-timing {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.chat-post-artwork strong {
  max-width: 4.5ch;
  margin: 13px 0 10px;
  font-size: 2.1rem;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.chat-post-artwork-timing {
  opacity: 0.78;
}

.chat-post-caption {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

@media (min-width: 901px) {
  .chat-bubble--post {
    width: min(72%, 460px);
    max-width: none;
  }

  .chat-post-artwork {
    aspect-ratio: 16 / 9;
  }
}

.chat-post-artwork--image {
  aspect-ratio: 4 / 3;
  background: #f6ecdb;
}

.chat-post-artwork--image::before,
.chat-post-artwork--image::after {
  content: none;
}

.chat-post-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.human-interlude {
  position: relative;
  margin: clamp(32px, 5vw, 72px) 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.human-interlude-media {
  height: clamp(420px, 52vw, 640px);
  overflow: hidden;
}

.human-interlude img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.025);
  transition: transform 1.2s var(--ease-out);
}

.human-interlude.is-revealed img {
  transform: scale(1);
}

.ai-workstream {
  position: absolute;
  top: clamp(20px, 4vw, 48px);
  left: clamp(20px, 4vw, 48px);
  width: min(360px, calc(100% - 40px));
  padding: 24px 26px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  box-shadow: 0 24px 56px -36px color-mix(in srgb, var(--text) 34%, transparent);
}

.ai-workstream > strong {
  display: block;
  margin-bottom: 18px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.ai-workstream-list {
  display: grid;
  gap: 11px;
}

.ai-workstream-step {
  position: relative;
  display: block;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.46;
  transform: translateX(0);
  transition:
    color 360ms var(--ease-out),
    opacity 360ms var(--ease-out),
    transform 360ms var(--ease-out);
}

.ai-workstream-step::before {
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: var(--line);
  content: "";
  transform: scaleY(0.45);
  transition:
    background-color 360ms var(--ease-out),
    transform 360ms var(--ease-out);
}

.ai-workstream-step.is-active {
  color: var(--text);
  opacity: 1;
  transform: translateX(4px);
}

.ai-workstream-step.is-active::before {
  background: var(--gold-text);
  transform: scaleY(1);
}

.human-interlude figcaption {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 48px);
  width: min(440px, calc(100% - 40px));
  padding: 24px 28px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  box-shadow: 0 24px 56px -36px color-mix(in srgb, var(--text) 34%, transparent);
}

.human-interlude figcaption strong,
.human-interlude figcaption span {
  display: block;
}

.human-interlude figcaption strong {
  margin-bottom: 5px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.035em;
}

.human-interlude figcaption span {
  color: var(--muted);
  line-height: 1.5;
}

.approval-board {
  position: relative;
  width: 100%;
  padding: clamp(20px, 2.5vw, 30px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 32px 64px -36px color-mix(in srgb, var(--text) 28%, transparent);
}

.approval-board::before {
  position: absolute;
  z-index: -1;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  content: "";
}

.approval-board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.approval-board-kicker {
  margin-bottom: 6px;
  color: var(--gold-text);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.approval-board-header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.queue-count {
  flex: none;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--canvas);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(150px, 0.84fr) minmax(0, 1.16fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--canvas);
}

.featured-post > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.featured-post-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.platform-row span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.featured-post-copy > p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.approval-action {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.approval-action-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--button-text);
}

.queue-list {
  margin-top: 12px;
}

.queue-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}

.queue-date {
  color: var(--gold-text);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.queue-list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.84rem;
}

.queue-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.queue-status {
  color: var(--text);
  font-size: 0.73rem;
  font-weight: 700;
}

.queue-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.queue-footer > span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--text);
}

.queue-footer [data-queue-footer] {
  min-width: 0;
}

.section-label {
  margin-bottom: 16px;
  color: var(--gold-text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pain {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: end;
  gap: clamp(48px, 8vw, 110px);
  padding-block: clamp(72px, 9vw, 112px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain h2,
.outputs-intro h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.pain-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.pain-copy .pain-lead {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.45;
}

.pain-copy p:last-child {
  margin-bottom: 0;
}

.approval-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  align-items: start;
  gap: clamp(56px, 8vw, 112px);
  padding-block: clamp(96px, 12vw, 150px);
}

.approval-story-copy {
  min-width: 0;
}

.approval-showcase-copy h2 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.approval-showcase-copy > p:last-child {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.approval-story-steps {
  margin-top: clamp(48px, 7vw, 88px);
}

.approval-story-step {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0 30px 24px;
  border-left: 2px solid var(--line);
  opacity: 0.38;
  transform: translateY(12px);
  transition:
    border-color 360ms var(--ease-out),
    opacity 360ms var(--ease-out),
    transform 360ms var(--ease-out);
}

.approval-story-step.is-active {
  border-color: var(--gold-text);
  opacity: 1;
  transform: translateY(0);
}

.approval-story-step h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  letter-spacing: -0.04em;
}

.approval-story-step p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.approval-board-wrap {
  position: sticky;
  top: 104px;
  align-self: start;
}

.approval-board,
.featured-post,
.approval-action-primary,
.queue-status,
.queue-footer {
  transition:
    background-color 320ms var(--ease-out),
    border-color 320ms var(--ease-out),
    color 320ms var(--ease-out),
    opacity 320ms var(--ease-out),
    transform 320ms var(--ease-out);
}

.approval-board[data-story-state="reviewed"] {
  transform: translateY(-4px);
}

.approval-board[data-story-state="reviewed"] .approval-action-primary {
  transform: scale(0.96);
}

.approval-board[data-story-state="approved"] .featured-post {
  border-color: color-mix(in srgb, var(--gold-text) 45%, var(--line));
  transform: translateY(-5px);
}

.approval-board[data-story-state="approved"] .approval-action-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--text);
}

.approval-board[data-story-state="approved"] .queue-status {
  color: var(--gold-text);
}

.outputs {
  padding-block: clamp(96px, 12vw, 150px);
}

.outputs-intro {
  max-width: 780px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.outputs-intro > p:last-child {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.output-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}

.output-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-column: span 6;
  align-content: start;
  gap: 20px;
  min-height: 230px;
  padding: clamp(28px, 4vw, 48px);
}

.output-list article:nth-child(1),
.output-list article:nth-child(2) {
  border-bottom: 1px solid var(--line);
}

.output-list article:nth-child(2),
.output-list article:nth-child(4) {
  border-left: 1px solid var(--line);
}

.output-list article:nth-child(1) {
  grid-column: span 7;
  background: var(--surface);
}

.output-list article:nth-child(2) {
  grid-column: span 5;
}

.output-list article:nth-child(3) {
  grid-column: span 5;
}

.output-list article:nth-child(4) {
  grid-column: span 7;
  background: var(--surface-strong);
}

.output-list h3 {
  margin: 0 0 7px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.output-list p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
  padding-block: clamp(96px, 12vw, 150px);
}

.workflow-media {
  aspect-ratio: 4 / 5;
}

.workflow-copy h2,
.fit h2,
.faq > h2,
.final-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-summary {
  max-width: 600px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.workflow ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  display: grid;
  grid-template-columns: minmax(185px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.workflow li strong {
  font-size: 1rem;
  line-height: 1.45;
}

.workflow li span {
  color: var(--muted);
  line-height: 1.6;
}

.fit {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 72px;
  padding: clamp(52px, 7vw, 88px);
  border-radius: var(--radius);
  background: var(--surface);
}

.fit h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.fit p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 72px;
  padding-block: clamp(96px, 12vw, 150px);
}

.faq > h2 {
  max-width: 400px;
}

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

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

summary {
  cursor: pointer;
  padding: 24px 40px 24px 0;
  font-size: 1.06rem;
  font-weight: 700;
  list-style-position: outside;
  transition: color 180ms ease;
}

summary:hover {
  color: var(--gold-text);
}

details p {
  max-width: 650px;
  padding: 0 40px 24px 0;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

details p a {
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: clamp(72px, 9vw, 112px);
  border-top: 1px solid var(--line);
}

.final-cta > div {
  width: 100%;
}

.final-cta h2 {
  max-width: 750px;
}

.final-cta p {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.waitlist-dialog {
  width: min(calc(100% - 32px), 560px);
  overflow: visible;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  color: var(--text);
  box-shadow: 0 24px 80px rgb(28 23 18 / 22%);
}

.waitlist-dialog::backdrop {
  background: rgb(28 23 18 / 58%);
  backdrop-filter: blur(4px);
}

.waitlist-dialog h2 {
  max-width: 480px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.waitlist-description {
  max-width: 470px;
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.6;
}

.waitlist-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
}

.waitlist-close:hover {
  background: var(--surface);
  color: var(--text);
}

.waitlist-close:focus-visible,
.waitlist-dialog input:focus-visible,
.waitlist-dialog button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold-text) 70%, transparent);
  outline-offset: 3px;
}

.waitlist-dialog form > label:not(.waitlist-opt-out) {
  display: block;
  margin-bottom: 9px;
  font-size: 0.88rem;
  font-weight: 700;
}

.waitlist-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.waitlist-dialog input[type="email"] {
  min-width: 0;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--page);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.waitlist-dialog input[type="email"]::placeholder {
  color: var(--muted);
}

.waitlist-dialog input[type="email"][aria-invalid="true"] {
  border-color: #9b2c2c;
}

.waitlist-dialog .button {
  cursor: pointer;
  font: inherit;
}

.waitlist-dialog .button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.waitlist-consent,
.waitlist-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.waitlist-opt-out {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 18px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.2;
}

.waitlist-opt-out input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.waitlist-status {
  min-height: 1.2em;
  color: #9b2c2c;
}

.waitlist-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

footer {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

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

.footer-copyright {
  color: var(--muted);
  font-size: 0.86rem;
}

.will-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.will-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 620ms var(--ease-out) var(--reveal-delay, 0ms);
}

@supports (content-visibility: auto) {
  .outputs,
  .workflow,
  .fit,
  .faq,
  .final-cta {
    content-visibility: auto;
  }

  .outputs,
  .workflow {
    contain-intrinsic-size: auto 900px;
  }

  .fit,
  .faq,
  .final-cta {
    contain-intrinsic-size: auto 520px;
  }
}

@media (min-width: 901px) and (max-height: 850px) {
  .hero {
    min-height: calc(100dvh - 72px);
    gap: clamp(36px, 4vw, 64px);
    padding-block: clamp(28px, 4.5vh, 40px);
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(3.05rem, 3.7vw, 3.65rem);
    line-height: 0.94;
  }

  .hero-summary {
    max-width: 500px;
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-chat {
    gap: 12px;
    min-height: clamp(390px, 55vh, 440px);
    padding: 22px 24px;
  }

  .chat-bubble {
    padding: 12px 15px;
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .hero-chat-dots {
    padding-top: 10px;
  }
}

@media (max-width: 900px) {
  .site-header nav > a:not(.button) {
    display: none;
  }

  .hero-chat-title {
    display: block;
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    letter-spacing: -0.04em;
  }

  .hero-chat-wrap {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    /* Cancel the hero grid's row gap so the carousel hugs its own header. */
    margin-top: calc(-1 * var(--hero-gap) + 2px);
  }

  .hero-chat {
    grid-row: 1;
    align-self: center;
  }

  .hero-chat-dots {
    grid-row: 2;
    margin-top: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 700px;
  }

  .app-download-row--desktop {
    display: none;
  }

  .app-download-row--mobile {
    display: flex;
    justify-content: center;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .pain,
  .approval-showcase,
  .outputs,
  .workflow,
  .fit,
  .faq {
    grid-template-columns: 1fr;
  }

  .pain,
  .approval-showcase,
  .outputs,
  .workflow,
  .faq {
    gap: 48px;
  }

  .approval-board {
    width: min(100%, 720px);
  }

  .approval-board-wrap {
    position: static;
  }

  .approval-story-step {
    min-height: auto;
    margin-bottom: 18px;
    opacity: 1;
    transform: none;
  }

  .workflow-media {
    width: min(72vw, 560px);
  }

  .fit {
    align-items: start;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header {
    min-height: 66px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header .button-small {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 0.88rem;
  }

  .brand {
    font-size: 1.08rem;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .hero {
    gap: 42px;
    padding-block: 54px 72px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 13vw, 4.1rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-chat {
    gap: 14px;
    min-height: 420px;
  }

  .chat-bubble {
    max-width: 88%;
    font-size: 0.94rem;
  }

  .pain {
    padding-block: 56px;
  }

  .human-interlude-media {
    height: 480px;
  }

  .human-interlude figcaption {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 20px;
  }

  .outputs {
    padding-block: 84px;
  }

  .output-list article,
  .output-list article:nth-child(1),
  .output-list article:nth-child(2),
  .output-list article:nth-child(3),
  .output-list article:nth-child(4) {
    grid-column: 1 / -1;
    min-height: auto;
    border-left: none;
    border-bottom: 1px solid var(--line);
  }

  .output-list article:last-child {
    border-bottom: none;
  }

  .approval-showcase {
    padding-block: 84px;
  }

  .featured-post {
    grid-template-columns: minmax(112px, 0.8fr) minmax(0, 1.2fr);
  }

  .featured-post-copy {
    gap: 10px;
    padding: 12px;
  }

  .featured-post-copy > p {
    font-size: 0.8rem;
  }

  .approval-action {
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .queue-list article {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .workflow {
    padding-block: 84px;
  }

  .workflow-media {
    width: 100%;
  }

  .workflow li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fit {
    padding: 32px 24px;
  }

  .waitlist-form-row {
    grid-template-columns: 1fr;
  }

  .waitlist-form-row .button {
    width: 100%;
  }

  .faq {
    padding-block: 84px;
  }

  footer {
    min-height: 136px;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  footer nav {
    gap: 18px;
    font-size: 0.86rem;
  }
}

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

  .button,
  .hero-chat-dot,
  .human-interlude img,
  .approval-board,
  .featured-post,
  .approval-action-primary,
  .queue-status,
  .queue-footer,
  .approval-story-step,
  .ai-workstream-step,
  .ai-workstream-step::before,
  .hero-vanta {
    transition: none;
  }

  .will-reveal,
  .will-reveal.is-revealed,
  .approval-story-step {
    opacity: 1;
    transform: none;
  }
}
