/* style.css — public site stylesheet
 *
 * Lifted from static/index.html's inline <style> block so all pages render
 * against the same system. Index.html still carries its own copy of these
 * rules (the cascade gives the inline block priority on /); removing that
 * duplication is a follow-up.
 *
 * Chrome (nav, footer, container), typography (h1/h2/h3), buttons, sections,
 * cards, terminal, hero, comparison table, audience grid — all here. The
 * page-specific rules for the deleted lead form (form-section, form-wrap,
 * form-grid, form-status, form-success, cert-*, agent-hint*, copy-btn,
 * honeypot, ok-check, workflow-panel, comparison) are intentionally not
 * included.
 */

:root {
  --bg: #070a10;
  --bg-soft: #0c111c;
  --card: rgba(18, 25, 40, 0.78);
  --card-strong: rgba(22, 31, 50, 0.95);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(52, 211, 153, 0.42);
  --text: #f5f7fb;
  --muted: #9ba6bb;
  --muted-2: #687287;
  --green: #34d399;
  --green-dark: #10b981;
  --red: #fb7185;
  --amber: #fbbf24;
  --blue: #60a5fa;
  --purple: #a78bfa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-sans: var(--font);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --accent: var(--green);
  --accent-dim: rgba(52, 211, 153, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.13), transparent 34rem),
    radial-gradient(circle at top right, rgba(251, 113, 133, 0.11), transparent 32rem),
    radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.07), transparent 42rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 10, 16, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 20px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.9);
}

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

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-links a.current {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #6ee7b7);
  color: #04100b;
  box-shadow: 0 14px 40px rgba(52, 211, 153, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 54px rgba(52, 211, 153, 0.36);
  text-decoration: none;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 92px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 999px;
  color: #b9f7dc;
  background: rgba(52, 211, 153, 0.06);
  font-family: var(--mono);
  font-size: 13px;
  margin-bottom: 24px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.075em;
  margin-bottom: 26px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff, #cbd5e1 38%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: #cbd5e1;
  font-size: 13px;
}

.hero-card {
  position: relative;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 24, 0.86);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), transparent 35%, rgba(251, 113, 133, 0.18));
  pointer-events: none;
  opacity: 0.7;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  border-radius: inherit;
}

/* ---------- terminal ---------- */

.terminal-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 13px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}
.dot.red { background: #fb7185; }
.dot.amber { background: #fbbf24; }
.dot.green { background: #34d399; }

.terminal-title {
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-30px);
}

.terminal {
  padding: 26px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.8;
  color: #dbeafe;
}

.line {
  display: block;
  white-space: pre-wrap;
}

.cmd { color: #6ee7b7; }
.ok { color: #34d399; }
.warn { color: #fbbf24; }
.bad { color: #fb7185; }
.muted { color: #7c879d; }
.blue { color: #93c5fd; }

/* ---------- sections ---------- */

section {
  padding: 86px 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.section-kicker {
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.cards-3,
.cards-4,
.cards-6 {
  display: grid;
  gap: 18px;
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 26px;
  min-height: 210px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--card);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.16);
}

.card:hover {
  border-color: rgba(52, 211, 153, 0.24);
  transform: translateY(-3px);
  transition: all 0.2s ease;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  margin-bottom: 20px;
  background: rgba(52, 211, 153, 0.09);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--green);
  font-size: 20px;
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- chaos / control split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.chaos,
.control {
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  min-height: 390px;
  position: relative;
  overflow: hidden;
}

.chaos {
  background:
    radial-gradient(circle at top left, rgba(251, 113, 133, 0.16), transparent 26rem),
    rgba(18, 25, 40, 0.64);
}

.control {
  background:
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.16), transparent 26rem),
    rgba(18, 25, 40, 0.64);
  border-color: rgba(52, 211, 153, 0.22);
}

.split h3 {
  font-size: 30px;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}

.split p {
  color: var(--muted);
  margin-bottom: 22px;
}

.mess-list {
  display: grid;
  gap: 11px;
}

.mess-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 14px;
}

.mess-item span:last-child {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
}

.status-flow {
  margin-top: 24px;
  display: grid;
  gap: 11px;
}

.status-line {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.19);
  font-family: var(--mono);
  font-size: 13px;
  color: #d1fae5;
}

.reject-line {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(251, 113, 133, 0.07);
  border: 1px solid rgba(251, 113, 133, 0.2);
  font-family: var(--mono);
  font-size: 13px;
  color: #fecdd3;
}

/* ---------- comparison table ---------- */

.comparison {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(18, 25, 40, 0.72);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
}

th {
  color: var(--text);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.035);
}

td {
  color: var(--muted);
  font-size: 15px;
}

tr:last-child td {
  border-bottom: none;
}

td strong {
  color: var(--text);
}

.pm-col {
  color: #d1fae5;
  background: rgba(52, 211, 153, 0.035);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 26px;
  min-height: 240px;
  border-radius: var(--radius-lg);
  background: rgba(18, 25, 40, 0.7);
  border: 1px solid var(--border);
}

.num {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.2);
  font-weight: 800;
  margin-bottom: 28px;
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.step-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- quote band ---------- */

.quote-band {
  padding: 44px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(52, 211, 153, 0.24);
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.16), transparent 30rem),
    rgba(18, 25, 40, 0.72);
  text-align: center;
}

.quote-band h2 {
  font-size: clamp(36px, 5vw, 68px);
  margin-bottom: 18px;
}

.quote-band p {
  color: var(--muted);
  font-size: 19px;
  max-width: 820px;
  margin: 0 auto 28px;
}

/* ---------- audience ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.audience-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(18, 25, 40, 0.74);
  border: 1px solid var(--border);
}

.audience-card h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 13px;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 11px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 34px 0;
  color: var(--muted-2);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--green);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .cards-4,
  .cards-6,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 86px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 10, 16, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    color: var(--muted);
    font-size: 15px;
    z-index: 60;
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nav-links.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a:not(.btn) {
    padding: 10px 12px;
    border-radius: 8px;
  }

  .nav-links a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-links .btn {
    margin-top: 6px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    padding-top: 58px;
  }

  .cards-3,
  .cards-4,
  .cards-6,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .terminal {
    font-size: 12.5px;
    padding: 18px;
  }

  th,
  td {
    padding: 14px;
    font-size: 13px;
  }
}

/* ---------- long-form prose (policies, help, blog) ---------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 1.5rem 2rem;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}
.prose > * + * { margin-top: 1.1rem; }
.prose h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.prose h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 2.5rem 0 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
}
.prose h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 2rem;
}
.prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 1.75rem 0 0.3rem;
  color: var(--text);
}
.prose p { color: var(--text); margin: 0; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.prose a:not(.btn):hover { text-decoration: none; }
.prose .btn-primary { color: #04100b; text-decoration: none; }
.prose .btn-secondary { color: var(--text); text-decoration: none; }
.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--green);
}
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid var(--green);
  background: rgba(52, 211, 153, 0.05);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-style: italic;
}
.prose ul, .prose ol {
  padding-left: 1.5rem;
  color: var(--text);
}
.prose li + li { margin-top: 0.35rem; }
.prose .policy-toc li { margin: 0; }
.prose .policy-toc li + li { margin-top: 0; }
.prose strong { color: var(--text); font-weight: 700; }
.prose .muted { color: var(--muted); }

.code-block {
  max-width: 720px;
  margin: 1.5rem auto;
  padding: 1.1rem 1.25rem;
  background: rgba(5, 8, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d1fae5;
  overflow-x: auto;
}

/* ---------- policies page specifics ---------- */

.policy-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.25rem !important;
}

.policy-toc {
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--card);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.policy-toc-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.policy-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.policy-toc li { margin: 0; }
.policy-toc a {
  color: var(--green);
  text-decoration: none;
  display: inline-block;
  line-height: 21px;
  font-size: 15px;
}
.policy-toc a:hover { text-decoration: underline; text-underline-offset: 2px; }

.policy-keyval {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.6rem 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.policy-keyval dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.85rem;
  padding-top: 0.15rem;
}
.policy-keyval dd { margin: 0; color: var(--text); }
@media (max-width: 640px) {
  .policy-keyval { grid-template-columns: 1fr; gap: 0.25rem 0; }
  .policy-keyval dt { padding-top: 0.5rem; }
  .policy-keyval dt:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 0.6rem;
    margin-top: 0.4rem;
  }
  .policy-keyval dd { margin-bottom: 0.3rem; }
}

.policy-contact {
  margin-top: 3rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

/* ---------- /challenge post-key UI ---------- */

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.copy-row .code-block {
  flex: 1 1 320px;
  margin: 0;
  min-width: 0;
}
.copy-btn {
  flex: 0 0 auto;
  height: auto;
  min-height: 44px;
  padding: 0 1.1rem;
  font-size: 0.85rem;
}
.copy-btn.btn-copied {
  background: var(--green);
  color: #04100b;
  border-color: var(--green);
}

.agent-select,
.pm-user-input {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(5, 8, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 120ms ease;
  width: 100%;
}
.agent-select { cursor: pointer; }
.agent-select:focus,
.pm-user-input:focus { border-color: var(--green); }
.pm-user-input { font-family: var(--mono); }    :root {
      --bg: #070a10;
      --bg-soft: #0c111c;
      --card: rgba(18, 25, 40, 0.78);
      --card-strong: rgba(22, 31, 50, 0.95);
      --border: rgba(255, 255, 255, 0.09);
      --border-strong: rgba(52, 211, 153, 0.42);
      --text: #f5f7fb;
      --muted: #9ba6bb;
      --muted-2: #687287;
      --green: #34d399;
      --green-dark: #10b981;
      --red: #fb7185;
      --amber: #fbbf24;
      --blue: #60a5fa;
      --purple: #a78bfa;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
      --radius-xl: 28px;
      --radius-lg: 20px;
      --radius-md: 14px;
      --max: 1180px;
      --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
      --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font);
      background:
        radial-gradient(circle at top left, rgba(52, 211, 153, 0.13), transparent 34rem),
        radial-gradient(circle at top right, rgba(251, 113, 133, 0.11), transparent 32rem),
        radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.07), transparent 42rem),
        var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

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

    .container {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(18px);
      background: rgba(7, 10, 16, 0.7);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-inner {
      height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-weight: 800;
      letter-spacing: -0.04em;
      font-size: 20px;
    }

    .logo-dot {
      width: 10px;
      height: 10px;
      background: var(--green);
      border-radius: 999px;
      box-shadow: 0 0 24px rgba(52, 211, 153, 0.9);
    }

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

    .nav-links a:not(.btn):hover {
      color: var(--text);
    }

    .nav-toggle {
      display: none;
      width: 40px;
      height: 40px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.03);
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
    }

    .nav-toggle-bar {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      height: 48px;
      padding: 0 22px;
      border-radius: 999px;
      font-weight: 750;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--green), #6ee7b7);
      color: #04100b;
      box-shadow: 0 14px 40px rgba(52, 211, 153, 0.25);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 54px rgba(52, 211, 153, 0.36);
    }

    .btn-secondary {
      border-color: rgba(255, 255, 255, 0.12);
      color: var(--text);
      background: rgba(255, 255, 255, 0.035);
    }

    .btn-secondary:hover {
      border-color: rgba(255, 255, 255, 0.22);
      background: rgba(255, 255, 255, 0.06);
      transform: translateY(-2px);
    }

    .hero {
      position: relative;
      padding: 92px 0 76px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.02fr 0.98fr;
      gap: 46px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 8px 13px;
      border: 1px solid rgba(52, 211, 153, 0.25);
      border-radius: 999px;
      color: #b9f7dc;
      background: rgba(52, 211, 153, 0.06);
      font-family: var(--mono);
      font-size: 13px;
      margin-bottom: 24px;
    }

    .pulse {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--green);
      box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
      animation: pulse 1.8s infinite;
    }

    @keyframes pulse {
      70% {
        box-shadow: 0 0 0 12px rgba(52, 211, 153, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
      }
    }

    h1 {
      font-size: clamp(48px, 7vw, 86px);
      line-height: 0.96;
      letter-spacing: -0.075em;
      margin-bottom: 26px;
    }

    .gradient-text {
      background: linear-gradient(135deg, #ffffff, #cbd5e1 38%, #6ee7b7 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-copy {
      max-width: 650px;
      color: var(--muted);
      font-size: 20px;
      line-height: 1.75;
      margin-bottom: 34px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .trust-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
    }

    .chip {
      padding: 8px 11px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.09);
      background: rgba(255, 255, 255, 0.035);
      color: #cbd5e1;
      font-size: 13px;
    }

    .hero-card {
      position: relative;
      border: 1px solid var(--border);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
        rgba(10, 15, 24, 0.86);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: -1px;
      background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), transparent 35%, rgba(251, 113, 133, 0.18));
      pointer-events: none;
      opacity: 0.7;
      mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      padding: 1px;
      border-radius: inherit;
    }

    .terminal-top {
      height: 54px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 20px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      color: var(--muted-2);
      font-family: var(--mono);
      font-size: 13px;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 999px;
    }

    .dot.red { background: #fb7185; }
    .dot.amber { background: #fbbf24; }
    .dot.green { background: #34d399; }

    .terminal-title {
      margin-left: auto;
      margin-right: auto;
      transform: translateX(-30px);
    }

    .terminal {
      padding: 26px;
      font-family: var(--mono);
      font-size: 14px;
      line-height: 1.8;
      color: #dbeafe;
    }

    .line {
      display: block;
      white-space: pre-wrap;
    }

    .cmd { color: #6ee7b7; }
    .ok { color: #34d399; }
    .warn { color: #fbbf24; }
    .bad { color: #fb7185; }
    .muted { color: #7c879d; }
    .blue { color: #93c5fd; }

    .workflow-panel {
      margin: 0 26px 26px;
      padding: 18px;
      border-radius: 18px;
      background: rgba(255,255,255,0.035);
      border: 1px solid rgba(255,255,255,0.08);
    }

    .workflow {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      flex-wrap: wrap;
    }

    .step {
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid rgba(52, 211, 153, 0.25);
      background: rgba(52, 211, 153, 0.08);
      color: #d1fae5;
      font-size: 12px;
      font-family: var(--mono);
    }

    .action-create {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 13px;
      border-radius: 999px;
      border: 1px dashed rgba(52, 211, 153, 0.5);
      background: transparent;
      color: var(--green);
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 700;
    }

    .action-create::before {
      content: "+";
      font-size: 15px;
      line-height: 1;
      font-weight: 700;
      color: var(--green);
    }

    .arrow {
      color: var(--muted-2);
    }

    section {
      padding: 86px 0;
    }

    .section-head {
      text-align: center;
      max-width: 780px;
      margin: 0 auto 44px;
    }

    .section-kicker {
      color: var(--green);
      font-family: var(--mono);
      font-size: 13px;
      margin-bottom: 12px;
    }

    h2 {
      font-size: clamp(34px, 4.8vw, 58px);
      line-height: 1.04;
      letter-spacing: -0.06em;
      margin-bottom: 18px;
    }

    .section-head p {
      color: var(--muted);
      font-size: 18px;
    }

    .cards-3,
    .cards-4,
    .cards-6 {
      display: grid;
      gap: 18px;
    }

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

    .cards-4 {
      grid-template-columns: repeat(4, 1fr);
    }

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

    .card {
      padding: 26px;
      min-height: 210px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
        var(--card);
      box-shadow: 0 16px 60px rgba(0,0,0,0.16);
    }

    .card:hover {
      border-color: rgba(52, 211, 153, 0.24);
      transform: translateY(-3px);
      transition: all 0.2s ease;
    }

    .icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      margin-bottom: 20px;
      background: rgba(52, 211, 153, 0.09);
      border: 1px solid rgba(52, 211, 153, 0.2);
      color: var(--green);
      font-size: 20px;
    }

    .card h3 {
      font-size: 21px;
      line-height: 1.2;
      letter-spacing: -0.025em;
      margin-bottom: 12px;
    }

    .card p {
      color: var(--muted);
      font-size: 15.5px;
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
      align-items: stretch;
    }

    .chaos,
    .control {
      padding: 30px;
      border-radius: var(--radius-xl);
      border: 1px solid var(--border);
      min-height: 390px;
      position: relative;
      overflow: hidden;
    }

    .chaos {
      background:
        radial-gradient(circle at top left, rgba(251, 113, 133, 0.16), transparent 26rem),
        rgba(18, 25, 40, 0.64);
    }

    .control {
      background:
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.16), transparent 26rem),
        rgba(18, 25, 40, 0.64);
      border-color: rgba(52, 211, 153, 0.22);
    }

    .split h3 {
      font-size: 30px;
      letter-spacing: -0.045em;
      margin-bottom: 12px;
    }

    .split p {
      color: var(--muted);
      margin-bottom: 22px;
    }

    .mess-list {
      display: grid;
      gap: 11px;
    }

    .mess-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 13px 14px;
      border-radius: 14px;
      background: rgba(255,255,255,0.045);
      border: 1px solid rgba(255,255,255,0.07);
      color: #cbd5e1;
      font-size: 14px;
    }

    .mess-item span:last-child {
      color: var(--muted-2);
      font-family: var(--mono);
      font-size: 12px;
    }

    .status-flow {
      margin-top: 24px;
      display: grid;
      gap: 11px;
    }

    .status-line {
      padding: 13px 14px;
      border-radius: 14px;
      background: rgba(52, 211, 153, 0.07);
      border: 1px solid rgba(52, 211, 153, 0.19);
      font-family: var(--mono);
      font-size: 13px;
      color: #d1fae5;
    }

    .reject-line {
      padding: 13px 14px;
      border-radius: 14px;
      background: rgba(251, 113, 133, 0.07);
      border: 1px solid rgba(251, 113, 133, 0.2);
      font-family: var(--mono);
      font-size: 13px;
      color: #fecdd3;
    }

    .comparison {
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      background: rgba(18,25,40,0.72);
      box-shadow: var(--shadow);
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

    th,
    td {
      text-align: left;
      padding: 20px;
      border-bottom: 1px solid rgba(255,255,255,0.07);
      vertical-align: top;
    }

    th {
      color: var(--text);
      font-size: 15px;
      background: rgba(255,255,255,0.035);
    }

    td {
      color: var(--muted);
      font-size: 15px;
    }

    tr:last-child td {
      border-bottom: none;
    }

    td strong {
      color: var(--text);
    }

    .pm-col {
      color: #d1fae5;
      background: rgba(52, 211, 153, 0.035);
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      counter-reset: steps;
    }

    .step-card {
      position: relative;
      padding: 26px;
      min-height: 240px;
      border-radius: var(--radius-lg);
      background: rgba(18, 25, 40, 0.7);
      border: 1px solid var(--border);
    }

    .num {
      width: 42px;
      height: 42px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: rgba(52, 211, 153, 0.12);
      color: var(--green);
      border: 1px solid rgba(52, 211, 153, 0.2);
      font-weight: 800;
      margin-bottom: 28px;
    }

    .step-card h3 {
      font-size: 19px;
      margin-bottom: 10px;
      letter-spacing: -0.025em;
    }

    .step-card p {
      color: var(--muted);
      font-size: 15px;
    }

    .quote-band {
      padding: 44px;
      border-radius: var(--radius-xl);
      border: 1px solid rgba(52, 211, 153, 0.24);
      background:
        radial-gradient(circle at top left, rgba(52, 211, 153, 0.16), transparent 30rem),
        rgba(18, 25, 40, 0.72);
      text-align: center;
    }

    .quote-band h2 {
      font-size: clamp(36px, 5vw, 68px);
      margin-bottom: 18px;
    }

    .quote-band p {
      color: var(--muted);
      font-size: 19px;
      max-width: 820px;
      margin: 0 auto 28px;
    }

    .audience-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
    }

    .audience-card {
      padding: 30px;
      border-radius: var(--radius-xl);
      background: rgba(18, 25, 40, 0.74);
      border: 1px solid var(--border);
    }

    .audience-card h3 {
      font-size: 28px;
      letter-spacing: -0.04em;
      margin-bottom: 18px;
    }

    .check-list {
      display: grid;
      gap: 13px;
      list-style: none;
    }

    .check-list li {
      display: flex;
      gap: 11px;
      color: var(--muted);
    }

    .check-list li::before {
      content: "✓";
      color: var(--green);
      font-weight: 900;
    }

    .footer {
      border-top: 1px solid rgba(255,255,255,0.07);
      padding: 34px 0;
      color: var(--muted-2);
      font-size: 14px;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .footer a {
      color: var(--green);
    }

    .footer-links {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    @media (max-width: 980px) {
      .hero-grid,
      .split,
      .audience-grid {
        grid-template-columns: 1fr;
      }

      .cards-3,
      .cards-4,
      .cards-6,
      .steps {
        grid-template-columns: repeat(2, 1fr);
      }

      .nav-toggle {
        display: inline-flex;
      }

      .nav-links {
        position: fixed;
        top: 86px;
        left: 14px;
        right: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(7, 10, 16, 0.96);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
        color: var(--muted);
        font-size: 15px;
        z-index: 60;
        display: none;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.15s ease, transform 0.15s ease;
      }

      .nav-links.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
      }

      .nav-links a:not(.btn) {
        padding: 10px 12px;
        border-radius: 8px;
      }

      .nav-links a:not(.btn):hover {
        background: rgba(255, 255, 255, 0.04);
      }

      .nav-links .btn {
        margin-top: 6px;
        text-align: center;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(var(--max), calc(100% - 28px));
      }

      .hero {
        padding-top: 58px;
      }

      .cards-3,
      .cards-4,
      .cards-6,
      .steps {
        grid-template-columns: 1fr;
      }

      .hero-actions {
        flex-direction: column;
      }

      .btn {
        width: 100%;
      }

      .terminal {
        font-size: 12.5px;
        padding: 18px;
      }

      .workflow-panel {
        margin: 0 18px 18px;
      }

      th,
      td {
        padding: 14px;
        font-size: 13px;
      }
    }
