/* Visiflex Labs: one visual world, taken from the shop banner (deep navy, the V's cyan-to-royal blue). */
:root {
  --night: #02060d;          /* banner top edge */
  --navy: #061225;           /* page */
  --deep: #0a1e3a;           /* panels, the banner's glow */
  --line: #15345c;           /* rules and borders */
  --text: #f2f5f9;           /* banner off-white */
  --muted: #94a8c4;          /* secondary text */
  --cyan: #01f1fd;           /* the V, light edge */
  --sky: #18b4ff;            /* the V, middle */
  --royal: #1f5fe0;          /* the V, dark edge */
  --grad: linear-gradient(90deg, var(--cyan), var(--sky) 45%, var(--royal));
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --wide: "Michroma", "Sora", "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  color-scheme: dark;
  /* layout: one centred column; product sections alternate text and picture on a two-column grid */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0; max-width: 65ch; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker {
  font: 400 0.72rem/1.4 var(--wide);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
}
.lede { font-size: 1.15rem; color: var(--muted); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: rgba(2, 6, 13, 0.85); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: auto; flex: none; }
.brand span { font: 400 0.95rem/1 var(--wide); letter-spacing: 0.12em; }
.brand b { color: var(--sky); font-weight: 400; }
.nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero with the banner's floor grid */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; background:
  radial-gradient(60% 80% at 80% 40%, rgba(24, 120, 220, 0.28), transparent 70%),
  linear-gradient(180deg, var(--night), var(--navy)); }
.hero::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -40px; height: 220px;
  background-image: linear-gradient(rgba(24, 180, 255, 0.18) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(24, 180, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 32px; transform: perspective(300px) rotateX(58deg); transform-origin: bottom;
  mask-image: linear-gradient(transparent, #000 60%); -webkit-mask-image: linear-gradient(transparent, #000 60%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 22px; }
.hero .tag { font: italic 400 1rem/1 var(--body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 0.98rem/1 var(--body);
  text-decoration: none; border: 1.5px solid var(--sky); color: var(--text); background: transparent; }
.btn.primary { background: var(--grad); color: var(--night); border-color: transparent; }
.btn:hover { color: var(--text); border-color: var(--cyan); }
.btn.primary:hover { color: var(--night); filter: brightness(1.08); }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.head { display: grid; gap: 12px; margin-bottom: 36px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--muted); }
.card .kicker { color: var(--cyan); }
.status { justify-self: start; font: 600 0.75rem/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status.live { border-color: var(--sky); color: var(--sky); }

/* Feature rows: text beside picture, alternating */
.row { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }
.row + .row { margin-top: 56px; }
.row.flip > :first-child { order: 2; }
.row .copy { display: grid; gap: 12px; }
.row .copy p { color: var(--muted); }
.shot { margin: 0; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: var(--deep); }
.shot figcaption { font-size: 0.82rem; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 0.9rem;
  background: repeating-linear-gradient(45deg, var(--deep), var(--deep) 12px, #0c2445 12px, #0c2445 24px); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; background: var(--deep); }
.stats div { padding: 22px; text-align: center; display: grid; gap: 4px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { font: 800 2.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.stats span { font: 400 0.7rem/1.4 var(--wide); letter-spacing: 0.16em; text-transform: uppercase; }
.stats small { color: var(--muted); font-size: 0.85rem; }

/* Comparison and price tables */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-weight: 700; }
td:first-child { color: var(--muted); }
tr td:last-child, tr th:last-child { color: var(--text); }
th:last-child { color: var(--sky); }

.price { display: grid; gap: 18px; grid-template-columns: 1.1fr 1fr; align-items: start; }
.price .card { gap: 14px; }
.amount { font: 800 3rem/1 var(--display); font-variant-numeric: tabular-nums; }
.amount small { font: 500 1rem/1 var(--body); color: var(--muted); }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
ul.ticks li { padding-left: 26px; position: relative; color: var(--muted); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font: 600 1.05rem/1.4 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--sky); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; }

/* Prose pages (docs, support, legal) */
.prose { display: grid; gap: 16px; }
.prose h2 { margin-top: 24px; font-size: 1.5rem; }
.prose h3 { margin-top: 8px; }
.prose p { color: var(--muted); }
.prose ol, .prose ul { margin: 0; padding-left: 1.3em; color: var(--muted); max-width: 65ch; }
.prose li + li { margin-top: 6px; }
.note { border-left: 3px solid var(--sky); background: var(--deep); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--muted); max-width: 65ch; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.9em; background: var(--deep); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--night); padding: 40px 0; color: var(--muted); font-size: 0.92rem; }
.site-foot .wrap { display: flex; gap: 28px; justify-content: space-between; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

@media (max-width: 760px) {
  .row, .price { grid-template-columns: 1fr; }
  .row.flip > :first-child { order: 0; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .nav { margin-left: 0; width: 100%; gap: 16px; }
  .hero { padding: 56px 0 64px; }
}
