/* ============================================================
   simpleagentic.ai — landing page
   One stylesheet. No framework, no build step.

   Mobile first: every rule below is the phone layout, and the
   @media blocks only ever ADD columns as the screen grows. There
   is no max-width query in this file.

   Breakpoints
     560px  stacked pairs become two columns
     900px  the real desktop layout (nav row, hero split, 3-up)
     1120px the container stops growing

   Order: tokens, base, layout, type, components, sections,
          footer, motion/print.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --ink:       #111;
  --ink-2:     #333;
  --paper:     #fbfbfb;
  --paper-2:   #f6f6f6;
  --card:      #fff;
  --text:      #111;
  --muted:     #555;
  --muted-2:   #777;
  --faint:     #999;
  --line:      #e6e6e6;
  --line-2:    #ececec;
  --line-3:    #eee;
  --go:        #3b7fe6;
  --brand:     rgb(27, 108, 184);
  --ask:       #1a4578;
  --go-soft:   #a4c9f0;
  --go-wash:   #d6e6f8;
  --on-ink:    #aaa;
  --line-ink:  rgba(255, 255, 255, .25);

  --sans: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --w:        1200px;
  --w-narrow: 760px;
  --pad:      20px;
  --r:        14px;
  --r-lg:     16px;
  --r-xl:     18px;
  --r-btn:    9px;

  /* Section rhythm and the two display sizes are fluid, so the
     page has no typographic jump at a breakpoint. */
  --gap-sec:  clamp(72px, 11vw, 120px);
  --fs-h1:    clamp(34px, 7.4vw, 56px);
  --fs-h2:    clamp(27px, 4.6vw, 40px);

  --shadow:    0 8px 24px -14px rgba(0, 0, 0, .3);
  --shadow-lg: 0 30px 80px -40px rgba(0, 0, 0, .18);

  /* Dotted paper, used behind the hero and inside the run panel. */
  --dots:      radial-gradient(#d4d4d4 1px, transparent 1px) 0 0 / 24px 24px;
  --dots-soft: radial-gradient(#ececec 1px, transparent 1px) 0 0 / 22px 22px;
  --dots-ink:  radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 22px 22px;
}

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

html {
  scroll-behavior: smooth;
  /* Clears the sticky nav on anchor jumps. One row on a phone
     (logo and button only), a little taller from 900px up. */
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 900px) { html { scroll-padding-top: 76px; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* the hero glow bleeds past the viewport; clip keeps it off the scrollbar without breaking the sticky header */
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: #fff; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 0 0 8px 0;
  font-weight: 500; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: var(--w-narrow); }

.sec { padding-top: var(--gap-sec); }
.sec--centre { text-align: center; }

/* Grids are one column until there is room. --min lets a single
   grid opt into a narrower comfortable column than the default. */
.grid { display: grid; gap: 12px; }

@media (min-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- type ---------- */
.h1 {
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.h1__soft { color: #8a8a8a; }

.h2 {
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: pretty;
}

.lede {
  font-size: clamp(15.5px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0;
  text-wrap: pretty;
}
.lede--hero { color: var(--muted); font-size: 18px; max-width: 460px; margin-bottom: 32px; }
.lede--centre { max-width: 560px; margin-inline: auto; }

.mono { font-family: var(--mono); }

/* Small mono index — "01", "WEEK 1", "WHAT IT COSTS". */
.tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  margin: 0;
}

.note { font-size: 12.5px; color: var(--faint); margin: 0; }

/* ---------- pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid #e4e4e4;
  background: var(--card);
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0 0 18px;
}
.pill--live { margin-bottom: 28px; }
.pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--go);
  flex: none;
  animation: blink 2s ease-in-out infinite;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:disabled { opacity: .6; cursor: progress; }
.btn--dark { background: rgb(27, 108, 184); color: #fff; }
.btn--dark:hover { background: rgb(18, 84, 150); }
.btn--light { background: var(--card); color: var(--ink); border-color: #e0e0e0; }
.btn--light:hover { background: #f3f3f3; }
.btn--sm { padding: 8px 14px; font-size: 13.5px; }

.btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Inline "Get a quote →" style link. */
.link { font-size: 14px; font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- brand ---------- */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
}
.brand__name {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: Nunito, var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
}
.brand__simple { color: var(--brand); }
.brand__logo {
  height: 30px;
  width: auto;
  display: block;
  flex: none;
}
.brand__by {
  display: inline-flex;
  align-items: baseline;
  gap: .3em;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--muted-2);
  text-decoration: none;
}
.brand__by:hover { color: var(--ink); }
.brand__by-name {
  display: inline-block;
  white-space: nowrap;
}
.brand__by { animation: brand-by-in 1.8s ease forwards; }
.brand__by-name {
  overflow: hidden;
  width: 0;
  animation: brand-by-reveal 1.8s ease forwards;
}
.brand__by-name span {
  display: inline-block;
  animation: brand-by-slide 1.8s ease forwards;
}
@keyframes brand-by-in {
  0% { opacity: 0; }
  18% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes brand-by-slide {
  0% { transform: translateX(-100%); }
  18% { transform: translateX(-100%); }
  42% { transform: translateX(0); }
  100% { transform: translateX(0); }
}
@keyframes brand-by-reveal {
  0% { width: 0; }
  18% { width: 0; }
  42% { width: 12.6ch; }
  100% { width: 12.6ch; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 251, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.nav__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
}
.nav__actions { display: flex; gap: 16px; align-items: center; flex: none; margin-left: auto; }
.nav__link {
  display: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); }
@media (min-width: 720px) { .nav__link { display: inline; } }

@media (min-width: 900px) {
  .nav__bar { flex-wrap: nowrap; padding-block: 14px; }
  .nav__actions { gap: 22px; }
}

/* ---------- hero ---------- */
.hero { position: relative; }
.hero__dots {
  position: absolute;
  inset: 0;
  background: var(--dots);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 48px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 72px);
}
.hero__trust { margin: 36px 0 0; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .hero__inner--help {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(40px, 4vw, 64px);
  }
}

/* The three basics as a question list. The active one is ink with
   a blue number and an arrow; the rest wait in grey. */
.ask { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--line); }
.ask__q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font: inherit;
  text-align: left;
  color: #aaa;
  cursor: pointer;
  transition: color .3s ease;
}
.ask__q:hover, .ask__q.is-on { color: var(--ink); }
.ask__q:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.ask__n { font-family: var(--mono); font-size: 11px; color: #ccc; transition: color .3s ease; }
.ask__q.is-on .ask__n { color: var(--go); }
.ask__t { flex: 1; font-weight: 500; font-size: clamp(17px, 1.6vw, 19px); letter-spacing: -.02em; }
.ask__arrow { font-size: 16px; opacity: 0; transition: opacity .3s ease, transform .3s ease; transform: translateX(-4px); }
.ask__q.is-on .ask__arrow { opacity: 1; transform: none; }

/* The card the questions drive: a picture on top, the answer below. */
.show {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.show__stage {
  flex: 1;
  display: grid;
  background: #f6f6f6;
  border-bottom: 1px solid var(--line-3);
  padding: clamp(14px, 3vw, 24px);
}
.show__view {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}
.show__view.is-on {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .4s ease, transform .4s ease;
}
.show__svg { width: 100%; max-width: 460px; height: auto; overflow: visible; }

/* On a phone the chat demo stacks and runs twice as tall as the
   diagrams, so each view takes its own height there instead. */
@media (max-width: 559px) {
  .show__view:not(.is-on) { display: none; }
  .show__view.is-on { animation: show-in .4s ease; }
  .show__view:not(.show__view--chat) { padding-block: 28px; }
}
@keyframes show-in { from { opacity: 0; transform: translateY(6px); } }
.show__view--chat { align-items: stretch; }
.show__view--chat .chat { width: 100%; box-shadow: var(--shadow); }

.show__label { font-family: var(--mono); font-size: 12px; fill: #999; }
.show__label--ink { fill: #555; }
.show__pulse { transform-origin: 210px 64px; animation: pulse 1.6s ease-in-out infinite; }
.show__mail path { animation: none; }

/* The third view: three points lighting up one at a time.
   They stay in the layout so the card never grows. */
.show__view--steps { align-items: center; }
.build {
  margin: 0;
  padding: 8px 6px;
  width: min(100%, 480px);
  display: grid;
  text-align: left;
}
.build ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.build li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  opacity: .38;
  transition: opacity .45s ease;
}
.build li.is-on, .build li.is-done { opacity: 1; }
.build__n {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid #ddd;
  display: inline-grid; place-items: center;
  font-family: var(--mono); font-size: 13px;
  background: #fff; color: var(--ink);
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
.build li.is-on .build__n { background: var(--ink); border-color: var(--ink); color: #fff; }
.build li.is-done .build__n { background: var(--go); border-color: var(--go); color: #fff; }
.build__ok { display: none; }
.build li.is-done .build__num { display: none; }
.build li.is-done .build__ok { display: inline; }
.build strong { font-weight: 500; }
.build p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.build__track { display: block; height: 3px; margin-top: 10px; background: #e8e8e8; border-radius: 2px; overflow: hidden; }
.build__bar { display: block; height: 100%; width: 0; background: var(--go); transition: width 1.1s ease; }
@media (prefers-reduced-motion: reduce) {
  .build li { opacity: 1; }
  .build__bar { transition: none; }
}
.lead {
  width: 100%;
  max-width: 520px;
  margin: auto;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 24px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.lead__row { display: grid; gap: 14px; }
.lead__field { display: grid; gap: 6px; min-width: 0; }
.lead__label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.lead__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lead__input::placeholder { color: #aaa; }
.lead__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); }
.lead__input--area { resize: vertical; min-height: 84px; line-height: 1.5; }
.lead__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 2px; }
.lead__note { font-size: 12.5px; color: var(--muted-2); }
.lead__done { margin: 0; font-size: 13.5px; color: var(--go); }
.lead__error { margin: 0; font-size: 13.5px; color: #8d2f2f; }

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

.show__text { display: grid; padding: clamp(22px, 3vw, 28px) clamp(22px, 3vw, 32px) clamp(24px, 3vw, 32px); }
.show__a {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.show__a.is-on { visibility: visible; opacity: 1; transition: opacity .35s ease .1s; }
.show__q { font-weight: 500; font-size: 20px; letter-spacing: -.02em; margin: 0 0 10px; }
.show__a p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* Without script there are no tabs, so show every view and answer. */
.no-js .show__stage, .no-js .show__text { display: block; }
.no-js .show__view:not(.show__view--chat), .no-js .show__a { visibility: visible; opacity: 1; transform: none; margin-bottom: 20px; }
.no-js .show__view--chat { display: none; }

/* Numbered section index under the hero. One line, centred. On a
   narrow screen the row scrolls instead of wrapping, and the auto
   margins collapse so the first link stays reachable. */
.hero__nav {
  position: relative;
  padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 5vw, 56px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero__nav::-webkit-scrollbar { display: none; }
.hero__nav-row {
  display: flex;
  align-items: center;
  width: max-content;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  font-size: 13.5px;
  color: var(--muted);
}
.hero__nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.hero__nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.hero__nav .tag { line-height: 1; }
.hero__nav-rule {
  width: 28px;
  height: 1px;
  margin: 0 4px;
  background: #d4d4d4;
  flex: none;
}

/* ---------- chat demo in the hero ---------- */
.chat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat__you { display: flex; justify-content: flex-end; padding: 20px 20px 0; }
.chat__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 0;
  font-size: 12px;
  color: var(--muted-2);
}
.chat__live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--go);
  flex: none;
  animation: blink 1.6s ease-in-out infinite;
}
/* Every status shares one cell, so a longer line cannot change the row height. */
.chat__states {
  display: grid;
  min-width: 0;
}
.chat__states > span {
  grid-area: 1 / 1;
  visibility: hidden;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat__states > span.is-on { visibility: visible; }
.chat__rule { flex: 1; height: 1px; background: var(--line-3); }
.chat__elapsed { color: var(--faint); white-space: nowrap; }

.chat__stage {
  margin-top: 16px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--dots-soft);
}

.bubble {
  max-width: 380px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
}
.bubble--you {
  background: var(--ask);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}
.node--pm {
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 11px 16px;
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.node--pm > div { min-width: 0; }
.node__name { font-weight: 500; font-size: 13px; white-space: nowrap; }
.node__sub {
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.node__status { font-family: var(--mono); font-size: 11px; color: var(--go); white-space: nowrap; flex: none; }

.wire { display: block; flex: none; }
.wire--fan { display: none; }

.team {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}
.team__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  height: 96px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  transition: border-color .5s ease, box-shadow .5s ease;
}
.team__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.team__role { font-weight: 500; font-size: 12.5px; }
.team__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ddd;
  flex: none;
  transition: background .5s ease;
}
.team__task {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--faint);
  transition: color .5s ease;
}
.team__card.is-on { border-color: var(--ink); box-shadow: var(--shadow); }
.team__card.is-on .team__task { color: var(--ink); }
.team__card.is-on .team__dot { background: var(--go); }
.team__card.is-done .team__task { color: var(--ink-2); }
.team__card.is-done .team__dot { background: var(--go-soft); }

@media (min-width: 560px) {
  .chat__stage { padding: 20px 24px 24px; }
  .wire--stem { display: none; }
  .wire--fan { display: block; overflow: visible; }
  .node--pm { min-width: 260px; max-width: none; width: auto; }
  .team { grid-template-columns: repeat(3, minmax(0, 136px)); max-width: none; width: auto; }
}

/* ---------- section head ---------- */
.head { margin-bottom: 32px; }
.head .h2 { margin-bottom: 12px; }
.head--centre { text-align: center; }
.head--centre .h2 { margin-bottom: 12px; }
.head--centre .lede { margin-bottom: 0; }

/* Title left, supporting line right — once there is room for it. */
.head--split { display: grid; gap: 20px; align-items: end; }
.head--split .h2 { margin-bottom: 0; }

@media (min-width: 900px) {
  .head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
}

/* A centred head sits above a grid, so it needs the gap itself. */
.head--centre { margin-bottom: clamp(32px, 5vw, 48px); }

/* ---------- card ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 28px);
}

.card__icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--ink);
  background: #fff;
}
.card__icon svg { width: 18px; height: 18px; display: block; }

.card__title { font-weight: 500; font-size: 17px; margin: 0 0 8px; }
.card__body { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.card .tag { margin-bottom: 14px; }


/* ---------- what you get: the ledger ---------- */
/* Rows of icon, one-word claim, and the reason. One column until
   there is room for two full rows side by side. */
.ledger { display: grid; border-top: 1px solid #ddd; }
.ledger__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ledger__row:last-child { border-bottom: 0; }
.ledger__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-grid;
  place-items: center;
  color: var(--ink);
}
.ledger__icon svg { width: 20px; height: 20px; }
.ledger__title { margin: 0; align-self: center; font-weight: 500; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.03em; line-height: 1; }
.ledger__body { grid-column: 2; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

@media (min-width: 560px) {
  .ledger__row { grid-template-columns: 40px 170px minmax(0, 1fr); column-gap: 20px; padding: 28px 0; }
  .ledger__icon { margin-top: -6px; }
  .ledger__title { align-self: start; }
  .ledger__body { grid-column: 3; }
}
@media (min-width: 1100px) {
  .ledger { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
  .ledger__row { grid-template-columns: 40px 200px minmax(0, 1fr); }
  .ledger__row:nth-last-child(-n+2) { border-bottom: 0; }
}

/* The safety rules, as one banner closing "What you get". */
.safe {
  margin-top: clamp(32px, 5vw, 48px);
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .4);
}
.safe__kicker { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; color: var(--go); letter-spacing: .02em; text-transform: uppercase; }
.safe__title { margin: 0 0 6px; font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.safe__lede { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.safe__rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.safe__rule { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: start; }
.safe__icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(59, 127, 230, .16);
  color: var(--go);
  display: inline-grid;
  place-items: center;
}
.safe__icon svg { width: 14px; height: 14px; }
.safe__name { margin: 0; align-self: center; font-weight: 500; font-size: 14.5px; }
.safe__body { grid-column: 2; margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

@media (min-width: 560px) {
  .safe__rules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
}
@media (min-width: 1000px) {
  .safe { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 40px; align-items: center; }
  .safe__rules { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .safe__rule { padding-left: 24px; border-left: 1px solid var(--line); }
}

/* ---------- compare (old way / new way) ---------- */
/* Two panels, both looping in landing.js. The old one is a chat
   window and an IDE you ferry code between. The new one is the
   same page handed to a small team. */
.diff {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.diff--old { background: #f3f3f3; border: 1px dashed #cfcfcf; }
.diff--new {
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35);
}

.diff__banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
}
.diff--old .diff__banner { background: #eaeaea; border-bottom: 1px dashed #cfcfcf; }
.diff--new .diff__banner { background: var(--ink); color: #fff; }
.diff__mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: none;
}
.diff--old .diff__mark { border: 1px solid #bbb; color: #888; }
.diff--new .diff__mark { background: var(--go); color: #fff; }
.diff__banner-name { margin: 0; font-weight: 600; font-size: 15px; letter-spacing: -.01em; line-height: 1.3; }
.versus { margin: 0; padding: 4px 0 0; list-style: none; counter-reset: step; flex: 1; }
.versus li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.45;
}
.versus li::before {
  content: counter(step);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  padding-top: 3px;
}
.diff--old .versus li { color: #444; border-bottom: 1px solid #e6e6e6; }
.diff--new .versus li { border-bottom: 1px solid var(--line); }
.diff--old .versus li:last-child, .diff--new .versus li:last-child { border-bottom: 0; }
.diff--old .diff__banner-name { color: #666; }

.diff__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  min-width: 0;
}
.diff--old .diff__main { border-bottom: 1px dashed #cfcfcf; }
.diff--new .diff__main { border-bottom: 1px solid var(--line-3); }

/* One line under each demo saying what is happening right now. */
.diff__status {
  margin: auto 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  min-height: 16px;
}
.diff__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #bbb;
  flex: none;
}
.diff--new .diff__status::before { background: var(--go); animation: blink 1.6s ease-in-out infinite; }
.diff__status.is-bad { color: #b4472f; }
.diff__status.is-bad::before { background: #d9634a; }

/* ---------- old way: chat + IDE ---------- */
.diff__windows { position: relative; flex: 1; display: grid; gap: 10px; min-width: 0; }
.win {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.win.is-front { border-color: #c9c9c9; box-shadow: 0 16px 36px -20px rgba(0, 0, 0, .4); }
.win__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-3);
  font-size: 11px;
  color: var(--muted-2);
  min-height: 33px;
  box-sizing: border-box;
}
.win__dot { width: 7px; height: 7px; border-radius: 50%; background: #e3e3e3; flex: none; }
.win__dot + .win__dot { margin-left: -1px; }
.win__title { margin-left: 6px; }

.win__chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  min-height: 250px;
  overflow: hidden;
  min-width: 0;
}
.win__you {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-radius: 11px 11px 3px 11px;
  padding: 7px 9px;
  font-size: 10.5px;
  line-height: 1.45;
  max-width: 92%;
  margin: 0;
  overflow-wrap: anywhere;
  transition: opacity .4s ease;
}
.win__think { display: flex; gap: 4px; padding: 6px 10px; align-self: flex-start; margin: 0; }
.win__think span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--faint);
  animation: bob 1s infinite;
}
.win__think span:nth-child(2) { animation-delay: .15s; }
.win__think span:nth-child(3) { animation-delay: .3s; }
.win__reply {
  align-self: stretch;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.win__say { margin: 0; font-size: 10.5px; color: #222; }
.win__copied {
  position: absolute;
  top: 18px; right: 6px;
  background: var(--go);
  color: #fff;
  font-size: 9.5px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 1;
}
.win__think[hidden], .win__reply[hidden], .win__copied[hidden], .ide__dirty[hidden],
.code .ln[hidden], .ide__gutter span[hidden] { display: none; }

/* Code, shared by the chat answer and the editor. Every line is in
   the markup; the script only reveals them. */
.code {
  margin: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.6;
  white-space: pre;
  overflow: hidden;
  min-width: 0;
}
.code .ln { display: block; overflow: hidden; text-overflow: clip; }
.t-tag { color: #1a4578; }
.t-attr { color: #8a6d1f; }
.t-str { color: #3b7fe6; }
.t-txt { color: #111; }

.code--chat {
  background: #161616;
  color: #eee;
  border-radius: 8px;
  padding: 8px 10px;
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: outline-color .25s ease;
}
.code--chat.is-hot { outline-color: #6aa7ff; }
.code--chat .t-tag { color: #a4c9f0; }
.code--chat .t-attr { color: #e6c98a; }
.code--chat .t-str { color: #d6e6f8; }
.code--chat .t-txt { color: #fff; }

/* The IDE: tab strip, a line-number gutter, a status bar. */
.ide__bar { padding-right: 6px; }
.ide__tab {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink);
  background: #f4f4f4;
  border: 1px solid var(--line-3);
  border-radius: 5px;
  padding: 2px 7px;
}
.ide__dirty { color: var(--ink); font-size: 8px; }
/* The old way never finishes, so the IDE shows a loop that keeps
   turning and counts the rounds instead of a Save button. */
.ide__loop {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--faint);
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.ide__loop svg { width: 11px; height: 11px; animation: spin 2.4s linear infinite; }
.ide__loop.is-bad { color: #b4472f; border-color: #f0c4b8; background: #fdeeea; }
.ide__loop.is-bad svg { animation-duration: .8s; }

/* Tall enough for every pasted line, so the paste never grows it. */
.ide__body {
  flex: 1;
  display: flex;
  min-height: 160px;
  background: #fcfcfc;
  transition: background .4s ease;
}
.ide__body.is-pasted { background: #f1f7ff; }
.ide__gutter {
  flex: none;
  width: 26px;
  padding: 8px 6px 8px 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.6;
  color: #c4c4c4;
  border-right: 1px solid var(--line-3);
  white-space: pre;
}
.ide__gutter span { display: block; }
.code--ide { flex: 1; padding: 8px 8px; }
.ide__empty { display: inline-block; }
.ide__caret {
  display: inline-block;
  width: 1px;
  height: 11px;
  background: var(--ink);
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
.ide__foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px;
  border-top: 1px solid var(--line-3);
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--faint);
  background: #fafafa;
  transition: background .3s ease, color .3s ease;
}
.ide__foot.is-bad { background: #fdeeea; color: #b4472f; }

.diff__cursor {
  display: none;
  position: absolute;
  left: 30%; top: 88%;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3));
  transition: left .7s cubic-bezier(.4, 0, .2, 1), top .7s cubic-bezier(.4, 0, .2, 1);
}
.diff__cursor.is-click svg { transform: scale(.82); }
.diff__cursor svg { transition: transform .15s ease; transform-origin: 1px 1px; }

/* The shuttle between chat and IDE. Each hop is its own arrow:
   chat → you → IDE, then the problem comes back IDE → you → chat.
   Lanes are drawn left to right and turned 90° when the windows
   stack, so "onward" points down at the next step. The slot is
   the lane's size after that turn. */
.shuttle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: auto;
}
.shuttle__leg {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.shuttle__slot {
  flex: none;
  width: 16px;
  min-width: 16px;
  max-width: 16px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shuttle__lane {
  position: relative;
  flex: none;
  width: 36px; height: 10px;
  transform: rotate(90deg);
  color: #c4c4c4;
  opacity: .45;
  transition: opacity .3s ease, color .3s ease;
}
.shuttle__you {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: none;
  opacity: .45;
  color: #9a9a9a;
  transition: opacity .3s ease, color .3s ease;
}
.shuttle__you.is-on,
.shuttle__you.is-back { opacity: 1; }
.shuttle__you.is-on { color: var(--ink); }
.shuttle__you.is-back { color: #b4472f; }
.shuttle__avatar {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 6px 16px -12px rgba(0, 0, 0, .45);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.shuttle__you.is-on .shuttle__avatar {
  border-color: var(--ink);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .55);
}
.shuttle__you.is-back .shuttle__avatar {
  border-color: #f0c4b8;
  background: #fdeeea;
}
.shuttle__you.is-copy .shuttle__avatar { animation: you-copy-y .9s ease-in-out infinite; }
.shuttle__you.is-paste .shuttle__avatar { animation: you-paste-y .9s ease-in-out infinite; }
.shuttle__person { width: 18px; height: 18px; display: block; }
.shuttle__clip {
  position: absolute;
  right: -7px; bottom: -3px;
  width: 16px; height: 16px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--ink);
  color: var(--ink);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s ease, transform .35s cubic-bezier(.4, 0, .2, 1);
}
.shuttle__you.is-on .shuttle__clip { opacity: 1; transform: scale(1); }
.shuttle__clip svg { width: 11px; height: 11px; display: block; }
.shuttle__who {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .02em;
  line-height: 1;
}
.shuttle__lane svg { display: block; width: 100%; height: 100%; overflow: visible; }
.shuttle__lane path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.shuttle__lane path:first-child { stroke-dasharray: 4 4; }
.shuttle__lane.is-on path:first-child { animation: flow .8s linear infinite; }
.shuttle__chip {
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #1d1d1d;
  color: #fff;
  font: 600 7px/1 var(--mono);
  opacity: 0;
}
.shuttle__chip i { font-style: normal; transform: rotate(-90deg); }
.shuttle__lane--back { color: #e4d0cb; }
.shuttle__lane--back .shuttle__chip {
  background: #fdeeea;
  border: 1px solid #f0c4b8;
  box-sizing: border-box;
  color: #b4472f;
  font-size: 9px;
}
.shuttle__lane.is-on { opacity: 1; color: #777; }
.shuttle__lane.is-on .shuttle__chip { animation: shuttle-to .75s ease-in-out 1 both; }
.shuttle__lane--back.is-on { color: #e09a87; }
.shuttle__lane--back.is-on .shuttle__chip { animation-name: shuttle-back; }
@keyframes shuttle-to {
  0% { transform: translateX(0); opacity: 0; }
  18%, 82% { opacity: 1; }
  100% { transform: translateX(18px); opacity: 0; }
}
@keyframes shuttle-back {
  0% { transform: translateX(18px); opacity: 0; }
  18%, 82% { opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}
@keyframes you-copy-y {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(0); }
}
@keyframes you-paste-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@keyframes you-copy-x {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(0); }
}
@keyframes you-paste-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

/* ---------- new way: the team ---------- */
.diff__run {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 12px;
  background: var(--dots-soft);
  border-radius: 10px;
  min-width: 0;
}
.diff-pm {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 9px;
  padding: 14px 18px;
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: border-color .4s ease;
}
.diff-pm.is-on { border-color: var(--ink); }
.diff-pm__name { font-weight: 500; font-size: 12px; }
.diff-pm__sub { font-size: 10.5px; color: var(--muted-2); }
.diff-pm__status { font-family: var(--mono); font-size: 10.5px; color: var(--go); white-space: nowrap; }
.diff__stem { display: block; margin: 2px 0; }
.diff__fan { display: none; width: 100%; max-width: 376px; height: 40px; overflow: visible; }
.diff__fan path { opacity: .18; transition: opacity .4s ease; }
.diff__fan path.is-on { opacity: 1; }
.diff__agents {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}
.diff-agent {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.diff-agent.is-on { border-color: var(--ink); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .35); }
.diff-agent.is-done { border-color: var(--go-wash); }
.diff-agent__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.diff-agent__role { font-weight: 500; font-size: 11.5px; }
.diff-agent__dot { width: 6px; height: 6px; border-radius: 50%; background: #ddd; flex: none; transition: background .4s ease; }
.diff-agent.is-on .diff-agent__dot { background: var(--go); animation: blink 1s ease-in-out infinite; }
.diff-agent.is-done .diff-agent__dot { background: var(--go-soft); }
.diff-agent__task { font-size: 10.5px; line-height: 1.4; color: var(--faint); }
.diff-agent.is-on .diff-agent__task,
.diff-agent.is-done .diff-agent__task { color: var(--muted); }
/* Progress along the bottom edge while an agent works. */
.diff-agent__bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--go);
}
.diff-agent.is-done .diff-agent__bar { width: 100%; background: var(--go-soft); }

.checks { margin: 0; padding: 22px 20px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.diff--old .checks { color: #666; }
.diff--new .checks { color: var(--ink-2); }
.checks__icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex: none;
  margin-top: 1px;
}
.checks__icon--no { border: 1px solid #ddd; color: #aaa; }
.checks__icon--yes { background: var(--go); color: #fff; }

@media (min-width: 560px) {
  .diff__banner { padding-inline: 24px; }
  .diff__main { padding: 20px 24px 18px; }
  .diff__windows { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.15fr); gap: 0; }
  .shuttle { flex-direction: row; gap: 6px; }
  .shuttle__leg { flex-direction: column; gap: 12px; }
  .shuttle__slot { width: 36px; min-width: 36px; max-width: 36px; height: 16px; }
  .shuttle__lane, .shuttle__chip i { transform: none; }
  .shuttle__you.is-copy .shuttle__avatar { animation-name: you-copy-x; }
  .shuttle__you.is-paste .shuttle__avatar { animation-name: you-paste-x; }
  .diff__cursor { display: block; }
  .diff__run { padding-top: 8px; }
  .diff-pm { width: auto; max-width: none; min-width: 250px; }
  .diff__stem { display: none; }
  .diff__fan { display: block; }
  .diff__agents { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 376px; }
  .diff-agent { height: 108px; box-sizing: border-box; }
  .checks { padding: 22px 24px; }
}
@media (min-width: 900px) {
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- split panel (one agent, or a team?) ---------- */
.split {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  overflow: hidden;
}
.split__text { padding: clamp(28px, 5vw, 48px); }
.split__text .h2 { margin-bottom: 16px; }
.split__text .lede { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.split__panes {
  border-top: 1px solid var(--line-3);
  background: #fafafa;
  padding: clamp(20px, 4vw, 40px);
  display: grid;
  gap: 12px;
}

.pane {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: grid;
  gap: 18px;
  align-items: center;
}
.pane .tag { margin-bottom: 8px; }
.pane__title { font-weight: 500; font-size: 16px; margin: 0 0 6px; }
.pane__body { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* Agent chips: the little in → A1 → you row, and the 2×2 team. */
.chips { display: flex; align-items: center; gap: 6px; }
.chips--grid { display: grid; grid-template-columns: repeat(2, 36px); gap: 6px; }
.chip {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10.5px;
  flex: none;
}
.chip--dark { background: var(--ink); color: #fff; }
.chip--outline { border: 1px solid #e0e0e0; color: var(--muted-2); }
.chip--you { border: 1px solid var(--ink); border-radius: 50%; font-family: var(--sans); }
.chips__rule { width: 18px; height: 1px; background: #bbb; flex: none; }

@media (min-width: 560px) {
  .pane { grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 24px; }
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split__panes { border-top: 0; border-left: 1px solid var(--line-3); grid-template-rows: 1fr 1fr; }
}

/* ---------- how we work: setup, then the loop ---------- */
.loop { display: grid; gap: 12px; }
.loop__setup, .loop__keep { border-radius: 16px; padding: clamp(20px, 3vw, 28px); }
.loop__setup { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.loop__cta { align-self: flex-start; margin-top: 22px; }
.loop__keep { background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.loop__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: #999;
}
.loop__keep .loop__meta { color: #a7cbf2; }
.loop__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.loop__track { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.loop__n {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  flex: none;
}
.loop__line { flex: 1; height: 1px; background: #e2e2e2; }
.loop__go { color: #bbb; font-size: 14px; }
.loop__steps h3, .loop__ever h3 { margin: 0; font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.loop__steps p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.loop__ever { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.loop__ever li { display: flex; gap: 14px; align-items: flex-start; }
.loop__n--ring { background: transparent; color: var(--go); border: 1.5px solid var(--go); box-sizing: border-box; }
.loop__ever p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #bbb; }

@media (min-width: 700px) {
  .loop__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
@media (min-width: 900px) {
  .loop { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

/* ---------- faq ---------- */
.faq { text-align: left; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}
.qa__sym { font-family: var(--mono); color: var(--faint); flex: none; }
/* Closed by default and animated open from landing.js, which sets
   max-height in pixels so a long answer is never clipped. */
.qa__a { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.qa__a p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* No JS: show every answer rather than seven dead buttons. */
.no-js .qa__a { max-height: none; }
.no-js .qa__sym { display: none; }
.cta__questions { margin-top: 28px; padding-top: 22px; border-top: 1px solid #333; }
.cta .faq { margin-top: 0; border-top: 0; }
.cta__questions .cta__next { margin-top: 0; }
.cta .qa { border-bottom-color: #2a2a2a; }
.cta .qa__q { color: #fff; padding: 14px 0; font-size: 14.5px; }
.cta .qa__sym { color: #888; }
.cta .qa__a p { color: #ccc; margin-bottom: 14px; }

/* ---------- services ---------- */
.band--services {
  background:
    radial-gradient(560px circle at 88% 640px, rgba(47, 111, 228, .12), transparent 70%),
    radial-gradient(circle at -6% 108%, rgba(217, 119, 87, .10), transparent 38%),
    linear-gradient(180deg, transparent 0%, transparent 220px, #f7f9fd 480px, #f4f7fd 58%, #f4f7fd 72%, var(--paper) 100%);
  padding-top: var(--gap-sec);
}
.band--services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .06) 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 55%, #000 28%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 28%, transparent 74%);
}
.band--services > .wrap { position: relative; z-index: 1; }
.band--services .pill { background: #fff; }
.flow { position: relative; }
.flow__head,
.flow__stage,
.flow__cta { position: relative; z-index: 1; }
.flow__head { max-width: 520px; margin-bottom: 40px; }
.flow__head .h2 { margin: 0 0 14px; }
.flow__head .lede { max-width: 520px; color: var(--muted); }

.flow__stage { position: relative; display: grid; gap: 36px; }
.flow__label {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--faint);
}
.flow__work {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.flow__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.flow__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e6ecf7;
  color: #2f6fe4;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px -10px rgba(47, 111, 228, .35);
}
.flow__icon svg { width: 16px; height: 16px; max-width: none; }
.flow__name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--ink);
}
.flow__desc {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #666;
  text-wrap: pretty;
}
.flow__logos {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.flow__logos img { width: 13px; height: 13px; opacity: .45; }

.flow__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.flow__model {
  width: 56px;
  height: 56px;
  background: #fff;
  border: 1px solid #e6ecf7;
  border-radius: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 14px -10px rgba(47, 111, 228, .35), 0 1px 2px rgba(0, 0, 0, .05);
}
.flow__model img { width: 26px; height: 26px; }

.flow__squad {
  border-radius: 24px;
  padding: 28px 12px 20px;
  background-color: rgba(255, 255, 255, .6);
  background-image: radial-gradient(circle at 1px 1px, rgba(47, 111, 228, .14) 1px, transparent 1.5px);
  background-size: 16px 16px;
  border: 1px solid rgba(214, 226, 250, .9);
  box-shadow: 0 40px 80px -40px rgba(47, 111, 228, .35), 0 1px 2px rgba(0, 0, 0, .04);
}
.flow__org { display: flex; flex-direction: column; align-items: center; }
.flow__node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.flow__node strong { font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.flow__botcard {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--bot, #ffe8c2);
  background: linear-gradient(180deg, #fff, #f6f8fd);
  border: 1px solid #d6e2fa;
  box-shadow: 0 10px 20px -10px rgba(47, 111, 228, .4), 0 1px 2px rgba(0, 0, 0, .05);
}
.flow__node--lead .flow__botcard { width: 64px; height: 64px; }
.flow__bot { display: block; width: 34px; height: 34px; max-width: none; }
.flow__node--lead .flow__bot { width: 42px; height: 42px; }
.flow__stem { width: 0; height: 16px; border-left: 1.25px dashed #c9d6ee; }
.flow__org-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 4px;
  padding-top: 16px;
}
.flow__org-row > .flow__node { min-width: 0; }
.flow__org-row > .flow__node strong { white-space: normal; }
.flow__org-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12.5%;
  right: 12.5%;
  border-top: 1.25px dashed #c9d6ee;
}
.flow__org-row .flow__node::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  height: 16px;
  border-left: 1.25px dashed #c9d6ee;
}
.flow__wires { display: none; }
.flow__wires path { vector-effect: non-scaling-stroke; stroke: #d3dcee; stroke-width: 1.25px; }
.flow__cta { display: flex; justify-content: center; margin-top: 40px; }

@media (min-width: 1000px) {
  .flow__head { margin-bottom: 56px; }
  .flow__stage {
    grid-template-columns: minmax(0, 1.15fr) auto minmax(280px, .95fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(36px, 6vw, 96px);
    row-gap: 0;
    align-items: start;
  }
  .flow__col {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    min-width: 0;
  }
  .flow__col--models .flow__rail,
  .flow__col--team .flow__squad { align-self: center; }
  .flow__rail {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 24px 18px;
    border-radius: 36px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .35));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, .9) inset,
      0 0 0 1px rgba(47, 111, 228, .10),
      0 30px 60px -30px rgba(47, 111, 228, .35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .flow__squad { padding: 36px 18px 28px; }
  .flow__wires {
    display: block;
    position: absolute;
    inset: 28px 0 0;
    width: 100%;
    height: calc(100% - 28px);
    pointer-events: none;
    z-index: 0;
  }
  .flow__col { position: relative; z-index: 1; }
}

/* ---------- cta band ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta__dots {
  position: absolute;
  inset: 0;
  background: var(--dots-ink);
  mask-image: linear-gradient(90deg, transparent 40%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
  pointer-events: none;
}
.cta__aside, .cta__main { position: relative; min-width: 0; }
.cta__photo {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin: 0;
}
.cta__aside .h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.05; margin-bottom: 10px; }
.cta__aside .lede { color: var(--on-ink); max-width: 460px; margin-bottom: 0; }
.cta__role { margin: 0 0 12px; color: #a7cbf2; font-size: 14px; font-weight: 500; }
.cta__next { margin: 22px 0 12px; font-size: 16px; font-weight: 500; }
.proof {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #2a2a2a;
  font-size: 13px;
  color: #bbb;
}
.proof strong { display: block; color: #fff; font-weight: 600; font-size: 18px; letter-spacing: -.03em; }
.proof__mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: inline-grid; place-items: center;
  font-family: Nunito, var(--sans); font-weight: 800; font-size: 20px;
}
.next { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.next li { display: flex; gap: 12px; align-items: flex-start; }
.next li > span {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid #444; color: #fff;
  display: inline-grid; place-items: center;
  font-family: var(--mono); font-size: 11px; flex: none; margin-top: 2px;
}
.next p { margin: 0; color: #ccc; font-size: 14.5px; line-height: 1.45; }
.next strong { color: #fff; font-weight: 600; }
.cta .lead {
  position: relative;
  margin: 0;
  max-width: none;
  background: #fff;
  border: 0;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .7);
  border-radius: 18px;
}

@media (min-width: 900px) {
  .cta { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
}

/* ---------- get started ---------- */
.start-sec { padding-bottom: 24px; }
.start {
  display: grid;
  gap: 36px;
}
.start__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}
.start__aside .pill { margin: 0; }
.start__aside .h2 { letter-spacing: -.035em; line-height: 1.05; }
.start__aside .lede { color: var(--muted); font-size: 15.5px; max-width: 42ch; }
.start__who { width: 100%; margin-top: 4px; }
.start__person { display: flex; flex-direction: column; gap: 2px; width: 100%; min-width: 0; }
.start__person-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.start__person-name { font-size: 15px; font-weight: 500; color: var(--ink); }
.start__person-title { margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.start__person-role { font-size: 13px; line-height: 1.4; color: #666; text-wrap: pretty; }
.start__person-place { font-size: 13px; color: #888; }
.start__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-size: 12.5px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  background: #fff;
  white-space: nowrap;
}
.start__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fd16d;
  box-shadow: 0 0 0 3px rgba(63, 209, 109, .2);
}
.start__photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 16px;
  display: block;
}
.start__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 22px 16px;
  background: #f5f6f8;
  border: 1px solid #ececec;
  border-radius: 22px;
}
.start__progress { display: flex; align-items: center; gap: 8px; }
.start__dot {
  height: 6px;
  width: 6px;
  border-radius: 3px;
  background: #d4d4d4;
  transition: width .3s ease, background .3s ease;
}
.start__dot.is-now { width: 22px; background: #111; }
.start__dot.is-done { background: #2f6fe4; }
.start__step { margin-left: 6px; font-size: 12.5px; color: #888; }
.start__pane { display: none; flex-direction: column; gap: 18px; flex: 1; min-width: 0; }
.start__pane[hidden] { display: none !important; }
.start__pane.is-on { display: flex; animation: start-in .3s ease both; }
.start__q { display: flex; flex-direction: column; gap: 6px; }
.start__q h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.start__q p { margin: 0; font-size: 14px; color: #666; line-height: 1.5; }
.start__choices, .start__fields { display: flex; flex-direction: column; gap: 10px; }
.start__choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  background: #fff;
  color: #111;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.start__choice.is-on {
  background: #111;
  border-color: #111;
  color: #fff;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5);
}
.start__choice-title { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.start__choice-desc { font-size: 13.5px; line-height: 1.45; opacity: .7; }
.start__ticks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.start__ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; }
.start__ticks svg { width: 13px; height: 13px; flex: none; margin-top: 2px; color: #2f6fe4; }
.start__choice.is-on .start__ticks svg { color: #9dbbf4; }
.start__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.start__tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f5f6f8;
  border: 1px solid #e6e6e6;
  color: #333;
  white-space: nowrap;
}
.start__tag span { opacity: .7; }
.start__choice.is-on .start__tag {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}
.start__field {
  font: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.start__field:focus {
  outline: none;
  border-color: #2f6fe4;
  box-shadow: 0 0 0 3px rgba(47, 111, 228, .15);
}
.start__error { margin: 0; font-size: 13.5px; color: #8d2f2f; }
.start__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid #e6e6e6;
}
.start__nav[hidden] { display: none !important; }
.start__back {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 13.5px;
  color: #777;
  cursor: pointer;
}
.start__next {
  margin-left: auto;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 9px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
}
.start__next:disabled { background: #e4e5e8; color: #999; cursor: default; }
.start__sum {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 20px;
}
.start__sum ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.start__sum li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: #333; }
.start__sum svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: #2f6fe4; }

@media (min-width: 900px) {
  .start { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: start; }
  .start__aside { position: sticky; top: 96px; gap: 24px; }
  .start__photo { height: auto; object-fit: contain; border-radius: 12px; }
  .start__card { padding: 32px; min-height: 520px; border-radius: 28px; }
}

@keyframes start-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .start__pane.is-on { animation: none; }
  .start__dot { transition: none; }
}

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--faint); margin-top: clamp(48px, 7vw, 72px); }
.foot__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 28px;
}
.foot__legal { font-size: 12.5px; }

/* ---------- reveal on scroll ---------- */
/* Only armed once landing.js adds .js-reveal, so the content is
   visible when the script is blocked or still loading. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); }
.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}

/* ---------- motion ---------- */
@keyframes flow { to { stroke-dashoffset: -16; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .4; } }
@keyframes bob { 0%, 80%, 100% { transform: none; opacity: .4; } 40% { transform: translateY(-3px); opacity: 1; } }

.wire line, .wire path { animation: flow 1s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .brand__by,
  .brand__by-name,
  .brand__by-name span { animation: none; }
  .brand__by-name { width: auto; }
  .brand__by-name span { transform: none; }
}

/* ---------- bands (section contrast) ----------
   Full-bleed plates behind sections. The inner .wrap.sec is
   unchanged; the band adds its own bottom padding so the next
   section's top gap reads as the plate's bottom margin. */
.band { position: relative; padding-bottom: var(--gap-sec); margin-top: var(--gap-sec); }
.band.band--services { margin-top: 0; }
.band > .sec { padding-top: 0; }
.band + .sec, .band + .wrap { padding-top: var(--gap-sec); }

.band--grey {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.band--grey .pill { background: #fff; }

/* Hero dot field: fade it out toward the right so the card sits
   on clean paper and the field reads as texture, not pattern. */
.hero__dots {
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}

/* Final CTA: the dark block floats off the paper. */
.cta { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }


/* ---------- atmosphere: glows, washes, particles ---------- */
:root {
  --go-glow: rgba(59, 127, 230, .22);
  --go-glow-ink: rgba(59, 127, 230, .38);
  --wash: #eef3fb;
}

/* hero: blue glow behind the card, fine grid under the dots */
.hero { overflow: hidden; }
.hero__glow {
  position: absolute; pointer-events: none; z-index: 0;
  right: -12%; top: -8%;
  width: min(820px, 68vw);
  height: 1180px;
  background: radial-gradient(circle at 58% 30%, var(--go-glow), rgba(59, 127, 230, .07) 38%, transparent 72%);
  filter: blur(16px);
}
.hero__dots {
  background:
    var(--dots),
    linear-gradient(#efefef 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, #efefef 1px, transparent 1px) 0 0 / 48px 100%;
  bottom: -340px;
  /* Radial fade toward the card, then a vertical fade that runs past the hero into the section below. */
  -webkit-mask-image:
    linear-gradient(180deg, #000 0%, #000 42%, transparent 78%),
    radial-gradient(ellipse at 25% 28%, #000 10%, transparent 72%);
  mask-image:
    linear-gradient(180deg, #000 0%, #000 42%, transparent 78%),
    radial-gradient(ellipse at 25% 28%, #000 10%, transparent 72%);
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}
.hero__inner { position: relative; z-index: 1; }

/* particles: slow drifting specks, mostly ink with a few blue */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.particles i {
  position: absolute; display: block; border-radius: 50%;
  width: 4px; height: 4px; background: #c9c9c9; opacity: 0;
  animation: drift 14s linear infinite;
}
.particles--ink i { background: rgba(255,255,255,.35); }
.particles i:nth-child(3n) { background: var(--go); width: 5px; height: 5px; }
.particles i:nth-child(1)  { left: 6%;  animation-delay: -1s;  animation-duration: 16s; }
.particles i:nth-child(2)  { left: 14%; animation-delay: -6s;  animation-duration: 19s; }
.particles i:nth-child(3)  { left: 23%; animation-delay: -3s;  animation-duration: 15s; }
.particles i:nth-child(4)  { left: 31%; animation-delay: -9s;  animation-duration: 21s; }
.particles i:nth-child(5)  { left: 40%; animation-delay: -12s; animation-duration: 17s; }
.particles i:nth-child(6)  { left: 49%; animation-delay: -4s;  animation-duration: 22s; }
.particles i:nth-child(7)  { left: 58%; animation-delay: -8s;  animation-duration: 14s; }
.particles i:nth-child(8)  { left: 66%; animation-delay: -2s;  animation-duration: 20s; }
.particles i:nth-child(9)  { left: 74%; animation-delay: -11s; animation-duration: 18s; }
.particles i:nth-child(10) { left: 82%; animation-delay: -5s;  animation-duration: 16s; }
.particles i:nth-child(11) { left: 90%; animation-delay: -7s;  animation-duration: 23s; }
.particles i:nth-child(12) { left: 96%; animation-delay: -10s; animation-duration: 15s; }
@keyframes drift {
  0%   { transform: translateY(110%) scale(.6); opacity: 0; }
  10%  { opacity: .9; }
  90%  { opacity: .6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.particles i { top: 0; height: 100%; height: 5px; }
.particles { height: 100%; }
.particles i { animation-name: drift-tall; }
@keyframes drift-tall {
  0%   { transform: translateY(100vh) scale(.6); opacity: 0; }
  8%   { opacity: .9; }
  92%  { opacity: .5; }
  100% { transform: translateY(-5vh) scale(1); opacity: 0; }
}

/* grey band: a touch warmer, with a soft radial highlight */
.band--grey {
  background:
    radial-gradient(ellipse at 20% 0%, #fff 0%, transparent 55%),
    linear-gradient(180deg, #f3f3f1, #f6f6f6);
}

/* wash band: pale blue gradient behind "what you get" */
.band--wash {
  background: linear-gradient(180deg, var(--paper) 0%, var(--wash) 45%, var(--paper) 100%);
}
.band--wash .pill { background: #fff; border-color: #d4e2f4; }

/* cta: aurora + particles stay inside the dark card */
.cta { overflow: hidden; }
.cta__glow {
  position: absolute; pointer-events: none;
  left: -10%; bottom: -60%; width: 70%; height: 120%;
  background: radial-gradient(ellipse, var(--go-glow-ink), transparent 65%);
  filter: blur(14px);
}
.cta__aside, .cta__main, .cta .lead { z-index: 1; }

@media (prefers-reduced-motion: reduce) { .particles i { animation: none; opacity: .5; } }

/* Transparent over the page top, frosted once it has stuck. */
html { overflow-x: clip; }
.nav { background: transparent; border-bottom-color: transparent; z-index: 20; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.is-stuck { background: rgba(251,251,251,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line-2); }
.hero { overflow: visible; }
.hero__dots, .hero__glow, .hero .particles { top: 0; }

/* ---------- playbook ---------- */
.play { padding-top: var(--gap-sec); }
.play__meta {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--faint);
}
.play__card {
  position: relative;
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.play__body {
  max-height: 250px;
  padding: 22px 20px 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 92%);
}
.play__card.is-open .play__body {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.play__body h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.play__body h3:first-child { margin-top: 0; }
.play__body p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.play__body ol,
.play__body ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.play__body li {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.play__body ol { counter-reset: play; }
.play__body ol > li {
  position: relative;
  padding-left: 32px;
  counter-increment: play;
}
.play__body ol > li::before {
  content: counter(play);
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand);
}
.play__body ul > li { position: relative; padding-left: 18px; }
.play__body ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.play__more {
  display: flex;
  justify-content: center;
  padding: 0 28px 26px;
  margin-top: -28px;
}
.play__card.is-open .play__more { margin-top: 4px; }
.play__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.play__toggle:hover { color: var(--brand); }
.play__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.play__toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-1px, -1px); }
@media (min-width: 900px) {
  .play__body { padding: 36px 48px 12px; }
  .play__card.is-open .play__body ol {
    columns: 2;
    column-gap: 48px;
  }
  .play__card.is-open .play__body ol > li { break-inside: avoid; }
}

/* light footer */
.foot { background: var(--paper); color: var(--muted-2); border-top: 1px solid var(--line); }

@media print { .particles, .hero__glow, .cta__glow { display: none !important; } }

/* ---------- print ---------- */
@media print {
  .nav, .hero__nav, .hero__dots, .cta__dots, .chat { display: none; }
  body { background: #fff; color: #000; }
  .cta, .foot, .safe { background: #fff !important; color: #000 !important; }
  .cta .h2, .cta .lede { color: #000 !important; }
  .brand--on-ink { color: #000 !important; }
  .qa__a { max-height: none !important; }
  .card, .diff, .split, .pane { break-inside: avoid; }
}
