:root {
  --ink: #0b1020;
  --text: #1f2937;
  --muted: #4b5563;
  --soft: #6b7280;
  --line: #e5e7eb;
  --bg-soft: #f6f8fb;
  --brand: #0a1172;
  --brand-hover: #050a4a;
  --accent: #2563eb;
  --accent-2: #38bdf8;
  --grad: linear-gradient(90deg, #38bdf8 0%, #2563eb 55%, #0a1172 100%);
  --sky-1: #eef5ff;
  --radius-xl: 24px;
  --radius: 14px;
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1128px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 200; border-radius: 8px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { flex: none; }
.logo img { width: 140px; height: auto; }
.topbar nav { margin-left: auto; }
.menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-size: 15px; color: #374151; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); }
.menu a[aria-current="page"] { font-weight: 600; }
.topbar-cta { flex: none; }
.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 9px 18px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; text-decoration: none; line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn-sm { min-height: 36px; padding: 6px 15px; font-size: 14px; }
.btn:focus-visible, .menu a:focus-visible, .linklike:focus-visible, .menu-toggle:focus-visible {
  outline: 3px solid var(--accent-2); outline-offset: 3px;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-outline, .btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover, .btn-ghost:hover { border-color: #cbd5e1; background: #f9fafb; }
.arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-soft); }
.eyebrow {
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head { max-width: 680px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 40rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 20px; font-size: 14px; color: var(--soft); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(56, 189, 248, .16), rgba(37, 99, 235, .06) 55%, transparent 75%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.06; }

/* Product window mock */
.window {
  background: #0b1020; color: #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(10, 17, 114, .45), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  overflow: hidden;
  font-family: var(--mono); font-size: 13px;
}
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #9ca3af;
}
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #374151; display: block; }
.window-bar span { margin-left: 10px; }
.window-body { padding: 20px 22px 24px; display: grid; gap: 12px; }
.w-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.w-ok { color: #34d399; }
.w-src { color: #7dd3fc; }
.w-dst { color: #c4b5fd; }
.w-dim { color: #9ca3af; }
.w-summary {
  margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font); font-size: 14px; color: #f3f4f6;
}
.w-summary strong { color: #7dd3fc; font-weight: 600; }
.w-caption { margin-top: 12px; font-size: 12px; color: var(--soft); text-align: center; }

/* ---------- Tiles (joined) ---------- */
.tiles {
  display: grid; margin-top: 48px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.tile { padding: 28px; }
.tile + .tile { border-top: 1px solid var(--line); }
.tile h3 { font-size: 18px; letter-spacing: -0.01em; }
.tile p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--mono); font-weight: 600; color: var(--accent); margin-bottom: 12px;
}
.steps h3 { font-size: 18px; letter-spacing: -0.01em; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Products ---------- */
.cards { display: grid; gap: 20px; margin-top: 48px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex; flex-direction: column;
  background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover { border-color: #cbd5e1; box-shadow: 0 16px 40px -24px rgba(10, 17, 114, .35); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-head .eyebrow { margin: 0; }
.badge { background: #eef2ff; color: var(--brand); font-size: 12px; padding: 3px 11px; border-radius: 999px; font-weight: 600; }
.card h3 { margin-top: 12px; font-size: 24px; line-height: 1.25; }
.card > p { margin-top: 12px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; font-size: 15px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #e0f2fe; color: var(--accent);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.card .actions { margin-top: auto; }

/* ---------- Stats ---------- */
.stats-band { background: var(--ink); color: #fff; border-top: 0; }
.stats-band .eyebrow { color: var(--accent-2); }
.stats-band h2 { color: #fff; }
.stats { display: grid; gap: 32px; margin: 48px 0 0; }
.stats div { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px; }
.stats dt { font-size: 15px; color: #9ca3af; }
.stats dd {
  margin: 0 0 6px; order: -1;
  font-size: clamp(40px, 5.5vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
  background: linear-gradient(90deg, #7dd3fc, #60a5fa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Blog teaser ---------- */
.teaser-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; align-items: start; }
.about-text, .section-head .about-text { margin-top: 20px; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; letter-spacing: -0.01em; color: var(--text); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facts li { padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.facts li + li { border-top: 1px solid var(--line); }
.facts span { color: var(--soft); }
.facts strong { font-weight: 600; text-align: right; }

/* ---------- Final CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(32px, 4.6vw, 48px); }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }
.contact-line { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 17px; }
.contact-line a { text-decoration: none; font-weight: 500; }
.contact-line a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; gap: 36px; }
.footer-grid .logo img { width: 130px; }
.site-footer h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.company { margin-top: 16px; line-height: 1.7; font-style: normal; }
.copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }

/* ---------- Simple page header (subpages) ---------- */
.page-hero { padding: 72px 0 8px; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 56px); }

/* 404 */
.notfound { padding: 120px 0 140px; }
.notfound h1 { font-size: clamp(40px, 7vw, 72px); }

/* ---------- Legal page ---------- */
.legal { padding: 72px 0 120px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(36px, 5.5vw, 52px); }
.legal .updated { margin-top: 16px; color: var(--soft); font-size: 14px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 12px; }
.legal p, .legal li { color: #374151; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; background: var(--bg-soft); }
.legal a { color: var(--accent); }
.table-scroll { overflow-x: auto; }

/* ---------- Blog ---------- */
.blog { padding: 72px 0 120px; }
.blog-head h1 { font-size: clamp(38px, 6vw, 60px); }
.posts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; }
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.post-card:hover { border-color: #cbd5e1; box-shadow: 0 16px 40px -24px rgba(10, 17, 114, .35); }
.post-card h2, .post-card h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.02em; line-height: 1.25; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.post-card a:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.post-card p { margin-top: 10px; color: var(--muted); }
.post-meta { font-size: 13px; color: var(--soft); margin-bottom: 10px; }
.post-more { display: inline-block; margin-top: 16px; font-weight: 500; color: var(--accent); }
.rss-link { display: inline-block; margin-top: 28px; font-size: 14px; color: var(--muted); }

.post { padding: 64px 0 96px; }
.post .wrap { max-width: 760px; }
.crumbs { font-size: 14px; color: var(--soft); margin-bottom: 24px; }
.crumbs a { color: var(--soft); }
.post h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; }
.post .lead { max-width: none; }
.prose { margin-top: 40px; font-size: 18px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: clamp(23px, 2.8vw, 28px); letter-spacing: -0.02em; line-height: 1.25; margin: 48px 0 14px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); }
.prose blockquote {
  margin: 28px 0; padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--sky-1);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.post-cta {
  margin-top: 56px; padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--ink); color: #fff;
}
.post-cta h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.25; color: #fff; }
.post-cta p { margin-top: 10px; color: #cbd5e1; }
.post-cta .actions { margin-top: 20px; }
.post-cta .btn-primary { background: #fff; color: var(--ink); }
.post-cta .btn-primary:hover { background: #e5e7eb; }
.post-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.post-cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Cookie consent ---------- */
.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.linklike:hover { color: var(--ink); text-decoration: underline; }
.cc {
  position: fixed; z-index: 100;
  left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: flex-end;
  pointer-events: none;
}
.cc[hidden] { display: none; }
.cc-box {
  pointer-events: auto;
  width: 100%; max-width: 460px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(3, 7, 18, .18);
  padding: 24px;
  font-size: 14px; line-height: 1.55;
}
.cc-title { font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.cc-desc { color: var(--muted); }
.cc-desc a { color: var(--accent); }
.cc-prefs { margin-top: 16px; display: grid; gap: 12px; }
.cc-prefs[hidden] { display: none; }
.cc-opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cc-opt input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cc-actions .btn { flex: 1 1 auto; font-size: 14px; min-height: 38px; }
.cc-actions [hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .menu-toggle { display: block; }
  .topbar nav { margin-left: auto; }
  .menu {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: 0 20px 30px -20px rgba(3, 7, 18, .25);
  }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 12px 8px; font-size: 16px; }
  .topbar-cta { display: none; }
}
@media (max-width: 599px) {
  .hero { padding: 56px 0 72px; }
  .section { padding: 72px 0; }
  .hero .actions .btn { flex: 1 1 100%; }
  .card { padding: 26px 22px; }
  .card .actions .btn { flex: 1 1 100%; }
  .window { font-size: 12px; }
  .w-row { grid-template-columns: auto 1fr; }
  .w-row .w-dim { grid-column: 2; }
}
@media (min-width: 700px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile + .tile { border-top: 0; border-left: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .steps li { padding: 0 24px; }
  .steps li:first-child { padding-left: 0; }
  .steps li + li { border-left: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
