/* =========================================================
   Vision OCR — Static Marketing Site
   Theme: Swiss & High-Contrast (light)
   Fonts: Outfit (display) · Manrope (body) · JetBrains Mono
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --text: #020617;
  --text-2: #475569;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --brand: #0047ff;
  --brand-hover: #003bcc;
  --cyan: #00c2ff;
  --slate: #0f172a;
  --emerald: #10b981;
  --rose: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

::selection { background: var(--brand); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #cbd5e1; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ---------- Layout ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section { padding: 80px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) { .section { padding: 112px 0; } }

.section-soft { background: rgba(248, 250, 252, 0.6); }
.section-dark { background: var(--slate); color: #fff; position: relative; overflow: hidden; }

/* Grid helpers */
.grid { display: grid; gap: 32px; }
.grid-12 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) { .grid-12 { grid-template-columns: repeat(12, 1fr); } }

.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }

/* Background patterns */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(2, 6, 23, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bg-grid-dark {
  background-image:
    linear-gradient(to right, rgba(0, 194, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 194, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--brand);
}
.eyebrow .bar { display: inline-block; width: 24px; height: 4px; background: var(--brand); }
.eyebrow-dark { color: var(--cyan); }
.eyebrow-dark .bar { background: var(--cyan); }

h1.hero-title {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin-top: 24px;
}
h2.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h3.card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.text-brand { color: var(--brand); }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--text-2); }
.text-mono { font-family: "JetBrains Mono", monospace; }

p.lead {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--slate); color: #fff;
}
.btn-primary:hover { background: var(--brand); }
.btn-secondary {
  background: #fff; color: var(--text); border-color: #cbd5e1;
}
.btn-secondary:hover { border-color: var(--slate); }
.btn-cyan { background: var(--brand); color: #fff; }
.btn-cyan:hover { background: var(--brand-hover); }

.btn-sm { padding: 10px 16px; font-size: 11px; }

.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) { .navbar-inner { padding: 0 40px; } }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 32px; height: 32px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: "Outfit", sans-serif;
  font-weight: 900; font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo-sub {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--muted); font-weight: 600;
  margin-top: 2px;
}

.nav-links { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 14px; font-weight: 500;
  color: #334155;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--brand); }
.nav-link.active::after {
  content: ""; position: absolute;
  bottom: -1px; left: 12px; right: 12px;
  height: 2px; background: var(--brand);
}

.navbar-cta { display: none; }
@media (min-width: 1024px) { .navbar-cta { display: inline-flex; } }

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--text);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 16px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: block; padding: 14px 12px;
  font-size: 16px;
  border-left: 2px solid transparent;
}
.mobile-menu .nav-link.active {
  border-left-color: var(--brand);
  background: rgba(0, 71, 255, 0.05);
}
.mobile-menu .btn { display: flex; justify-content: center; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(2, 6, 23, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute;
  right: -160px; top: -160px; width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--brand); filter: blur(200px); opacity: 0.08;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 80px 0;
}
@media (min-width: 1024px) { .hero-inner { padding: 128px 0; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: #334155;
}
.hero-badge .pulse {
  display: inline-block; width: 8px; height: 8px;
  background: var(--emerald);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero p { max-width: 560px; margin-top: 28px; font-size: 18px; color: var(--text-2); line-height: 1.7; }
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 640px;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: #fff;
  padding: 20px 16px;
}
.stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat-label {
  margin-top: 4px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 700; color: var(--muted);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(15, 23, 42, 0.2), transparent);
}
.hero-callout {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 20px;
}
.hero-callout-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--muted);
  margin-bottom: 8px;
}
.hero-callout pre {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; color: #334155; line-height: 1.6;
}
.hero-callout .ok { color: var(--emerald); }
.hero-tags {
  position: absolute; left: -12px; top: 48px;
  display: none; flex-direction: column; gap: 6px;
}
@media (min-width: 768px) { .hero-tags { display: flex; } }
.hero-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700;
  padding: 6px 12px;
}
.hero-tag-1 { background: var(--slate); color: #fff; }
.hero-tag-2 { background: var(--brand); color: #fff; }
.hero-tag-3 { background: #fff; color: var(--text); border: 1px solid #cbd5e1; }

/* ---------- OCR Demo ---------- */
.ocr-demo {
  background: rgba(248, 250, 252, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-header {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .demo-header { grid-template-columns: 8fr 4fr; }
}

.sample-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
  margin-bottom: 24px;
}
.sample-btn {
  padding: 8px 16px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid #cbd5e1;
  background: #fff; color: #334155;
  transition: all 0.2s;
}
.sample-btn:hover { border-color: var(--text); }
.sample-btn.active {
  background: var(--slate); border-color: var(--slate); color: #fff;
}
.sample-btn-cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.sample-btn-cta:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.sample-spacer { margin-left: auto; }
@media (max-width: 640px) { .sample-spacer { margin-left: 0; } }

.ocr-panel {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid #cbd5e1;
}
@media (min-width: 1024px) { .ocr-panel { grid-template-columns: 1fr 1fr; } }

.ocr-side {
  position: relative;
  border-bottom: 1px solid #cbd5e1;
}
@media (min-width: 1024px) {
  .ocr-side:first-child { border-bottom: none; border-right: 1px solid #cbd5e1; }
}
.ocr-side-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border);
  background: #f1f5f9;
  padding: 10px 16px;
}
.ocr-side-head.dark {
  background: #1e293b;
  border-color: #334155;
}
.ocr-side-head .file {
  display: flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: #475569;
}
.ocr-side-head.dark .file { color: #94a3b8; }
.ocr-side-head .status {
  display: flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: #64748b;
}
.ocr-side-head.dark .status { color: var(--emerald); }
.ocr-side-head .status .dot {
  width: 8px; height: 8px;
  background: var(--emerald);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.ocr-doc {
  position: relative;
  padding: 32px;
  min-height: 440px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #1e293b;
  background: #fff;
}
.ocr-doc::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(2, 6, 23, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  pointer-events: none;
}
.ocr-doc pre { white-space: pre-wrap; position: relative; }

.scan-laser {
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--brand);
  box-shadow: 0 0 20px 3px rgba(0, 71, 255, 0.6);
  z-index: 10;
  display: none;
}
.scanning .scan-laser {
  display: block;
  animation: scan 2.5s ease-in-out infinite;
}
@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.ocr-json {
  background: var(--slate);
  color: #cbd5e1;
  padding: 24px;
  min-height: 440px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  line-height: 1.7;
}
.ocr-json pre { white-space: pre-wrap; word-break: break-word; }
.ocr-json .processing { color: var(--cyan); }
.ocr-json .blink::after {
  content: "_";
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.demo-footnote {
  margin-top: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- Trust Bar ---------- */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.trust-inner { padding: 56px 0; }
.trust-grid {
  display: grid; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-cell {
  background: #fff;
  padding: 24px 16px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 700;
  color: #94a3b8;
  transition: color 0.2s;
}
.trust-cell:hover { color: var(--text); }
.trust-head { margin-bottom: 32px; }

/* ---------- Bento / Cards ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .bento { grid-template-columns: repeat(12, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--text);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.08);
}
.card-icon {
  width: 28px; height: 28px;
  color: var(--brand);
}
.card h3 { margin-top: 28px; font-size: 22px; font-weight: 700; color: var(--text); }
.card p { margin-top: 12px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.card-link {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text);
  transition: color 0.2s;
}
.card-link:hover { color: var(--brand); }

.card-dark {
  background: var(--slate);
  color: #fff;
  padding: 48px;
}
.card-dark .card-icon { color: var(--cyan); }
.card-dark h3 { color: #fff; font-size: 28px; }
.card-dark p { color: #94a3b8; }
.card-dark .card-link { color: var(--cyan); }
.card-dark .card-link:hover { color: #fff; }

/* Solution / Industry KPI cards */
.kpi-row {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 4px;
}
.kpi-value {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900; letter-spacing: -0.02em;
  color: var(--text);
}
.kpi-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 700; color: var(--muted);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.chip {
  display: inline-block;
  padding: 4px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em;
  background: #f1f5f9; color: #334155;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700;
  background: var(--brand); color: #fff;
}

/* Feature lists */
.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  list-style: none;
  font-size: 14px; color: #334155;
}
.feature-list svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* ---------- Industry icon bubble ---------- */
.industry-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.industry-icon-blue { background: #eff6ff; }
.industry-icon-cyan { background: #ecfeff; }
.industry-icon-orange { background: #fff7ed; }
.industry-icon-emerald { background: #ecfdf5; }
.industry-icon-violet { background: #f5f3ff; }
.industry-icon-rose { background: #fff1f2; }

.industry-icon svg { color: var(--brand); }

.industry-bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.industry-bullets li {
  list-style: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; color: #334155;
  position: relative; padding-left: 18px;
}
.industry-bullets li::before {
  content: "—"; position: absolute; left: 0;
  color: var(--brand); font-weight: 700;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
.testimonial {
  padding: 40px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.testimonial:hover { background: var(--bg-soft); }
@media (min-width: 768px) {
  .testimonial:nth-child(odd) { border-right: 1px solid var(--border); }
  .testimonial:nth-last-child(-n+2) { border-bottom: none; }
}
.testimonial-metric {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 24px;
}
.testimonial-metric .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 36px; font-weight: 900; letter-spacing: -0.02em;
  color: var(--brand);
}
.testimonial-metric .lbl {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 700; color: var(--muted);
}
.testimonial-quote { font-size: 17px; color: #1e293b; line-height: 1.6; font-weight: 500; }
.testimonial-author {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.testimonial-author .name { font-size: 14px; font-weight: 700; color: var(--text); }
.testimonial-author .role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative;
  background: var(--slate);
  color: #fff;
  overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 194, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 194, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}
.newsletter::after {
  content: ""; position: absolute;
  right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--brand); filter: blur(120px); opacity: 0.25;
}
.newsletter-inner { position: relative; padding: 80px 0; }
@media (min-width: 1024px) { .newsletter-inner { padding: 112px 0; } }
.newsletter h2 { color: #fff; }
.newsletter p { color: #94a3b8; max-width: 520px; }

.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--muted);
}
.newsletter-input-row {
  display: flex;
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.5);
  transition: border-color 0.2s;
}
.newsletter-input-row:focus-within { border-color: var(--cyan); }
.newsletter-input-row input {
  flex: 1;
  background: transparent;
  border: none; outline: none;
  padding: 16px;
  color: #fff; font-size: 16px;
}
.newsletter-input-row input::placeholder { color: #475569; }
.newsletter-input-row button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 24px;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: background 0.2s;
}
.newsletter-input-row button:hover { background: var(--brand-hover); }
.newsletter-input-row button.done { background: var(--emerald); }
.newsletter-foot {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: #475569;
}

/* ---------- CTA strip ---------- */
.cta-strip { background: #fff; }
.cta-strip-inner {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: end;
  padding: 80px 0;
}
@media (min-width: 768px) {
  .cta-strip-inner { grid-template-columns: 8fr 4fr; padding: 112px 0; }
}
.cta-strip h2 { font-size: clamp(28px, 4vw, 48px); }

/* ---------- Footer ---------- */
.footer {
  background: var(--slate);
  color: #cbd5e1;
  position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 194, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 194, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3; pointer-events: none;
}
.footer-inner { position: relative; padding: 64px 0; }
@media (min-width: 1024px) { .footer-inner { padding: 96px 0; } }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 5fr 2fr 2fr 3fr;
  }
}
.footer h4 {
  font-family: "Outfit", sans-serif;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 700; color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col li a { font-size: 14px; color: #94a3b8; transition: color 0.2s; }
.footer-col li a:hover { color: #fff; }
.footer-about p {
  margin-top: 24px;
  font-size: 14px; color: #94a3b8; line-height: 1.7;
  max-width: 420px;
}
.footer-contact {
  margin-top: 32px; display: flex; flex-direction: column; gap: 12px;
  font-size: 14px;
}
.footer-contact a, .footer-contact div {
  display: flex; align-items: flex-start; gap: 12px;
  color: #94a3b8; transition: color 0.2s;
}
.footer-contact a:hover { color: #fff; }
.footer-contact svg { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #1e293b;
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-copyright {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: #64748b;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #1e293b;
  color: #94a3b8;
  transition: all 0.2s;
}
.footer-social a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(2, 6, 23, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6; pointer-events: none;
}
.page-header::after {
  content: ""; position: absolute;
  right: -160px; top: -160px; width: 480px; height: 480px;
  border-radius: 50%;
  background: var(--brand); filter: blur(180px); opacity: 0.07;
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  padding: 80px 0;
}
@media (min-width: 1024px) { .page-header-inner { padding: 112px 0; } }
.page-header h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 20px;
}

/* ---------- Mission split ---------- */
.split-card {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .split-card { grid-template-columns: 7fr 5fr; } }
.split-dark {
  background: var(--slate); color: #fff;
  padding: 64px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .split-dark { border-bottom: none; border-right: 1px solid var(--border); }
}
.split-dark h2 { color: #fff; }
.split-light {
  background: #fff;
  padding: 56px;
}

/* ---------- CEO spotlight ---------- */
.ceo-card {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .ceo-card { grid-template-columns: 5fr 7fr; } }
.ceo-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .ceo-photo { aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--border); }
}
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.1) 60%, transparent);
}
.ceo-photo-cap {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  color: #fff;
}
.ceo-photo-cap p:first-child {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--cyan);
}
.ceo-photo-cap p:last-child {
  margin-top: 4px; font-size: 16px; font-weight: 700;
}
.ceo-info {
  background: #fff;
  padding: 56px;
}
.ceo-info .role {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--muted);
}
.ceo-info h3 {
  margin-top: 12px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900; letter-spacing: -0.03em;
}
.ceo-info p { margin-top: 20px; font-size: 16px; color: var(--text-2); line-height: 1.7; }
.ceo-info-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Timeline ---------- */
.timeline { border: 1px solid var(--border); background: #fff; }
.timeline-row {
  display: grid; grid-template-columns: 1fr;
  gap: 16px;
  padding: 32px 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
@media (min-width: 1024px) {
  .timeline-row { grid-template-columns: 2fr 4fr 6fr; padding: 32px 48px; }
}
.timeline-row:last-child { border-bottom: none; }
.timeline-row:hover { background: var(--bg-soft); }
.timeline-year {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900; letter-spacing: -0.02em;
  color: var(--brand);
  transition: color 0.2s;
}
.timeline-row:hover .timeline-year { color: var(--text); }
.timeline-title { font-size: 19px; font-weight: 700; color: var(--text); }
.timeline-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---------- Services detail cards ---------- */
.services-grid {
  display: grid; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
.service-detail {
  background: #fff;
  padding: 48px;
  transition: background 0.2s;
}
.service-detail:hover { background: var(--bg-soft); }
.service-detail-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px;
}
.service-detail-head svg { width: 36px; height: 36px; color: var(--brand); }
.service-detail-head .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--muted);
}
.service-detail h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 900; letter-spacing: -0.03em;
}
.service-detail .tagline {
  margin-top: 8px;
  font-size: 14px; font-weight: 700; color: var(--brand);
}
.service-detail .desc { margin-top: 20px; font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* Code preview */
.code-preview {
  background: #1e293b;
  border: 1px solid #334155;
}
.code-preview-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px;
  background: var(--slate);
  border-bottom: 1px solid #334155;
}
.code-preview pre {
  padding: 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #cbd5e1;
  overflow-x: auto;
}

/* ---------- Industries hero strip ---------- */
.industries-strip {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid var(--border);
}
.industries-strip img { width: 100%; height: 100%; object-fit: cover; }
.industries-strip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.3), transparent);
}
.industries-strip-cap {
  position: absolute; bottom: 24px; left: 24px;
  color: #fff;
}
.industries-strip-cap p:first-child {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--cyan);
}
.industries-strip-cap p:last-child {
  margin-top: 4px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900; letter-spacing: -0.02em;
}

.industries-grid {
  display: grid; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .industries-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: 1fr 1fr 1fr; } }

.industry-card {
  background: #fff;
  padding: 40px;
  transition: background 0.2s;
}
.industry-card:hover { background: var(--bg-soft); }
.industry-card .label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--muted);
}
.industry-card h3 {
  margin-top: 8px;
  font-size: 24px; font-weight: 900; letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .contact-card { grid-template-columns: 5fr 7fr; } }

.contact-side {
  position: relative;
  background: var(--slate);
  color: #fff;
  padding: 48px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
@media (min-width: 768px) {
  .contact-side { border-bottom: none; border-right: 1px solid var(--border); }
}
.contact-side::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 194, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 194, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3; pointer-events: none;
}
.contact-side > * { position: relative; }
.contact-side h2 {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 40px);
}
.contact-block { padding-top: 28px; border-top: 1px solid #1e293b; margin-top: 28px; }
.contact-block:first-of-type { border-top: none; padding-top: 0; }
.contact-block .lbl {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--muted);
  margin-bottom: 10px;
}
.contact-block a, .contact-block address {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: #cbd5e1;
  font-style: normal; line-height: 1.7;
  transition: color 0.2s;
}
.contact-block a:hover { color: var(--cyan); }
.contact-block svg { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.contact-side .name-line {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 700; color: #fff;
}

.contact-form-side {
  background: #fff;
  padding: 56px;
}
.contact-form-side .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--brand);
}
.contact-form-side h3 {
  margin-top: 16px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
}
.contact-form {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 640px) { .contact-form { grid-template-columns: 1fr 1fr; } }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
  display: block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 700; color: var(--muted);
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #94a3b8; }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 71, 255, 0.15);
}
.contact-form-foot {
  display: flex; flex-direction: column; gap: 16px;
  justify-content: space-between; align-items: flex-start;
}
@media (min-width: 640px) { .contact-form-foot { flex-direction: row; align-items: center; } }
.contact-form-foot p {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- Map ---------- */
.map-card {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  align-items: center;
}
@media (min-width: 768px) { .map-card { grid-template-columns: 4fr 8fr; } }
.map-frame {
  aspect-ratio: 16 / 7;
  border: 1px solid var(--border);
  background: #f1f5f9;
  overflow: hidden;
}
.map-frame iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(40%);
}

/* ---------- Careers ---------- */
.culture-strip {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  align-items: center;
}
@media (min-width: 768px) { .culture-strip { grid-template-columns: 5fr 7fr; } }
.culture-img {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  overflow: hidden;
}
.culture-img img { width: 100%; height: 100%; object-fit: cover; }

.perks-grid {
  display: grid; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .perks-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .perks-grid { grid-template-columns: 1fr 1fr 1fr; } }
.perk { background: #fff; padding: 32px; }
.perk svg { width: 24px; height: 24px; color: var(--brand); }
.perk h3 { margin-top: 20px; font-size: 18px; font-weight: 700; }
.perk p { margin-top: 8px; font-size: 14px; color: var(--text-2); line-height: 1.7; }

.filter-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .filter-row { justify-content: flex-end; } }

.roles-list { border: 1px solid var(--border); background: #fff; }
.role-row {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
@media (min-width: 1024px) {
  .role-row { grid-template-columns: 6fr 3fr 2fr 1fr; padding: 28px 40px; }
}
.role-row:last-child { border-bottom: none; }
.role-row:hover { background: var(--bg-soft); }
.role-team {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--muted);
  margin-bottom: 6px;
}
.role-row h3 {
  font-size: 19px; font-weight: 700; color: var(--text);
  transition: color 0.2s;
}
.role-row:hover h3 { color: var(--brand); }
.role-row .desc { margin-top: 8px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.role-meta { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #334155; }
.role-meta svg { color: #94a3b8; margin-top: 2px; }
.role-arrow { display: flex; justify-content: flex-start; }
@media (min-width: 1024px) { .role-arrow { justify-content: flex-end; } }
.role-arrow span {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #cbd5e1;
  color: #334155;
  transition: all 0.2s;
}
.role-row:hover .role-arrow span {
  border-color: var(--text); background: var(--text); color: #fff;
}

.no-roles { padding: 48px; text-align: center; font-size: 14px; color: var(--muted); }

.dashed-card {
  margin-top: 40px;
  border: 1px dashed #cbd5e1;
  background: rgba(248, 250, 252, 0.5);
  padding: 40px;
}
.dashed-card .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 700; color: var(--brand);
}
.dashed-card h3 { margin-top: 12px; font-size: 22px; font-weight: 700; }
.dashed-card p { margin-top: 8px; font-size: 14px; color: var(--text-2); line-height: 1.7; max-width: 720px; }
.dashed-card a { color: var(--brand); font-weight: 700; }
.dashed-card a:hover { text-decoration: underline; }

/* ---------- Toasts ---------- */
.toast-stack {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 9999;
  max-width: calc(100vw - 48px);
  pointer-events: none;
}
.toast {
  background: var(--slate);
  color: #fff;
  border: 1px solid #1e293b;
  padding: 14px 18px;
  min-width: 280px;
  max-width: 420px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast .title { font-weight: 700; }
.toast .desc { font-size: 12px; color: #94a3b8; }
.toast.success { border-color: var(--emerald); }
.toast.error { border-color: var(--rose); }
.toast.info { border-color: var(--cyan); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

.hidden { display: none; }
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}
