:root {
  --ink: #ffffff;
  --muted: #aab4bd;
  --line: #2e343a;
  --bg: #000000;
  --bg-alt: #14171a;
  --accent: #0093ff;
  --accent-dark: #0072c6;
  --grey: #6a6a6a;
  --max: 1120px;
  --hero-alpha: .3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  padding-top: 72px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 600; color: var(--accent); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: #000;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-header .logo img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a {
  color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500;
}
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.lang {
  border: 1px solid currentColor; border-radius: 4px; padding: 2px 9px;
  font-size: .8rem !important; font-weight: 600 !important;
}
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: min(62vh, 560px); display: grid; place-items: center;
  color: #fff; text-align: center; overflow: hidden; padding: 72px 0;
  background: #0b2233 url("assets/hero-poster.jpg") center/cover;
}
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(rgba(0,0,0,var(--hero-alpha)), rgba(0,0,0,var(--hero-alpha))),
    linear-gradient(180deg, rgba(6,24,38,.2), rgba(6,24,38,.5) 45%, rgba(6,24,38,.7));
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, #000 0%, rgba(0,0,0,.85) 20%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.2) 75%, rgba(0,0,0,0) 100%) top / 100% 180px no-repeat,
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.85) 20%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.2) 75%, rgba(0,0,0,0) 100%) bottom / 100% 180px no-repeat;
}
.hero .wrap { position: relative; z-index: 3; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; margin-bottom: .4em; }
.hero p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 760px; margin: 0 auto; color: #e8f1f8; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 14px 34px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer;
  font-size: 1rem; font-family: inherit; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* Cards */
.grid { display: grid; gap: 28px; margin-top: 48px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: #14171a; border: 1px solid var(--line); border-radius: 12px; padding: 32px; text-align: center;
}
.card .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  color: #fff; display: grid; place-items: center; font-weight: 700; margin: 0 auto 18px;
}
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 76px; height: 76px; border-radius: 50%; background: #2a2f35;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.card .icon img { width: 44px; height: 44px; object-fit: contain; }

/* Services */
.services { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 0; }
.services li {
  display: grid; grid-template-columns: 1fr 2fr; gap: 32px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.services li:last-child { border-bottom: 1px solid var(--line); }
.services h3 { margin: 0; }
.services p { margin: 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; counter-reset: s; }
.step { position: relative; text-align: center; padding: 0 16px; }
.step .dot {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: #000; border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 31px; left: calc(50% + 32px); width: calc(100% - 64px);
  border-top: 2px dashed var(--accent);
}
.step h3 { font-size: 1.1rem; margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* About / product */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.micro { color: var(--accent); font-weight: 700; }
.product {
  max-width: 640px; margin: 0 auto;
  text-align: center;
}
.product img { height: 92px; width: auto; margin: 0 auto 16px; }
.product h3 { margin-bottom: .3em; }
.product p { color: var(--muted); }
.product-logo { display: block; }
.product-title { color: inherit; text-decoration: none; }
.product-title:hover { color: var(--accent); }
.product-link { font-weight: 600; text-decoration: none; }
.product-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; margin-top: 40px; }
.contact-info p { margin-bottom: .6em; }
.contact-info strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
form { display: grid; gap: 16px; }
label { font-size: .9rem; font-weight: 500; display: grid; gap: 6px; }
input, textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #3a4148; border-radius: 8px; background: #14171a; color: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
textarea { min-height: 140px; resize: vertical; }
.hint { font-size: .82rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer { background: #000; border-top: 1px solid var(--line); color: #c9d7e2; padding: 48px 0; font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer a { color: #fff; }
footer .legal p { margin: 0 0 .2em; }
footer .links { display: flex; gap: 20px; align-items: center; }

/* Privacy pages */
.doc { padding: 64px 0 80px; max-width: 780px; margin: 0 auto; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .menu-btn { display: block; }
  .site-header nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: #000;
    flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }
  .site-header nav.open { display: flex; }
  .services li, .split, .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .split, .contact-grid { gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step:not(:last-child)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { display: none; }
  .btn { transition: none; }
}
