:root {
  color-scheme: light;
  --paper: #f5f3f0;
  --ink: #151412;
  --body: #3b3a33;
  --secondary: #5c5a52;
  --muted: #6a675f;
  --quiet: #bbb7af;
  --rule: #dad7d2;
  --accent: #a74114;
  --orange: #e05a1e;
  --page-width: 1312px;
  --page-inset: 36px;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration-color: var(--quiet); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--paper); background: var(--accent); }
.wrap { width: 100%; max-width: var(--page-width); margin-inline: auto; padding-inline: var(--page-inset); }
.mono, code, pre { font-family: var(--mono); }
.cap { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); }
p, h1, h2, figure, dl, dd, pre { margin: 0; }
h1, h2 { font-weight: 600; }
h1, h2, .hero-description { text-wrap: balance; }
h1 { max-width: 14ch; font-size: 56px; line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: 36px; line-height: 1.15; letter-spacing: -.022em; }
table { border-collapse: collapse; }
th { font-weight: 500; text-align: left; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; color: var(--paper); background: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper); font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none; transition: background-color .15s, color .15s; }
.button:hover { background: var(--body); border-color: var(--body); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--rule); border-color: var(--ink); }

/* Match constal.ai's shared header: 1240px content plus two 36px insets. */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-inner { width: 100%; max-width: var(--page-width); margin-inline: auto; padding-inline: var(--page-inset); display: flex; align-items: center; justify-content: space-between; gap: 0 32px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; white-space: nowrap; text-decoration: none; }
.brand svg { display: block; flex: none; }
.brand-product { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.brand-product span { color: var(--muted); }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 14px; }
.primary-nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.primary-nav > a:not(.button):hover { text-decoration: underline; }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }

.dot-field { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-layout { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; padding-block: 128px; }
.hero-intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 28px; }
.hero-description { max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; }
.arch { flex: 1 1 600px; min-width: 0; max-width: 620px; border-radius: 2px; background: var(--ink); color: #ede9de; }
.arch-bar { padding: 14px 20px; border-bottom: 1px solid #2e2c28; font-size: 11px; color: #8f8b82; }
.arch-graph { display: grid; grid-template-columns: minmax(0, 1fr) 56px auto 56px minmax(0, 1fr); grid-template-areas: "agents-label . . . repos-label" "agents in hub out repos"; align-items: center; gap: 10px 0; padding: 18px 20px 22px; }
.arch-label { font-size: 10.5px; color: #8f8b82; }
.arch-label-agents { grid-area: agents-label; }
.arch-label-repos { grid-area: repos-label; }
.arch-agents { grid-area: agents; }
.arch-repos { grid-area: repos; }
.arch-links-in { grid-area: in; }
.arch-links-out { grid-area: out; }
.arch-hub { grid-area: hub; }
.arch-graph ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.arch-graph li, .arch-hub { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #2e2c28; border-radius: 2px; background: #1d1c19; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.arch-graph li span, .arch-hub span { overflow: hidden; text-overflow: ellipsis; }
.arch-graph li .mono, .arch-hub > .mono:last-child { font-size: 11px; color: #8f8b82; }
.arch-hub { height: 56px; padding: 0 16px; border-color: #57534c; background: #24221f; }
.arch-hub-name { font-size: 14px; font-weight: 500; color: #ede9de; }
.arch-hub-name span { color: #8f8b82; }
.arch-links { display: block; overflow: visible; }
.arch-links path { fill: none; stroke: #4a4741; stroke-width: 1; }
.arch-pulse { fill: #ede9de; opacity: 0; }
.arch-terminal { overflow-x: auto; border-top: 1px solid #2e2c28; }
.arch-terminal pre { padding: 18px 20px; font-size: 13px; line-height: 24px; white-space: pre; }
.term-prompt { color: #7a766e; user-select: none; }
.term-ok { color: var(--orange); }
.term-result { color: var(--quiet); }

.ruled-section { border-top: 1px solid var(--rule); }
.split-layout { display: flex; flex-wrap: wrap; gap: 24px 72px; align-items: flex-start; padding-block: 128px; }
.split-layout h2 { flex: 1 1 360px; max-width: 22ch; }
.split-layout > p { flex: 1 1 440px; max-width: 560px; padding-top: 6px; font-size: 18px; line-height: 1.6; color: var(--body); }
.feature-section { display: flex; flex-direction: column; gap: 72px; padding-block: 128px; }
.feature-section h2 { max-width: 22ch; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 56px 48px; font-size: 16px; line-height: 1.6; }
.feature-grid > * { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
.feature-grid dt, .feature-grid strong { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.feature-grid dd, .how-steps li > span:last-child { color: var(--secondary); }
.how-steps { margin: 0; padding: 0; list-style: none; }
.how-steps code { font-size: 14px; }
.how-number { font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.works-with { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
.works-with ul { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 0; padding: 0; list-style: none; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: #292524; }
.works-with .works-note { margin-left: auto; font-size: 15px; color: var(--secondary); }
.faq-list { flex: 1 1 440px; max-width: 640px; }
.faq-list > div { display: flex; flex-direction: column; gap: 6px; padding-block: 20px; border-top: 1px solid var(--rule); }
.faq-list > div:first-child { padding-top: 0; border-top: 0; }
.faq-list dt { font-size: 17px; line-height: 1.4; font-weight: 600; }
.faq-list dd { font-size: 16px; line-height: 1.6; color: var(--secondary); }
.writes-layout { display: flex; flex-wrap: wrap; gap: 64px 72px; align-items: flex-start; padding-block: 128px; }
.writes-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.writes-copy h2 { max-width: 22ch; }
.write-steps { display: flex; flex-direction: column; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.6; color: var(--secondary); }
.write-steps li { display: flex; gap: 16px; }
.step-number { flex: 0 0 20px; padding-top: 1px; color: var(--accent); }
.write-steps strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.write-steps code { font-size: 14px; }
.code-example { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--rule); background: #edebe7; }
.code-example figcaption { padding: 12px 20px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--secondary); }
.code-scroll { overflow-x: auto; }
.code-scroll pre { padding: 24px 20px; font-size: 13px; line-height: 24px; white-space: pre; }
.code-keyword { color: var(--muted); }

.pricing-layout { display: flex; flex-direction: column; gap: 56px; padding-block: 120px 128px; }
.pricing-intro { display: flex; flex-direction: column; gap: 20px; }
.pricing-intro p { max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--body); }
.price-cards { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.price-card { border: 1px solid var(--rule); background: #fbfaf8; }
.price-group { padding: 22px 24px 18px; }
.price-group + .price-group { border-top: 1px solid var(--rule); }
.price-group table { width: 100%; font-size: 15px; line-height: 1.5; }
.price-group caption { padding-bottom: 10px; text-align: left; font-weight: 600; color: var(--ink); }
.price-group th { padding: 6px 24px 6px 0; vertical-align: top; font-weight: 400; color: var(--secondary); }
.price-group td { padding-block: 6px; text-align: right; color: var(--secondary); font-variant-numeric: tabular-nums; }
.price-group td strong { font-weight: 600; color: var(--ink); }
.price-group td code { font-size: 13px; color: var(--ink); }
.price-note { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.price-example td.price-calc { padding-right: 24px; color: var(--muted); }
.price-example td:last-child { width: 88px; color: var(--ink); }
.price-example tfoot tr { border-top: 1px solid var(--rule); }
.price-example tfoot th, .price-example tfoot td { padding-top: 12px; color: var(--ink); font-weight: 600; }

.start-section { background: var(--ink); color: #ede9de; }
.start-inner { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; justify-content: space-between; padding-block: 112px; }
.start-inner h2 { max-width: 560px; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.start-actions { min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.start-actions pre { max-width: 100%; overflow-x: auto; padding: 12px 16px; border: 1px solid rgba(237, 233, 222, .22); font-size: 14px; line-height: 1.7; }
.start-actions pre::before { content: "$ "; color: var(--quiet); }
.start-actions .button { background: #ede9de; color: var(--ink); border-color: #ede9de; }
.start-actions .button:hover { background: var(--quiet); border-color: var(--quiet); }
.button:disabled, .button:disabled:hover { background: transparent; border-color: var(--quiet); color: var(--ink); cursor: not-allowed; opacity: 1; }
.start-section .button:disabled { border-color: rgba(237, 233, 222, .28); color: #ede9de; }
.site-footer { color: var(--secondary); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-block: 36px 48px; font-size: 14px; }
.not-found { min-height: 65vh; padding-block: 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

@media (max-width: 860px) {
  :root { --page-inset: 20px; }
}
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
}
@media (max-width: 480px) {
  :root { --page-inset: 16px; }
}
@media (max-width: 800px) {
  .hero-layout { padding-block: 96px; }
  .split-layout, .feature-section, .writes-layout, .pricing-layout { padding-block: 96px; }
  .start-inner { padding-block: 88px; }
}
@media (max-width: 640px) {
  .arch-graph { grid-template-columns: minmax(0, 1fr); grid-template-areas: "agents-label" "agents" "hub" "repos-label" "repos"; gap: 12px; padding: 16px; }
  .arch-links { display: none; }
  .arch-hub { margin-block: 8px; }
}
@media (max-width: 540px) {
  .hero-layout { padding-block: 72px; gap: 48px; }
  h1 { font-size: 42px; line-height: 1.08; }
  h2 { font-size: 30px; }
  .hero-description, .pricing-intro p { font-size: 17px; }
  .arch-terminal pre { padding: 16px; font-size: 12px; }
  .split-layout, .feature-section, .writes-layout, .pricing-layout { padding-block: 72px; }
  .split-layout > p { font-size: 17px; }
  .works-with .works-note { margin-left: 0; }
  .feature-section { gap: 48px; }
  .writes-layout { gap: 48px; }
  .pricing-layout { gap: 40px; }
  .price-group { padding: 18px 16px 14px; }
  .price-group table { font-size: 14px; }
  .start-inner { padding-block: 72px; }
  .start-actions pre { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .arch-pulse { display: none; }
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
