:root {
  --bg: #0b1220;
  --bg-soft: #111a2e;
  --surface: #16213a;
  --border: #243352;
  --text: #e7ecf5;
  --muted: #9fb0cc;
  --brand: #14b8a6;
  --brand-deep: #0f766e;
  --radius: 14px;
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(56, 102, 220, 0.16), transparent 55%),
    var(--bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.language-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(17, 26, 46, 0.72);
}

.language-nav a {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.language-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.language-nav a[aria-current="page"] {
  color: #04201d;
  background: var(--brand);
  font-weight: 700;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 26px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: #04201d;
}

.btn-primary:hover {
  background: #2dd4bf;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--brand);
}

.note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-shot {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */
section {
  padding: 40px 0;
}

section h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Proof */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.proof div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  background: rgba(17, 26, 46, 0.92);
}

.proof strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
}

.proof span {
  color: var(--muted);
  font-size: 12px;
}

/* Steps */
.step-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-grid-five {
  grid-template-columns: repeat(5, 1fr);
}

.step-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-grid h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Why */
.why-lede {
  color: var(--muted);
  font-size: 16px;
  max-width: 760px;
  margin: -8px 0 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

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

.before-after .why-grid {
  grid-template-columns: repeat(2, 1fr);
}

.before-after .card {
  min-height: 150px;
}

/* Handoff */
.handoff p {
  color: var(--muted);
  max-width: 760px;
  font-size: 16px;
}

.handoff code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 13px;
  color: var(--text);
}

/* Integrations */
.integration-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.integration-grid p {
  color: var(--muted);
  font-size: 16px;
}

.integration-grid pre {
  margin: 0;
  padding: 22px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #07101f;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.integration-grid code {
  color: #c9d8ef;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
}

.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 22px;
  color: var(--text);
  font-size: 14px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--brand);
  content: "✓";
}

.command-card {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.command-card span {
  color: var(--muted);
  font-size: 13px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }
  .header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .step-grid,
  .why-grid,
  .proof {
    grid-template-columns: 1fr 1fr;
  }
  .step-grid-five {
    grid-template-columns: 1fr 1fr;
  }
  .integration-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    flex-direction: column;
  }
  .header-actions {
    width: 100%;
    align-items: stretch;
  }
  .site-nav {
    justify-content: space-between;
  }
  .language-nav {
    align-self: flex-start;
    max-width: 100%;
    overflow-x: auto;
  }
  .site-nav {
    gap: 14px;
    font-size: 14px;
  }
  .step-grid,
  .why-grid,
  .proof,
  .step-grid-five {
    grid-template-columns: 1fr;
  }
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    display: none;
  }
}

.studio-demo-shot { display: block; width: 100%; height: auto; border-radius: 24px; margin: 24px 0; border: 1px solid #49454f; }
