:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg2: #0b0f15;
  --panel: #0f141c;
  --line: #1c2430;
  --line2: #2a3544;
  --ink: #e9edf3;
  --muted: #8d98a9;
  --accent: #4c8dff;
  --accent2: #7eb0ff;
  --ok: #34d399;
  --sans: "Inter Tight", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
.wrap { width: min(1200px, 100% - 56px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -40px; z-index: 40; padding: 8px 12px; background: var(--accent); color: #fff; }
.skip:focus { top: 12px; }

.hdr { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(7,9,13,.92); backdrop-filter: blur(14px); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.logo svg { color: var(--accent); flex: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-cta { padding: 9px 18px; border: 1px solid var(--line2); border-radius: 6px; color: var(--ink); }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { border-color: var(--accent); background: rgba(76,141,255,.1); }
.nav-toggle { display: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; border: 1px solid transparent; border-radius: 6px; font-size: 15px; font-weight: 600; transition: background-color .15s, border-color .15s; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); color: #06101f; }
.btn-line { border-color: var(--line2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--accent); }
.btn-lg { min-height: 60px; padding: 0 36px; font-size: 18px; }
.text-link { color: var(--accent2); font-weight: 600; }
.text-link:hover { color: var(--ink); }

.hero { position: relative; border-bottom: 1px solid var(--line); background:
  radial-gradient(800px 420px at 85% 10%, rgba(76,141,255,.16), transparent 60%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px, var(--bg);
  background-blend-mode: normal, soft-light, soft-light, normal; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; padding: 96px 0 36px; }
.page-hero { position: relative; border-bottom: 1px solid var(--line); background:
  radial-gradient(700px 280px at 90% 0%, rgba(76,141,255,.14), transparent 60%), var(--bg); }
.page-hero .wrap { padding: 72px 0 56px; }
.kicker { margin-bottom: 14px; color: var(--accent2); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 820px; font-size: clamp(40px, 5.2vw, 68px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); }
.lede { max-width: 640px; margin-top: 22px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; align-items: center; }
.actions .quiet { color: var(--muted); font-size: 15px; }
.actions .quiet a { color: var(--accent2); font-weight: 600; }

.arch { padding: 22px; border: 1px solid var(--line2); border-radius: 14px; background: rgba(13,18,26,.92); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04); }
.arch figcaption { display: flex; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 12px; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.stage { padding: 14px 16px; border: 1px solid var(--line2); border-radius: 8px; background: var(--panel); }
.stage b { display: block; font-size: 16px; font-weight: 600; }
.stage span { display: block; margin-top: 2px; color: var(--muted); font-family: var(--mono); font-size: 12.5px; }
.stage-hot { border-color: rgba(76,141,255,.6); background: rgba(76,141,255,.08); }
.link { width: 1px; height: 18px; margin: 0 auto; background: linear-gradient(var(--line2), var(--accent)); }

.facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: 28px; }
.facts div { padding: 28px 28px 8px 0; }
.facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.facts span { display: block; max-width: 240px; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.sec { padding: 96px 0; }
.sec-alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.sec-head p, .narrow { max-width: 640px; color: var(--muted); font-size: 17px; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.mt { margin-top: 22px; }
.stack { display: grid; gap: 18px; }

.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card, .pkg, .step, .work article, .insight-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.card, .insight-card { padding: 28px; }
.card p, .pkg p, .step p, .work p, .insight-card p { margin-top: 10px; color: var(--muted); }
.card h3 { font-size: 22px; }
.insight-card h2 { font-size: 26px; letter-spacing: -.02em; }
.pkg h2 { font-size: clamp(26px, 3vw, 34px); max-width: 20em; }

.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg { display: flex; flex-direction: column; padding: 28px; border-color: var(--line2); }
.pkg .meta { color: var(--accent2); font-family: var(--mono); font-size: 13px; }
.pkg h3 { margin: 12px 0 8px; font-size: 26px; letter-spacing: -.02em; }
.pkg .out { margin-top: 16px; color: var(--ink); font-weight: 600; }
.pkg ul { margin-top: 8px; }
.pkg li, .ticks li { position: relative; margin-top: 8px; padding-left: 16px; color: var(--muted); font-size: 15px; }
.pkg li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pkg .btn { margin-top: 22px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 22px 20px 24px; border-top: 2px solid var(--accent); }
.step span { color: var(--accent2); font-family: var(--mono); font-size: 12px; }
.step h3 { margin-top: 10px; font-size: 18px; }

.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work article { padding: 28px; display: flex; flex-direction: column; }
.work h3 { font-size: 20px; }
.work a { margin-top: auto; padding-top: 18px; color: var(--accent2); font-weight: 600; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.feature { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); transition: border-color .15s; color: inherit; }
.feature:hover { border-color: var(--accent); }
.feature-copy { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 26px; }
.badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 12px; border: 1px solid rgba(52,211,153,.4); border-radius: 99px; color: var(--ok); font-size: 13px; font-weight: 600; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.feature h3 { margin: 14px 0 8px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.feature-copy p { color: var(--muted); font-size: 15px; }
.go { display: inline-block; margin-top: auto; padding-top: 20px; color: var(--accent2); font-weight: 600; }
.feature-art { display: grid; place-items: center; min-height: 168px; padding: 22px 16px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, rgba(76,141,255,.22), transparent 70%), var(--bg); }
.qr { display: grid; width: min(100%, 132px); aspect-ratio: 1; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 12px; border-radius: 12px; background: #fff; }
.qr span { border-radius: 2px; background: #0b1220; }
.qr span:nth-child(3n+2), .qr span:nth-child(5n+4), .qr span:nth-child(7n+1) { background: transparent; }
.qr span:nth-child(1), .qr span:nth-child(7), .qr span:nth-child(43), .qr span:nth-child(49) { background: var(--accent); }
.sheet { display: grid; width: min(100%, 180px); gap: 10px; padding: 18px 16px; border-radius: 12px; background: #fff; }
.sheet span { height: 12px; border-radius: 3px; background: #0b1220; }
.sheet span:nth-child(2) { width: 78%; }
.sheet span:nth-child(3) { width: 92%; background: var(--accent); }
.sheet span:nth-child(4) { width: 64%; }
.deny-line { display: grid; gap: 6px; width: min(100%, 220px); padding: 16px; border-radius: 12px; background: #0b1220; font-family: var(--mono); }
.deny-line b { color: #fff; font-size: 28px; letter-spacing: -.03em; }
.deny-line span { color: #9eb6de; font-size: 12px; }

.tech { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.tech div { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--line); }
.tech div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.tech h3 { font-size: 16px; color: var(--accent2); }
.tech p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 13px; font-weight: 600; }
tr:last-child td { border-bottom: 0; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
.faq details p { margin: 0 0 16px; color: var(--muted); max-width: 70ch; }

.study { display: grid; gap: 28px; padding-top: 8px; }
.study + .study { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.study h2 { font-size: clamp(28px, 3vw, 36px); }
.study dl { display: grid; gap: 14px; }
.study dt { color: var(--accent2); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.study dd { margin: 4px 0 0; color: var(--muted); max-width: 70ch; }

.prose { max-width: 740px; }
.prose h2 { margin-top: 40px; font-size: 28px; }
.prose p, .prose li { color: var(--muted); font-size: 18px; }
.prose p { margin-top: 16px; }
.prose ul, .prose ol { margin-top: 12px; padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 8px; }
.prose a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.byline { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.end-cta { margin-top: 36px; padding: 28px; border: 1px solid var(--line2); border-radius: 12px; background: var(--panel); }
.end-cta h2 { font-size: 28px; }
.end-cta p { margin-top: 8px; color: var(--muted); }

.form { display: grid; gap: 14px; max-width: 720px; }
.form label, .field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 6px;
  background: var(--bg); color: var(--ink); font: inherit; font-weight: 400;
}
.form textarea { min-height: 120px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-weight: 500; }
.form .check input { width: auto; margin-top: 4px; }
.form-note { padding: 12px 14px; border: 1px solid var(--line2); border-radius: 8px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }

.scorecard { max-width: 760px; }
.progress { height: 4px; margin: 18px 0 22px; border-radius: 99px; background: var(--line); }
.progress b { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.q-opts { display: grid; gap: 10px; }
.q-opts button, .choice {
  text-align: left; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 8px;
  background: var(--panel); color: var(--ink); font: inherit; cursor: pointer;
}
.q-opts button:hover, .choice:hover { border-color: var(--accent); }
.q-nav { display: flex; gap: 12px; margin-top: 16px; }
.score-num { font-size: clamp(56px, 8vw, 88px); font-weight: 700; letter-spacing: -.04em; line-height: .9; }
.recs { display: grid; gap: 12px; margin-top: 22px; }
.recs a { display: block; padding: 16px 18px; border: 1px solid var(--line2); border-radius: 10px; background: var(--panel); }
.recs a:hover { border-color: var(--accent); }
.recs strong { display: block; }
.recs span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }

.mono { font-family: var(--mono); color: var(--accent2); }
.contact-in { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.contact p { margin-top: 14px; color: var(--muted); font-size: 18px; }

.ftr { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.ftr-in { display: grid; gap: 22px; padding: 32px 0 28px; }
.ftr-top, .ftr-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr nav a:hover { color: var(--ink); }
.sub { display: flex; flex-wrap: wrap; gap: 8px; }
.sub input { min-width: 220px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 6px; background: var(--bg); color: var(--ink); font: inherit; }
.sub button { min-height: 42px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--line2); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.sub button:hover { background: var(--accent); color: #fff; }

.sticky-cta { display: none; }

@media (max-width: 1000px) {
  .hero-grid, .split, .company { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding: 64px 0 28px; }
  .sec { padding: 72px 0; }
  .sec-head, .contact-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pkgs, .cards-3, .work, .products, .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .tech div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .tech { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: rgba(7,9,13,.98); }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .nav-cta { text-align: center; }
  .sticky-cta {
    display: flex; position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px;
    min-height: 48px; align-items: center; justify-content: center; border-radius: 8px;
    background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 12px 40px rgba(0,0,0,.45);
  }
  body { padding-bottom: 84px; }
  body.no-sticky { padding-bottom: 0; }
  body.no-sticky .sticky-cta { display: none; }
}
@media (max-width: 680px) {
  .wrap { width: min(1200px, 100% - 36px); }
  .lede { font-size: 18px; }
  .pkgs, .cards-3, .cards-2, .work, .products, .steps, .tech { grid-template-columns: 1fr; }
  .page-hero .wrap { padding: 48px 0 36px; }
  .ftr-top, .ftr-links { align-items: flex-start; }
  .btn-lg { width: 100%; }
}
.chat { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launcher { min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.chat-launcher:hover { background: var(--accent2); color: #06101f; }
.chat-panel { display: flex; flex-direction: column; width: min(380px, calc(100vw - 36px)); height: min(640px, calc(100vh - 120px)); border: 1px solid rgba(126,176,255,.45); border-radius: 14px; background: linear-gradient(180deg, rgba(76,141,255,.18), transparent 78px), #121a28; box-shadow: 0 28px 70px rgba(0,0,0,.62), 0 0 0 1px rgba(76,141,255,.14); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 14px 10px; border-bottom: 1px solid rgba(126,176,255,.28); background: rgba(76,141,255,.1); }
.chat-head .kicker { margin: 0; }
.chat-head strong { display: block; font-size: 16px; }
.chat-x { border: 1px solid var(--line2); background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.chat-log { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #0c121c; }
.chat-log::before { content: ""; flex: 1 1 0; min-height: 0; }
.chat-msg { flex: 0 0 auto; max-width: 90%; min-width: 0; margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg.user { align-self: flex-end; background: var(--accent); color: #fff; }
.chat-msg.bot { align-self: flex-start; background: #1a2740; border: 1px solid rgba(126,176,255,.4); border-left: 3px solid var(--accent2); }
.chat-msg a { color: var(--accent2); font-weight: 600; }
.chat-fine { margin: 0; padding: 8px 14px 10px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.chat-fine a { color: var(--accent2); font-weight: 600; }
.chat-compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; padding: 0 12px 12px; }
.chat-label { display: block; min-width: 0; }
.chat-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.chat-compose textarea { width: 100%; min-height: 52px; max-height: 120px; padding: 10px 12px; border: 1px solid rgba(126,176,255,.35); border-radius: 8px; background: #0c121c; color: var(--ink); font: inherit; font-weight: 400; resize: vertical; }
.chat-compose .btn { min-height: 52px; padding: 0 16px; }
.chat-book { padding: 0 12px 14px; color: var(--muted); font-size: 14px; }
.chat-book summary { cursor: pointer; color: var(--accent2); font-weight: 600; }
.chat-book .form { margin-top: 10px; gap: 8px; }
.chat-book textarea { min-height: 72px; }

@media (max-width: 800px) {
  .chat { right: 16px; bottom: 84px; }
  body.no-sticky .chat { bottom: 16px; }
  body.chat-open { padding-bottom: 0; }
  body.chat-open .sticky-cta { display: none; }
  body.chat-open .chat { inset: 0; }
  body.chat-open .chat-panel { flex: 1; width: 100%; height: auto; border: 0; border-radius: 0; }
  body.chat-open .chat-launcher { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
