:root {
  --bg: #f6f7f9;
  --bg-glow-1: rgba(67, 56, 202, 0.14);
  --bg-glow-2: rgba(13, 148, 136, 0.12);
  --surface: rgba(255, 255, 255, 0.75);
  --surface-border: rgba(15, 15, 20, 0.08);
  --text: #14141a;
  --text-muted: #5c5c68;
  --accent: #4338ca;
  --accent-2: #0d9488;
  --accent-3: #b45309;
  --shadow: 0 1px 2px rgba(15, 15, 20, 0.04), 0 12px 32px -12px rgba(15, 15, 20, 0.16);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0f;
    --bg-glow-1: rgba(99, 91, 255, 0.24);
    --bg-glow-2: rgba(20, 184, 166, 0.16);
    --surface: rgba(255, 255, 255, 0.06);
    --surface-border: rgba(255, 255, 255, 0.09);
    --text: #f1f1f5;
    --text-muted: #9b9ba7;
    --accent: #818cf8;
    --accent-2: #2dd4bf;
    --accent-3: #f59e0b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 20px 48px -16px rgba(0, 0, 0, 0.6);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(60% 50% at 15% 5%, var(--bg-glow-1), transparent 60%),
    radial-gradient(50% 45% at 90% 10%, var(--bg-glow-2), transparent 60%),
    var(--bg);
}
a { color: inherit; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
nav a:hover { color: var(--text); }
nav a.nav-cta {
  color: var(--accent);
  font-weight: 650;
}
nav a.nav-cta:hover { color: var(--text); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.hero { padding: 96px 0 80px; max-width: 780px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  background: linear-gradient(120deg, var(--text), var(--accent) 65%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { border-color: var(--accent); }

section { padding: 64px 0; border-top: 1px solid var(--surface-border); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.section-lede {
  color: var(--text-muted);
  margin: 0;
  max-width: 56ch;
  font-size: 15.5px;
}
.section-head .section-lede { margin: 0 0 8px; }

/* Three-pillar orchestration band */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--surface-border);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  overflow: hidden;
}
.pillar {
  background: var(--surface);
  backdrop-filter: blur(10px);
  padding: 32px 28px;
}
.pillar h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.pillar p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  padding: 26px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.about-body { margin: 0; max-width: 68ch; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.about-body strong { color: var(--text); }

.process { display: flex; flex-direction: column; }
.process-step {
  padding: 26px 0;
  border-top: 1px solid var(--surface-border);
}
.process-step:first-child { border-top: none; }
.process-step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.process-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 62ch; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.contact-card {
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.contact-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.contact-email { font-size: 15px; font-weight: 600; }
.contact-desc { font-size: 13px; color: var(--text-muted); }

footer {
  padding: 32px 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}
footer .brand { font-size: 14px; }
footer .brand img { width: 22px; height: 22px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}
.footer-social:hover { opacity: 1; }

.diagram-frame {
  padding: 20px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}

/* Form (Request Demo) */
.form-panel {
  padding: 36px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  max-width: 620px;
}
.form-row { margin-bottom: 20px; }
.form-row:last-of-type { margin-bottom: 0; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.form-row .hint { font-weight: 400; color: var(--text-muted); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--text-muted); margin: 0; }

.form-success {
  padding: 36px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  max-width: 620px;
}
.form-success .check-badge {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.form-success h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.form-success p { margin: 0 0 4px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
