:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, .09);
  --border2: rgba(15, 23, 42, .16);
  --text: #0b1220;
  --muted: #526173;
  --dim: #94a3b8;
  --brand: #059669;
  --brand2: #047857;
  --brand-dim: rgba(5, 150, 105, .08);
  --brand-border: rgba(5, 150, 105, .22);
  --navy: #0b1220;
  --danger: #ef4444;
  --max: 1120px;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(246,248,251,.96)),
    radial-gradient(ellipse 70% 38% at 50% -8%, rgba(5,150,105,.10), transparent 60%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.w { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,251,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 13px; color: var(--muted); font-weight: 600; padding: 7px 10px; border-radius: 8px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: #edf2f7; }
.mobile-demo { display: none !important; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border2); border-radius: 10px; padding: 10px 18px;
  font-weight: 700; font-size: 13.5px; color: var(--text);
}
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand2); border-color: var(--brand2); }
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--sans);
  line-height: 1.2;
}
.hero { padding: 86px 0 58px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow:before { content: ''; width: 20px; height: 1px; background: var(--brand); opacity: .65; }
h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; letter-spacing: 0; max-width: 780px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 680px; margin: 22px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.panel {
  background: var(--navy); color: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 24px 70px rgba(11,18,32,.18);
}
.panel p { color: rgba(255,255,255,.72); font-size: 14px; }
.panel-list { display: grid; gap: 10px; margin-top: 18px; }
.panel-list div { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: rgba(255,255,255,.82); }
.panel-list strong { color: #fff; display: block; margin-bottom: 2px; }
.section { padding: 82px 0; }
.section-sm { padding: 58px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-head .eyebrow { justify-content: center; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.14; letter-spacing: 0; }
.sub { color: var(--muted); max-width: 650px; margin: 14px auto 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px;
  box-shadow: 0 1px 1px rgba(15,23,42,.03);
}
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 13.5px; }
.card ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.card li:before { content: '✓'; color: var(--brand); font-weight: 800; margin-right: 8px; }
.icon { width: 38px; height: 38px; border-radius: 9px; background: var(--brand-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.flow { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.node { background: #fff; border: 1px solid var(--border2); border-radius: 9px; padding: 10px 16px; font-weight: 700; font-size: 13px; }
.node.active { background: var(--brand-dim); border-color: var(--brand-border); color: var(--brand2); }
.arrow { color: var(--brand); font-weight: 800; }
.band { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { border: 1px solid var(--border); border-radius: 999px; padding: 7px 11px; color: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 700; background: #fbfcfe; }
.cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 42px 28px 50px; text-align: center; margin-bottom: 48px; }
.cta p { color: rgba(255,255,255,.72); margin: 12px auto 24px; max-width: 620px; }
.cta .btn { margin-bottom: 14px; }
.footer { border-top: 1px solid var(--border); padding: 52px 0 32px; background: #edf2f7; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-name { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.footer-tagline { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .06em; line-height: 1.7; }
.footer h4 { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer a { display: block; font-size: 13px; color: var(--muted); padding: 3px 0; transition: color .15s; }
.footer a:hover { color: var(--brand); }
.footer-copy { font-family: var(--mono); font-size: 10.5px; color: var(--dim); letter-spacing: .05em; padding-top: 24px; border-top: 1px solid var(--border); }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 40px; height: 40px; border-radius: 9px;
  border: 1px solid var(--border2); background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px); color: var(--muted);
  cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: all .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--brand-border); color: var(--brand); }
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-inner { gap: 12px; }
  .nav-inner > .btn-primary { display: none; }
  .brand { min-width: 0; }
  .brand svg { flex-shrink: 0; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border2); padding: 18px 24px;
  }
  .nav.open .nav-links .mobile-demo {
    display: flex !important;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    color: #ffffff;
    text-align: center;
  }
}
@media (max-width: 520px) {
  .w { padding: 0 18px; }
  .hero { padding-top: 62px; }
  h1 { font-size: 34px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
