/* ===== Capitage Global — Design System ===== */
:root {
  --navy-900: #0A1628;
  --navy-800: #0F1F3A;
  --navy-700: #16294D;
  --navy-600: #1E3A5F;
  --navy-500: #2C4A75;
  --navy-100: #DDE5F0;
  --navy-50:  #EEF2F8;

  --accent: #2563EB;
  --accent-bright: #3B82F6;
  --accent-soft: #DBEAFE;

  --bg: #FAFAF7;
  --bg-elev: #FFFFFF;
  --bg-tint: #F4F4EE;
  --ink-900: #0A1628;
  --ink-700: #2A3850;
  --ink-500: #5A6A82;
  --ink-400: #8A98AE;
  --ink-300: #B8C2D2;
  --rule: #E5E8EE;
  --rule-strong: #C9D0DC;

  --silver: #C0C7D2;
  --silver-soft: #E2E6ED;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --maxw: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
section[id] { scroll-margin-top: 80px; }
body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== Layout ===== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ===== Type scale ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px; background: var(--ink-400);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.05; font-weight: 600; }
h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; }

p { margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-700); line-height: 1.5; max-width: 60ch; }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgba(250,250,247,0.72);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--rule); background: rgba(250,250,247,0.92); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 18px; letter-spacing: -0.02em;
}
.logo-img {
  height: 38px; width: auto; display: block;
}
.footer-logo .logo-img-light {
  height: 44px; margin-bottom: 16px;
}
.footer-brand .footer-logo { margin-bottom: 8px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--navy-900);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.logo-mark::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, var(--accent) 50%);
}
.logo-mark::after {
  content: "C"; position: relative; z-index: 1;
  color: white; font-weight: 700; font-size: 14px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name { font-weight: 600; }
.logo-text .tag { font-family: var(--font-mono); font-size: 9px; color: var(--ink-500); letter-spacing: 0.1em; margin-top: 2px; text-transform: uppercase;}

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px; font-size: 14px; color: var(--ink-700); font-weight: 500;
  border-radius: 6px; transition: all 0.15s;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink-900); }
.nav-links a:not(.nav-cta).active { color: var(--ink-900); }
.nav-links a:not(.nav-cta).active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1px; background: var(--accent);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 18px;
  background: transparent;
  color: var(--ink-900);
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  transition: all 0.2s ease;
  margin-left: 12px;
  position: relative;
}
.nav-cta::after {
  content: "→"; font-family: var(--font-mono); font-size: 13px;
  transition: transform 0.2s ease;
}
.nav-cta:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-1px);
}
.nav-cta:hover::after { transform: translateX(3px); }
.nav-cta.active {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
}
.nav-cta.active::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
}
.nav-cta.active::after { display: none; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-size: 14px; font-weight: 500;
  border-radius: 10px; border: 0; transition: all 0.15s;
  font-family: inherit;
}
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-900); border: 1px solid var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink-900); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn::after { content: "→"; font-family: var(--font-mono); font-size: 13px; transition: transform 0.15s; }
.btn:hover::after { transform: translateX(3px); }
.btn.no-arrow::after { display: none; }

/* ===== Sections ===== */
section { padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark .lead { color: rgba(255,255,255,0.72); }
.section-dark .eyebrow { color: rgba(255,255,255,0.55); }
.section-dark .eyebrow::before { background: rgba(255,255,255,0.4); }
.section-tint { background: var(--bg-tint); }

/* Section headers */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.section-head .lead { max-width: 48ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* ===== Hero / Terminal ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; border: 1px solid var(--rule-strong);
  border-radius: 100px; background: var(--bg-elev);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-700);
  margin-bottom: 28px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37,99,235,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(37,99,235,0.05); }
}

.hero h1 .accent { color: var(--accent); }
.hero h1 .underline { position: relative; display: inline-block; }
.hero h1 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 6px; background: var(--accent-soft); z-index: -1;
}

.hero-sub { margin-top: 24px; font-size: 18px; color: var(--ink-700); max-width: 52ch; line-height: 1.5; }
.hero-cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule);
}
@media (max-width: 720px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
.trust-item .label { font-family: var(--font-mono); font-size: 10px; color: var(--ink-500); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.trust-item .value { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }

/* Terminal */
.terminal {
  background: var(--navy-900);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(10, 22, 40, 0.35), 0 8px 24px -12px rgba(10, 22, 40, 0.2);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px; line-height: 1.7;
  position: relative;
}
.terminal-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.tdot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.tdot.r { background: #FF5F57; }
.tdot.y { background: #FEBC2E; }
.tdot.g { background: #28C840; }
.terminal-title { color: rgba(255,255,255,0.5); font-size: 11px; margin-left: auto; }
.terminal-body { padding: 22px 24px; color: #C9D7EC; min-height: 380px; }
.tline { display: block; white-space: pre-wrap; }
.tprompt { color: #4F8AF0; }
.tcomment { color: #6B829D; }
.tkey { color: #8FB4FF; }
.tstr { color: #9BD8B5; }
.tnum { color: #E0B584; }
.tcursor {
  display: inline-block; width: 8px; height: 14px; background: var(--accent-bright);
  vertical-align: -2px; margin-left: 2px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.terminal-foot {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px; display: flex; gap: 14px; align-items: center;
  font-size: 10px; color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.02);
}
.terminal-foot .ok { color: #5BD08E; }

/* ===== Cards ===== */
a.card { text-decoration: none; color: inherit; display: block; }
a.card h3, a.card h4 { color: var(--ink-900); }
.card {
  background: var(--bg-elev); border: 1px solid var(--rule);
  border-radius: 14px; padding: 32px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--rule-strong); box-shadow: 0 12px 30px -12px rgba(10,22,40,0.12); }
.card .num {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-400);
  letter-spacing: 0.1em; margin-bottom: 24px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-500); font-size: 14.5px; line-height: 1.55; }
.card .arrow {
  position: absolute; top: 28px; right: 28px; opacity: 0;
  transform: translate(-6px, 6px); transition: all 0.2s;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: white; display: grid; place-items: center;
  font-family: var(--font-mono);
}
.card:hover .arrow { opacity: 1; transform: translate(0,0); }

/* Service grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Service card with icon */
.svc-card { padding: 36px 32px; }
.svc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy-50); color: var(--navy-900);
  display: grid; place-items: center; margin-bottom: 28px;
  border: 1px solid var(--navy-100);
}
.svc-icon svg { width: 22px; height: 22px; }
.svc-card ul {
  list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--rule); padding-top: 16px;
}
.svc-card li {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-500);
  padding: 6px 0; display: flex; align-items: center; gap: 8px;
}
.svc-card li::before { content: "→"; color: var(--accent); }

/* ===== Product cards ===== */
.product-card {
  background: var(--bg-elev); border: 1px solid var(--rule);
  border-radius: 16px; padding: 0; overflow: hidden;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(10,22,40,0.18); }
.product-visual {
  height: 220px; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.product-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
}
.product-visual .name {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  color: white; font-size: 44px; font-weight: 600; letter-spacing: -0.03em;
}
.product-visual.v1 { background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 60%, #2563EB 100%); }
.product-visual.v2 { background: linear-gradient(135deg, #0A1628 0%, #2C4A75 50%, #5B8DEF 100%); }
.product-visual.v3 { background: linear-gradient(135deg, #0F1F3A 0%, #16294D 40%, #3B82F6 100%); }
.product-body { padding: 28px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.product-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  padding: 4px 10px; background: var(--accent-soft);
  border-radius: 100px; align-self: flex-start; margin-bottom: 16px;
}
.product-body h3 { margin-bottom: 8px; }
.product-body p { color: var(--ink-500); font-size: 14px; flex: 1; }
.product-body .release {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-500);
}
.product-body .release strong { color: var(--ink-900); font-weight: 500; }

/* ===== Tech grid ===== */
.tech-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
  background: var(--bg-elev);
}
@media (max-width: 820px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
.tech-cell {
  padding: 32px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: background 0.15s;
  text-align: center;
}
.tech-cell:hover { background: var(--bg-tint); }
.tech-cell .ticon {
  width: 40px; height: 40px; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; color: var(--navy-900);
}
.tech-cell .tname { font-size: 13px; font-weight: 500; }
.tech-cell .tcat { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== Why us — feature grid ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }
.why-cell {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.why-cell:nth-child(3n) { border-right: 0; }
.why-cell .num { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; margin-bottom: 32px; }
.why-cell h3 { color: white; margin-bottom: 12px; }
.why-cell p { color: rgba(255,255,255,0.6); font-size: 14.5px; line-height: 1.55; max-width: 32ch; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--navy-900); color: white;
  border-radius: 20px;
  padding: 80px 60px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
  margin: 0 0 0 0;
}
.cta-banner::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.4), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: white; margin-bottom: 0; max-width: 18ch; }
.cta-banner .lead { color: rgba(255,255,255,0.7); }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 820px) {
  .cta-banner { grid-template-columns: 1fr; padding: 48px 32px; border-radius: 16px; }
  .cta-banner-actions { justify-content: flex-start; }
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-900); color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer li a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer li a:hover { color: white; }
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.55; max-width: 40ch; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.45);
}
.footer-bottom .socials { display: flex; gap: 8px; }
.footer-bottom .socials a {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  transition: all 0.15s;
}
.footer-bottom .socials a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.footer-bottom .socials svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.6); }

/* ===== Page header (about/services/contact) ===== */
.page-head {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--rule);
}
.page-head .eyebrow { margin-bottom: 24px; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 24px; }

/* ===== Timeline ===== */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 24px;
  height: 1px; background: var(--rule);
}
.tl-item {
  background: var(--bg-elev); border: 1px solid var(--rule);
  border-radius: 12px; padding: 32px 24px;
  position: relative;
  margin-top: 56px;
}
.tl-item::before {
  content: ""; position: absolute; left: 32px; top: -33px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.tl-item.active::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-year { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 12px; }
.tl-item h3 { font-size: 20px; margin-bottom: 8px; }
.tl-item p { color: var(--ink-500); font-size: 14px; line-height: 1.5; }
@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
}

/* ===== About — Mission/Vision blocks ===== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-block {
  background: var(--bg-elev); border: 1px solid var(--rule);
  border-radius: 16px; padding: 48px 40px;
}
.mv-block .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 24px;
}
.mv-block h3 { font-size: 28px; line-height: 1.2; max-width: 18ch; }

/* Values strip */
.values { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); }
@media (max-width: 820px) { .values { grid-template-columns: repeat(2, 1fr); } }
.values .v {
  padding: 32px 20px;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.values .v:last-child { border-right: 0; }
.values .num { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); margin-bottom: 16px; letter-spacing: 0.1em; }
.values .v h4 { font-size: 18px; margin-bottom: 6px; font-weight: 600; }
.values .v p { font-size: 13px; color: var(--ink-500); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.form-group { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--rule-strong); border-radius: 10px;
  background: var(--bg-elev);
  font-family: inherit; font-size: 15px;
  color: var(--ink-900);
  transition: all 0.15s;
}
.form-control:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
textarea.form-control { min-height: 140px; resize: vertical; font-family: inherit; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235A6A82' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.contact-info { background: var(--navy-900); color: white; padding: 48px 40px; border-radius: 16px; }
.contact-info h3 { color: white; margin-bottom: 8px; font-size: 22px; }
.contact-info .sub { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 32px; line-height: 1.5; }
.ci-row { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; gap: 20px; align-items: flex-start; }
.ci-row .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); text-transform: uppercase; min-width: 80px; padding-top: 2px; }
.ci-row .val { font-size: 14px; color: rgba(255,255,255,0.9); line-height: 1.55; flex: 1; }
.ci-row .val a { color: white; }

.map-placeholder {
  margin-top: 24px;
  height: 200px; border-radius: 12px;
  background:
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.map-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 6px rgba(37,99,235,0.3), 0 0 0 12px rgba(37,99,235,0.15);
}
.map-label {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ===== About story — kicker block ===== */
.story-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; gap: 32px; } }
.story-grid .label-col { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); padding-top: 12px; }
.story-grid .body-col p { font-size: 18px; line-height: 1.55; color: var(--ink-700); margin-bottom: 20px; }
.story-grid .body-col p:first-child { font-size: 22px; color: var(--ink-900); }

/* ===== Reveal animation =====
   Strategy: visible by default. JS adds .js-reveal to body, which then hides
   reveals only briefly until they enter viewport (.in) or the safety timeout
   force-shows them. Anything above the fold or off-screen still ends up visible
   even if JS fails partway.
*/
.reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
/* Failsafe: after 2.5s, force any leftover reveals visible regardless of JS state */
@keyframes revealFailsafe { to { opacity: 1; transform: none; } }
.js-reveal .reveal { animation: revealFailsafe 0s 2.5s forwards; }
.js-reveal .reveal.in { animation: none; }

/* Number counter */
.counter { font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.counter-label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 12px; }

/* ===== Misc decorative ===== */
.kbd {
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 6px; border-radius: 4px;
  background: var(--bg-tint); border: 1px solid var(--rule); color: var(--ink-700);
}

/* ===== Process grid ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  padding: 32px 28px;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--bg-elev);
  display: flex; flex-direction: column;
}
.process-step .ps-num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); letter-spacing: 0.1em; margin-bottom: 8px; }
.process-step .ps-week { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); padding: 3px 8px; background: var(--accent-soft); border-radius: 100px; align-self: flex-start; margin-bottom: 24px; }
.process-step h3 { font-size: 22px; margin-bottom: 10px; }
.process-step > p { color: var(--ink-500); font-size: 14px; line-height: 1.55; flex: 1; }
.process-step ul { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--rule); padding-top: 14px; }
.process-step li { font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); padding: 4px 0; display: flex; gap: 8px; }
.process-step li::before { content: "→"; color: var(--accent); }

/* ===== Industries strip ===== */
.industries-strip { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.ind-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); white-space: nowrap; }
.ind-list { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.ind-list span { font-size: 16px; font-weight: 500; color: var(--ink-700); letter-spacing: -0.01em; }
.ind-list span:nth-child(even) { color: var(--ink-300); font-weight: 400; }

/* ===== Products page — Flagship ===== */
.flagship {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
  align-items: stretch;
}
@media (max-width: 980px) { .flagship { grid-template-columns: 1fr; gap: 32px; } }

.flagship-visual {
  background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 60%, #2563EB 100%);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 520px;
  color: white;
}
.fv-glow {
  position: absolute; right: -120px; bottom: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,141,239,0.5), transparent 70%);
  pointer-events: none;
}
.fv-name {
  font-family: var(--font-display); font-size: 56px; font-weight: 600;
  letter-spacing: -0.035em; position: relative; z-index: 1;
}
.fv-mock {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px 22px;
  font-family: var(--font-mono); font-size: 12px;
}
.fv-row {
  display: grid; grid-template-columns: 1.4fr 1fr 0.8fr;
  padding: 8px 0; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fv-row:last-of-type { border-bottom: 0; }
.fv-cell { color: rgba(255,255,255,0.65); font-size: 12px; }
.fv-cell.strong { color: rgba(255,255,255,0.95); font-weight: 500; }
.fv-cell.up { color: #5BD08E; }
.fv-cell.down { color: #FFB44C; }
.fv-cell.flat { color: rgba(255,255,255,0.5); }
.fv-bar {
  height: 6px; border-radius: 4px; background: rgba(255,255,255,0.1);
  overflow: hidden; margin-top: 16px;
}
.fv-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 4px;
}
.fv-foot {
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 10px;
  color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase;
}

.flagship-body { display: flex; flex-direction: column; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; align-self: flex-start;
}
.status-pill .dot { background: var(--accent); }
.flagship-tag {
  font-size: 22px; color: var(--ink-700); margin-top: 8px; line-height: 1.3;
  letter-spacing: -0.01em;
}
.flagship-desc {
  margin-top: 16px; color: var(--ink-700); font-size: 16px; line-height: 1.55;
}
.flagship-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule);
}
@media (max-width: 600px) { .flagship-features { grid-template-columns: 1fr; } }
.ff { display: flex; gap: 14px; }
.ff-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: var(--navy-50); color: var(--navy-900);
  display: grid; place-items: center; border: 1px solid var(--navy-100);
}
.ff-icon svg { width: 18px; height: 18px; }
.ff h4 { font-size: 14px; margin: 2px 0 4px; font-weight: 600; }
.ff p { color: var(--ink-500); font-size: 13px; line-height: 1.5; }

.flagship-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule);
}
@media (max-width: 600px) { .flagship-meta { grid-template-columns: repeat(2, 1fr); } }
.flagship-meta > div { display: flex; flex-direction: column; }
.flagship-meta .ml {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-400);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
}
.flagship-meta .mv { font-size: 13px; font-weight: 500; }

/* ===== Pipeline cards ===== */
.pipeline-card {
  background: var(--bg-elev); border: 1px solid var(--rule);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.25s ease;
}
.pipeline-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(10,22,40,0.15); }
.pc-visual {
  height: 160px; position: relative;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 24px 28px; color: white;
  overflow: hidden;
}
.pc-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 60%);
}
.pc-name {
  font-family: var(--font-display); font-size: 36px; font-weight: 600;
  letter-spacing: -0.03em; position: relative; z-index: 1;
}
.pc-stage {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 10px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  position: relative; z-index: 1;
  backdrop-filter: blur(8px);
}
.pc-body { padding: 28px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.pc-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.pc-body h3 { font-size: 24px; margin-bottom: 8px; }
.pc-body p { color: var(--ink-500); font-size: 14px; line-height: 1.55; flex: 1; }
.pc-body ul {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px;
}
.pc-body li {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-700);
  padding: 4px 0; display: flex; gap: 8px;
}
.pc-body li::before { content: "→"; color: var(--accent); }
.pc-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-500);
}
.pc-foot strong { color: var(--ink-900); font-weight: 500; }

/* ===== Pipeline note ===== */
.pipeline-note {
  margin-top: 40px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 14px;
}
@media (max-width: 820px) {
  .pipeline-note { grid-template-columns: 1fr; gap: 16px; }
}
.pipeline-note .pn-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.pipeline-note strong { font-size: 16px; font-weight: 600; }
.pipeline-note p { color: var(--ink-500); font-size: 14px; margin-top: 4px; line-height: 1.5; }

/* ===== Engine grid ===== */
.engine-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
  background: var(--bg-elev);
}
@media (max-width: 820px) { .engine-grid { grid-template-columns: repeat(2, 1fr); } }
.eng-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.eng-cell .num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); letter-spacing: 0.1em; margin-bottom: 24px; }
.eng-cell h4 { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.eng-cell p { font-size: 13.5px; color: var(--ink-500); line-height: 1.5; }

/* ===== Legal pages (Terms & Privacy) ===== */
.legal-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 64px;
  align-items: start;
}
@media (max-width: 980px) { .legal-layout { grid-template-columns: 1fr; gap: 32px; } }

.legal-toc {
  position: sticky; top: 96px;
  border-left: 1px solid var(--rule);
  padding: 4px 0 4px 20px;
}
@media (max-width: 980px) { .legal-toc { position: static; padding: 16px 20px; background: var(--bg-tint); border-left: 0; border-radius: 12px; } }
.legal-toc .toc-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 18px;
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; margin-bottom: 8px; display: flex; gap: 10px; }
.legal-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-400);
  letter-spacing: 0.06em; padding-top: 2px;
}
.legal-toc a {
  font-size: 13.5px; color: var(--ink-700); line-height: 1.45;
  transition: color 0.15s;
}
.legal-toc a:hover { color: var(--accent); }

.legal-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 14px 0;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-500);
  letter-spacing: 0.06em; text-transform: uppercase;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.legal-meta span strong { color: var(--ink-900); font-weight: 500; }

.legal-body article { counter-reset: section; }
.legal-body section.clause {
  scroll-margin-top: 96px;
  padding: 0 0 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.legal-body section.clause:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-body section.clause::before {
  counter-increment: section;
  content: "/ " counter(section, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.12em; margin-bottom: 14px;
}
.legal-body h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em; margin-bottom: 18px;
  max-width: 28ch;
}
.legal-body h3 {
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  margin: 28px 0 10px; color: var(--ink-900);
}
.legal-body p {
  font-size: 15px; line-height: 1.7; color: var(--ink-700);
  margin-bottom: 14px; max-width: 70ch;
}
.legal-body ul, .legal-body ol.bullets {
  list-style: none; padding: 0; margin: 8px 0 18px; max-width: 70ch;
}
.legal-body ul li, .legal-body ol.bullets li {
  position: relative; padding: 4px 0 4px 22px;
  font-size: 15px; line-height: 1.6; color: var(--ink-700);
}
.legal-body ul li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 10px; height: 1px; background: var(--accent);
}
.legal-body ol.bullets { counter-reset: ol; }
.legal-body ol.bullets li { counter-increment: ol; }
.legal-body ol.bullets li::before {
  content: counter(ol) ".";
  position: absolute; left: 0; top: 4px;
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
}
.legal-body strong { color: var(--ink-900); font-weight: 600; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--accent-bright); }

.legal-callout {
  background: var(--bg-tint); border: 1px solid var(--rule);
  border-radius: 12px; padding: 20px 24px;
  margin: 18px 0; max-width: 70ch;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.legal-callout .ctag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  padding: 4px 10px; background: var(--accent-soft); border-radius: 100px;
  align-self: start; white-space: nowrap;
}
.legal-callout p { font-size: 14px; margin: 0; }

.legal-table {
  width: 100%; border-collapse: collapse;
  margin: 12px 0 20px; max-width: 70ch;
  border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
  font-size: 14px;
}
.legal-table th, .legal-table td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--rule); vertical-align: top;
}
.legal-table th {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-500); font-weight: 500;
  background: var(--bg-tint);
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td { color: var(--ink-700); line-height: 1.5; }

.legal-contact-card {
  margin-top: 16px;
  background: var(--navy-900); color: white;
  border-radius: 14px; padding: 28px 32px;
  max-width: 70ch;
}
.legal-contact-card h4 { color: white; margin-bottom: 14px; font-size: 16px; }
.legal-contact-card p { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.6; }
.legal-contact-card a { color: var(--accent-bright); text-decoration: none; }
.legal-contact-card .lcc-row { display: flex; gap: 14px; padding: 8px 0; align-items: baseline; }
.legal-contact-card .lcc-row .lbl {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); min-width: 70px;
}
.legal-contact-card .lcc-row .val { font-size: 14px; color: rgba(255,255,255,0.92); }
