:root {
  --ink: #0a0e1a;
  --ink-2: #111827;
  --text: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --accent-ink: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; color: var(--text); }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { background: #4338ca; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #e2e8f0; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--line); }
.btn-outline:hover { background: var(--bg-alt); box-shadow: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 26, .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; letter-spacing: -0.01em; }
.brand b { color: #a5b4fc; font-weight: 700; }
.mark { width: 30px; height: 30px; color: var(--accent); }
.links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: #cbd5e1; }
.links a:not(.btn):hover { color: #fff; }
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px; }
.menu span { display: block; height: 2px; background: #e2e8f0; margin: 6px 0; border-radius: 2px; transition: transform .2s; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #cbd5e1; padding: 88px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -240px; background: radial-gradient(circle, rgba(79, 70, 229, .35), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: #a5b4fc; border: 1px solid rgba(165, 180, 252, .25); background: rgba(79, 70, 229, .1); padding: 6px 12px; border-radius: 999px; margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; font-weight: 800; }
.grad { background: linear-gradient(90deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: #94a3b8; max-width: 600px; margin-top: 22px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.stack-row { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #94a3b8; }
.stack-row li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px; background: rgba(255, 255, 255, .03); }

.hero-visual { position: relative; }
.code-card { background: linear-gradient(180deg, #111827, #0b1020); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(79, 70, 229, .12); overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.code-bar i:first-child { background: #f87171; } .code-bar i:nth-child(2) { background: #fbbf24; } .code-bar i:nth-child(3) { background: #34d399; }
.code-bar span { margin-left: 10px; font-size: 12.5px; color: #64748b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-card pre { margin: 0; padding: 22px 22px 26px; font: 13.5px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; color: #cbd5e1; overflow-x: auto; }
.code-card .k { color: #a5b4fc; } .code-card .s { color: #67e8f9; } .code-card .n { color: #fbbf24; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--text); font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow); white-space: nowrap; }
.chip b { color: #10b981; }
.chip-a { left: -28px; bottom: -22px; }
.chip-b { right: -14px; top: -18px; }
.chip-b b { color: var(--accent); }

/* Commitments */
.commit { border-bottom: 1px solid var(--line); background: #fff; }
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.commit-grid > div { padding: 28px 24px; display: grid; gap: 4px; }
.commit-grid > div + div { border-left: 1px solid var(--line); }
.commit-grid strong { font-family: var(--display); font-size: 16px; }
.commit-grid span { font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 48px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.kicker.light { color: #a5b4fc; }
.head h2, .contact h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 800; }
.head p:not(.kicker) { color: var(--body); font-size: 17px; margin-top: 14px; }

/* Products */
.product-list { display: grid; gap: 24px; }
.product { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.product-body { padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.product-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.pill { padding: 3px 10px; border-radius: 999px; background: #eef2ff; color: var(--accent); font-weight: 600; }
.pill.live { background: #ecfdf5; color: #059669; }
.pill.live::before { content: "● "; }
.product h3 { font-size: 30px; font-weight: 800; }
.product p { color: var(--body); }
.features { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #eef2ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-sm { font-size: 12.5px; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); background: var(--bg-alt); }
.product .actions { margin-top: auto; padding-top: 8px; }
.product-shot { background: linear-gradient(135deg, #1e1b4b, #0a0e1a); padding: 40px 0 40px 40px; display: flex; align-items: center; overflow: hidden; }
.product-shot img { border-radius: 10px 0 0 10px; border-right: 0; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .08); }
.product.soon { grid-template-columns: 1fr; border-style: dashed; box-shadow: none; background: var(--bg-alt); }
.product.soon .product-body { padding: 28px 32px; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.product.soon h3 { font-size: 20px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc:hover { border-color: #c7d2fe; transform: translateY(-2px); box-shadow: var(--shadow); }
.svc svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #eef2ff; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.svc h3 { font-size: 18px; margin-bottom: 8px; }
.svc p { font-size: 15px; color: var(--body); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.steps li:first-child { border-top-color: var(--accent); }
.steps span { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--accent); }
.steps h3 { font-size: 19px; margin: 8px 0; }
.steps p { color: var(--body); font-size: 15px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-size: 21px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; font-size: 15px; color: var(--body); }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 24px 60px -28px rgba(79, 70, 229, .55); }
.plan .tag { position: absolute; top: -12px; left: 32px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--body); padding-bottom: 20px; }

/* Contact */
.contact { background: var(--ink); color: #94a3b8; position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; bottom: -300px; background: radial-gradient(circle, rgba(6, 182, 212, .18), transparent 65%); pointer-events: none; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { color: #fff; }
.contact-copy > p:not(.kicker) { margin-top: 16px; font-size: 17px; }
.contact-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-points li { display: flex; align-items: center; gap: 12px; color: #cbd5e1; }
.contact-points a:hover { color: #fff; text-decoration: underline; }
.contact-points svg { width: 20px; height: 20px; stroke: #a5b4fc; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.form { background: #fff; color: var(--text); border-radius: 18px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; font-weight: 400; padding: 11px 13px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.status { font-size: 14px; min-height: 1.4em; color: var(--body); }
.status.ok { color: #059669; } .status.err { color: #dc2626; }

/* Footer */
.footer { background: #070a13; color: #64748b; padding: 48px 0 28px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #1e293b; }
.footer-inner p { margin-top: 10px; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer nav a:hover { color: #e2e8f0; }
.copy { padding-top: 22px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; }
  .product { grid-template-columns: 1fr; }
  .product-shot { padding: 28px 0 28px 28px; }
  .services, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .commit-grid > div:nth-child(3) { border-left: 0; }
  .commit-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu { display: block; }
  .links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid #1e293b; padding: 8px 20px 20px; display: none; }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid #1e293b; }
  .links .btn { margin-top: 14px; }
  .menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding: 56px 0 72px; }
  .section { padding: 72px 0; }
  .services, .plans, .steps, .form .row { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: 1fr; }
  .commit-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .product-body { padding: 28px 24px; }
  .product h3 { font-size: 26px; }
  .chip-a { left: 8px; bottom: -18px; }
  .chip-b { right: 8px; }
  .form { padding: 24px 20px; }
  .code-card pre { font-size: 12.5px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
