:root {
  --bg: #0b0d12;
  --panel: #11141b;
  --text: #e6e9ef;
  --muted: #a7b0c0;
  --brand: #5b8cff;
  --brand-2: #7bdcff;
  --border: #1c2230;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg), #0d1016 60%, #0b0d12);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(120%) blur(8px);
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}
.nav a:hover { color: var(--text); }

.hero {
  padding: 88px 0 56px;
  background: radial-gradient(1200px 600px at 50% -10%, #1a2240, transparent),
    radial-gradient(900px 500px at 20% 10%, rgba(123, 220, 255, 0.12), transparent),
    radial-gradient(900px 500px at 80% 0%, rgba(91, 140, 255, 0.16), transparent);
}
.hero.hero-deeptech { position: relative; overflow: clip; }
.hero.hero-deeptech::before {
  content: "";
  position: absolute; inset: -20% -10% 0 -10%;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(91,140,255,.16), transparent),
    radial-gradient(900px 500px at 85% -10%, rgba(123,220,255,.12), transparent),
    linear-gradient(180deg, #0b0d12, #0e1016 60%, #0b0d12);
  z-index: -1;
  filter: saturate(120%);
}
.bg-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:-1; opacity:.5; }

.hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.hero-content p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 20px;
}

.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand), #3f69ff);
  color: white;
}

.btn-secondary {
  background: #161a24;
  color: var(--text);
}

.section { padding: 56px 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { margin: 0 0 18px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); margin: 0 0 18px; }

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .portfolio { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .metrics { grid-template-columns: repeat(3, 1fr); }
}

.card, .tile {
  background: #0f131b;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 12px;
}

.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li {
  background: #0f131b;
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 12px;
}

.split { display: grid; gap: 16px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; align-items: center; }}

.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-item { background: #0f131b; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.metric { background:#0f131b; border:1px solid var(--border); border-radius:12px; padding:16px; }
.metric .num{ font-weight:700; margin-bottom:6px; }
.metric .cap{ color:var(--muted); }
.products .card h3{ margin-bottom:6px; }
.muted{ color:var(--muted); }
.small{ font-size: .9rem; }

/* Before/After slider */
.ba { position: relative; aspect-ratio: 16/10; background: #0e1016; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ba-compact { aspect-ratio: 4/3; }
.ba-after, .ba-before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: polygon(0 0, var(--clip,50%) 0, var(--clip,50%) 100%, 0 100%); }
.ba-range { position: absolute; inset: auto 0 0 0; width: 100%; appearance: none; height: 28px; background: linear-gradient(90deg, transparent 0 48%, var(--brand) 48% 52%, transparent 52% 100%); opacity: .9; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: white; border: 2px solid var(--brand); }
.ba-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: white; border: 2px solid var(--brand); }

.video-tile { aspect-ratio: 16/9; background: radial-gradient(800px 400px at 20% 30%, rgba(123,220,255,.12), transparent), radial-gradient(800px 400px at 80% 30%, rgba(91,140,255,.18), transparent), #0e1016; border: 1px solid var(--border); border-radius: 12px; }

.contact a { color: var(--brand-2); }
.contact a:hover { color: var(--brand); }

.site-footer {
  border-top: 1px solid var(--border);
  background: #0a0c11;
  padding: 22px 0;
}
.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 14px; }
.site-footer a:hover { color: var(--text); }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: color-mix(in oklab, var(--panel) 90%, black 10%);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.cookie-layout { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-actions { display: flex; gap: 8px; }

a:focus, button:focus { outline: 2px solid var(--brand); outline-offset: 2px; }


