/* Homepage, and the base of the industry pages (industries.css builds on
   it). Colours, type, radii and shadows are the Centillion design system's
   tokens; the layout follows the phone (390) and desktop (1440) artboards
   and scales between them. The other pages keep style.css. */

@font-face {
  font-family: 'Inter Variable';
  src: url('/assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Arial resized to Inter's metrics, so the swap to Inter doesn't reflow. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-subtle: #f6f6f6;
  --bg-muted: #e7e7e7;
  --line: #ededed;
  --line-strong: #e2e2e2;
  --ink: #0a0a0a;
  --ink-2: #353535;
  --ink-3: #626262;
  --ink-4: #a1a1a1;
  --ink-5: #c7c7c7;
  --on-ink: #ffffff;

  --green: #468e2c;
  --green-text: #3d7c27;
  --green-tint: #f2f7f0;
  --amber: #db8831;
  --amber-text: #9f5f1c;
  --amber-tint: #fbf4ec;
  --blue: #2f5bd7;
  --blue-tint: #eff3fb;
  --purple-text: #8c41ee;
  --purple-tint: #f6f4fd;
  --teal-text: #377873;
  --teal-tint: #e8f3f2;

  --glow-lavender: #ebeaf7;
  --glow-pink: #f2e4e2;
  --glow-peach: #f5e6dd;
  --glow-sky: #e6ecf4;
  --glow-mint: #e9f4ef;
  --orb-peach: #f5ae86;
  --orb-lavender: #c6bff2;
  --orb-sky: #a8c3f5;
  --orb-glow: #ffe2b0;

  --shadow-control: 0 1px 2px rgba(10, 10, 10, 0.06);
  --shadow-card: 0 1px 2px rgba(10, 10, 10, 0.04), 0 4px 12px rgba(10, 10, 10, 0.04);

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --font-sans: 'Inter Variable', 'Inter Fallback', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --page-max: 1440px;
  --content-max: 1120px;
  --gutter: 20px;
  --card-inset: 16px;
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
    --card-inset: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
  }
}

/* Base */

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  font-size: 14px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
}

p,
li {
  text-wrap: pretty;
}

img,
svg {
  display: block;
  flex-shrink: 0;
}

a {
  color: var(--ink);
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:hover {
  color: var(--on-ink);
  transform: none;
}

/* Controls */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 150ms ease-out;
}

a.btn,
button.btn {
  cursor: pointer;
}

a.btn:hover,
button.btn:hover {
  filter: brightness(0.94);
}

.btn-primary,
.btn-primary:hover {
  background: var(--ink);
  color: var(--on-ink);
}

.btn-secondary,
.btn-secondary:hover {
  border: 1px solid var(--line-strong);
  background: var(--bg);
  box-shadow: var(--shadow-control);
  color: var(--ink);
}

.btn-lg {
  height: 44px;
  padding: 0 20px;
}

.btn-sm {
  height: 28px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 18px;
}

.input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: var(--shadow-control);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.input::placeholder {
  color: var(--ink-4);
  opacity: 1;
}

.signup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.signup .btn {
  width: 100%;
}

.form-status {
  display: none;
  flex-basis: 100%;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-3);
}

.form-status.is-shown {
  display: block;
}

@media (min-width: 640px) {
  .signup {
    flex-flow: row wrap;
    align-items: center;
  }

  .input {
    width: 320px;
    font-size: 14px;
  }

  .signup .btn {
    width: auto;
  }
}

/* iOS zooms into any field set below 16px. */
@media (pointer: coarse) {
  .input {
    font-size: 16px;
  }
}

.badge,
.tag {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.badge {
  gap: 6px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-green {
  background: var(--green-tint);
  color: var(--green-text);
}

.badge-green::before {
  background: var(--green);
}

.badge-blue {
  background: var(--blue-tint);
  color: var(--blue);
}

.badge-blue::before {
  background: var(--blue);
}

.badge-amber {
  background: var(--amber-tint);
  color: var(--amber-text);
}

.badge-amber::before {
  background: var(--amber);
}

.tag-amber {
  background: var(--amber-tint);
  color: var(--amber-text);
}

.tag-purple {
  background: var(--purple-tint);
  color: var(--purple-text);
}

.tag-neutral {
  background: var(--bg-muted);
  color: var(--ink-2);
}

/* The assistant orb: the only saturated element on a screen. */
.orb {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  isolation: isolate;
  background: radial-gradient(circle at 32% 30%, #d9d4f8 0%, var(--orb-lavender) 30%, var(--orb-sky) 70%, #8fb0ee 100%);
  box-shadow: 0 0 0 0.5px rgba(10, 10, 10, 0.04), 0 0 10px rgba(198, 191, 242, 0.55), 0 0 18px rgba(245, 174, 134, 0.35);
}

.orb::before,
.orb::after {
  content: '';
  position: absolute;
  inset: -45%;
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.orb::before {
  background: radial-gradient(circle at 68% 72%, var(--orb-glow) 0%, var(--orb-peach) 28%, rgba(245, 174, 134, 0) 58%);
  filter: blur(1.5px);
  animation: orb-warm 14s ease-in-out infinite;
}

.orb::after {
  background:
    radial-gradient(circle at 36% 38%, rgba(168, 195, 245, 0.95) 0%, rgba(168, 195, 245, 0) 52%),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 40%);
  mix-blend-mode: screen;
  animation: orb-cool 22s linear infinite;
}

.orb-24 {
  width: 24px;
  height: 24px;
}

@keyframes orb-warm {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-9%, -7%) rotate(120deg); }
  66% { transform: translate(6%, -10%) rotate(240deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes orb-cool {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: var(--page-max);
  height: 64px;
  margin: 0 auto;
  padding: 0 16px;
}

.wordmark {
  display: inline-flex;
  padding-block: 13px;
}

.wordmark img {
  width: 110px;
  height: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-actions .btn {
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 18px;
}

/* Too narrow for both calls; the hero's fine print still links the demo. */
@media (max-width: 359.98px) {
  .header-demo {
    display: none;
  }
}

@media (min-width: 640px) {
  .site-header {
    height: 72px;
    padding: 0 24px;
  }

  .wordmark {
    padding-block: 10px;
  }

  .wordmark img {
    width: 147px;
    height: 24px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn {
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
    line-height: 20px;
  }
}

/* The glow: five soft fields over bg-subtle, strongest top right, gone by
   the left third so the text sits on plain gray. */

.glow {
  background:
    radial-gradient(320px 260px at 96% 4%, var(--glow-lavender), transparent 70%),
    radial-gradient(280px 240px at 84% 40%, var(--glow-pink), transparent 70%),
    radial-gradient(280px 220px at 98% 92%, var(--glow-peach), transparent 70%),
    radial-gradient(260px 220px at 66% 60%, var(--glow-sky), transparent 70%),
    radial-gradient(220px 180px at 72% 2%, var(--glow-mint), transparent 70%),
    var(--bg-subtle);
}

.glow-centered {
  background:
    radial-gradient(260px 220px at 36% 28%, var(--glow-lavender), transparent 70%),
    radial-gradient(240px 200px at 64% 72%, var(--glow-pink), transparent 70%),
    radial-gradient(230px 190px at 76% 22%, var(--glow-peach), transparent 70%),
    radial-gradient(240px 200px at 50% 50%, var(--glow-sky), transparent 70%),
    radial-gradient(200px 160px at 24% 78%, var(--glow-mint), transparent 70%),
    var(--bg-subtle);
}

@media (min-width: 640px) {
  .glow {
    background:
      radial-gradient(640px 440px at 94% 6%, var(--glow-lavender), transparent 70%),
      radial-gradient(560px 400px at 82% 48%, var(--glow-pink), transparent 70%),
      radial-gradient(560px 380px at 96% 92%, var(--glow-peach), transparent 70%),
      radial-gradient(520px 360px at 64% 58%, var(--glow-sky), transparent 70%),
      radial-gradient(440px 300px at 70% 4%, var(--glow-mint), transparent 70%),
      var(--bg-subtle);
  }

  .glow-centered {
    background:
      radial-gradient(520px 360px at 38% 30%, var(--glow-lavender), transparent 70%),
      radial-gradient(480px 340px at 62% 70%, var(--glow-pink), transparent 70%),
      radial-gradient(460px 320px at 74% 24%, var(--glow-peach), transparent 70%),
      radial-gradient(480px 340px at 50% 50%, var(--glow-sky), transparent 70%),
      radial-gradient(400px 280px at 26% 76%, var(--glow-mint), transparent 70%),
      var(--bg-subtle);
  }
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-inline: max(var(--card-inset), calc((100% - var(--page-max)) / 2 + var(--card-inset)));
  padding: 40px 20px 48px;
  border-radius: var(--radius-xl);
}

.hero-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  margin: -8px 0 0 -8px;
}

/* The glow the design paints behind the dots, as CSS so it shows before
   the script runs. */
.hero-orb-canvas {
  display: block;
  width: 144px;
  height: 144px;
  background: radial-gradient(closest-side, rgba(198, 191, 242, 0.32) 11.1%, rgba(245, 174, 134, 0.14) 60%, rgba(245, 174, 134, 0) 100%);
}

.orb-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: var(--shadow-control);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.orb-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-eyebrow {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 18px;
}

.hero-title {
  font-size: clamp(2.5rem, 1.5rem + 2.8vw, 4rem);
  line-height: calc(1em + 4px);
  letter-spacing: -0.025em;
}

/* Muted words fade left to right. */
.fade {
  color: var(--ink-3);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .fade {
    background: linear-gradient(90deg, var(--ink-3), var(--ink-4));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .fade::selection {
    color: var(--ink-3);
  }
}

.hero-lede {
  max-width: 680px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 24px;
}

.hero-note {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 18px;
}

@media (min-width: 640px) {
  .hero {
    gap: 24px;
    padding: 48px 40px 56px;
  }

  .hero-orb {
    margin: -10px 0 0 -10px;
  }

  .hero-orb-canvas {
    width: 176px;
    height: 176px;
  }

  .hero-copy {
    gap: 24px;
  }

  .hero-eyebrow {
    font-size: 14px;
    line-height: 20px;
  }

  .hero-lede {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Side by side: copy on the left, the orb centred in the space on the right. */
@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
    min-height: 660px;
    padding: clamp(64px, 6.667vw, 96px) clamp(48px, 6.667vw, 96px) clamp(60px, 6.111vw, 88px);
  }

  .hero-copy {
    grid-area: 1 / 1;
    align-self: start;
  }

  .hero-orb {
    grid-area: 1 / 2;
    align-self: center;
    gap: 8px;
    margin: 0 12px 0 0;
  }

  .hero-orb-canvas {
    width: clamp(200px, 18.334vw, 264px);
    height: clamp(200px, 18.334vw, 264px);
  }

  .hero-title {
    max-width: 900px;
    letter-spacing: -0.03em;
  }
}

/* Sections */

.section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 64px max(var(--gutter), calc((100% - var(--content-max)) / 2));
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-head h2 {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.01em;
}

.section-head p,
.section-foot {
  color: var(--ink-3);
}

.measure {
  max-width: 760px;
}

@media (min-width: 640px) {
  .section-head {
    gap: 8px;
  }

  .section-head h2 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.015em;
  }
}

@media (min-width: 1024px) {
  .section {
    gap: 24px;
    padding-block: 96px;
  }
}

/* The outcome record: a table on desktop, a card per request below. */

.record {
  display: block;
  width: 100%;
  border-collapse: collapse;
}

.record th,
.record td {
  padding: 0;
  font-weight: 400;
  text-align: left;
}

.record tbody {
  display: grid;
  gap: 12px;
}

.record tr {
  display: grid;
}

.record th[scope='row'] {
  color: var(--ink);
  font-weight: 500;
}

.record td {
  color: var(--ink-2);
}

.record td.is-quiet {
  color: var(--ink-3);
}

@media (max-width: 1023.98px) {
  .record thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .record tr {
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    align-items: center;
    gap: 6px 8px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
  }

  .record th[scope='row'] {
    grid-area: 1 / 1;
    font-size: 15px;
    line-height: 22px;
  }

  .record-outcome {
    grid-area: 1 / 2;
  }

  .record .badge {
    background: var(--bg);
  }

  .record td[data-label] {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
    font-size: 13px;
    line-height: 18px;
  }

  .record td[data-label='Evidence'] {
    margin-top: 4px;
  }

  .record td[data-label]::before {
    content: attr(data-label);
    content: attr(data-label) / '';
    color: var(--ink-4);
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .record tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .record thead {
    display: block;
  }

  .record tbody {
    display: block;
  }

  .record tr {
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr 0.9fr 110px;
    align-items: start;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }

  .record thead tr {
    padding: 0 0 12px;
    border-top: 0;
  }

  .record tbody tr:last-child {
    border-bottom: 1px solid var(--line);
  }

  .record th[scope='col'] {
    color: var(--ink-4);
    font-size: 12px;
    line-height: 16px;
  }
}

/* A resolution, end to end */

.section-demo {
  gap: 24px;
}

.demo-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: var(--bg-subtle);
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.thread-internal {
  gap: 16px;
}

.thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 16px;
}

.msg-user {
  display: flex;
  justify-content: flex-end;
}

.bubble {
  max-width: 250px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.bubble-file {
  display: flex;
  align-items: center;
  gap: 8px;
}

.msg-agent,
.post {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.msg-agent .orb {
  margin-top: 2px;
}

.msg-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.msg-meta,
.sources-label {
  color: var(--ink-4);
  font-size: 12px;
  line-height: 16px;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--blue);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.source-initial {
  font-size: 11px;
}

.post-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.post-author {
  font-weight: 500;
}

.post-time {
  color: var(--ink-4);
  font-size: 12px;
}

.post-list {
  padding-left: 16px;
  color: var(--ink-3);
}

.post-list li::marker {
  color: var(--ink-5);
}

.post-list-lead {
  color: var(--ink);
  font-weight: 500;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--teal-tint);
  color: var(--teal-text);
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
}

.takeaways {
  display: flex;
  flex-direction: column;
}

.takeaway {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
}

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

.takeaway h3,
.step h3 {
  font-size: 16px;
  line-height: 22px;
}

.takeaway p,
.step p {
  color: var(--ink-3);
}

@media (min-width: 640px) {
  .bubble {
    max-width: 320px;
  }
}

@media (min-width: 1024px) {
  .section-demo {
    gap: 32px;
  }

  .demo-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    padding: 32px;
  }

  .demo-panel .thread {
    min-height: 500px;
    padding: 20px;
    gap: 16px;
  }

  .demo-panel .thread-internal {
    gap: 20px;
  }

  .takeaways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .takeaway {
    gap: 8px;
    padding: 8px 24px;
  }

  .takeaway:first-child {
    padding-left: 0;
  }

  .takeaway:last-child {
    padding-right: 0;
  }

  .takeaway + .takeaway {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* Conversion */

.section-conversion {
  gap: 24px;
}

.conversion-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.h2-large {
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.015em;
}

.conversion-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 22px;
}

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

.dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dot-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--green);
}

.widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: var(--bg-subtle);
}

.outcome-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: var(--shadow-control);
}

.outcome-strip-label {
  grid-area: 1 / 1;
  color: var(--ink-4);
  font-size: 12px;
  line-height: 16px;
}

.outcome-strip .badge {
  grid-area: 1 / 2;
}

.outcome-strip-text {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 18px;
}

@media (min-width: 640px) {
  .conversion-copy {
    gap: 16px;
  }

  .h2-large {
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -0.02em;
  }

  .conversion-text {
    gap: 16px;
    font-size: 16px;
    line-height: 24px;
  }

  .dot-list {
    margin-top: 8px;
  }

  .thread-widget {
    padding: 20px;
    gap: 16px;
  }

  .thread-widget .bubble {
    max-width: 300px;
  }

  .widget {
    gap: 16px;
    padding: 24px;
  }

  .outcome-strip {
    gap: 2px 12px;
    padding: 14px 16px;
  }

  .outcome-strip .badge {
    grid-row: 1 / span 2;
  }

  .outcome-strip-text {
    grid-column: 1;
  }
}

@media (min-width: 1200px) {
  .section-conversion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    align-items: start;
    gap: 80px;
  }
}

/* Less of your team's week */

.steps {
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--ink-4);
  font-size: 12px;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
}

.step p {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .step {
    grid-template-columns: 56px minmax(0, 760px);
    align-items: start;
    gap: 4px 24px;
    padding: 20px 0;
  }

  .step-number {
    grid-row: 1 / span 2;
  }

  .step p {
    grid-column: 2;
  }
}

/* The stack */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: var(--shadow-control);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.chip img,
.chip svg {
  width: 16px;
  height: 16px;
}

.assurances {
  display: grid;
  gap: 12px;
  scroll-margin-top: 24px;
}

.assurance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}

.assurance h3 {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.01em;
}

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

@media (min-width: 640px) {
  .chip {
    height: 36px;
    padding: 0 14px 0 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .assurances {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .assurance {
    padding: 24px;
  }
}

/* Closing call */

.closing {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 max(var(--card-inset), calc((100% - var(--page-max)) / 2 + var(--card-inset))) var(--card-inset);
  padding: 48px 20px;
  border-radius: var(--radius-xl);
}

.closing h2 {
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.015em;
}

.closing > p {
  max-width: 560px;
  color: var(--ink-3);
}

.closing .signup {
  margin-top: 20px;
}

@media (min-width: 640px) {
  .closing {
    align-items: center;
    gap: 12px;
    padding: 80px clamp(40px, 6.667vw, 96px);
    text-align: center;
  }

  .closing h2 {
    font-size: 40px;
    line-height: 46px;
    letter-spacing: -0.02em;
  }

  .closing .signup {
    justify-content: center;
  }
}

/* Footer */

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

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--page-max);
  min-height: 120px;
  margin: 0 auto;
  padding: 24px 20px;
}

.footer-wordmark {
  width: 110px;
  height: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  list-style: none;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 18px;
}

.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 768px) {
  .site-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 96px;
    min-height: 0;
    padding: 0 24px;
  }

  .footer-wordmark {
    width: 122px;
    height: 20px;
  }

  .footer-links {
    gap: 24px;
  }
}

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

  .orb::before,
  .orb::after {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
