:root {
  --bg: #0d0d0d;
  --bg-terminal: #111111;
  --bg-terminal-header: #1a1a1a;
  --border: #2a2a2a;
  --text: #c8c8c8;
  --text-dim: #666;
  --text-bright: #e8e8e8;
  --purple: #a78bfa;
  --purple-dim: #7c3aed;
  --amber: #fbbf24;
  --amber-dim: #d97706;
  --blue: #60a5fa;
  --red: #f87171;
  --mono: 'IBM Plex Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Layout ---------------------------------------------------------------- */

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

/* --- Hero ------------------------------------------------------------------ */

#hero {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-dim);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 48px;
  max-width: 520px;
}

/* --- Terminal Window ------------------------------------------------------- */

.terminal-window {
  width: 100%;
  max-width: 720px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-terminal);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}

.terminal-header {
  background: var(--bg-terminal-header);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.terminal-dot:nth-child(1) { background: #f87171; }
.terminal-dot:nth-child(2) { background: #fbbf24; }
.terminal-dot:nth-child(3) { background: #a78bfa; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 20px 24px;
  height: 340px;
  overflow-y: scroll;
  scroll-behavior: smooth;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  scrollbar-width: none;
}
.terminal-body::-webkit-scrollbar {
  display: none;
}

.t-line {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
}

.t-prompt   { color: var(--purple); }
.t-arrow    { color: var(--text-dim); }
.t-key      { color: var(--blue); }
.t-value    { color: var(--amber); }
.t-string   { color: var(--amber-dim); }
.t-comment  { color: var(--text-dim); font-style: italic; }
.t-status   { color: var(--purple); }
.t-error    { color: var(--red); }
.t-blank    { display: block; height: 0.8em; }

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--purple);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

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

/* --- Sections -------------------------------------------------------------- */

.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-dim);
  margin-bottom: 16px;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

p {
  color: var(--text);
  max-width: 640px;
  margin-bottom: 16px;
}

p:last-child { margin-bottom: 0; }

code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
}

.feature-list {
  list-style: none;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 640px;
}

.feature-list li {
  color: var(--text);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
}

.feature-list li::before {
  content: '\b7';
  position: absolute;
  left: 0;
  color: var(--purple-dim);
}

/* --- Pricing Table --------------------------------------------------------- */

.pricing-table {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  max-width: 640px;
}

.pricing-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr 80px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  gap: 8px;
  align-items: center;
}

.pricing-row:last-child { border-bottom: none; }

.pricing-row-head {
  background: var(--bg-terminal-header);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.t-amber { color: var(--amber); }

/* --- Code Block ------------------------------------------------------------ */

.code-block {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
  font-size: 13px;
  overflow-x: auto;
  margin-top: 24px;
}

.code-block pre {
  margin: 0;
  white-space: pre;
  font-family: var(--mono);
}

.code-comment { color: var(--text-dim); }

/* --- Contract Box ---------------------------------------------------------- */

.contract-box {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
  margin-top: 24px;
  background: var(--bg-terminal);
}

.contract-field {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.contract-field:last-child { border-bottom: none; }

.cf-name  { color: var(--blue); min-width: 180px; flex-shrink: 0; font-family: var(--mono); }
.cf-desc  { color: var(--text); }

/* --- CTA Links ------------------------------------------------------------- */

.cta-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cta-link {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.15s, color 0.15s;
}

.cta-link:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.cta-link.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: #0d0d0d;
  font-weight: 600;
}

.cta-link.primary:hover {
  background: var(--purple-dim);
  border-color: var(--purple-dim);
  color: #fff;
}

/* --- Contact --------------------------------------------------------------- */

#contact a {
  color: var(--purple);
}

#contact a:hover {
  color: var(--purple-dim);
}

/* --- Footer ---------------------------------------------------------------- */

footer {
  padding: 40px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--text-dim);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

/* --- Suite Badge ----------------------------------------------------------- */

.suite-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-terminal);
  font-family: var(--mono);
  font-size: 12px;
}

.suite-badge-item {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.suite-badge-item:hover { color: var(--text); }
.suite-badge-item--active { color: var(--purple); }
.suite-badge-sep { color: var(--border); }

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 600px) {
  .page { padding: 0 16px; }
  section { padding: 48px 0; }
  #hero { padding: 56px 0; }
  .terminal-body { padding: 16px; font-size: 12px; }
  .cta-links { flex-direction: column; }
  .pricing-row { grid-template-columns: 80px 1fr 1fr 1fr 60px; font-size: 11px; }
  .contract-field { flex-direction: column; gap: 4px; }
  .cf-name { min-width: 0; }
}
