:root {
  --ink: #101828;
  --ink-soft: #475467;
  --muted: #6b7280;
  --line: #e4e7ec;
  --bg: #ffffff;
  --tint: #f3f7fc;
  --mint: #e8f3fc;
  --primary: #1a7bbf;
  --primary-dark: #13629a;
  --navy: #1b2039;
  --dot: #d3d8e0;
  --radius: 10px;
  --max: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.12; font-weight: 700; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.dots {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 21px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--ink);
}
.wordmark .mark { width: auto; height: 38px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a.link { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav a.link:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius);
  font: 600 16px/1 var(--font);
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--primary); background: var(--primary); color: #fff;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.small { padding: 11px 18px; font-size: 15px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-height: 640px; padding-top: 56px; padding-bottom: 72px; }
.eyebrow {
  display: inline-block; margin: 0 0 22px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  background: var(--mint); padding: 7px 14px; border-radius: 999px;
}
h1 { font-size: clamp(42px, 5.6vw, 72px); }
.lede { font-size: 20px; color: var(--ink-soft); max-width: 31em; margin: 24px 0 28px; }
.checks { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; color: var(--ink-soft); }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--primary); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  position: relative; align-self: stretch; min-height: 520px;
  border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 70% 30%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(160deg, #eaf4fd 0%, #d4e8f8 45%, #bcd8f0 100%);
}
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 16px 18px;
  display: flex; gap: 14px; align-items: center;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .08);
}
.hero-media .badge strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.hero-media .badge span { font-size: 14px; color: var(--muted); }
.hero-media .badge .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--primary); display: grid; place-items: center; flex: none; }
.hero-media .badge .ico svg { width: 24px; height: 24px; }

/* Facts */
.facts-band { background: var(--navy); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.fact span { font-size: 15px; color: #b8bfd6; }

/* Sections */
section { padding: 112px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 48px); }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 18px 0 0; }

/* Products */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 26px 30px; display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.product:hover { border-color: #c3d8ea; box-shadow: 0 14px 40px rgba(16,24,40,.07); transform: translateY(-2px); }
.product .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--mint); color: var(--primary); display: grid; place-items: center; margin-bottom: 22px; }
.product .ico svg { width: 26px; height: 26px; }
.product h3 { font-size: 21px; margin-bottom: 10px; }
.product p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15.5px; }
.product .tag { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--primary); }
.also { margin-top: 28px; font-size: 15.5px; color: var(--muted); }
.also strong { color: var(--ink); font-weight: 600; }

/* Materials */
.materials { background: var(--tint); }
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mat { background: #fff; border-radius: 18px; padding: 30px 28px; border: 1px solid var(--line); }
.mat .spec { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
.mat h3 { font-size: 22px; margin: 10px 0 10px; }
.mat p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.scanners { margin-top: 32px; font-size: 15px; color: var(--muted); text-align: center; }

/* Standards */
.standards { background: var(--navy); color: #fff; }
.standards .kicker { color: #8fcbf5; }
.standards .section-head p { color: #b8bfd6; }
.std-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.std { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 28px 26px; }
.std .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(143,203,245,.14); color: #8fcbf5; display: grid; place-items: center; margin-bottom: 18px; }
.std .ico svg { width: 22px; height: 22px; }
.std h3 { font-size: 19px; margin-bottom: 8px; }
.std p { margin: 0; font-size: 15.5px; color: #b8bfd6; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: #b7d5ec; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font-weight: 600; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7bbf' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); font-size: 16px; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(32px, 3.8vw, 48px); }
.contact .aside p { color: var(--ink-soft); font-size: 18px; }
.contact .direct { margin-top: 28px; display: grid; gap: 10px; font-size: 16px; }
.contact .direct a { font-weight: 600; color: var(--primary); text-decoration: none; }
.form-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 20px 50px rgba(16,24,40,.06); }
.form-card form { transition: opacity .4s ease; }
.form-card.sent form { opacity: 0; pointer-events: none; }
.form-success {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 36px;
  background: #fff; opacity: 0; transition: opacity .4s ease;
}
.form-success[hidden] { display: none; }
.form-card.sent .form-success { opacity: 1; }
.form-success .ok-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--primary); display: grid; place-items: center; margin-bottom: 24px; }
.form-success .ok-ico svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 26px; max-width: 18em; margin-bottom: 12px; }
.form-success p { margin: 0; color: var(--ink-soft); font-size: 17px; max-width: 26em; }
.success-bar { width: 160px; height: 4px; border-radius: 4px; background: var(--line); margin-top: 32px; overflow: hidden; }
.success-bar span { display: block; height: 100%; width: 0; background: var(--primary); }
.form-card.sent .success-bar span { animation: success-fill 5s linear forwards; }
@keyframes success-fill { to { width: 100%; } }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 600; color: var(--ink); }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #d0d5dd; border-radius: 10px;
  padding: 13px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26,123,191,.14); }
textarea { min-height: 130px; resize: vertical; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { font-size: 15px; }
.form-status.ok { color: var(--primary); }
.form-status.err { color: #b42318; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--tint); padding: 48px 0 40px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.site-footer .legal { line-height: 1.8; }
.site-footer .wordmark { display: flex; font-size: 18px; margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer nav { display: flex; gap: 24px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .products { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .std-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .wrap, .contact .wrap, .faq-wrap { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .faq-wrap .section-head { position: static; }
  .hero-media { min-height: 360px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .mat-grid { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav a.link { display: none; }
  .products, .steps, .std-list { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .fact { padding: 24px 12px; }
  .fact strong { font-size: 24px; }
  .hero .wrap { padding-top: 32px; }
  .checks li { font-size: 16.5px; }
}
