/* ---------- Tokens ---------- */
:root {
  --bg: #f7f9fc;
  --card: #ffffff;
  --ink: #0f1a2f;
  --ink-2: #4b5874;
  --mute: #8390a8;
  --line: #e2e7f0;
  --brand: #2f6bff;
  --g1: #6599ff;
  --g2: #9fc2ff;
  --soft: #eaf1ff;
  --ok: #12b76a;

  --font-sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-card: 0 12px 30px -18px rgba(15, 26, 47, 0.25);
  --shadow-window: 0 30px 60px -20px rgba(15, 26, 47, 0.25), 0 8px 20px -10px rgba(15, 26, 47, 0.12);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

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

a { color: inherit; text-decoration: none; }
svg { display: block; }
figure, blockquote { margin: 0; }

.i {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: 1264px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-top: 80px; }

@media (min-width: 768px) {
  .section { padding-top: 104px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
}

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
}

.display {
  margin: 0;
  font-size: 44px;
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-stretch: 115%;
  text-wrap: balance;
}

.h2 {
  margin: 0;
  max-width: 820px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-stretch: 112%;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .display { font-size: 60px; }
}

@media (min-width: 768px) {
  .h2 { font-size: 48px; }
}

@media (min-width: 1200px) {
  .display { font-size: 80px; }
}

.grad {
  background: linear-gradient(90deg, var(--brand), var(--g1) 55%, var(--g2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 600px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
}

.lede strong { color: var(--ink); font-weight: 650; }

.section-head { margin-bottom: 40px; }

.section-head.split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}

.section-lede {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
}

@media (min-width: 640px) {
  .lede { font-size: 20px; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: 17px;
  color: var(--brand);
}

.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-dark {
  padding: 11px 18px;
  font-size: 15px;
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover { background: #1c2a47; }

.btn-primary {
  padding: 15px 24px;
  font-size: 16px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(47, 107, 255, 0.6);
}

.btn-primary:hover { background: #2a60e6; transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.signup {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin-top: 32px;
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

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

.signup input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.15);
}

.form-note { margin: 12px 0 0; font-size: 14px; color: var(--mute); }
.form-note.success { color: var(--ok); font-weight: 600; }
.form-note.error { color: #d92d20; font-weight: 600; }

.form-alt {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

.form-alt:hover { color: var(--brand); }

@media (max-width: 560px) {
  .signup { flex-direction: column; }
  .signup input[type="email"] { flex: none; }
  .signup .btn { width: 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.035em;
  font-stretch: 112%;
}

.logo .labs { color: var(--mute); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.nav-links a:not(.btn):hover { color: var(--brand); }

@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 48px; }

@media (min-width: 768px) {
  .hero { padding-top: 64px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

.hero-visual { display: none; }

@media (min-width: 1024px) {
  .hero-visual { display: block; height: 470px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-visual { height: 400px; }
  .flow-scale { transform: scale(0.84); transform-origin: top left; }
}

.flow-stack {
  position: relative;
  width: 520px;
  height: 470px;
  transform: perspective(1800px) rotateY(-9deg) rotateX(5deg);
  transform-origin: left center;
}

.window {
  position: absolute;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-window);
}

.window-back { top: 0; left: 180px; width: 340px; opacity: 0.92; }
.window-front { top: 64px; left: 0; width: 520px; }

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

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

.window-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e7f8f0;
  color: #0e9f6e;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.live-pill::before,
.dot {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.runlog {
  margin: 0;
  padding: 8px 14px 12px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.runlog li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--mute);
}

.runlog li:last-child { border-bottom: 0; }
.runlog b { color: var(--ink); font-weight: 500; }
.runlog em { font-style: normal; }
.runlog .ok { color: #0e9f6e; }
.runlog .wait { color: var(--brand); }

.canvas {
  position: relative;
  height: 300px;
  background-color: #fbfcfe;
  background-image: radial-gradient(rgba(15, 26, 47, 0.09) 1px, transparent 1px);
  background-size: 16px 16px;
}

.canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.wire { fill: none; stroke: #c9d6f2; stroke-width: 1.5; }

.wire.flow {
  stroke: var(--brand);
  stroke-dasharray: 4 6;
  animation: dash 1.1s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -20; }
}

.node {
  position: absolute;
  width: 132px;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 12px -6px rgba(15, 26, 47, 0.18);
}

.node.active {
  border-color: rgba(47, 107, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12), 0 4px 12px -6px rgba(15, 26, 47, 0.18);
}

.node.muted { opacity: 0.7; }

.node-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.node-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--brand);
  font-size: 12px;
}

.node-sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.3;
  color: var(--mute);
}

.window-foot {
  display: flex;
  gap: 18px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--mute);
}

.window-foot b { color: var(--ink); font-weight: 500; }

.agent-card {
  position: absolute;
  top: 388px;
  left: 262px;
  width: 268px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-window);
}

.agent-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--mute);
}

.agent-card p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.agent-card b { color: var(--ink); font-weight: 650; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
}

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(4, 1fr); margin-top: 72px; }
}

.stat { display: block; padding: 24px; background: var(--card); transition: background-color 0.15s; }
a.stat:hover { background: #fbfcfe; }

.stat-value {
  font-size: 30px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-stretch: 112%;
}

.stat-desc { margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--ink-2); }

.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.stat-label .i { font-size: 15px; color: var(--brand); transition: transform 0.15s; }
a.stat:hover .stat-label .i { transform: translate(2px, -2px); }

/* ---------- Tools strip ---------- */
.tools {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin-top: 18px;
}

.tool-row span {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-stretch: 110%;
  color: #a3aec2;
}

/* ---------- Cards ---------- */
.grid-3,
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover { border-color: #cdd7ea; box-shadow: var(--shadow-card); }

.card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.card p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

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

.icon-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--brand);
  font-size: 20px;
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--mute);
}

.service-foot b { color: var(--ink); font-weight: 600; }
.service-foot:hover b { color: var(--brand); }

.service p { margin-bottom: 20px; }
.service-foot .i { flex: none; font-size: 15px; color: var(--brand); }

.step-num {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
}

/* ---------- Work ---------- */
.work { display: flex; flex-direction: column; padding: 0; overflow: hidden; }

.work-shot {
  padding: 22px 24px 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--soft), #f4f7fd 60%);
  border-bottom: 1px solid var(--line);
}

.work-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  margin-bottom: -6px;
  object-fit: cover;
  object-position: left top;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -6px 30px -16px rgba(15, 26, 47, 0.25);
  transition: transform 0.35s ease;
}

.work:hover .work-shot img { transform: translateY(-4px); }

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 22px;
}

.work-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.work-kicker,
.more-name > span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.work-body h3 { max-width: 380px; margin-top: 6px; font-size: 18px; }
.work-body p { margin: 0; font-size: 15px; }

.work-metric {
  flex: none;
  font-size: 26px;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-stretch: 112%;
  text-align: right;
  white-space: nowrap;
}

.work-metric small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  font-stretch: 100%;
  color: var(--mute);
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-body > .stack,
.work-foot { margin-top: auto; }

.stack li {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: #24407a;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.work-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--brand);
}

.work-link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 480px) {
  .work-shot { padding: 16px 16px 0; }
  .work-head { flex-direction: column; gap: 10px; }
  .work-metric { text-align: left; }
}

/* More projects */
.more-label { margin-top: 40px; }

.more {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

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

.more-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1fr) 14px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.more-item summary::-webkit-details-marker { display: none; }
.more-item summary:hover { background: #fbfcfe; }

.more-name b {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.more-result {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.025em;
  font-stretch: 112%;
}

.more-stack { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }

.more-item p {
  max-width: 760px;
  margin: -2px 20px 20px;
  font-size: 15px;
  color: var(--ink-2);
}


@media (max-width: 720px) {
  .more-item summary {
    grid-template-columns: minmax(0, 1fr) 14px;
    grid-template-areas: "name plus" "result plus";
    row-gap: 4px;
  }
  .more-name { grid-area: name; }
  .more-result { grid-area: result; font-size: 15px; }
  .more-item .plus { grid-area: plus; }
  .more-stack { display: none; }
}

/* ---------- Testimonials ---------- */
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 24px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}

.quote p { margin: 0; font-size: 17px; line-height: 1.55; color: #e6ecf7; }

.quote-by { display: flex; align-items: center; gap: 12px; margin-top: 28px; }

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #24407a, var(--brand));
  font-size: 13px;
  font-weight: 700;
}

.quote-name { display: block; font-size: 16px; font-weight: 650; }
.quote-role { display: block; font-size: 13.5px; color: #9aa6bf; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 32px; }

@media (min-width: 900px) {
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }

.plus { position: relative; flex: none; width: 14px; height: 14px; }

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--mute);
  transition: transform 0.2s;
}

.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after,
.more-item[open] .plus::after { transform: rotate(0deg); }

.faq-item p { max-width: 620px; margin: -4px 0 22px; color: var(--ink-2); }

/* ---------- About ---------- */
.about { display: grid; gap: 32px; align-items: start; }

@media (min-width: 768px) {
  .about { grid-template-columns: 260px minmax(0, 1fr); }
  .links { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .about { grid-template-columns: 300px minmax(0, 1fr) 340px; gap: 40px; }
  .links { grid-column: auto; grid-template-columns: 1fr; }
}

.portrait {
  display: grid;
  place-items: center;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--ink) 0%, #24407a 48%, var(--g1) 100%);
}

.portrait img { width: 100%; height: 100%; object-fit: cover; }

.portrait span {
  font-size: 104px;
  font-weight: 750;
  letter-spacing: -0.04em;
  font-stretch: 115%;
  color: rgba(255, 255, 255, 0.92);
}

.about-title { font-size: 34px; text-wrap: pretty; }

@media (min-width: 768px) {
  .about-title { font-size: 40px; }
}

.about-text { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.about-text + .about-text { margin-top: 12px; }

.links { display: grid; gap: 8px; }

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 650;
  transition: border-color 0.15s;
}

.link-row:hover { border-color: var(--brand); }

.link-row small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
}

/* ---------- CTA ---------- */
#contact { margin-top: 80px; }

@media (min-width: 768px) {
  #contact { margin-top: 104px; }
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 48px 24px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

@media (min-width: 768px) {
  .cta { padding: 64px 48px; }
}

.cta::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -200px;
  width: 680px;
  height: 680px;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.55), rgba(47, 107, 255, 0));
  pointer-events: none;
}

.cta > * { position: relative; }
.cta .h2 { max-width: 640px; color: #fff; }
.cta .section-lede { color: #b4bfd4; }

.cta .signup input[type="email"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.cta .signup input::placeholder { color: #8390a8; }
.cta .form-note { color: #9aa6bf; }
.cta .form-note.success { color: #4ade80; }
.cta .form-note.error { color: #fda29b; }
.cta .form-alt { color: #fff; }
.cta .form-alt:hover { color: var(--g2); }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding: 24px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--mute);
}

.site-footer .mono { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.site-footer .mono:hover { color: var(--brand); }

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wire.flow,
  .live-pill::before,
  .dot { animation: none; }
}
