:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --ink: #0f1530;
  --muted: #5a6280;
  --line: #e4e7f2;
  --brand: #4f46e5;
  --brand-2: #0ea5e9;
  --accent: #14b8a6;
  --warm: #f59e0b;
  --brand-soft: #eef0ff;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 248, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2) 60%, var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; padding: 9px 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 20px rgba(15, 21, 48, .18); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(20, 184, 166, .14), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(36px, 6vw, 62px); line-height: 1.05; letter-spacing: -0.035em;
  margin: 22px 0 20px; max-width: 820px; font-weight: 800;
}
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 48px; color: var(--muted); font-size: 14px; }
.hero-meta strong { color: var(--ink); display: block; font-size: 15px; }

/* Sections */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.15; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative;
}
.product { display: flex; flex-direction: column; gap: 14px; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.ic-blue { background: #e8f4ff; color: #0369a1; }
.ic-violet { background: var(--brand-soft); color: var(--brand); }
.ic-teal { background: #e6faf7; color: #0f766e; }
.ic-amber { background: #fff6e5; color: #b45309; }
.badge { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.badge-live { background: #e6faf7; color: #0f766e; }
.badge-soon { background: #fff6e5; color: #b45309; }
.product h3 { font-size: 22px; margin: 0; letter-spacing: -0.02em; }
.product .tag { color: var(--muted); font-size: 14px; margin-top: -8px; }
.product p { color: var(--muted); margin: 0; }
.features { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.features li { display: flex; gap: 10px; font-size: 15px; }
.features li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3E%3Cpath d='M8.1 13.6 4.6 10l1.3-1.3 2.2 2.2 5.9-5.9 1.3 1.3z'/%3E%3C/svg%3E") center/14px no-repeat; }
.product .btn { align-self: flex-start; margin-top: 6px; }

.value h3 { font-size: 18px; margin: 16px 0 8px; }
.value p { color: var(--muted); margin: 0; font-size: 15px; }

.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.about p { color: var(--muted); font-size: 17px; }
.facts { display: grid; gap: 0; padding: 8px 28px; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fact:last-child { border-bottom: 0; }
.fact span:first-child { color: var(--muted); }
.fact span:last-child { font-weight: 600; text-align: right; }

.contact-box {
  background: linear-gradient(135deg, #1e1b4b, #0f1530 60%, #083344);
  color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.contact-box h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 12px; letter-spacing: -0.03em; }
.contact-box p { color: #c7cbe0; margin: 0; }
.contact-list { display: grid; gap: 14px; }
.contact-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 18px; }
.contact-item small { display: block; color: #a5abc8; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-item a { color: #fff; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 84px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-grid ul a { color: var(--ink); }
.legal-line { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Legal pages */
.legal { padding: 64px 0 24px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.03em; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 36px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #333a56; }
.legal ul { padding-left: 22px; }
.legal .card { padding: 36px 40px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about, .contact-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-links a:not(.btn) { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  section { padding: 60px 0; }
  .card { padding: 24px; }
  .contact-box { padding: 32px 24px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal .card { padding: 24px 20px; }
}
