/* SkyVirtHCI — product site theme.
   White, eye-friendly body with a deep-navy signature hero; distinctive
   details (mono eyebrows, numbered flagships, gradient keylines) so it
   reads as a designed product site, not a template.
   Self-contained: system fonts, zero external requests (air-gap friendly). */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --navy: #0a0f1f;          /* signature hero / footer */
  --navy-2: #10182e;
  --ink: #1b2334;
  --ink-dim: #4a5468;
  --ink-faint: #6b7890;
  --line: #e2e7f0;
  --line-strong: #c9d3e3;
  --accent: #2f6bff;
  --accent-2: #8b5cf6;
  --accent-ink: #1d4ed8;
  --accent-soft: #edf3ff;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #2f6bff 0%, #8b5cf6 70%, #c084fc 100%);
  --shadow-sm: 0 1px 2px rgba(13, 20, 40, 0.06), 0 1px 3px rgba(13, 20, 40, 0.09);
  --shadow-md: 0 6px 16px -4px rgba(13, 20, 40, 0.1), 0 16px 40px -8px rgba(13, 20, 40, 0.14);
  --radius: 14px;
  --maxw: 1140px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}
img, svg { max-width: 100%; }
code, pre {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
code { padding: 0.1em 0.45em; }
pre { padding: 14px 16px; overflow-x: auto; line-height: 1.55; }
pre code { background: none; border: none; padding: 0; }
::selection { background: #d7e4ff; }

/* ── Header ─────────────────────────────────────────────────────────── */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  position: sticky; top: 0; z-index: 30;
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 26px; height: 64px;
}
.nav .brand {
  font-weight: 780; font-size: 18.5px; color: var(--ink);
  display: flex; align-items: center; gap: 10px; letter-spacing: -0.2px;
}
.nav .brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav nav a { color: var(--ink-dim); font-size: 15px; font-weight: 530; }
.nav nav a:hover { color: var(--ink); text-decoration: none; }
.nav nav a.cta {
  color: #fff; background: var(--grad); padding: 8.5px 18px;
  border-radius: 10px; font-weight: 650;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.nav nav a.cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(47, 107, 255, 0.42); }
.nav .menu-btn {
  display: none; margin-left: auto; background: none; border: 1.5px solid var(--line-strong);
  border-radius: 9px; padding: 7px 11px; cursor: pointer; color: var(--ink);
  font: inherit; font-size: 14.5px; font-weight: 600;
}
.m-nav {
  display: none; border-top: 1px solid var(--line); background: #fff;
  padding: 10px 24px 16px;
}
.m-nav a { display: block; padding: 9px 2px; color: var(--ink-dim); font-weight: 550; }
.m-nav a.cta { color: var(--accent-ink); font-weight: 700; }

/* ── Layout primitives ──────────────────────────────────────────────── */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.alt > .inner, .full-bleed { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: 12px;
}
.eyebrow::before { content: "// "; color: var(--accent-2); }
h2 { font-size: 33px; margin: 0 0 10px; letter-spacing: -0.7px; line-height: 1.22; }
p.sub { color: var(--ink-dim); margin-top: 0; max-width: 72ch; font-size: 17.5px; }

/* ── Hero (deep navy, split) ────────────────────────────────────────── */
.hero-wrap {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(139, 92, 246, 0.22), transparent 62%),
    radial-gradient(820px 460px at 4% 110%, rgba(47, 107, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 540px at 30% 20%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(900px 540px at 30% 20%, #000, transparent 80%);
}
.hero-split {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 56px; align-items: center; padding: 84px 0 78px;
}
.hero { max-width: 640px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.4px;
  color: #c0d2ff; background: rgba(47, 107, 255, 0.14);
  border: 1px solid rgba(125, 160, 255, 0.35);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
}
.hero .badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.hero h1 {
  font-size: clamp(34px, 4.9vw, 54px); line-height: 1.07; margin: 0 0 22px;
  letter-spacing: -1.7px; font-weight: 820; color: #f4f7ff;
}
.hero h1 .grad {
  background: linear-gradient(110deg, #6ea0ff, #a78bfa 60%, #67e8f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19.5px; color: #aab8d4; margin: 0 0 32px; max-width: 60ch; line-height: 1.66; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(244,247,255,0.95));
  border: 1px solid rgba(170, 190, 235, 0.5); border-radius: 18px;
  box-shadow: 0 24px 70px -18px rgba(3, 8, 24, 0.65), 0 0 0 1px rgba(255,255,255,0.06);
  padding: 20px;
}
.hero-visual .cap {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--ink-faint); margin: 4px 2px 10px;
}

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 11px;
  font-weight: 650; font-size: 16px; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(47, 107, 255, 0.4); }
.btn.primary:hover { transform: translateY(-1.5px); box-shadow: 0 10px 26px rgba(47, 107, 255, 0.5); text-decoration: none; }
.btn.ghost { border: 1.5px solid var(--line-strong); color: var(--ink); background: #fff; }
.btn.ghost:hover { background: var(--bg-soft); border-color: var(--ink-faint); text-decoration: none; }
.hero .btn.ghost { background: rgba(255,255,255,0.06); color: #dde6f7; border-color: rgba(170,190,235,0.4); }
.hero .btn.ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(190,205,240,0.7); }

/* Stat band */
.statband {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; background: var(--line); border-bottom: 1px solid var(--line);
}
.statband .stat { background: #fff; padding: 26px 28px; }
.statband .stat b { display: block; font-size: 30px; letter-spacing: -1px; font-weight: 780; }
.statband .stat b .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statband .stat span { color: var(--ink-faint); font-size: 13.5px; }

/* ── Flagship differentiators (numbered split blocks) ───────────────── */
.flag {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center; padding: 34px 0;
}
.flag + .flag { border-top: 1px dashed var(--line-strong); }
.flag .num {
  font-family: var(--mono); font-weight: 700; font-size: 15px;
  color: var(--accent-ink); letter-spacing: 2px; margin-bottom: 14px; display: inline-block;
}
.flag .num::after {
  content: ""; display: inline-block; width: 54px; height: 2px; margin-left: 14px;
  vertical-align: middle; background: var(--grad);
}
.flag h3 { font-size: 27px; margin: 0 0 12px; letter-spacing: -0.6px; line-height: 1.25; }
.flag p { color: var(--ink-dim); font-size: 16.5px; margin: 0 0 14px; }
.flag ul { margin: 0; padding-left: 0; list-style: none; }
.flag ul li {
  padding: 7px 0 7px 30px; position: relative; color: var(--ink-dim); font-size: 15.3px;
}
.flag ul li::before {
  content: "→"; position: absolute; left: 2px; color: var(--accent-2); font-weight: 700;
}
.flag .pill {
  display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: #6d28d9;
  background: #f1ebfe; border: 1px solid #ddd0fb; border-radius: 999px;
  padding: 4px 12px; margin-left: 10px; vertical-align: middle;
}
.flag-visual {
  background: linear-gradient(180deg, #fdfdff, #f4f7fd);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-md); padding: 22px;
}

/* ── Cards ──────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; margin-top: 34px; }
.grid.cols3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad); opacity: 0; transition: opacity 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card .icon-chip {
  width: 42px; height: 42px; border-radius: 11px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent-ink);
}
.card .icon-chip svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.2px; }
.card p { margin: 0; color: var(--ink-dim); font-size: 15.2px; line-height: 1.68; }

/* ── Architecture ───────────────────────────────────────────────────── */
.arch { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr); gap: 48px; align-items: center; margin-top: 36px; }
.arch-figure {
  background: linear-gradient(180deg, #fdfdff, #f4f7fd);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-md); padding: 24px;
}
.arch-points { display: flex; flex-direction: column; gap: 22px; }
.arch-points .point { padding-left: 18px; border-left: 3px solid #c9d8f8; }
.arch-points .point h4 { margin: 0 0 4px; font-size: 16.5px; }
.arch-points .point p { margin: 0; color: var(--ink-dim); font-size: 14.8px; line-height: 1.62; }

/* ── Docs ───────────────────────────────────────────────────────────── */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 52px; padding: 48px 0 80px; }
.doc aside { font-size: 14.5px; }
.doc aside .group { margin-bottom: 22px; }
.doc aside .group b {
  display: block; color: var(--ink); margin-bottom: 8px;
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.2px;
}
.doc aside a {
  display: block; color: var(--ink-dim); padding: 4px 10px; margin-left: -10px;
  border-radius: 7px;
}
.doc aside a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.doc aside a.here { color: var(--accent-ink); font-weight: 650; background: var(--accent-soft); }
.doc article { max-width: 76ch; min-width: 0; }
.doc article h1 { font-size: 36px; margin-top: 6px; letter-spacing: -0.8px; }
.doc article h2 { font-size: 23px; margin-top: 44px; border-bottom: 1px solid var(--line); padding-bottom: 8px; letter-spacing: -0.3px; }
.doc article h3 { font-size: 18px; margin-top: 30px; }
.doc article table {
  border-collapse: collapse; width: 100%; font-size: 15px; margin: 16px 0;
  display: block; overflow-x: auto;                  /* never break the page on phones */
}
.doc article th, .doc article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.doc article th { background: var(--bg-soft); font-weight: 650; }
.note {
  background: var(--accent-soft); border: 1px solid #d3e1fd; border-radius: 10px;
  padding: 14px 18px; font-size: 15px; margin: 18px 0;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
footer.site { margin-top: 72px; background: var(--navy); color: #a9b6cf; }
footer.site .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 52px 24px 28px;
  display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between;
  font-size: 14px;
}
footer.site a { color: #c2cde0; }
footer.site a:hover { color: #fff; }
footer.site .cols { display: flex; gap: 60px; flex-wrap: wrap; }
footer.site b { color: #fff; display: block; margin-bottom: 10px; font-size: 14.5px; }
footer.site .col a { display: block; padding: 3px 0; }
footer.site .legal {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px; color: #7b87a0;
}

/* ── Customer portal ───────────────────────────────────────────────── */
.portal-auth { max-width: 460px; margin: 64px auto 90px; padding: 0 24px; }
.portal-auth h1 { font-size: 27px; letter-spacing: -0.5px; }
.portal-auth form label, .portal-card label { display: block; margin: 13px 0; font-size: 14.5px; color: var(--ink-dim); font-weight: 560; }
.portal-auth input, .portal-card input, .portal-card textarea, .portal-card select,
.portal-table select {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 9px; font: inherit; color: var(--ink);
  background: #fff; transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.portal-auth input:focus, .portal-card input:focus, .portal-card textarea:focus, .portal-card select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.15);
}
.portal-auth button, .portal-card button, .portal-head button { margin-top: 14px; border: none; cursor: pointer; font: inherit; }
.portal { padding: 40px 0 80px; }
.portal-nav { display: flex; gap: 22px; align-items: center; border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin-bottom: 26px; font-size: 15px; flex-wrap: wrap; }
.portal-nav a { font-weight: 560; }
.portal-nav .spacer { flex: 1; }
.portal-nav .who { color: var(--ink-faint); font-size: 13.5px; }
.portal-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.portal-head h1 { font-size: 27px; letter-spacing: -0.5px; }
.portal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin: 18px 0 26px; box-shadow: var(--shadow-sm); }
.portal-row { display: flex; gap: 16px; flex-wrap: wrap; }
.portal-row label { flex: 1; min-width: 150px; }
.portal-error { background: #fdecec; border: 1px solid #f2b8b5; color: #8c1d18;
  border-radius: 9px; padding: 11px 15px; margin: 12px 0; font-size: 14.5px; }
.portal-table-wrap { overflow-x: auto; }
.portal-table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin-top: 12px; }
.portal-table th, .portal-table td { border: 1px solid var(--line); padding: 9px 13px; text-align: left; vertical-align: top; }
.portal-table th { background: var(--bg-soft); font-weight: 650; }
.portal-table details summary { cursor: pointer; font-weight: 620; }
.sev { padding: 2.5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; }
.sev-low { background: #eef2f6; color: #57606a; }
.sev-medium { background: #fff3cd; color: #7a5c00; }
.sev-high { background: #ffe2cc; color: #99450d; }
.sev-critical { background: #fdecec; color: #8c1d18; }
.portal-stats { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.portal-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 30px; min-width: 200px; box-shadow: var(--shadow-sm); }
.portal-stat b { display: block; font-size: 32px; letter-spacing: -1px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portal-stat span { color: var(--ink-dim); font-size: 13.5px; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 56px; }
  .hero-visual { max-width: 560px; }
  .flag { grid-template-columns: 1fr; gap: 26px; }
  .flag-visual { order: 2; }
  .arch { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  section { padding: 52px 0; }
  h2 { font-size: 27px; }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .doc aside { order: 2; border-top: 1px solid var(--line); padding-top: 22px; }
  .nav nav { display: none; }
  .nav .menu-btn { display: block; }
  .m-nav.open { display: block; }
  .statband .stat { padding: 18px 20px; }
  .statband .stat b { font-size: 24px; }
  .hero h1 { letter-spacing: -1px; }
  .hero p.lead { font-size: 17.5px; }
  .flag h3 { font-size: 22px; }
}
@media (max-width: 480px) {
  body { font-size: 15.5px; }
  main, .nav, footer.site .inner, section.alt > .inner, .full-bleed { padding-left: 18px; padding-right: 18px; }
  .btn { padding: 12px 18px; font-size: 15px; width: 100%; text-align: center; }
  .hero .actions { flex-direction: column; }
  .portal-stat { min-width: 100%; }
}

/* ── Product screenshots ───────────────────────────────────────────── */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.shot {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.shot.wide { grid-column: 1 / -1; }
.shot .chrome {
  display: flex; gap: 6px; padding: 10px 14px; background: #f1f4fa;
  border-bottom: 1px solid var(--line);
}
.shot .chrome i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.shot .chrome i:nth-child(1) { background: #fda4af; }
.shot .chrome i:nth-child(2) { background: #fcd34d; }
.shot .chrome i:nth-child(3) { background: #86efac; }
.shot img { display: block; width: 100%; height: auto; }
.shot .cap {
  display: block; padding: 12px 16px; font-size: 13.5px; color: var(--ink-dim);
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.flag-shot .shot { box-shadow: var(--shadow-md); }
.flag-shot .shot:hover { transform: translateY(-2px); }
