:root {
  --blue: #0061fc;
  --ink: #0b1017;
  --nav: #5a677b;
  --muted: #434954;
  --soft: #5a677b;
  --line: #e6ebf2;
  --line-strong: #dbe2ec;
  --bg: #ffffff;
  --panel: #f2f4f8;
  --green: #2e9752;
  --green-bg: #eef8f2;
  --kw: #60378c;
  --str: #da4149;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  --gutter: 48px;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 20px; background: #fff; border: 2px solid var(--blue); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
main, section[id], article[id], li[id] { scroll-margin-top: 100px; }
button, a, input { font-family: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.logo {
  justify-self: start;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  justify-self: center;
  gap: 30px;
}
.nav-links a {
  position: relative;
  color: var(--nav);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover,
.nav-links a.is-current { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-current::after { transform: scaleX(1); }
.nav-cta { justify-self: end; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  margin: 5px 0;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-cta { min-height: 44px; padding: 0 22px; }
.btn-blue { border-color: #8eb4ff; color: var(--blue); }
.btn:hover { background: #f7f9fc; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  width: calc(100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: 32px 0;
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  column-gap: 64px;
  min-width: 0;
}
.hero-copy > :not(.hero-points) { grid-column: 1; }
.hero-copy h1 { max-width: 850px; }
.hero-copy .lede { max-width: 640px; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow-blue { color: var(--blue); }
h1, .section h2, .use-grid h2, .cta h2 {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}
h1 {
  max-width: 560px;
  font-size: 44px;
}
h1 span { color: var(--blue); }
.lede, .body, .split-copy p, .why-head p, .cta-copy p, .why-grid p {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.55;
}
.lede { max-width: 520px; margin-top: 18px; font-size: 16px; line-height: 1.6; }
.hero-points {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.hero-points svg, .sol-top svg, .why-grid svg, .industry-list svg, .stack-name svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-points article { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; color: var(--ink); }
.hero-points svg { grid-row: span 2; }
.hero-points h2 {
  margin-top: 0;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0;
}
.industry-list h3 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}
.hero-points p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.hero-stage {
  min-width: 0;
  display: flex;
}
.workspace {
  width: 100%;
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ws-title {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.ws-body { display: grid; grid-template-columns: 184px minmax(0, 1fr); flex: 1; }
.ws-side { border-right: 1px solid var(--line); padding: 20px 16px; background: #fafbfc; }
.ws-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 650;
}
.ws-label svg, .side-item svg, .ws-side button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ws-side button, .file-tab, .lower-tabs button, .term-bar button, .file-add {
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.ws-side button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 6px;
  color: var(--soft);
  font-size: 13px;
}
.ws-side .side-item { display: flex; align-items: center; min-height: 44px; padding: 8px 6px; color: var(--soft); font-size: 13px; }
.ws-side .side-item:hover { background: var(--panel); color: var(--blue); }
.preview-label { display: inline-block; margin-left: 12px; color: var(--muted); font-weight: 400; font-size: 12px; }
.preview-workflow { margin-left: auto; color: var(--blue); font-size: 12px; padding: 12px 0; }
.ws-side button.is-active { color: var(--blue); font-weight: 600; }
.ws-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-width: 0; }
.ws-main > .editor-tabs, .ws-main > .ws-foot { grid-column: 1 / -1; }
.ws-main > .editor { grid-column: 1; grid-row: 2; }
.ws-lower { grid-column: 2; grid-row: 2; min-width: 0; border-left: 1px solid var(--line); }
.editor-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.file-tab.is-active { color: var(--blue); font-weight: 600; }
.file-add { color: var(--ink); font-size: 18px; line-height: 1; }
.run { margin-left: auto; color: #b0b6be; }
.editor { height: 320px; padding: 16px; overflow: auto; }
.editor pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}
.editor code { display: block; white-space: pre; }
.ln {
  display: inline-block;
  width: 28px;
  color: #8b93a0;
}
.kw { color: var(--kw); }
.str { color: var(--str); }
.pdf-view { padding: 16px; }
.pdf-sheet {
  height: 204px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background: #fbfcfe;
}
.pdf-sheet strong { display: block; font-size: 14px; }
.pdf-sheet span { color: var(--muted); font-size: 12px; }
.pdf-lines {
  margin-top: 16px;
  height: 120px;
  background:
    repeating-linear-gradient(#e8edf3 0 8px, transparent 8px 18px);
  opacity: 0.8;
}
.lower-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.lower-tabs button { color: var(--muted); padding: 0; }
.lower-tabs button.is-active { color: var(--ink); font-weight: 650; }
.completed {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  background: var(--green-bg);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}
.completed svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 8px;
  padding: 12px;
}
.log-box {
  padding: 8px;
  min-height: 240px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.log-box p { margin: 0; }
.ts, .done-line { color: var(--green); }
.done-line { color: var(--blue); }
.stat-col { display: grid; gap: 8px; }
.stat-col div {
  border-left: 1px solid var(--line);
  padding: 12px;
}
.stat-col strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}
.stat-col span { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; margin-top: 4px; }
.ws-foot {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 8px;
  padding: 8px 16px 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.ws-foot span:nth-child(2) { text-align: center; }
.ws-foot span:last-child { text-align: right; }

.section { padding: 64px 0; }
.section-tight { padding-top: 36px; }
.wrap { width: calc(100% - 2 * var(--gutter)); margin: 0 auto; }
.section h2, .use-grid h2, .cta h2 {
  font-size: 36px;
  max-width: 680px;
}
.split-head, .use-grid, .platform-grid, .industry-grid, .arch-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.platform-grid, .use-grid { grid-template-columns: 0.78fr 1.22fr; }
.platform-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.industry-grid, .arch-grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
.split-copy p, .why-head p { max-width: 460px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
}
.text-link:hover { gap: 12px; }
.body { max-width: 460px; margin-top: 18px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.sol-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.sol-top { color: var(--blue); }
.sol-card h3 {
  min-height: 2.3em;
  margin: 22px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}
.sol-card > p { min-height: 3.2em; color: var(--soft); font-size: 15.5px; }
.sol-card ul {
  margin: 22px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.sol-card .text-link { margin-top: auto; padding-top: 24px; }

.compare { position: relative; display: grid; grid-template-columns: 1fr 28px 1fr; gap: 10px; align-items: stretch; }
.compare-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 20px 18px;
  background: #fff;
}
.compare-card h3 { text-align: center; font-size: 15px; margin-bottom: 18px; }
.compare-ai h3, .compare-ai .time { color: var(--blue); }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.compare-card li { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 15px; }
.compare-card svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: #8b95a3;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare-ai svg { stroke: var(--blue); }
.compare-arrow {
  align-self: center;
  color: var(--blue);
  font-size: 22px;
  text-align: center;
}
.time { margin-top: 22px; font-weight: 750; font-size: 15px; }
.caption {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  text-align: right;
  color: var(--muted);
  font-size: 12.5px;
}

.industries { border-top: 1px solid var(--line); }
.flow {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr;
  gap: 8px;
  align-items: stretch;
}
.flow-col {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.flow-col h3 { font-size: 14px; margin-bottom: 10px; }
.flow-core { text-align: center; }
.flow-core h3 { color: var(--blue); font-size: 20px; letter-spacing: 0; margin-bottom: 0; }
.flow-core > p { color: var(--blue); font-size: 11px; margin-bottom: 10px; }
.flow-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow-col li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}
.flow-core li { justify-content: flex-start; text-align: left; }
.flow-col svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-arrow { align-self: center; color: var(--blue); text-align: center; }

.industry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 24px;
}
.industry-list article { color: var(--ink); }
.industry-list svg { color: var(--ink); width: 26px; height: 26px; }
.industry-list h3 { max-width: 190px; }

.why-head { align-items: end; margin-bottom: 36px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.why-grid article {
  padding: 8px 28px 0 22px;
  border-left: 1px solid #d5deea;
}
.why-grid svg { color: var(--blue); margin-bottom: 28px; }
.why-grid h3 {
  max-width: 280px;
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.stack {
  border: 1px solid #d7e3f5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.stack-top, .stack-foot {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
}
.stack-top { border-bottom: 1px solid var(--line); }
.stack-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 12px 16px;
  padding: 16px 14px;
  border: 1px solid #d7e3f5;
  border-radius: 6px;
}
.stack-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.stack-name svg { color: var(--blue); }
.stack-meta { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.stack-foot {
  justify-content: center;
  border-top: 1px dashed #d5deea;
  letter-spacing: 0;
  font-size: 12px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 56px var(--gutter);
  border-top: 1px solid var(--line);
}
.cta-copy { min-width: 0; }
.cta h2 { max-width: 560px; }
.cta-copy p { margin-top: 18px; max-width: 460px; }
.cta-stage {
  background: var(--panel);
  display: flex;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
}
.terminal {
  width: 100%;
  background: #fff;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  min-height: 280px;
  box-shadow: var(--shadow);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.term-bar button { color: var(--muted); font-weight: 500; }
.term-bar button.is-active { color: var(--ink); font-weight: 700; }
.prompt-mark { margin-left: auto; color: #9aa3af; }
.term-body { padding: 22px 22px 28px; font-family: var(--mono); font-size: 15px; }
.term-body p { margin: 0 0 16px; }
.prompt, .hot { color: var(--str); }
.cmd { color: #5d6b80; }
.term-note { color: #6d7b90; padding-left: 18px; }

.footer { padding: 48px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer-brand p { margin-top: 28px; color: var(--soft); }
.footer h2 { font-size: 16px; margin-bottom: 16px; }
.footer a { display: block; margin: 10px 0; color: var(--soft); font-size: 15px; }
.footer a:hover { color: var(--ink); }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1100px) {
  :root { --gutter: 24px; }
  .nav { padding: 0 var(--gutter); }
  .hero, .cta, .split-head, .use-grid, .platform-grid, .industry-grid, .arch-grid, .card-grid, .why-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { gap: 28px; }
  .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-points { grid-column: 1; grid-row: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-copy, .cta-copy { padding: 0; }
  .cta { padding: 40px var(--gutter); }
  .card-grid, .industry-list, .flow { grid-template-columns: 1fr 1fr; }
  .flow-arrow, .compare-arrow { display: none; }
  .compare { grid-template-columns: 1fr; }
  .ws-body { grid-template-columns: 1fr; }
  .ws-side { display: none; }
  .ws-main { display: flex; flex-direction: column; }
  .ws-lower { border-left: 0; border-top: 1px solid var(--line); }
  .hero-stage { padding: 0; }
  .cta-stage { padding: 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 16px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav-cta { display: inline-flex; margin: 8px 24px 16px; }
  .nav-toggle { display: block; justify-self: end; }
  .nav { grid-template-columns: 1fr auto; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .card-grid, .industry-list, .flow, .hero-points, .legal { grid-template-columns: 1fr; }
  .sol-card h3, .sol-card > p { min-height: 0; }
  h1 { font-size: 40px; }
  .lower-grid { grid-template-columns: 1fr; }
  .ws-foot { grid-template-columns: 1fr; }
  .ws-foot span { text-align: left !important; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-right {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
@keyframes caret {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.hero-copy > .eyebrow { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-copy > h1 { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both; }
.hero-copy > .lede { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both; }
.hero-copy > .btn-row { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both; }
.hero-points article { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-points article:nth-child(1) { animation-delay: 0.34s; }
.hero-points article:nth-child(2) { animation-delay: 0.42s; }
.hero-points article:nth-child(3) { animation-delay: 0.5s; }
.workspace { animation: rise-right 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }
.log-box[data-lower-panel="logs"] p { animation: rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.log-box[data-lower-panel="logs"] p:nth-child(1) { animation-delay: 0.55s; }
.log-box[data-lower-panel="logs"] p:nth-child(2) { animation-delay: 0.68s; }
.log-box[data-lower-panel="logs"] p:nth-child(3) { animation-delay: 0.81s; }
.log-box[data-lower-panel="logs"] p:nth-child(4) { animation-delay: 0.94s; }
.log-box[data-lower-panel="logs"] p:nth-child(5) { animation-delay: 1.07s; }
.log-box[data-lower-panel="logs"] p:nth-child(6) { animation-delay: 1.2s; }
.stat-col div { animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
.stat-col div:nth-child(1) { animation-delay: 0.85s; }
.stat-col div:nth-child(2) { animation-delay: 0.98s; }
.stat-col div:nth-child(3) { animation-delay: 1.11s; }
.completed { animation: rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both; }

.compare-arrow, .flow-arrow { animation: nudge 2.6s ease-in-out infinite; }
.term-body p:last-child .prompt::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 0.95em;
  margin-left: 6px;
  background: currentColor;
  vertical-align: -1px;
  animation: caret 1.05s steps(1) infinite;
}
.js [data-motion] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}
.js [data-motion].is-in { opacity: 1; transform: none; }
.is-switching { animation: rise 0.28s ease; }

.sol-card, .compare-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.sol-card:hover, .compare-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.industry-list svg, .why-grid svg, .sol-top svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.industry-list article:hover svg,
.why-grid article:hover svg,
.sol-card:hover .sol-top svg { transform: translateY(-2px); }
.text-link { transition: gap 0.2s ease; }

.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); }
.journey a { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; padding: 20px 12px; }
.journey a:hover { background: var(--panel); }
.journey span { grid-row: span 2; color: var(--blue); font-family: var(--mono); }
.journey strong { font-size: 16px; }
.journey small { color: var(--muted); margin-top: 4px; font-size: 13px; }
.sol-card details { margin-top: 20px; border-top: 1px solid var(--line); }
summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-size: 14px; font-weight: 600; }
.sol-card details p { color: var(--muted); font-size: 14px; line-height: 1.65; padding-bottom: 12px; }
.industry-list p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.file-tab, .lower-tabs button, .term-bar button { min-height: 44px; padding: 8px 4px; }
.lower-tabs { flex-wrap: wrap; gap: 8px 12px; }
.lower-tabs button { padding: 8px 4px; }
.editor-tabs { flex-wrap: wrap; gap: 8px 12px; }
.text-link { min-height: 44px; }
.footer a { padding: 10px 0; margin: 0; overflow-wrap: anywhere; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; }
.email-row a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; padding: 10px 0; }
.email-row button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); font-size: 14px; }
.email-row button:hover { border-color: var(--blue); }
.cta-copy .contact-status, .contact-status { min-height: 42px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.pilot-brief { width: 100%; }
.pilot-brief h3 { font-size: 28px; line-height: 1.2; }
.pilot-brief ol { margin: 24px 0; padding-left: 24px; }
.pilot-brief li { padding: 14px 0 14px 8px; border-bottom: 1px solid var(--line-strong); }
.pilot-brief li::marker { color: var(--blue); font-family: var(--mono); }
.pilot-brief p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.pilot-brief .brief-note { font-size: 13px; }
.btn { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; }

@media (max-width: 1100px) {
  .nav { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
  .nav-toggle { grid-column: 3; grid-row: 1; }
  .nav .nav-cta, .nav.is-open .nav-cta { display: inline-flex; grid-column: 2; grid-row: 1; margin: 0; padding: 8px 14px; }
  .nav.is-open .nav-links { top: 100%; max-height: calc(100dvh - 78px); overflow-y: auto; }
  .nav-links a { padding: 12px 0; }
  .nav-links a::after { bottom: 6px; }
  .hero { min-height: auto; }
  .ws-body { min-height: 0; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-arrow { display: block; transform: rotate(90deg); padding: 10px; animation: none; }
}
@media (max-width: 720px) {
  .nav { padding: 0 16px; gap: 8px; }
  .nav .logo { font-size: 22px; }
  .nav .nav-cta { font-size: 12px; padding: 8px 10px; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey a { border-top: 1px solid var(--line); padding: 20px 0; }
  .section { padding: 48px 0; }
  .section-tight { padding-top: 28px; }
  .hero-copy, .cta-copy { padding: 0; }
  .hero-stage { padding: 0; }
  .cta-stage { padding: 24px 20px; }
  .hero-points { padding-top: 20px; gap: 20px; }
  .stat-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-col div { padding: 10px 6px; }
  .log-box { min-height: 128px; }
  .hero-points article { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 12px; }
  .hero-points svg { grid-row: span 2; }
  .hero-points h2 { margin-top: 0; }
  .legal { flex-direction: column; }
  .stack-row { flex-direction: column; align-items: flex-start; }
  .stack-foot { text-align: center; overflow-wrap: anywhere; }
  .btn-row .btn { flex: 1 1 180px; }
  .completed { margin-left: 0; }
}

.chapter-site { scroll-snap-type: y proximity; scroll-padding-top: 78px; }
.chapter-page main, .chapter-page section[id] { scroll-margin-top: 0; }
.chapter-page main > section {
  min-height: calc(100svh - 78px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
  border: 0;
}
.chapter-page main > section:nth-of-type(even) { background: #f5f6f8; }
.chapter-page .nav-links, .workflow-page .nav-links { gap: 20px; }
.chapter-page .nav-links a, .workflow-page .nav-links a { font-size: 13px; }
.chapter-page .btn-dark { background: var(--blue); border-color: var(--blue); color: #fff; }
.chapter-page .btn-dark:hover { background: #004dce; border-color: #004dce; }
.chapter-page .nav-cta[aria-current] { box-shadow: 0 0 0 3px #d8e8ff; }
.chapter-page .btn-blue { background: transparent; border-color: transparent; }
.chapter-page .btn-blue:hover { text-decoration: underline; text-underline-offset: 4px; }
.chapter-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100svh - 90px);
  gap: 40px;
  padding: 24px 0;
}
.chapter-page .hero-copy { display: flex; align-items: flex-start; text-align: left; flex-direction: column; }
.chapter-page .hero-copy .eyebrow { margin-bottom: 20px; color: var(--blue); font-weight: 600; }
.chapter-page .hero-copy h1 { font-size: 54px; line-height: 1.12; max-width: 520px; }
.chapter-page .hero-copy h1 span { display: block; }
.chapter-page .hero-copy .lede { font-size: 17px; max-width: 540px; margin-top: 28px; line-height: 1.65; }
.chapter-page .hero-copy .btn-row { justify-content: flex-start; margin-top: 30px; }
.chapter-page .hero .btn { min-height: 50px; padding-left: 24px; padding-right: 24px; background: #fff; color: var(--ink); border-color: var(--ink); }
.chapter-page .hero .btn-blue { border-color: #c4d1e5; }
.chapter-page .hero .btn:hover { background: #f5f7fa; text-decoration: none; }
.chapter-page .hero-points { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; padding: 0; border: 0; }
.chapter-page .hero-points article { display: block; }
.chapter-page .hero-points svg { color: var(--nav); }
.chapter-page .hero-points h2 { margin-top: 14px; font-size: 13px; line-height: 1.35; }
.chapter-page .hero-points p { font-size: 12px; line-height: 1.5; }
.chapter-page .hero-stage { width: 100%; padding: 28px; background: #f2f4f8; }
.chapter-page .hero .ws-title { padding: 12px 16px; text-align: center; }
.chapter-page .hero .ws-body { grid-template-columns: 112px minmax(0, 1fr); }
.chapter-page .hero .ws-side { padding: 20px 8px; background: #fff; }
.chapter-page .hero .ws-label, .chapter-page .hero .side-item { font-size: 12px; }
.chapter-page .hero .ws-main { display: flex; flex-direction: column; }
.chapter-page .hero .editor { height: 260px; padding: 12px 10px; }
.chapter-page .hero .editor pre { font-size: 11px; line-height: 1.55; }
.chapter-page .hero .editor-tabs { gap: 8px; padding: 0 10px; font-size: 11px; }
.chapter-page .hero .preview-workflow { font-size: 11px; }
.chapter-page .hero .ws-lower { border-left: 0; border-top: 1px solid var(--line); }
.chapter-page .hero .lower-tabs { font-size: 11px; gap: 8px; }
.chapter-page .hero .completed { font-size: 10px; padding: 3px 6px; }
.chapter-page .hero .lower-grid { grid-template-columns: minmax(0, 1fr) 88px; padding: 10px; }
.chapter-page .hero .log-box { min-height: 154px; padding: 8px; font-size: 10px; border: 1px solid var(--line); border-radius: 4px; }
.chapter-page .hero .stat-col div { padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; }
.chapter-page .hero .stat-col strong { font-size: 17px; }
.chapter-page .hero .stat-col span { font-size: 10px; }
.chapter-page .hero .ws-foot { font-size: 10px; padding: 10px; }
.chapter-page .workspace { animation: none; }
.chapter-page .section h2, .chapter-page .cta h2 { font-size: 44px; line-height: 1.12; max-width: 800px; }
.chapter-page .eyebrow { font-weight: 500; }
.chapter-page .split-head { align-items: center; }
.chapter-page .card-grid { gap: 0; margin-top: 40px; }
.chapter-page .sol-card { min-height: 0; background: transparent; border: 0; border-left: 1px solid var(--line-strong); border-radius: 0; padding: 8px 24px; }
.chapter-page .sol-card:first-child { border-left: 0; }
.chapter-page .sol-card:hover, .chapter-page .compare-card:hover { transform: none; box-shadow: none; }
.chapter-page .sol-card h3 { font-size: 24px; }
.chapter-page .sol-card > p, .chapter-page .sol-card li { max-width: 36ch; }
.chapter-page .platform-grid > div:first-child { text-align: center; }
.chapter-page .platform-grid h2, .chapter-page .platform-grid .body { margin-left: auto; margin-right: auto; }
.chapter-page .platform-grid .body { max-width: 680px; }
.chapter-page .flow-col { border: 0; border-radius: 0; padding: 24px; }
.chapter-page .flow-core { background: #fff; border-radius: 8px; }
.chapter-page .flow-col li { border: 0; background: transparent; }
.chapter-page .industry-list { gap: 40px 32px; }
.chapter-page .industry-list p, .chapter-page .why-grid p { max-width: 38ch; }
.chapter-page .stack { border: 0; border-radius: 0; background: transparent; }
.chapter-page .stack-row { border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; margin: 0; padding: 28px 0; }
.chapter-page .stack-top { padding-left: 0; padding-right: 0; }
.chapter-page .stack-foot { border: 0; padding: 24px 0; }
.chapter-page main > .cta { padding: 0 var(--gutter); gap: 0; }
.chapter-page .cta-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 64px 0; }
.chapter-page .cta-copy p { max-width: 560px; }
.chapter-page .cta-copy .btn-row, .chapter-page .email-row { justify-content: center; }
.chapter-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 0; border-top: 1px solid var(--line-strong); color: var(--muted); font-size: 12px; }
.chapter-footer .logo { font-size: 20px; color: var(--ink); }
.chapter-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.chapter-page .hero-copy > *, .chapter-page .log-box p, .chapter-page .stat-col div, .chapter-page .completed { animation: none; }
.chapter-page .compare-arrow, .chapter-page .flow-arrow { animation: none; }
.chapter-page [data-motion] { transform: none; transition: opacity 0.35s ease; transition-delay: 0ms; }
@media (max-width: 1100px) {
  .chapter-page .nav-links, .workflow-page .nav-links { justify-self: stretch; gap: 4px; }
  .chapter-page .nav-links a, .workflow-page .nav-links a { font-size: 15px; }
  .chapter-page .card-grid { gap: 32px 0; }
  .chapter-page .sol-card:nth-child(odd) { border-left: 0; }
  .chapter-page .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .chapter-page .hero-copy h1 { font-size: 48px; max-width: 640px; }
  .chapter-page .hero-copy .lede { max-width: 680px; }
  .chapter-page .hero-points { max-width: 680px; margin-top: 32px; }
  .chapter-page .hero .ws-body { grid-template-columns: minmax(0, 1fr); }
  .chapter-page .section h2, .chapter-page .cta h2 { font-size: 36px; }
  .chapter-page .industry-list { gap: 32px; }
  .chapter-page .stack-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .chapter-site { scroll-snap-type: none; }
  .chapter-page main > section { padding: 40px 0; }
  .chapter-page .hero-copy h1 { font-size: 40px; }
  .chapter-page .hero-copy .lede { font-size: 16px; margin-top: 24px; }
  .chapter-page .hero-copy .btn-row { width: 100%; }
  .chapter-page .hero-points { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .chapter-page .hero-points article { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; }
  .chapter-page .hero-points h2 { margin-top: 0; }
  .chapter-page .hero-stage { padding: 12px; }
  .chapter-page .hero .lower-grid { grid-template-columns: minmax(0, 1fr); }
  .chapter-page .hero .stat-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chapter-page .section h2, .chapter-page .cta h2 { font-size: 32px; }
  .chapter-page .sol-card { border-left: 0; border-top: 1px solid var(--line-strong); padding: 24px 0 0; }
  .chapter-page .sol-card:first-child { border-top: 0; padding-top: 0; }
  .chapter-page .flow-col { padding: 20px 0; }
  .chapter-page .flow-core { padding: 24px 16px; }
  .chapter-page .why-grid { gap: 32px; }
  .chapter-page .why-grid article { padding-left: 20px; }
  .chapter-page .why-grid svg { margin-bottom: 16px; }
  .chapter-footer { flex-direction: column; text-align: center; gap: 4px; }
}

.chapter-page #platform .flow { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.2fr) 48px minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.chapter-page #platform .flow-col { padding: 28px; border-top: 1px solid var(--line-strong); }
.chapter-page #platform .flow-col h3 { font-size: 22px; margin-bottom: 20px; }
.chapter-page #platform .flow-col li { min-height: 32px; padding: 0; color: var(--muted); }
.chapter-page #platform .flow-core { border: 1px solid #cadcf8; background: #fff; text-align: left; }
.chapter-page #platform .flow-core h3 { font-size: 32px; margin-bottom: 2px; }
.chapter-page #platform .flow-core > p:not(.diagram-step) { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.chapter-page #platform .diagram-step { font: 12px var(--mono); color: var(--muted); margin-bottom: 16px; }
.chapter-page #platform .flow-core .diagram-step { color: var(--blue); }
.chapter-page #platform .flow-core li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.chapter-page #platform .flow-arrow { position: relative; height: 24px; font-size: 0; overflow: hidden; }
.chapter-page #platform .flow-arrow::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; border-top: 1px solid #b9cce8; }
.chapter-page #platform .flow-arrow::after { content: ""; position: absolute; top: 8px; left: -12px; width: 12px; height: 6px; border-radius: 1px; background: var(--blue); animation: data-transfer 2.8s ease-in-out both; animation-play-state: paused; }
.chapter-page #platform .is-visible .flow-arrow::after { animation-play-state: running; }
.chapter-page #platform .flow-arrow:nth-last-child(2)::after { animation-delay: 1.4s; }
@keyframes data-transfer { 0% { transform: translateX(0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateX(64px); opacity: 0; } }
.chapter-page #industries .industry-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.chapter-page #industries .industry-grid > div:first-child { text-align: center; }
.chapter-page #industries h2, .chapter-page #industries .body { margin-left: auto; margin-right: auto; }
.chapter-page #industries .body { max-width: 680px; }
.chapter-page #industries .industry-list { gap: 0; counter-reset: industry; }
.chapter-page #industries .industry-list article { position: relative; counter-increment: industry; padding: 28px 32px; border-top: 1px solid var(--line-strong); transition: background 0.25s ease; }
.chapter-page #industries .industry-list article:hover { background: #f3f6fb; }
.chapter-page #industries .industry-list article::after { content: "0" counter(industry); position: absolute; right: 32px; top: 28px; font: 12px var(--mono); color: #66748a; }
.chapter-page #industries .industry-list svg { width: 32px; height: 32px; color: var(--blue); }
.chapter-page #industries .industry-list h3 { max-width: 340px; font-size: 20px; line-height: 1.3; margin-top: 20px; }
.chapter-page #industries .industry-list p { max-width: 40ch; line-height: 1.65; }
.chapter-page #why .why-head { margin-bottom: 48px; }
.chapter-page #why .why-grid { gap: 32px; }
.chapter-page #why .why-grid article { display: flex; flex-direction: column; padding: 0; border: 0; }
.chapter-page #why .why-grid h3 { max-width: 320px; min-height: 2.5em; }
.chapter-page #why .why-grid > article > p { margin-bottom: 28px; font-size: 16px; }
.chapter-page #why .why-grid svg { margin-bottom: 20px; }
.proof-visual { flex: 1; min-height: 220px; margin-top: 0; padding: 24px; border-top: 2px solid #cbdcf5; background: #f6f8fb; }
.proof-caption { display: block; margin-bottom: 18px; font: 11px var(--mono); color: var(--muted); }
.context-facts { margin: 0; font-size: 13px; }
.context-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.context-facts dt { color: var(--muted); }
.context-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.lineage-example { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.lineage-example small { font-size: 11px; color: var(--muted); margin-left: 8px; }
.lineage-example > span:nth-child(2) { color: var(--blue); }
.source-value { font-size: 26px; font-weight: 600; color: var(--blue); }
.proof-visual .text-link { font-size: 12px; margin-top: 8px; }
@media (max-width: 1100px) {
  .chapter-page #platform .flow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .chapter-page #platform .flow-arrow { width: 48px; margin: 0 auto; }
  .chapter-page #industries .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-page #why .why-grid { grid-template-columns: minmax(0, 1fr); }
  .chapter-page #why .why-grid article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
  .chapter-page #why .why-grid article > svg, .chapter-page #why .why-grid article > h3, .chapter-page #why .why-grid article > p { grid-column: 1; }
  .chapter-page #why .why-grid h3 { min-height: 0; }
  .chapter-page #why .proof-visual { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}
@media (max-width: 720px) {
  .chapter-page #platform .flow-col { padding: 24px 16px; }
  .chapter-page #industries .industry-list { grid-template-columns: minmax(0, 1fr); }
  .chapter-page #industries .industry-list article { padding: 24px 0; }
  .chapter-page #industries .industry-list article::after { right: 0; }
  .chapter-page #why .why-grid article { display: flex; }
  .chapter-page #why .proof-visual { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .chapter-site { scroll-snap-type: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-motion] { opacity: 1; transform: none; }
}
