/* SPDX-License-Identifier: BUSL-1.1 */
:root {
  --bg: #0f1420;
  --bg-elev: #161d2e;
  --bg-elev2: #1d2740;
  --line: #2a3550;
  --txt: #e6ebf5;
  --txt-dim: #9aa6bf;
  --accent: #4f86ff;
  --accent-2: #8a5bff;
  --green: #2fbf71;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .35);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, #18223a 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 0%, #1a1633 0%, transparent 55%),
    var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; }

/* ---- Logo ---- */
.logo {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px;
}
.logo.small { width: 26px; height: 26px; font-size: 12px; border-radius: 7px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 5vw, 40px);
  background: rgba(15, 20, 32, .72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-name { font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.site-nav a { color: var(--txt-dim); font-size: 15px; transition: color .15s; }
.site-nav a:hover { color: var(--txt); }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: .18s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 6px 20px rgba(79, 134, 255, .35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(79, 134, 255, .45); }
.btn-ghost { border-color: var(--line); color: var(--txt); background: var(--bg-elev); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ---- Sections ---- */
main { display: block; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 40px); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(79, 134, 255, .12); padding: 5px 12px; border-radius: 20px;
}
h2 { font-size: clamp(26px, 4vw, 38px); margin-top: 16px; }
.section-sub { color: var(--txt-dim); font-size: 17px; margin-top: 14px; }

/* ---- Hero ---- */
.hero {
  max-width: 860px; margin: 0 auto; text-align: center;
  padding: clamp(70px, 12vw, 140px) clamp(16px, 5vw, 40px) clamp(40px, 7vw, 80px);
}
.hero h1 { font-size: clamp(38px, 7vw, 68px); font-weight: 800; margin: 22px 0 0; letter-spacing: -.02em; }
.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--txt-dim); margin: 26px auto 0; max-width: 660px; }
.lead strong { color: var(--txt); font-weight: 600; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.cta-row.center { margin-top: 40px; }
.hero-meta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px; color: var(--txt-dim); font-size: 14px;
}

/* ---- Pillars ---- */
.pillars {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 5vw, 40px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.card-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  background: rgba(79, 134, 255, .14); color: var(--accent); font-size: 20px; margin-bottom: 16px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p, .feature p { color: var(--txt-dim); font-size: 15px; margin: 0; }
.card em, .feature em { color: var(--txt); font-style: normal; font-weight: 600; }

/* ---- Flow ---- */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.flow-step {
  flex: 1 1 240px; max-width: 300px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.flow-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 700; margin-bottom: 14px;
}
.flow-step h4 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { color: var(--txt-dim); font-size: 15px; margin: 0; }
.flow-arrow { display: grid; place-items: center; color: var(--accent); font-size: 24px; }

/* ---- Feature grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: border-color .18s, transform .18s;
}
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }

/* ---- Tech ---- */
.section-tech { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-list {
  list-style: none; padding: 0; margin: 0 auto; max-width: 720px;
  display: grid; gap: 12px;
}
.tech-list li {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 11px;
  padding: 14px 18px; color: var(--txt-dim); font-size: 15px;
}
.tech-list strong { color: var(--txt); }

/* ---- Closing ---- */
.closing {
  text-align: center; max-width: 700px; margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) clamp(16px, 5vw, 40px);
}
.closing h2 { font-size: clamp(28px, 4.5vw, 44px); }
.closing p { color: var(--txt-dim); font-size: 18px; margin: 18px auto 32px; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-elev);
  padding: 32px clamp(16px, 5vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--txt-dim); font-size: 14px; transition: color .15s; }
.foot-links a:hover { color: var(--txt); }
.foot-copy { color: var(--txt-dim); font-size: 13px; margin: 0; width: 100%; text-align: center; padding-top: 8px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .pillars, .grid { grid-template-columns: 1fr; }
  .flow { flex-direction: column; align-items: center; }
  .flow-step { width: 100%; max-width: 360px; }
  .flow-arrow { transform: rotate(90deg); }
  .site-nav a:not(.btn) { display: none; }
}
