/* ─── Design tokens — zinc palette (matches the platform) ──────────────── */
:root {
  --bg:         #09090b;
  --surface:    #18181b;
  --surface-2:  #1f1f23;
  --border:     #27272a;
  --border-lt:  #34343a;
  --text:       #fafafa;
  --muted:      #a1a1aa;
  --dim:        #71717a;
  --accent:     #3b82f6;
  --accent-lt:  #60a5fa;
  --danger:     #ef4444;
  --warning:    #f59e0b;
  --success:    #22c55e;
  --radius:     8px;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:       'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-lt); text-decoration: none; }
a:hover { color: var(--text); }
img { display: block; max-width: 100%; }

/* ─── Typography ───────────────────────────────────────────────────────── */
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; }
h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--muted); }

.label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 0.9rem;
}

/* ─── Layout ───────────────────────────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; border-top: 1px solid var(--border); }

.section-head { max-width: 660px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head p { margin-top: 0.6rem; font-size: 1.02rem; }

/* ─── Nav ──────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,11,0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-logo:hover { color: var(--text); }
.nav-logo span { color: var(--muted); font-weight: 400; }
.nav-logo .mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #f4f3ee;
  border: 1px solid var(--border);
  padding: 3px;
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.85rem; font-weight: 450; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5em 1.1em;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 550;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: background .15s, border-color .15s, opacity .15s;
}
.btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-lt); }
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover { opacity: 0.88; background: var(--text); color: var(--bg); }
.btn-lg { padding: 0.7em 1.5em; font-size: 0.95rem; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero { border-top: none; padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 0%, rgba(59,130,246,0.10), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.3em 0.8em;
  border-radius: 99px;
  margin-bottom: 1.4rem;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .grad {
  background: linear-gradient(95deg, var(--accent-lt), #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.1rem; max-width: 460px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; margin-top: 2rem; flex-wrap: wrap; }

/* ─── Window mockup (hero + demo) ──────────────────────────────────────── */
.window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.window-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.window-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
}
.window-body { padding: 18px 18px 20px; font-family: var(--mono); font-size: 0.78rem; line-height: 1.85; }
.t-prompt { color: var(--accent-lt); }
.t-cmd    { color: var(--text); }
.t-dim    { color: var(--dim); }
.t-ok     { color: var(--success); }
.t-warn   { color: var(--warning); }
.t-info   { color: var(--accent-lt); }

/* dashboard-style summary rows inside window */
.win-rows { display: flex; flex-direction: column; }
.win-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font); font-size: 0.8rem;
}
.win-row:last-child { border-bottom: none; }
.win-row .k { color: var(--muted); }
.win-row .v { font-family: var(--mono); font-weight: 600; }

/* ─── Trust bar ────────────────────────────────────────────────────────── */
.trust { padding: 28px 0; border-top: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-grid > div { text-align: center; }
.trust .v { font-size: 1.55rem; font-weight: 650; letter-spacing: -0.02em; }
.trust .v span { color: var(--accent-lt); }
.trust .l { font-size: 0.78rem; color: var(--dim); margin-top: 3px; }

/* ─── Value props ──────────────────────────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.value-card .vc-icon {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-lt);
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.value-card h3 { margin-bottom: 7px; }
.value-card p { font-size: 0.88rem; }

/* ─── Capabilities ─────────────────────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.cap {
  padding: 26px 28px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.cap:nth-child(2n) { border-right: none; }
.cap:nth-last-child(-n+2):nth-child(odd) { border-bottom: none; }
.cap:last-child { border-bottom: none; }
.cap .cap-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cap .cap-ico {
  width: 3px; height: 16px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.cap h3 { font-size: 0.98rem; }
.cap p { font-size: 0.87rem; }

/* ─── Architecture ─────────────────────────────────────────────────────── */
.arch { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.arch-layer {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
}
.arch-layer + .arch-connector { height: 24px; margin-left: 75px; width: 1px; background: var(--border-lt); }
.arch-side { display: flex; flex-direction: column; gap: 5px; }
.arch-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent-lt);
}
.arch-side h3 { font-size: 0.92rem; }
.arch-items { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-chip {
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3em 0.7em;
}
.arch-chip.hl { color: var(--accent-lt); border-color: rgba(59,130,246,0.4); }

/* ─── Compliance ───────────────────────────────────────────────────────── */
.std-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.std-card {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  align-items: flex-start;
}
.std-tag {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  border: 1px solid var(--border-lt);
  padding: 0.4em 0.7em;
  border-radius: 6px;
  white-space: nowrap;
}
.std-card h3 { font-size: 0.95rem; margin-bottom: 5px; }
.std-card p { font-size: 0.85rem; }

/* ─── CTA ──────────────────────────────────────────────────────────────── */
.cta {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(59,130,246,0.12), transparent 70%);
}
.cta h2 { margin-bottom: 0.9rem; }
.cta p { font-size: 1.05rem; max-width: 500px; margin: 0 auto 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--dim);
}
.footer-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); }
.footer-logo img {
  width: 20px; height: 20px;
  border-radius: 5px;
  background: #f4f3ee;
  padding: 2px;
}
.footer-logo span { font-weight: 400; color: var(--dim); }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--dim); }
.footer-nav a:hover { color: var(--text); }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .value-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { border-right: none; }
  .cap:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid var(--border); }
  .std-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .arch-layer { grid-template-columns: 1fr; gap: 12px; }
  .arch-layer + .arch-connector { margin-left: 24px; }
}
@media (max-width: 560px) {
  .nav-links a:not(.btn) { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
