@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --navy: #0b1020;
  --navy-2: #121a33;
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --indigo-50: #eef2ff;
  --violet: #6366f1;
  --cyan: #06b6d4;
  --cyan-50: #ecfeff;
  --green: #059669;
  --amber: #d97706;
  --red: #dc2626;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, .35);
  --max: 1160px;
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 15px/1 var(--font-body);
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .35); }
.btn-primary:hover { background: var(--indigo-600); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: #cbd5e1; }
.btn svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; color: var(--ink); }
.brand svg { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links .btn { padding: 10px 18px; font-size: 14px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--bg-soft); }
  .nav-links .btn { justify-content: center; margin-top: 12px; border: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(99, 102, 241, .35), transparent 60%),
    radial-gradient(700px 400px at 70% 100%, rgba(6, 182, 212, .22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #cbd5e1;
  padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(90deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.2rem; color: #cbd5e1; max-width: 560px; margin-bottom: 2em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 16px;
}
.hero .eyebrow { color: #a5b4fc; background: rgba(99, 102, 241, .14); border: 1px solid rgba(165, 180, 252, .25); padding: 8px 14px; border-radius: 999px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 520px; }
}

/* ---------- trust strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 22px; padding-bottom: 22px; }
.strip-label { font-size: 14px; color: var(--muted); }
.strip-items { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.strip-items span { font: 600 15px/1 var(--font-head); color: #475569; letter-spacing: -.01em; }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- products ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product + .product { margin-top: 112px; }
.product.reverse .product-copy { order: 2; }
.product-copy h2 { margin-bottom: .35em; }
.product-copy .sub { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.6em; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { font: 600 12px/1 var(--font-body); padding: 7px 11px; border-radius: 999px; background: var(--indigo-50); color: var(--indigo-600); }
.pill.cyan { background: var(--cyan-50); color: #0e7490; }
.pill.live { background: #ecfdf5; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--indigo-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234f46e5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checks li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 36px; }
  .product.reverse .product-copy { order: 0; }
  .product + .product { margin-top: 80px; }
}

/* ---------- mock UI ---------- */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mock-bar b { margin-left: 10px; font: 600 13px/1 var(--font-body); color: var(--muted); }
.mock-body { padding: 20px; display: grid; gap: 14px; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.order-row .id { font: 600 14px/1.3 var(--font-body); color: var(--ink); }
.order-row .meta { font-size: 13px; color: var(--muted); grid-column: 1; }
.band { font: 700 11px/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; grid-row: 1 / span 2; grid-column: 2; }
.band.low { background: #ecfdf5; color: var(--green); }
.band.med { background: #fffbeb; color: var(--amber); }
.band.high { background: #fef2f2; color: var(--red); }
.order-row.focus { border-color: #fecaca; background: #fffafa; }
.reason { grid-column: 1 / -1; font-size: 13px; color: #991b1b; margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { font: 600 12px/1 var(--font-body); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.chip.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 12px; border-radius: 12px; background: var(--bg-soft); }
.stat b { display: block; font: 700 20px/1.2 var(--font-head); color: var(--ink); }
.stat span { font-size: 12px; color: var(--muted); }

.chat { background: #efeae2; padding: 18px 16px; display: grid; gap: 10px; }
.msg { max-width: 82%; padding: 9px 12px 10px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: #111827; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.msg.in { background: #fff; justify-self: start; border-top-left-radius: 4px; }
.msg.out { background: #d9fdd3; justify-self: end; border-top-right-radius: 4px; }
.msg small { display: block; font-size: 11px; color: #64748b; margin-top: 3px; text-align: right; }
.msg .card { margin-top: 8px; padding: 10px; border-radius: 8px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(0, 0, 0, .06); font-size: 13px; }
.msg .card b { color: var(--ink); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #075e54; color: #fff; }
.chat-head .av { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font: 700 13px var(--font-head); }
.chat-head b { font-size: 14px; display: block; line-height: 1.2; }
.chat-head span { font-size: 12px; opacity: .8; }
.ai-tag { font: 700 10px/1 var(--font-body); letter-spacing: .05em; background: rgba(255, 255, 255, .18); padding: 4px 6px; border-radius: 4px; margin-left: auto; }

/* ---------- feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card-f { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.card-f p { color: var(--muted); margin: 0; font-size: 15px; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--indigo-50), var(--cyan-50)); color: var(--indigo);
}
.ico svg { width: 22px; height: 22px; }

/* ---------- about / contact ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about p { font-size: 1.05rem; }
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 32px; } }

.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(99, 102, 241, .45), transparent 60%),
    radial-gradient(500px 300px at 10% 100%, rgba(6, 182, 212, .28), transparent 60%),
    var(--navy);
  color: #cbd5e1; padding: 56px;
}
.cta-band h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.contact-card { display: block; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.contact-card:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.contact-card span { display: block; font-size: 13px; color: #94a3b8; margin-bottom: 4px; }
.contact-card b { font-weight: 600; word-break: break-all; }
@media (max-width: 800px) { .cta-band { padding: 32px 20px; } .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #94a3b8; padding: 56px 0 32px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font: 600 14px/1 var(--font-body); margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.foot-note { margin-top: 14px; max-width: 320px; }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- legal pages ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 40px; }
.page-hero p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; padding: 48px 0 96px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-soft); font-weight: 600; }
.prose strong { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- product pages ---------- */
.p-hero { padding: 80px 0 88px; }
.p-hero .lead { max-width: 640px; }
.p-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; color: #94a3b8; }
.p-hero .meta span::before { content: "✓ "; color: #67e8f9; }
.breadcrumb { font-size: 14px; margin-bottom: 18px; color: #94a3b8; }
.breadcrumb a { color: #a5b4fc; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; counter-increment: step; }
.flow li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #fff; font: 700 14px/1 var(--font-head); margin-bottom: 14px;
}
.flow h3 { font-size: 1rem; margin-bottom: .35em; }
.flow p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .flow { grid-template-columns: 1fr; } }

.feature-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.feature-block + .feature-block { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.feature-block .copy p { color: var(--muted); }
@media (max-width: 900px) { .feature-block { grid-template-columns: 1fr; gap: 24px; } }

.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-card table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-card th, .table-card td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-card tr:last-child td { border-bottom: 0; }
.table-card th { background: var(--bg-soft); color: var(--ink); font-weight: 600; font-size: 14px; }
.table-card td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.table-card td { color: var(--ink-2); }
@media (max-width: 620px) { .table-card td:first-child { white-space: normal; } .table-card th, .table-card td { padding: 11px 12px; } }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; position: relative; font: 600 1.02rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font: 400 24px/1 var(--font-body); color: var(--indigo); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

.product-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-link { display: block; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: border-color .15s, transform .15s; }
.product-link:hover { border-color: #c7d2fe; transform: translateY(-2px); text-decoration: none; }
.product-link b { display: block; font: 700 1.3rem/1.2 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.product-link span { color: var(--indigo); font-weight: 600; font-size: 15px; }
@media (max-width: 620px) { .product-links { grid-template-columns: 1fr; } }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-left: 18px; }
