:root {
  --ink: #172026;
  --muted: #5f6c72;
  --line: #d8e0e3;
  --surface: #ffffff;
  --wash: #f4f7f8;
  --teal: #0f766e;
  --blue: #2563eb;
  --amber: #c27803;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
}

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

.page-shell {
  min-height: 100vh;
  padding: 24px;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 10px 0 28px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nav-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 15px;
  gap: 20px;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  margin: 0 auto;
  max-width: 1160px;
  min-height: 560px;
}

.hero-copy,
.build-panel,
.feature,
.workflow,
.status-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 7vw, 76px);
}

.eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.94;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.45;
  margin-bottom: 34px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-weight: 800;
  min-height: 46px;
  padding: 0 18px;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: #fff;
}

.build-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  padding: 18px;
}

.status-pill {
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  padding: 6px 10px;
  text-transform: uppercase;
}

.terminal {
  background: #0f1720;
  color: #dbeafe;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 28px;
}

.terminal p {
  color: #8fb4c4;
  font-family: "SFMono-Regular", Consolas, monospace;
  margin: 18px 0 6px;
}

.terminal span {
  color: var(--amber);
}

.terminal strong {
  color: #f8fafc;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(15px, 2vw, 19px);
}

.section-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px auto 0;
  max-width: 1160px;
}

.feature {
  min-height: 230px;
  padding: 28px;
}

.feature-index {
  color: var(--blue);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 44px;
}

.feature p,
.workflow span,
.status-card p,
.metric-row span {
  color: var(--muted);
  line-height: 1.6;
}

.workflow,
.status-section {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 28px auto 0;
  max-width: 1160px;
  padding: 34px;
}

.workflow ol {
  counter-reset: steps;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow li {
  border-left: 3px solid var(--teal);
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.status-card {
  align-items: start;
  display: flex;
  gap: 16px;
}

.dot {
  background: var(--teal);
  display: inline-block;
  flex: 0 0 auto;
  height: 14px;
  margin-top: 8px;
  width: 14px;
}

.metric-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-row div {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 18px;
}

.metric-row strong,
.metric-row span {
  display: block;
}

@media (max-width: 880px) {
  .page-shell {
    padding: 16px;
  }

  .topbar,
  .hero,
  .workflow,
  .status-section {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .section-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  h1 {
    font-size: clamp(46px, 15vw, 72px);
  }
}
