:root {
  color-scheme: dark;
  --ink: #eee8da;
  --muted: #a9a092;
  --quiet: #746d64;
  --bg: #0b0a08;
  --panel: #12100d;
  --line: #332e25;
  --line-strong: #544a3b;
  --brass: #c5a15a;
  --moss: #8f9b78;
  --clay: #a66f55;
  --radius: 2px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brass);
}

.site-header {
  width: min(100% - 32px, var(--max-width));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #17130e;
  color: var(--brass);
  font-size: 15px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  display: grid;
  gap: 44px;
  align-items: center;
  padding: 76px 0 82px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 94px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 17px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--line-strong);
}

.button.primary {
  background: var(--ink);
  color: #07080a;
  border-color: var(--ink);
}

.button.primary:hover {
  color: #07080a;
  background: var(--brass);
  border-color: var(--brass);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.workflow-visual {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.visual-topbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #0d0b09;
}

.visual-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
}

.visual-topbar span:nth-child(2) {
  background: var(--brass);
}

.visual-topbar span:nth-child(3) {
  background: var(--moss);
}

.visual-grid {
  padding: 16px;
  display: grid;
  gap: 0;
}

.visual-node {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #100d0a;
}

.visual-node + .visual-path + .visual-node {
  border-top: 0;
}

.visual-node.engine {
  background: #19150f;
  color: var(--ink);
}

.visual-node.output {
  border-color: var(--line);
  background: #11130d;
}

.node-label {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.engine .node-label,
.output .node-label {
  color: var(--moss);
}

.visual-node strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
}

.visual-path {
  width: 1px;
  height: 18px;
  margin: 0 0 0 28px;
  background: var(--line-strong);
}

.visual-status {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  background: #0d0b09;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--moss);
}

.section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 78px 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max-width)) / 2));
  background: #0e0c09;
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.focus-list {
  margin-top: 48px;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.focus-item {
  min-height: 250px;
  padding: 24px;
  background: var(--panel);
}

.focus-index {
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
}

.focus-item h3 {
  margin: 62px 0 14px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.12;
}

.focus-item p,
.founder-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.founder-section {
  display: grid;
  gap: 34px;
  align-items: start;
}

.founder-copy {
  max-width: 720px;
}

.founder-copy p {
  margin-top: 20px;
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 700;
}

.founder-links a,
.contact-link,
.site-footer a {
  color: var(--brass);
}

.founder-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #0f0d0a;
}

.founder-panel dl {
  margin: 0;
}

.founder-panel div + div {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.founder-panel dt {
  margin-bottom: 7px;
  color: var(--quiet);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.founder-panel dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.contact-section {
  padding-top: 28px;
}

.contact-section h2 {
  max-width: 900px;
}

.contact-link {
  min-height: 44px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
}

.site-footer {
  width: min(100% - 32px, var(--max-width));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 720px) {
  .site-nav {
    display: flex;
  }

  .hero {
    padding-top: 98px;
    padding-bottom: 112px;
  }

  .focus-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.74fr);
  }

  .founder-section {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 46px;
  }

  .hero {
    padding-top: 54px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
