/* =============================================================
   CVMS marketing site — LIGHT theme
   Matches the CVMS application's light UI: clean white surfaces,
   blue/cyan brand accents, high-contrast text. No light/dark flip.
   ============================================================= */

:root {
  /* Brand: pulled from the CVMS shield logo */
  --brand-1: #1e6bff;        /* deep blue */
  --brand-1-d: #154fcc;      /* darker blue for hover/active */
  --brand-2: #1cb6e0;        /* cyan accent (calmer for white bg) */
  --brand-3: #6b5dff;        /* violet accent for variety */

  /* Surfaces (light) */
  --bg:        #f5f7fc;      /* page background */
  --bg-1:      #ffffff;      /* default section bg */
  --bg-2:      #eef2fb;      /* alternating section bg */
  --panel:     #ffffff;      /* card / panel base */
  --panel-2:   #f7f9ff;      /* nested elements / chrome */
  --elev:      #ffffff;      /* hover surface */

  /* Strokes */
  --line:        rgba(15, 23, 64, 0.10);
  --line-strong: rgba(15, 23, 64, 0.18);

  /* Text */
  --text:      #0c142e;      /* near-black navy */
  --text-mute: #4a5478;      /* secondary */
  --text-dim:  #6b7494;      /* tertiary */
  --text-onbrand: #ffffff;   /* on filled brand surfaces */

  /* Status */
  --ok:    #16a574;
  --warn:  #d97706;
  --high:  #ea580c;
  --crit:  #dc2626;
  --info:  #0284c7;

  /* Layout */
  --max-w: 1320px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 4px 14px rgba(15, 23, 64, 0.06);
  --shadow:    0 14px 40px rgba(15, 23, 64, 0.08);
  --shadow-lg: 0 26px 70px rgba(30, 107, 255, 0.18);
  --glow-cyan: 0 0 0 1px rgba(28, 182, 224, 0.25), 0 8px 24px rgba(28, 182, 224, 0.12);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand-1); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--brand-1-d); }

h1, h2, h3, h4 { font-family: var(--font-sans); line-height: 1.18; margin: 0 0 0.6em; letter-spacing: -0.015em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-mute); }

p { margin: 0 0 1em; color: var(--text-mute); }

code { font-family: var(--font-mono); font-size: 0.92em; background: rgba(30, 107, 255, 0.08); padding: 0.12em 0.4em; border-radius: 4px; color: var(--brand-1-d); }

.muted { color: var(--text-dim); font-size: 0.92rem; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; top: -48px; left: 8px; padding: 10px 14px;
  background: var(--brand-1); color: #fff; border-radius: 6px; z-index: 1000;
  transition: top 0.2s ease; font-weight: 600;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ---------- Background atmosphere (light grid + soft glows) ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 107, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 107, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 80%);
}
.bg-glow { position: fixed; z-index: -1; pointer-events: none; filter: blur(90px); border-radius: 50%; opacity: 0.35; }
.bg-glow-1 { width: 620px; height: 620px; top: -160px; right: -180px; background: radial-gradient(circle at 30% 30%, rgba(30, 107, 255, 0.55), transparent 60%); }
.bg-glow-2 { width: 700px; height: 700px; top: 40vh; left: -240px; background: radial-gradient(circle at 60% 60%, rgba(28, 182, 224, 0.45), transparent 60%); opacity: 0.30; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; flex-wrap: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; flex-shrink: 0; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; }
.brand-name { font-weight: 900; letter-spacing: 0.04em; color: var(--text); font-size: 1.25rem; }
.brand-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-1); padding: 3px 8px; border: 1px solid rgba(30, 107, 255, 0.30);
  border-radius: var(--radius-pill); background: rgba(30, 107, 255, 0.06);
}
.primary-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: nowrap; }
.primary-nav a { color: var(--text-mute); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 500; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--brand-1-d); background: var(--bg-2); }
.primary-nav .nav-cta {
  color: #fff; background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  padding: 9px 18px; font-weight: 600; margin-left: 6px;
  box-shadow: 0 8px 22px rgba(30, 107, 255, 0.30);
}
.primary-nav .nav-cta:hover { color: #4A7AD9; filter: brightness(1.05); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.3s; }

.mobile-nav { display: none; flex-direction: column; padding: 12px 24px 20px; gap: 4px; border-bottom: 1px solid var(--line); background: var(--bg-1); }
.mobile-nav a { color: var(--text-mute); padding: 12px 10px; border-radius: var(--radius-sm); }
.mobile-nav a:hover { background: var(--bg-2); color: var(--brand-1-d); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.98rem; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; box-shadow: 0 14px 32px rgba(30, 107, 255, 0.30);
}
.btn-primary:hover { color: #fff; filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(30, 107, 255, 0.40); }
.btn-ghost { background: #fff; border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--bg-2); color: var(--brand-1-d); border-color: rgba(30, 107, 255, 0.45); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-1);
  background: rgba(30, 107, 255, 0.08); padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(30, 107, 255, 0.20); margin-bottom: 22px;
}
.lede { font-size: 1.14rem; max-width: 56ch; color: var(--text-mute); }
.grad {
  background: linear-gradient(120deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-row { display: flex; gap: 14px; margin: 32px 0 38px; flex-wrap: wrap; }
.hero-marks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 60ch; }
.hero-marks li { font-size: 0.96rem; color: var(--text-mute); padding-left: 26px; position: relative; }
.hero-marks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px;
  border-radius: 4px; background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.10);
}
.hero-marks strong { color: var(--text); font-weight: 700; }

/* ---------- Screenshot panels (the "screen" component) ---------- */
.hero-visual { display: grid; gap: 18px; }
.screen {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.screen-tilt { transform: perspective(1800px) rotateY(-4deg) rotateX(3deg); box-shadow: var(--shadow-lg); }
.screen-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim);
}
.screen-title { margin-left: 10px; }
.screen img { display: block; width: 100%; height: auto; }
.screen-body {
  margin: 0; padding: 18px 22px;
  font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.75;
  color: var(--text); white-space: pre; overflow-x: auto; background: #0c142e;
}
.screen-body code { background: transparent; padding: 0; color: #e8edff; }

.dot { width: 11px; height: 11px; border-radius: 50%; background: #c5cbe0; display: inline-block; }
.dot-r { background: #ff5d6c; }
.dot-y { background: #ffb547; }
.dot-g { background: #22d39a; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.18em; margin: 0 0 12px; font-weight: 700; }
.strip-tags { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.strip-tags li { font-family: var(--font-mono); font-size: 0.92rem; color: var(--text); opacity: 0.85; }

/* ---------- Section primitives ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-header { max-width: 800px; margin: 0 auto 64px; text-align: center; }
.section-header h2 { margin-bottom: 18px; }
.section-lede { font-size: 1.08rem; }
.section-lede em { font-style: italic; color: var(--text); }

/* ---------- 3-up cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(30, 107, 255, 0.30); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.10), rgba(28, 182, 224, 0.12));
  color: var(--brand-1); margin-bottom: 22px;
  border: 1px solid rgba(30, 107, 255, 0.18);
}
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; }

/* ---------- Showcase rows (alternating screenshot + copy) ---------- */
.showcase-stack { display: grid; gap: 80px; }
.showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.showcase-reverse { grid-template-columns: 1.1fr 1fr; }
.showcase-reverse .showcase-shot { order: -1; }
.showcase-copy h3 { margin-top: 12px; margin-bottom: 16px; font-size: 1.7rem; }
.showcase-shot { margin: 0; }
.showcase-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }

/* ---------- Split grid ---------- */
.split-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-reverse { grid-template-columns: 1fr 1.05fr; }
.split-reverse .screen { order: 1; }
.split-copy h3 { font-size: 1.55rem; margin-bottom: 14px; }

/* ---------- Capability bullets ---------- */
.cap-bullets { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.cap-bullets li { padding-left: 28px; position: relative; font-size: 0.96rem; color: var(--text-mute); }
.cap-bullets li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px;
  border-radius: 3px; background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.10);
}
.cap-bullets strong { color: var(--text); font-weight: 700; }

/* ---------- Executive view: definition list ---------- */
.exec-kv { margin: 18px 0 18px; display: grid; grid-template-columns: max-content 1fr; gap: 12px 22px; font-size: 0.98rem; }
.exec-kv dt {
  color: var(--brand-1); font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.10em; text-transform: uppercase; padding-top: 4px; font-weight: 700;
}
.exec-kv dd { margin: 0; color: var(--text); }

/* ---------- Report wizard steps ---------- */
.wizard-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.wizard-steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 16px 18px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.wizard-steps li:hover { border-color: rgba(30, 107, 255, 0.30); transform: translateX(4px); }
.wizard-steps li > span {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 6px 18px rgba(30, 107, 255, 0.30);
}
.wizard-steps strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 2px; }
.wizard-steps small { display: block; color: var(--text-mute); font-size: 0.86rem; line-height: 1.5; }

/* ---------- Scan compare cards ---------- */
.compare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.compare-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.compare-card:hover { transform: translateY(-3px); border-color: rgba(30, 107, 255, 0.25); box-shadow: var(--shadow-sm); }
.compare-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.compare-pill {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.compare-num { font-size: 1.9rem; font-weight: 800; color: var(--text); font-family: var(--font-mono); }
.compare-card p { margin: 0; font-size: 0.9rem; color: var(--text-mute); }

.compare-fixed   .compare-pill { background: rgba(22, 165, 116, 0.10); color: var(--ok);   border: 1px solid rgba(22, 165, 116, 0.30); }
.compare-new     .compare-pill { background: rgba(2, 132, 199, 0.10);  color: var(--info); border: 1px solid rgba(2, 132, 199, 0.30); }
.compare-regress .compare-pill { background: rgba(220, 38, 38, 0.10);  color: var(--crit); border: 1px solid rgba(220, 38, 38, 0.30); }
.compare-drift   .compare-pill { background: rgba(217, 119, 6, 0.10);  color: var(--warn); border: 1px solid rgba(217, 119, 6, 0.30); }

.compare-mock .screen { max-width: 1000px; margin: 0 auto; }

/* ---------- Security grid (4-up cells) ---------- */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sec-cell {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sec-cell:hover { border-color: rgba(30, 107, 255, 0.30); box-shadow: var(--shadow-sm); }
.sec-cell h4 { color: var(--brand-1); text-transform: none; letter-spacing: 0; font-size: 1.05rem; margin-bottom: 16px; font-weight: 700; }

/* ---------- Scalability metrics + grid ---------- */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 56px; }
.metric-card {
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.04), rgba(28, 182, 224, 0.06));
  border: 1px solid rgba(30, 107, 255, 0.18);
  border-radius: var(--radius); padding: 24px; text-align: left;
}
.metric-num {
  font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: var(--font-mono);
}
.metric-num .metric-unit { font-size: 1.2rem; margin-left: 4px; opacity: 0.9; }
.metric-label { font-size: 0.88rem; color: var(--text-mute); line-height: 1.5; }

.scale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.scale-grid h3 { font-size: 1.3rem; margin-bottom: 16px; }

/* ---------- Business value cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--brand-3));
  opacity: 0.85;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(30, 107, 255, 0.30); box-shadow: var(--shadow); }
.value-stat {
  font-size: 2.6rem; font-weight: 900; line-height: 1; margin-bottom: 14px;
  color: var(--brand-1); font-family: var(--font-mono);
}
.value-stat span { font-size: 1.4rem; margin-left: 2px; opacity: 0.85; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 0.94rem; }

/* ---------- Architecture ---------- */
.arch-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start; }
.arch-col h4 { color: var(--brand-1); margin-bottom: 18px; }
.kv { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; font-size: 0.94rem; }
.kv dt { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; }
.kv dd { margin: 0; color: var(--text); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { padding-left: 30px; position: relative; font-size: 0.95rem; color: var(--text-mute); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 18px; height: 18px; border-radius: 5px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12 L10 17 L19 8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/70% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12 L10 17 L19 8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/70% no-repeat;
}

.arch-diagram-col .arch-diagram {
  display: grid; gap: 8px; padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.arch-node {
  text-align: center; padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 0.94rem; color: var(--text);
}
.arch-node small { display: block; color: var(--text-dim); font-size: 0.78rem; margin-top: 4px; }
.arch-node-emph {
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.10), rgba(28, 182, 224, 0.14));
  border-color: rgba(30, 107, 255, 0.35);
  box-shadow: var(--glow-cyan);
}
.arch-arrow { text-align: center; color: var(--brand-1); font-size: 1.2rem; line-height: 1; }

/* ---------- NIST phase stack ---------- */
.phase-stack { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.phase {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.phase:hover { transform: translateX(6px); border-color: rgba(30, 107, 255, 0.30); box-shadow: var(--shadow-sm); }
.phase span {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 800; color: #fff; font-size: 1.05rem;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 6px 18px rgba(30, 107, 255, 0.30);
}
.phase strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 2px; }
.phase small { display: block; color: var(--text-mute); font-size: 0.92rem; line-height: 1.55; }

/* ---------- CTA ---------- */
.section-cta {
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(107, 93, 255, 0.10), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(28, 182, 224, 0.10), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta-form {
  background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; color: var(--text); font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 12px 14px; resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-1);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.15);
}
.form-note { margin: 0; font-size: 0.9rem; min-height: 1.2em; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--crit); }
.form-disclaimer { font-size: 0.82rem; color: var(--text-dim); margin: 0; }

/* Contact / legal card on the CTA panel */
.contact-card {
  margin: 28px 0 0; padding: 22px 24px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: grid; gap: 18px;
}
.contact-card > div { display: grid; grid-template-columns: 110px 1fr; gap: 6px 18px; align-items: baseline; }
.contact-card dt {
  color: var(--brand-1); font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
}
.contact-card dd { margin: 0; color: var(--text); font-size: 0.95rem; line-height: 1.55; }
.contact-card a { font-weight: 600; }

/* Honeypot anti-spam field, visually hidden but reachable to bots */
.hp-field {
  position: absolute !important;
  left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* Footer legal block */
.footer-legal {
  margin: 16px 0 0; font-size: 0.84rem; line-height: 1.6;
  color: #8590b8;
}

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--line); background: #0c142e; color: #d2dcf2; }
.site-footer h4 { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer a { color: #b9c2e0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-grid h4 { text-transform: none; letter-spacing: 0; font-size: 0.95rem; margin-bottom: 14px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { font-size: 0.94rem; }
.footer-tag { font-size: 0.9rem; color: #8590b8; margin-top: 12px; max-width: 36ch; }
.brand-footer { font-size: 1rem; color: #fff; }
.brand-footer .brand-logo { width: 48px; height: 48px; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10); color: #8590b8; font-size: 0.85rem;
  gap: 16px; flex-wrap: wrap;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 1024px) {
  .hero-grid, .compliance-grid, .cta-band, .split-grid, .split-reverse { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse .screen { order: 0; }
  .showcase, .showcase-reverse { grid-template-columns: 1fr; gap: 36px; }
  .showcase-reverse .showcase-shot { order: 0; }
  .cards-3, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-grid, .scale-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid, .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .screen-tilt { transform: none; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 48px; }
}

@media (max-width: 640px) {
  .mobile-nav[data-open="true"] { display: flex; }
  .cards-3, .value-grid, .compare-grid, .metrics-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .nav-row { height: 64px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 32px; }
  .cta-form { padding: 22px; }
  .exec-kv { grid-template-columns: 1fr; gap: 4px 0; }
  .exec-kv dt { padding-top: 10px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .value-stat, .metric-num { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .screen-tilt { transform: none; }
}


/* =============================================================
   Legal pages (privacy.html, cookies.html, terms.html)
   ============================================================= */
.legal { padding: 56px 0 96px; background: var(--bg-1); }
.legal-inner { max-width: 880px; }
.legal-eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  color: var(--brand-1); font-weight: 700; margin: 0 0 8px;
}
.legal h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 14px; color: var(--text); }
.legal-meta {
  color: var(--text-mute); font-size: 0.95rem; margin: 0 0 36px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.legal section { margin: 0 0 36px; }
.legal h2 {
  font-size: 1.35rem; margin: 0 0 14px; color: var(--text);
  scroll-margin-top: 96px;
}
.legal p, .legal li { color: var(--text); line-height: 1.7; font-size: 1.0rem; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 14px; }
.legal li { margin: 0 0 6px; }
.legal a { color: var(--brand-1); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--brand-1-d); }
.legal code {
  font-family: var(--font-mono); font-size: 0.92em;
  background: var(--panel-2); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 6px;
}
.legal-card {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 18px;
  line-height: 1.7;
}
.legal-callout {
  background: rgba(30, 107, 255, 0.06);
  border: 1px solid rgba(30, 107, 255, 0.25);
  border-left: 4px solid var(--brand-1);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 0;
}
.legal-table {
  width: 100%; border-collapse: collapse; margin: 0 0 14px;
  font-size: 0.95rem;
}
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top; padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.legal-table thead th {
  background: var(--panel-2); color: var(--text); font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}
.legal-table tr:last-child td { border-bottom: none; }
.legal .site-footer-bottom { margin-top: 48px; }

@media (max-width: 640px) {
  .legal h1 { font-size: 1.9rem; }
  .legal h2 { font-size: 1.2rem; }
  .legal-table, .legal-table thead, .legal-table tbody, .legal-table th, .legal-table td, .legal-table tr {
    display: block;
  }
  .legal-table thead { display: none; }
  .legal-table tr {
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 10px 12px; margin-bottom: 10px;
  }
  .legal-table td { border: none; padding: 6px 0; }
}


/* =============================================================
   Cookie / privacy notice (informational, no consent UI)
   ============================================================= */
.notice-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 9999; max-width: 720px; margin: 0 auto;
  background: #0c142e; color: #e8edfa;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(15, 23, 64, 0.35);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 20px;
  align-items: center;
  font-size: 0.92rem; line-height: 1.55;
  transform: translateY(120%);
  transition: transform 0.35s ease;
}
.notice-banner[data-open="true"] { transform: translateY(0); }
.notice-banner p { margin: 0; color: #e8edfa; }
.notice-banner a { color: #8ab4ff; text-decoration: underline; text-underline-offset: 3px; }
.notice-banner a:hover { color: #fff; }
.notice-banner .notice-title {
  display: block; font-weight: 700; color: #fff; margin: 0 0 4px;
  font-size: 0.95rem;
}
.notice-banner .notice-actions { display: flex; gap: 10px; flex-shrink: 0; }
.notice-banner button {
  appearance: none; cursor: pointer;
  background: var(--brand-1); color: #fff;
  border: 0; padding: 10px 18px; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  transition: background 0.15s ease;
}
.notice-banner button:hover { background: var(--brand-1-d); }
.notice-banner button.notice-secondary {
  background: transparent; color: #c8d1ee;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.notice-banner button.notice-secondary:hover {
  background: rgba(255, 255, 255, 0.08); color: #fff;
}

@media (max-width: 640px) {
  .notice-banner {
    grid-template-columns: 1fr;
    left: 8px; right: 8px; bottom: 8px;
    padding: 16px 18px;
  }
  .notice-banner .notice-actions { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .notice-banner { transition: none; }
}
