/* Verbros Technologies — site styles
   Layout: left-aligned editorial on deep navy, one bold "lens" moment in the hero,
   computer-vision detection brackets as the recurring motif; light "paper" bands for dense technical detail. */

@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-variable.woff2") format("woff2-variations"), url("../fonts/jetbrains-mono-variable.woff2") format("woff2");
}

:root {
  /* colour — taken from the logo: sky #2EA1DA, deep #0A5980 */
  --ink: #04131d;
  --ink-2: #071f2e;
  --ink-3: #0b2a3d;
  --deep: #0a5980;
  --sky: #2ea1da;
  --ice: #a9dcf3;
  --text: #e6f1f7;
  --muted: #93b3c5;
  --line: rgba(169, 220, 243, 0.14);
  --line-strong: rgba(169, 220, 243, 0.28);
  --paper: #eef6fa;
  --paper-2: #ffffff;
  --paper-text: #0a2433;
  --paper-muted: #47606e;
  --paper-line: rgba(10, 89, 128, 0.16);
  --ok: #4fd1a5;
  --warn: #f2b84b;

  /* type */
  --font: "Archivo Variable", "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  --step-4: clamp(2.4rem, 1.3rem + 4vw, 4.4rem);

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky); color: var(--ink); }

.wrap { width: min(1220px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sky); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.wide { font-stretch: 125%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: rgba(4, 19, 29, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(4, 19, 29, 0.92); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-stretch: 125%; font-weight: 750; letter-spacing: 0.16em; font-size: 1.02rem; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.34em; color: var(--muted); font-weight: 500; font-stretch: 112%; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--text);
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover { background: rgba(46, 161, 218, 0.1); }
.nav-link[aria-current] { color: var(--sky); }
.nav-link .chev { width: 10px; height: 10px; transition: transform 0.2s ease; }
.has-menu.open .chev { transform: rotate(180deg); }

.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 460px; padding: 10px;
  background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  display: none; list-style: none;
}
.has-menu.open .menu { display: grid; gap: 2px; }
@media (hover: hover) and (min-width: 961px) {
  .has-menu:hover .menu, .has-menu:focus-within .menu { display: grid; gap: 2px; }
  .has-menu:hover .chev { transform: rotate(180deg); }
  .has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
}
.menu a { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; text-decoration: none; }
.menu a:hover, .menu a:focus-visible { background: rgba(46, 161, 218, 0.1); }
.menu .m-name { font-stretch: 125%; font-weight: 750; letter-spacing: 0.08em; font-size: 0.9rem; color: var(--sky); }
.menu .m-desc { font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.menu .m-desc b { display: block; color: var(--text); font-weight: 600; font-size: 0.92rem; }
.menu .m-all { grid-template-columns: 1fr; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; font-size: 0.88rem; color: var(--ice); }

.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px; background: var(--ink); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.05rem; border-radius: 6px; }
  .menu { position: static; transform: none; width: 100%; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 8px; }
  .menu a { grid-template-columns: 64px 1fr; padding: 10px 8px; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 8px;
  font-family: inherit; font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--sky); color: #031520; }
.btn-primary:hover { background: #57b8e6; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(46, 161, 218, 0.04); }
.btn-ghost:hover { border-color: var(--sky); background: rgba(46, 161, 218, 0.1); }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.paper .btn-ghost { color: var(--paper-text); border-color: var(--paper-line); }
.text-link { color: var(--sky); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(46, 161, 218, 0.4); padding-bottom: 1px; }
.text-link:hover { border-bottom-color: var(--sky); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--step-3); font-stretch: 118%; letter-spacing: -0.015em; }
.section-head p { color: var(--muted); max-width: 52ch; }
.paper .section-head p { color: var(--paper-muted); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ice); margin-bottom: 18px; }
.kicker::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--sky); border-right: 0; border-bottom: 0; }

.paper { background: var(--paper); color: var(--paper-text); }
.paper .muted { color: var(--paper-muted); }
.paper .kicker { color: var(--deep); }
.band { background: var(--ink-2); border-block: 1px solid var(--line); }

/* detection-bracket frame */
.frame { position: relative; }
.frame::after {
  --c: var(--sky); --l: 22px; --t: 2px;
  content: ""; position: absolute; inset: -8px; pointer-events: none;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) top left / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) top right / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) top right / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) bottom left / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) bottom left / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) bottom right / var(--t) var(--l);
  background-repeat: no-repeat;
}
.frame-tag {
  position: absolute; top: -8px; left: 30px; transform: translateY(-50%); z-index: 2;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--sky); color: #031520; padding: 3px 8px; border-radius: 3px; white-space: nowrap;
}
.art { border-radius: 14px; overflow: hidden; background: #051826; border: 1px solid var(--line); }
.art svg { width: 100%; height: auto; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(169, 220, 243, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 220, 243, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -220px; pointer-events: none;
  background: radial-gradient(circle, rgba(46, 161, 218, 0.20), rgba(10, 89, 128, 0.10) 40%, transparent 68%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--step-4); font-stretch: 125%; font-weight: 760; line-height: 1.0; letter-spacing: -0.025em; }
.hero h1 .line { display: block; }
.hero h1 .soft { color: var(--ice); font-weight: 400; }
.lede { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem); color: var(--muted); max-width: 56ch; margin-top: 26px; }
.hero .btn-row { margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; list-style: none; color: var(--muted); font-size: 0.93rem; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; background: var(--sky); transform: rotate(45deg); flex-shrink: 0; }
.lens { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1; }
.lens svg { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lens { max-width: 440px; }
}

/* lens animation */
.lens .sweep { transform-origin: 300px 515px; animation: sweep 9s ease-in-out infinite alternate; }
.lens .det { opacity: 0; animation: det 9s ease-in-out infinite; }
.lens .det.d1 { animation-delay: 0.4s; }
.lens .det.d2 { animation-delay: 2.2s; }
.lens .det.d3 { animation-delay: 4s; }
.lens .det.d4 { animation-delay: 5.8s; }
.lens .det.d5 { animation-delay: 7.2s; }
.lens .ring-spin { transform-origin: 300px 300px; animation: spin 80s linear infinite; }
.lens .pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes sweep { from { transform: rotate(-17deg); } to { transform: rotate(17deg); } }
@keyframes det { 0%, 4% { opacity: 0; } 10%, 55% { opacity: 1; } 65%, 100% { opacity: 0.0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- Intro / statement ---------- */
.statement { font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.3rem); font-stretch: 108%; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; text-wrap: pretty; }
.statement strong { color: var(--sky); font-weight: 700; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.audience { border-top: 2px solid var(--sky); padding-top: 22px; display: grid; gap: 14px; align-content: start; }
.audience h3 { font-size: var(--step-2); font-stretch: 115%; }
.audience p { color: var(--muted); }
.paper .audience p { color: var(--paper-muted); }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 7px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg) translateY(-50%); }
.paper .ticks li::before { border-color: var(--deep); }

/* ---------- Product bento (home) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.tile {
  grid-column: span 6; position: relative;
  background: linear-gradient(180deg, var(--ink-2), rgba(7, 31, 46, 0.6));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 22px; min-width: 0;
  transition: border-color 0.25s ease;
}
.tile:hover { border-color: var(--line-strong); }
.tile.w7 { grid-column: span 7; }
.tile.w5 { grid-column: span 5; }
.tile .art { flex: 1; display: flex; align-items: center; }
.tile-body { display: grid; gap: 10px; }
.tile-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pname { font-stretch: 125%; font-weight: 780; letter-spacing: 0.1em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; }
.ptype { font-size: 0.9rem; color: var(--ice); font-weight: 500; }
.tile p { color: var(--muted); }
.where { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.76rem; color: var(--ice); border: 1px solid var(--line-strong); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.where::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.tile .btn-row { margin-top: 6px; }
@media (max-width: 900px) { .tile, .tile.w7, .tile.w5 { grid-column: 1 / -1; } }

/* ---------- Pipeline / steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 0 22px 0 0; counter-increment: step; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: 0.8rem; font-weight: 600; color: var(--sky);
  display: flex; align-items: center; gap: 12px; height: 28px;
}
.steps li::after { content: ""; position: absolute; top: 14px; left: 36px; right: 14px; height: 1px; background: linear-gradient(90deg, var(--sky), rgba(46, 161, 218, 0.1)); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.18rem; font-stretch: 112%; }
.steps p { color: var(--muted); font-size: 0.98rem; }
.paper .steps p { color: var(--paper-muted); }
.paper .steps li::before { color: var(--deep); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 52px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .steps li::after { top: 34px; bottom: -22px; left: 12px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--sky), rgba(46, 161, 218, 0.1)); }
}

/* ---------- Architecture (edge → cloud) ---------- */
.arch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.arch-col { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 18px; align-content: start; position: relative; min-width: 0; }
.arch-col + .arch-col { border-left: 1px solid var(--line); }
.arch-col + .arch-col::before {
  content: ""; position: absolute; left: -11px; top: 38px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5l5 5-5 5' fill='none' stroke='%232ea1da' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--line-strong); z-index: 1;
}
.arch-col h3 { font-size: 1.15rem; font-stretch: 115%; }
.arch-col .where-label { font-family: var(--mono); font-size: 0.75rem; color: var(--sky); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { font-size: 0.86rem; padding: 6px 12px; border-radius: 6px; background: rgba(46, 161, 218, 0.08); border: 1px solid var(--line); color: var(--text); }
.paper .chips li { background: var(--paper-2); border-color: var(--paper-line); color: var(--paper-text); }
.arch-col p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 860px) {
  .arch { grid-template-columns: 1fr; }
  .arch-col + .arch-col { border-left: 0; border-top: 1px solid var(--line); }
  .arch-col + .arch-col::before { left: 30px; top: -11px; transform: rotate(90deg); }
}

/* ---------- Capability list ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.cap { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.cap:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.cap h3 { font-size: 1.14rem; font-stretch: 112%; }
.cap p { color: var(--muted); font-size: 0.98rem; }
.paper .cap-grid, .paper .cap { border-color: var(--paper-line); }
.paper .cap p { color: var(--paper-muted); }
@media (max-width: 900px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .cap:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .paper .cap:nth-child(even) { border-left-color: var(--paper-line); }
}
@media (max-width: 600px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap:nth-child(even) { padding-left: 0; border-left: 0; }
  .cap { padding-right: 0; }
}

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; }
.principle { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.principle svg { width: 34px; height: 34px; color: var(--sky); }
.principle h3 { font-size: 1.08rem; font-stretch: 112%; }
.principle p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 980px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.industries li { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--paper-line); background: var(--paper-2); border-radius: 12px; min-width: 0; }
.industries b { font-stretch: 110%; font-size: 1.02rem; }
.industries span { color: var(--paper-muted); font-size: 0.93rem; line-height: 1.5; }
.industries .uses { font-family: var(--mono); font-size: 0.74rem; color: var(--deep); }
@media (max-width: 860px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .industries { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #0a4d6f 0%, var(--deep) 35%, #06324a 100%); border-radius: 22px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band::after {
  content: ""; position: absolute; right: -40px; bottom: -120px; width: 380px; height: 460px; pointer-events: none;
  background: rgba(46, 161, 218, 0.22);
  clip-path: polygon(50% 100%, 0 12%, 18% 4%, 50% 0, 82% 4%, 100% 12%);
}
.cta-band h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-stretch: 118%; letter-spacing: -0.01em; position: relative; z-index: 1; }
.cta-band p { color: #cfe8f5; margin-top: 14px; max-width: 48ch; position: relative; z-index: 1; }
.cta-band .contact-mini { position: relative; z-index: 1; display: grid; gap: 14px; }
.cta-band .btn-primary { background: #fff; color: var(--deep); }
.cta-band .btn-primary:hover { background: var(--ice); }
.contact-mini .line { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: 0.98rem; }
.contact-mini .line span:first-child { font-family: var(--mono); font-size: 0.74rem; color: var(--ice); width: 52px; }
.contact-mini a { text-decoration: none; font-weight: 600; }
.contact-mini a:hover { text-decoration: underline; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.page-hero::after {
  content: ""; position: absolute; width: 760px; height: 760px; right: -280px; top: -320px; pointer-events: none;
  background: radial-gradient(circle, rgba(46, 161, 218, 0.16), transparent 65%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem); font-stretch: 122%; letter-spacing: -0.02em; line-height: 1.04; max-width: 20ch; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; list-style: none; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sky); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

/* ---------- Products index (products page) ---------- */
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.prow:first-child { border-top: 0; padding-top: 0; }
.prow.flip .prow-art { order: 2; }
.prow-text { display: grid; gap: 18px; min-width: 0; }
.prow-text .pname { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); }
.prow-text .tagline { font-size: var(--step-1); font-weight: 500; color: var(--text); font-stretch: 105%; }
.prow-text p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 4px; }
.facts div { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.facts dt { font-family: var(--mono); font-size: 0.74rem; color: var(--sky); }
.facts dd { margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) {
  .prow { grid-template-columns: 1fr; }
  .prow.flip .prow-art { order: 0; }
}

/* comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--paper-line); border-radius: 14px; background: var(--paper-2); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.95rem; table-layout: fixed; }
.compare thead th:first-child { width: 15%; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.compare thead th { font-stretch: 125%; letter-spacing: 0.08em; font-size: 1rem; color: var(--deep); background: #f6fafc; }
.compare thead th:first-child { color: var(--paper-muted); letter-spacing: 0; font-stretch: 100%; font-size: 0.85rem; font-weight: 500; }
.compare tbody th { font-weight: 600; color: var(--paper-muted); font-size: 0.88rem; width: 16%; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare a { color: var(--deep); font-weight: 750; text-decoration: none; }
.compare a:hover { text-decoration: underline; }

/* ---------- Product detail ---------- */
.p-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.p-hero::after {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -360px; pointer-events: none;
  background: radial-gradient(circle, rgba(46, 161, 218, 0.17), rgba(10, 89, 128, 0.08) 45%, transparent 68%);
}
.p-hero .wrap { position: relative; z-index: 1; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.p-hero .pname { font-size: clamp(3rem, 2rem + 4.6vw, 5.6rem); letter-spacing: 0.08em; }
.p-hero .ptype { font-size: var(--step-1); margin-top: 14px; display: block; }
.p-hero h1 { margin: 0; }
.p-hero .tagline { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); font-stretch: 110%; font-weight: 600; line-height: 1.25; margin-top: 26px; max-width: 26ch; text-wrap: balance; }
.p-hero .lede { margin-top: 16px; }
.p-hero .btn-row { margin-top: 30px; }
@media (max-width: 960px) { .p-hero-grid { grid-template-columns: 1fr; } }

.keyfacts-band { border-block: 1px solid var(--line); background: var(--ink-2); }
.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; }
.keyfacts div { padding: 22px clamp(16px, 2vw, 28px); display: grid; gap: 4px; min-width: 0; align-content: start; }
.keyfacts div:first-child { padding-left: 0; }
.keyfacts div + div { border-left: 1px solid var(--line); }
.keyfacts dt { font-family: var(--mono); font-size: 0.74rem; color: var(--sky); }
.keyfacts dd { margin: 0; font-weight: 500; font-size: 0.98rem; line-height: 1.45; }
@media (max-width: 860px) {
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfacts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .keyfacts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 40; background: rgba(4, 19, 29, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.subnav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { display: block; padding: 14px 12px; font-size: 0.9rem; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav ul a:hover { color: var(--text); }
.subnav ul a.active { color: var(--text); border-bottom-color: var(--sky); }
.subnav .btn { flex-shrink: 0; }
@media (max-width: 700px) { .subnav .btn { display: none; } }

.overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.overview h2 { font-size: var(--step-3); font-stretch: 118%; letter-spacing: -0.015em; }
.prose { display: grid; gap: 18px; color: var(--muted); max-width: 62ch; }
.prose strong { color: var(--text); font-weight: 600; }
.paper .prose { color: var(--paper-muted); }
.paper .prose strong { color: var(--paper-text); }
@media (max-width: 860px) { .overview { grid-template-columns: 1fr; } }

.problem-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.problem-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.problem-list .was { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); padding-top: 3px; }
.problem-list .now { font-size: 0.98rem; }
@media (max-width: 520px) { .problem-list li { grid-template-columns: 1fr; gap: 4px; } }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.feature { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feature .f-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(46, 161, 218, 0.12); color: var(--sky); }
.feature .f-ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; font-stretch: 110%; }
.feature p { color: var(--muted); font-size: 0.95rem; }
.feature .metric { font-family: var(--mono); font-size: 0.76rem; color: var(--ice); padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 4px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.specs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.spec-table { border-top: 2px solid var(--deep); }
.spec-table div { display: grid; grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--paper-line); }
.spec-table dt { font-weight: 600; font-size: 0.93rem; color: var(--paper-text); }
.spec-table dd { margin: 0; color: var(--paper-muted); font-size: 0.96rem; }
.spec-table code, .prose code { font-family: var(--mono); font-size: 0.85em; background: rgba(10, 89, 128, 0.08); color: var(--deep); padding: 1px 6px; border-radius: 4px; }
.spec-side { display: grid; gap: 18px; position: sticky; top: 160px; }
.spec-side h2 { font-size: var(--step-3); font-stretch: 118%; letter-spacing: -0.015em; }
.spec-side p { color: var(--paper-muted); }
.chipcard { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 14px; padding: 20px; display: grid; gap: 12px; }
.chipcard h3 { font-size: 0.98rem; font-stretch: 110%; }
.chipcard dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 0.88rem; }
.chipcard dt { font-family: var(--mono); color: var(--deep); font-size: 0.78rem; padding-top: 2px; }
.chipcard dd { margin: 0; color: var(--paper-muted); }
@media (max-width: 900px) {
  .specs { grid-template-columns: 1fr; }
  .spec-side { position: static; }
  .spec-table div { grid-template-columns: 1fr; gap: 4px; }
}

.prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.prompt { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); align-items: start; }
.prompt .who { width: 36px; height: 36px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: var(--ice); }
.prompt q { quotes: none; font-size: 1.02rem; }
.prompt .does { display: block; margin-top: 8px; font-size: 0.86rem; color: var(--muted); }
.prompt .does b { color: var(--sky); font-weight: 600; font-family: var(--mono); font-size: 0.74rem; margin-right: 6px; }
@media (max-width: 760px) { .prompts { grid-template-columns: 1fr; } }

.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.role { display: grid; gap: 14px; align-content: start; border-top: 2px solid var(--sky); padding-top: 20px; min-width: 0; }
.role h3 { font-size: 1.2rem; font-stretch: 112%; }
.role .ticks { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) { .roles { grid-template-columns: 1fr; } }

.usecases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); list-style: none; }
.usecases li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; min-width: 0; }
.usecases li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.usecases b { font-stretch: 110%; font-size: 1.05rem; }
.usecases span { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 760px) { .usecases { grid-template-columns: 1fr; } .usecases li:nth-child(even) { padding-left: 0; border-left: 0; } }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--sky) 0 0) center/14px 2px no-repeat, linear-gradient(var(--sky) 0 0) center/2px 14px no-repeat; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; max-width: 70ch; }

.next-product { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 32px; border-top: 1px solid var(--line); }
.next-product a { text-decoration: none; display: grid; gap: 4px; }
.next-product .label { font-size: 0.85rem; color: var(--muted); }
.next-product .pname { font-size: 1.5rem; }
.next-product a:hover .pname { color: var(--sky); }

/* ---------- About ---------- */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mv article { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.mv h3 { font-size: 0.95rem; color: var(--sky); font-weight: 600; }
.mv p { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); font-stretch: 106%; line-height: 1.35; font-weight: 500; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.hq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hq address { font-style: normal; font-size: 1.15rem; line-height: 1.6; }
@media (max-width: 760px) { .hq { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.channels { display: grid; gap: 14px; }
.channel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.channel .c-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(46, 161, 218, 0.12); color: var(--sky); display: grid; place-items: center; }
.channel .c-ico svg { width: 22px; height: 22px; }
.channel h3 { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.channel .value { font-size: 1.12rem; font-weight: 600; margin-top: 2px; word-break: break-word; user-select: all; }
.channel address { font-style: normal; font-size: 1.02rem; line-height: 1.55; margin-top: 2px; }
.channel .c-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 0.9rem; }
.copy-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--sky); cursor: pointer; font-weight: 600; }
.copy-btn:hover, .channel .c-actions a:hover { text-decoration: underline; }
.channel .c-actions a { color: var(--sky); text-decoration: none; font-weight: 600; }

.form-card { background: var(--paper); color: var(--paper-text); border-radius: 22px; padding: clamp(24px, 3.4vw, 44px); position: relative; color-scheme: light; }
.form-card h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-stretch: 116%; }
.form-card > p { color: var(--paper-muted); margin-top: 10px; }
.enquiry-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 12px 8px 14px; border-radius: 999px; background: rgba(10, 89, 128, 0.1); color: var(--deep); font-weight: 600; font-size: 0.9rem; }
.enquiry-chip button { border: 0; background: none; cursor: pointer; color: var(--deep); font-size: 1.1rem; line-height: 1; padding: 0 2px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--paper-muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--paper-text);
  background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 10px; padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(46, 161, 218, 0.2); }
.field .err { font-size: 0.82rem; color: #b42318; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #d92d20; }
.field.invalid .err { display: block; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--paper-muted); font-size: 0.85rem; max-width: 40ch; }
.form-card .btn-primary { background: var(--deep); color: #fff; }
.form-card .btn-primary:hover { background: #0c6a98; }
.form-card .btn-primary[disabled] { opacity: 0.6; cursor: progress; }
.form-status { border-radius: 14px; padding: 22px; margin-top: 24px; display: grid; gap: 10px; }
.form-status.ok { background: #e3f6ee; border: 1px solid #a6e1c7; }
.form-status.fail { background: #fff6e6; border: 1px solid #f3d29a; }
.form-status h3 { font-size: 1.1rem; }
.form-status p { color: var(--paper-muted); }
.form-status a { color: var(--deep); font-weight: 600; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #030f17; border-top: 1px solid var(--line); padding-block: 64px 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand p { color: var(--muted); margin-top: 18px; max-width: 36ch; font-size: 0.95rem; }
.site-footer h3 { font-size: 0.86rem; color: var(--ice); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: 0.95rem; }
.site-footer ul a { text-decoration: none; color: var(--muted); }
.site-footer ul a:hover { color: var(--text); }
.site-footer address { font-style: normal; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 22px; padding-block: 80px; }
.notfound .code { font-family: var(--mono); color: var(--sky); }

/* contrast for cards sitting on a band */
.band .prompt, .band .feature, .band .principle { background: var(--ink); }

/* SVG illustration text + motion */
.ill text { font-family: var(--font); }
.ill .m { font-family: var(--mono); }
.ill .pulse { animation: pulse 2.4s ease-in-out infinite; }
.ill .flow { animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .lens .det { opacity: 1; animation: none; }
  .lens .sweep { animation: none; }
}
