/* ============================================================
   VOKT marketing site — shared design system
   Brand spec (app-aligned, per Website Copy Overhaul §6):
     · Headings: Arial (bold)      · Body: Literata
     · Primary:  #2249B7 (VOKT blue, CTAs + highlights)
     · Logo:     black "V" on transparent
   Light theme only. Loaded by every page; page-specific tweaks
   live in a small <style> block on the page itself.
   ============================================================ */

:root {
  /* Brand */
  --brand:        #2249b7;
  --brand-ink:    #1a3a94;   /* hover / active */
  --brand-tint:   #eef2fb;   /* soft highlight background */
  --brand-tint-2: #dbe4f7;   /* highlighted table column */

  /* Neutrals */
  --ink:        #14161a;     /* headings, logo, dark surfaces */
  --ink-soft:   #33383f;
  --surface:    #ffffff;
  --surface-alt:#f6f7f9;     /* alternating section background */
  --surface-dk: #14161a;     /* terminal / demo blocks */
  --muted:      #5b616b;
  --border:     #e4e7ec;

  /* Semantic */
  --green:      #157a4b;
  --green-tint: rgba(21, 122, 75, 0.10);
  --warn:       #b4540a;

  /* Type */
  --font-heading: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-body:    "Literata", Georgia, "Times New Roman", serif;
  --font-mono:    "Berkeley Mono", "SF Mono", "Fira Code", ui-monospace, monospace;

  /* Spacing */
  --space-xs: 4px;  --space-sm: 8px;  --space-md: 16px;
  --space-lg: 24px; --space-xl: 48px; --space-2xl: 64px; --space-3xl: 96px;

  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga' 1, 'kern' 1;
}
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

/* ── Nav ───────────────────────────────────────────────── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-lg);
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.1rem; color: var(--ink); letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-logo svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: var(--space-lg); }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.82rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.01em; transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: var(--space-md); }
.nav-login {
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
  transition: color 0.15s; white-space: nowrap;
}
.nav-login:hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.5rem; font-family: var(--font-heading);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; border: 1.5px solid transparent; cursor: pointer;
  border-radius: 8px; transition: background 0.15s, opacity 0.15s, transform 0.1s, border-color 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: none; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { opacity: 0.9; }
.nav-cta { padding: 0.5rem 1.15rem; font-size: 0.72rem; border-radius: 7px; }

/* ── Sections ──────────────────────────────────────────── */
.section {
  padding: var(--space-3xl) var(--space-lg);
  max-width: var(--maxw); margin: 0 auto;
}
.section-alt { background: var(--surface-alt); }
.section-label {
  font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: var(--space-md);
}
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); max-width: 22ch;
}
.section-sub {
  font-size: 1rem; color: var(--muted); max-width: 52ch;
  margin-top: var(--space-md); line-height: 1.65;
}
.section-head-center { text-align: center; }
.section-head-center h2, .section-head-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  padding: clamp(7rem, 14vh, 11rem) var(--space-lg) clamp(3rem, 7vh, 6rem);
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-xl); align-items: center;
}
.hero-label {
  font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: var(--space-md);
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700;
  line-height: 1.06; letter-spacing: -0.03em; color: var(--ink);
}
.hero h1 span { color: var(--brand); }
.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.18rem); color: var(--muted);
  max-width: 46ch; margin: var(--space-lg) 0 var(--space-md); line-height: 1.6;
}
.hero-support {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
  color: var(--ink-soft); letter-spacing: 0.02em; margin-bottom: var(--space-xl);
}
.hero-ctas { display: flex; gap: var(--space-md); flex-wrap: wrap; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { margin-top: var(--space-md); }
}

/* ── Terminal / demo blocks (dashboard + verified answers) ─ */
.hero-visual, .demo-block, .ocr-after {
  background: var(--surface-dk); color: #cfd3da;
  font-family: var(--font-mono); border-radius: 10px;
}
.hero-visual {
  padding: var(--space-lg); position: relative; font-size: 0.76rem;
  line-height: 1.8; overflow: hidden;
}
.hero-visual .dots { position: absolute; top: 12px; left: 14px; display: flex; gap: 6px; }
.hero-visual .dots span { width: 10px; height: 10px; border-radius: 50%; }
.hero-visual .dots span:nth-child(1) { background: #e0533f; }
.hero-visual .dots span:nth-child(2) { background: #e8b23f; }
.hero-visual .dots span:nth-child(3) { background: #3fb069; }
.hero-visual .content { padding-top: 22px; }
.demo-block {
  margin-top: var(--space-xl); padding: var(--space-xl);
  font-size: 0.82rem; line-height: 1.7; overflow-x: auto; position: relative;
}
.demo-prompt, .hero-visual .prompt { color: #6f9bff; font-weight: 600; }
.demo-prompt::before, .hero-visual .prompt::before { content: '> '; color: #6b7280; }
.demo-response, .hero-visual .response { color: #e5e7eb; margin: var(--space-sm) 0 var(--space-md); }
.hero-visual .response { margin-bottom: var(--space-md); }
.demo-cite, .hero-visual .source {
  color: #8b8f98; font-size: 0.72rem;
  border-top: 1px solid #2a2d33; padding-top: var(--space-sm); margin-top: var(--space-sm);
}
.hero-visual .source { font-size: 0.68rem; }
.badge, .demo-badge {
  font-family: var(--font-heading); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #4fd08a;
  background: rgba(79, 208, 138, 0.14); padding: 0.18rem 0.55rem; border-radius: 4px;
}
.hero-visual .badge { display: inline-block; font-size: 0.55rem; margin-bottom: var(--space-sm); }
.demo-badge { position: absolute; top: var(--space-md); right: var(--space-md); font-size: 0.6rem; }

/* ── Pillars grid (Four Pillars of VOKT) ───────────────── */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg); margin-top: var(--space-2xl);
}
.pillar {
  padding: var(--space-lg); background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  border-top: 3px solid var(--brand);
}
.pillar h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}
.pillar p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ── Capability grid (generic feature list) ────────────── */
.cap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg); margin-top: var(--space-xl);
}
.cap-item { padding: var(--space-lg) 0; border-top: 1px solid var(--border); }
.cap-item h3 {
  font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}
.cap-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; max-width: 40ch; }

/* ── Deployment mode cards ─────────────────────────────── */
.mode-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg); margin-top: var(--space-2xl);
}
.mode-card {
  padding: var(--space-lg); border: 1px solid var(--border);
  border-radius: 12px; background: var(--surface); display: flex; flex-direction: column;
}
.mode-card .mode-name {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: var(--brand); margin-bottom: var(--space-xs);
}
.mode-card .mode-best {
  font-size: 0.78rem; color: var(--muted); margin-bottom: var(--space-md);
}
.mode-card .mode-best b { color: var(--ink); font-weight: 600; }
.mode-card > p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: var(--space-md); }
.mode-card ul { list-style: none; margin-top: auto; }
.mode-card li {
  font-size: 0.84rem; color: var(--muted); padding-left: 1.3rem; position: relative;
  margin-bottom: var(--space-xs); line-height: 1.5;
}
.mode-card li::before {
  content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 0.8rem;
}
@media (max-width: 720px) { .mode-grid { grid-template-columns: 1fr; } }

/* ── Deployment quick-cards (homepage carousel row) ────── */
.deploy-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md); margin-top: var(--space-xl);
}
.deploy-chip {
  padding: var(--space-md); border: 1px solid var(--border); border-radius: 10px;
  text-align: center; background: var(--surface);
}
.deploy-chip strong { font-family: var(--font-heading); font-size: 0.9rem; color: var(--ink); display: block; }
.deploy-chip span { font-size: 0.76rem; color: var(--muted); }
@media (max-width: 640px) { .deploy-row { grid-template-columns: repeat(2, 1fr); } }

/* ── Guardrails strip / trust signals ──────────────────── */
.guardrails-strip {
  display: flex; gap: var(--space-xl); align-items: flex-start;
  margin-top: var(--space-xl); flex-wrap: wrap;
}
.guard-item {
  display: flex; align-items: center; gap: var(--space-sm);
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
}
.guard-check {
  width: 20px; height: 20px; background: var(--green-tint); border-radius: 5px;
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}

/* ── Bullet list (compliance / feature bullets) ────────── */
.check-list { list-style: none; margin-top: var(--space-lg); }
.check-list li {
  font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6;
  padding-left: 1.7rem; position: relative; margin-bottom: var(--space-sm); max-width: 60ch;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0.05rem;
  color: var(--green); font-weight: 700;
}

/* ── OCR demo (before → after) ─────────────────────────── */
.ocr-demo {
  display: grid; grid-template-columns: 1fr 32px 1fr; gap: 0;
  align-items: stretch; margin-top: var(--space-xl);
}
.ocr-before {
  background: var(--surface-alt); padding: var(--space-lg);
  border: 1px solid var(--border); border-radius: 10px 0 0 10px;
  font-size: 0.85rem; color: var(--muted);
}
.ocr-arrow {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; color: var(--brand);
}
.ocr-after { padding: var(--space-lg); font-size: 0.78rem; color: #e5e7eb; line-height: 1.8; border-radius: 0 10px 10px 0; }
.ocr-after .tag { margin-bottom: var(--space-sm); font-family: var(--font-heading); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4fd08a; }
@media (max-width: 640px) {
  .ocr-demo { grid-template-columns: 1fr; }
  .ocr-before { border-radius: 10px 10px 0 0; }
  .ocr-after { border-radius: 0 0 10px 10px; }
  .ocr-arrow { transform: rotate(90deg); padding: var(--space-sm) 0; }
}

/* ── Comparison table ──────────────────────────────────── */
.compare-table { margin-top: var(--space-xl); width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.compare-table th {
  font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-align: left;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border-bottom: 2px solid var(--ink); color: var(--ink);
}
.compare-table th:first-child { padding-left: 0; }
.compare-table td {
  padding: var(--space-md); border-bottom: 1px solid var(--border);
  color: var(--muted); vertical-align: top;
}
.compare-table td:first-child { padding-left: 0; color: var(--ink); font-weight: 500; }
.compare-table .yes { color: var(--green); font-weight: 600; }
.compare-table .no  { color: #9aa0a8; }
.compare-table .vokt-col { background: var(--brand-tint); }

/* ── Pricing table ─────────────────────────────────────── */
.price-table { margin-top: var(--space-2xl); width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.price-table th {
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-align: left;
  padding: var(--space-md); border-bottom: 2px solid var(--ink); color: var(--ink);
}
.price-table td { padding: var(--space-md); border-bottom: 1px solid var(--border); color: var(--muted); }
.price-table td:first-child { color: var(--ink); font-weight: 600; font-family: var(--font-heading); }
.price-table .price { color: var(--brand); font-weight: 700; font-family: var(--font-heading); font-size: 1.05rem; }

/* ── Simple info blocks (token economics, services) ────── */
.info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-lg); margin-top: var(--space-xl); }
.info-block { padding: var(--space-lg); background: var(--surface-alt); border-radius: 10px; }
.info-block h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: var(--space-xs); }
.info-block p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.info-block .figure { font-family: var(--font-heading); font-weight: 700; color: var(--brand); font-size: 1.3rem; }

/* ── Steps ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); margin-top: var(--space-xl); counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step); font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 700; color: var(--brand); opacity: 0.25;
  line-height: 1; display: block; margin-bottom: var(--space-md);
}
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: var(--space-sm); }
.step p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }

/* ── Metrics bar ───────────────────────────────────────── */
.metrics { display: flex; gap: var(--space-xl); flex-wrap: wrap; margin-top: var(--space-2xl); }
.metric-val { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.metric-label { font-size: 0.8rem; color: var(--muted); margin-top: var(--space-xs); }

/* ── Final CTA ─────────────────────────────────────────── */
.final-cta {
  padding: var(--space-3xl) var(--space-lg); max-width: var(--maxw); margin: 0 auto;
  border-top: 1px solid var(--border); text-align: center;
}
.final-cta h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.025em;
}
.final-cta p { font-size: 1rem; color: var(--muted); max-width: 44ch; margin: var(--space-md) auto var(--space-xl); line-height: 1.65; }
.final-cta .hero-ctas { justify-content: center; }

/* ── Beta / demo form ──────────────────────────────────── */
.beta-form { display: flex; flex-direction: column; gap: var(--space-md); max-width: 400px; margin: 0 auto; }
.beta-form input {
  padding: 0.7rem 1rem; font-family: var(--font-body); font-size: 0.9rem;
  border: 1.5px solid var(--border); border-radius: 8px; background: var(--surface);
  color: var(--ink); outline: none; transition: border-color 0.15s;
}
.beta-form input:focus { border-color: var(--brand); }
.beta-form input::placeholder { color: var(--muted); }
.beta-success { display: none; font-size: 0.9rem; color: var(--green); margin-top: var(--space-md); }

/* ── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: var(--space-xl) var(--space-lg);
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; gap: var(--space-lg);
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
  color: var(--ink); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-xs);
}
.footer-brand svg { width: 16px; height: 16px; }
.footer-links { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--ink); }
.footer-marks { display: flex; gap: var(--space-sm); margin-top: var(--space-md); flex-wrap: wrap; }
.footer-mark {
  font-family: var(--font-heading); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border: 1px solid var(--border); border-radius: 4px; color: var(--muted);
}

/* ── Scroll-reveal animation ───────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); animation: reveal 0.6s ease-out forwards; }
  .reveal-1 { animation-delay: 0.05s; }
  .reveal-2 { animation-delay: 0.10s; }
  .reveal-3 { animation-delay: 0.15s; }
  .reveal-4 { animation-delay: 0.20s; }
  @keyframes reveal { to { opacity: 1; transform: translateY(0); } }
}
