/* xPanoptes product site. Plain CSS: no external fonts, scripts or build step. */
:root {
  --navy-1: #121a33; --navy-2: #0f1528; --navy-3: #0b1020;
  --navy-grad: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  --bg: #f5f7fb; --panel: #ffffff; --line: #e1e7f0; --line-strong: #cfd8e6;
  --fg: #0f172a; --muted: #55657d;
  --accent: rgb(52 92 222); --accent-dark: rgb(122 162 255); --accent-soft: rgb(52 92 222 / .09);
  --on-dark: #e8edf7; --on-dark-muted: #aab6cc; --dark-line: rgb(255 255 255 / .09);
  --ok: #16a34a; --warn: #ca8a04; --crit: #dc2626;
  --radius: 14px; --radius-lg: 20px;
  --shadow: 0 1px 2px rgb(15 23 42 / .05), 0 12px 32px -16px rgb(15 23 42 / .22);
  --shadow-dark: 0 40px 80px -30px rgb(0 0 0 / .75);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--fg); background: var(--bg);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Focus: always visible for keyboard users. */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-dark); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--fg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(18 26 51 / .94); border-bottom: 1px solid var(--dark-line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgb(18 26 51 / .82); backdrop-filter: blur(12px); } }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.site-nav a:hover { color: #fff; background: rgb(255 255 255 / .06); }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent-dark); border-radius: 0; }
.site-nav .btn { margin-left: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: rgb(41 76 196); }
.site-nav a.btn-primary { color: #fff; padding: 9px 16px; }
.site-nav a.btn-primary:hover { background: rgb(41 76 196); }
.btn-ghost { color: var(--on-dark); border-color: rgb(255 255 255 / .28); }
.btn-ghost:hover { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .45); }
.btn-line { color: var(--fg); background: var(--panel); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Dark areas (hero, CTA band, footer) ---------- */
.dark { background: var(--navy-grad); color: var(--on-dark); }
.dark a:not(.btn) { color: var(--accent-dark); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.dark .eyebrow { color: var(--accent-dark); }

.hero { position: relative; overflow: hidden; padding: 88px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 78% -8%, rgb(52 92 222 / .32), transparent 65%),
              radial-gradient(700px 360px at 0% 0%, rgb(122 162 255 / .10), transparent 60%); }
.hero > .wrap { position: relative; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -.025em; color: #fff; max-width: 900px; margin-bottom: 20px; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--on-dark-muted); max-width: 720px; margin-bottom: 32px; }
.hero .btn-row { margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0 0 56px; color: var(--on-dark); font-size: 15px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent-dark); }
.hero-shot { position: relative; margin-bottom: -1px; }
.hero-shot .frame { border-radius: 14px 14px 0 0; border-bottom: 0; }

.page-hero { padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); color: #fff; max-width: 820px; margin-bottom: 16px; }
.page-hero .lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--on-dark-muted); max-width: 720px; }

/* Screenshot frame */
.frame { background: var(--navy-3); border: 1px solid rgb(255 255 255 / .12); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-dark); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; background: #161e38; border-bottom: 1px solid rgb(255 255 255 / .07); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.light-frame { box-shadow: var(--shadow); border-color: var(--line-strong); }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section h2.eyebrow { font-size: 13px; letter-spacing: .09em; margin-bottom: 14px; }
.section-head p, .lede { color: var(--muted); font-size: 18px; }

.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .icon + h3 { margin-top: 16px; }
.card h3:first-child { margin-top: 0; }
.icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

/* Feature spotlight: text + screenshot */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.reverse > :first-child { order: 2; }
.split + .split { margin-top: 96px; }
.split h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 14px; }
.split .lede { margin-bottom: 22px; }

ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { position: relative; padding-left: 30px; margin: 10px 0; }
ul.check li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Four-eyes flow and deployment steps */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.flow li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px; box-shadow: var(--shadow); counter-increment: step; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.flow strong { display: block; font-size: 16px; margin-bottom: 4px; }
.flow span { color: var(--muted); font-size: 14.5px; }

/* Deployment diagram */
.diagram { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; margin: 0 0 40px; padding: 28px; list-style: none;
  background: var(--navy-grad); border-radius: var(--radius-lg); color: var(--on-dark); }
.diagram .node { background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .12); border-radius: 12px; padding: 18px; }
.diagram .node.core { border-color: var(--accent-dark); background: rgb(122 162 255 / .10); }
.diagram .node.optional { border-style: dashed; }
.diagram .node strong { display: block; color: #fff; margin-bottom: 4px; }
.diagram .node span { display: block; font-size: 14px; color: var(--on-dark-muted); }
.diagram .node .tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--accent-dark); }
.diagram .link { display: grid; place-items: center; color: var(--accent-dark); font-size: 12px; text-align: center; min-width: 56px; }
.diagram .link svg { width: 28px; height: 28px; }
.diagram .link small { display: block; color: var(--on-dark-muted); font-size: 12px; line-height: 1.3; margin-top: 2px; }

/* Security list */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); overflow: hidden; box-shadow: var(--shadow); }
.trust > div { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust > div:nth-child(3n) { border-right: 0; }
.trust > div:nth-last-child(-n+3) { border-bottom: 0; }
.trust h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 8px; }
.trust h3 svg { width: 20px; height: 20px; color: var(--accent); }
.trust p { color: var(--muted); font-size: 15px; }

.sec-group + .sec-group { margin-top: 72px; }
.sec-group > h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 8px; }
.sec-group > p { color: var(--muted); font-size: 17px; max-width: 720px; margin-bottom: 28px; }

.note { border-left: 4px solid var(--warn); background: #fefbea; color: #4a3a07; padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: 15px; }
.note strong { color: #3b2f05; }

/* ---------- Packages ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.tier h3 { font-size: 24px; }
.tier .limit { color: var(--muted); margin: 6px 0 4px; font-size: 15px; }
.tier .limit strong { color: var(--fg); font-size: 22px; letter-spacing: -.01em; }
.tier .summary { color: var(--muted); font-size: 15px; margin: 8px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tier ul.check { flex: 1; margin-bottom: 24px; font-size: 15px; }
.tier.featured { border: 2px solid var(--accent); }
.badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; }
.soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; color: #713f12; background: #fef3c7; border: 1px solid #f3d27a; vertical-align: 1px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow); }
table.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
table.cmp caption { text-align: left; padding: 18px 20px 0; font-weight: 700; }
table.cmp th, table.cmp td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.cmp thead th { position: sticky; top: 0; background: #f0f3f9; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
table.cmp th.c, table.cmp td.c { text-align: center; width: 15%; }
table.cmp tbody th { font-weight: 500; }
table.cmp tr.group th { background: #f8fafd; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding-top: 18px; }
table.cmp tbody tr:last-child > * { border-bottom: 0; }
.yes, .no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.yes { background: rgb(22 163 74 / .12); color: var(--ok); }
.no { color: #8a97ab; }
.yes svg, .no svg { width: 14px; height: 14px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.facts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.facts .card strong { display: block; font-size: 28px; letter-spacing: -.02em; color: var(--fg); margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--muted); padding: 0 4px 22px; max-width: 760px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 80px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: var(--on-dark-muted); font-size: 18px; max-width: 640px; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.contact-mail { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; word-break: break-all; }
.pkg-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 18px 44px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; }
.steps li:last-child { padding-bottom: 0; }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.footer-grid p { color: var(--on-dark-muted); margin-top: 14px; max-width: 380px; }
.footer-grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--on-dark); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 8px 0; }
.site-footer a:not(.brand) { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:not(.brand):hover { color: #fff; text-decoration: underline; }
.footer-base { padding-top: 24px; color: #8b97ad; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .cols-4, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .trust > div:nth-child(2n) { border-right: 0 !important; }
  .trust > div:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diagram { grid-template-columns: 1fr; padding: 20px; }
  .diagram .link { padding: 4px 0; }
  .diagram .link svg { transform: rotate(90deg); }
  .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
}
@media (max-width: 860px) {
  .site-header .wrap { gap: 0; padding: 10px 0 0; }
  .site-nav { width: 100%; margin-left: 0; overflow-x: auto; padding: 8px 0 10px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav .btn { margin-left: auto; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .page-hero { padding: 52px 0 44px; }
  .cols-2, .cols-3, .cols-4, .facts, .facts.two, .trust, .flow, .pkg-links { grid-template-columns: 1fr; }
  .trust > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .trust > div:last-child { border-bottom: 0 !important; }
  .split + .split { margin-top: 64px; }
  .site-header { position: static; }
  .site-nav { flex-wrap: wrap; overflow: visible; gap: 2px; }
  .site-nav a { padding: 6px 9px; font-size: 14.5px; }
  .site-nav .btn { margin: 4px 0 0; width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .card, .tier { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .skip-link, .cta-band { display: none; }
  .dark { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}

/* small spacing helpers (no inline styles: the Content-Security-Policy allows style sheets only) */
.u-lead-gap { margin: 18px 0 24px; }
.u-mt-28 { margin-top: 28px; }
.u-mt-32 { margin-top: 32px; }
.u-center { text-align: center; }
.u-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
