/* ================================================== self-hosted fonts
   Archivo + Inter, downloaded from Google Fonts (SIL Open Font License).
   Served from our own domain: no third-party request, no visitor IP leaves
   the site, so no cookie/consent banner is needed for fonts.

   Archivo has no Cyrillic. The Russian pages therefore fall through to Inter
   for headings, which the unicode-range split below handles automatically.
   ====================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================== SPARKWORX
   Brand: deep blue + white + black, flame accent from the logo.
   ====================================================================== */

:root {
  /* Blues — the spine of the brand */
  --navy-950: #04102a;
  --navy-900: #071733;
  --navy-800: #0b2350;
  --blue-700: #103c8f;
  --blue-600: #1650b8;
  --blue-500: #2a6ee0;
  --blue-200: #b9cdf4;
  --blue-100: #e3edff;
  --blue-50:  #f3f7ff;

  /* Flame accent, sampled from the printed can label.
     Red carries the accent on light grounds, yellow on dark ones — the same
     division the logo makes between the outer and the inner flame. */
  --flame-700: #96040f;
  --flame-600: #b8071a;
  --flame-500: #dc0d20;
  --flame-400: #ffd400;
  --flame-rgb: 220, 13, 32;

  /* Neutrals */
  --ink:     #0c1320;
  --ink-2:   #46566f;
  --ink-3:   #6d7c94;
  --line:    #dfe6f2;
  --line-2:  #edf1f8;
  --white:   #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f8fd;

  /* Type. Inter sits in the display stack too: Archivo carries no Cyrillic,
     so Russian headings fall through to Inter instead of a system face. */
  --font-display: 'Archivo', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --shell: 1180px;
  --gutter: 1.25rem;
  --radius: 14px;
  --radius-lg: 22px;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  --shadow-sm: 0 1px 2px rgba(7, 23, 51, .06), 0 2px 8px rgba(7, 23, 51, .05);
  --shadow-md: 0 8px 30px rgba(7, 23, 51, .10);
  --shadow-lg: 0 24px 60px rgba(4, 16, 42, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-500); }

button, input, textarea, select { font: inherit; color: inherit; }

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--flame-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--flame-500); color: #fff; padding: .75rem 1.25rem;
  font-weight: 600; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* -------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .85rem;
}
.eyebrow--light { color: var(--flame-400); }

/* ------------------------------------------------------------------ layout */

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }

.section--dark {
  background:
    radial-gradient(90rem 40rem at 15% -10%, rgba(42, 110, 224, .30), transparent 60%),
    radial-gradient(60rem 30rem at 95% 110%, rgba(220, 13, 32, .18), transparent 60%),
    var(--navy-900);
  color: #fff;
}
.section--dark .section__lead { color: var(--blue-200); }

.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 62ch; }
.section__head--center { margin-inline: auto; text-align: center; }

.section__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.section__lead { margin-top: .9rem; color: var(--ink-2); font-size: 1.05rem; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.005em;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn .ico { width: 1.05em; height: 1.05em; transition: transform .18s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--sm { padding: .5rem 1rem; font-size: .9rem; }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.02rem; }

.btn--accent {
  background: linear-gradient(135deg, var(--flame-500), var(--flame-600));
  color: #fff;
  box-shadow: 0 6px 18px rgba(220, 13, 32, .28);
}
.btn--accent:hover { color: #fff; box-shadow: 0 10px 26px rgba(220, 13, 32, .36); }

.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-500); color: #fff; }

.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; }

.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); color: var(--navy-900); }

.btn--outline { border-color: var(--line); color: var(--blue-700); background: #fff; }
.btn--outline:hover { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); }

.ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ------------------------------------------------------------------ topbar */

.topbar {
  background: var(--navy-950);
  color: var(--blue-200);
  font-size: .82rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 2.6rem; flex-wrap: wrap;
}
.topbar__tag { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__tag .ico { width: .95rem; height: .95rem; color: var(--flame-400); }
.topbar__links { display: flex; gap: 1.4rem; }
.topbar__links a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--blue-200); text-decoration: none;
}
.topbar__links a:hover { color: #fff; }
.topbar__links .ico { width: .95rem; height: .95rem; opacity: .7; }

@media (max-width: 860px) {
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 1rem; font-size: .78rem; }
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.5rem;
}

.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--navy-900); margin-right: auto;
}
.logo__mark {
  width: 1.55rem; height: 2.23rem; flex: none;
  display: grid; place-items: center;
}
.logo__mark svg { width: 100%; height: 100%; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.22rem;
  letter-spacing: -.02em;
}
.logo__text span { color: var(--blue-600); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav__list { display: flex; align-items: center; gap: 1.5rem; }
.site-nav__list a {
  font-weight: 500; color: var(--ink); text-decoration: none;
  padding-block: .4rem; position: relative;
}
.site-nav__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--flame-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current]::after { transform: scaleX(1); }
.site-nav__list a[aria-current] { color: var(--blue-700); }

.lang { display: inline-flex; align-items: center; gap: .25rem; }
.lang__ico { width: 1.05rem; height: 1.05rem; color: var(--ink-3); margin-right: .2rem; }
.lang__item {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-3); text-decoration: none;
  padding: .3rem .45rem; border-radius: 7px;
}
.lang__item:hover { color: var(--blue-700); background: var(--blue-50); }
.lang__item.is-current { color: #fff; background: var(--blue-700); }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: var(--blue-50); border: 1px solid var(--line);
  border-radius: 11px; color: var(--navy-900); cursor: pointer;
}
.nav-toggle .ico--close { display: none; }
body.nav-open .nav-toggle .ico--close { display: block; }
body.nav-open .nav-toggle .ico--open { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(90vw, 22rem);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 1.75rem;
    padding: 6rem 1.75rem 2rem;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .28s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .site-nav { transform: translateX(0); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav__list a {
    display: block; padding: .8rem .25rem; font-size: 1.12rem;
    font-family: var(--font-display); font-weight: 600;
    border-bottom: 1px solid var(--line-2);
  }
  .site-nav__list a::after { display: none; }
  .lang { flex-wrap: wrap; }
  .site-nav__cta { justify-content: center; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ''; position: fixed; inset: 0; z-index: 99;
    background: rgba(4, 16, 42, .45);
  }
  .site-nav { z-index: 101; }
  .nav-toggle { z-index: 102; }
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative; isolation: isolate;
  background: var(--navy-900);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55rem 32rem at 12% 0%, rgba(42, 110, 224, .38), transparent 62%),
    radial-gradient(38rem 30rem at 88% 100%, rgba(220, 13, 32, .26), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}

.hero__inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.hero__lead {
  margin-top: 1.15rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--blue-200);
  max-width: 52ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__badges {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: 2.75rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__badges li {
  background: rgba(7, 23, 51, .55);
  padding: .95rem .85rem;
  display: flex; flex-direction: column; gap: .15rem;
}
.hero__badges strong {
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
  letter-spacing: -.01em;
}
.hero__badges span { font-size: .78rem; color: var(--blue-200); line-height: 1.35; }

.hero__visual { display: grid; place-items: center; }
.hero__visual img {
  width: min(100%, 15rem);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__visual img { width: min(42%, 9.5rem); }
  .hero__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------- page head */

.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding-block: clamp(3rem, 6vw, 4.75rem);
}
.page-head__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(48rem 26rem at 8% 0%, rgba(42, 110, 224, .36), transparent 62%),
    radial-gradient(32rem 22rem at 95% 110%, rgba(220, 13, 32, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.page-head__title { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; max-width: 22ch; }
.page-head__lead { margin-top: 1rem; color: var(--blue-200); max-width: 58ch; font-size: 1.05rem; }

/* --------------------------------------------------------------- 404 page */

.page-head--404 { padding-block: clamp(3.5rem, 8vw, 6rem); }

.nf__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 6.5rem);
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #fff 35%, var(--flame-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .75rem;
}

.nf__langs {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin-top: 2.25rem;
  max-width: 44rem;
}
.nf__lang {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  color: #fff; text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.nf__lang:hover {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .34);
}
.nf__tag {
  flex: none;
  font-family: var(--font-display); font-weight: 800;
  font-size: .72rem; letter-spacing: .08em;
  padding: .2rem .45rem; border-radius: 6px;
  background: var(--blue-600); color: #fff;
}

/* ----------------------------------------------------------------- product */

.product {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
}
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }

.product__label {
  font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .6rem;
}
.product__purpose { font-size: 1.08rem; color: var(--ink-2); }
.product__note {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-top: 1.5rem; padding: .95rem 1.1rem;
  background: var(--blue-50); border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem; color: var(--blue-700);
}
.product__note .ico { color: var(--blue-600); margin-top: .15rem; }

.product__spec-title {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; color: var(--ink);
}

.spec {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.spec tr { border-bottom: 1px solid var(--line-2); }
.spec tr:last-child { border-bottom: 0; }
.spec tr:nth-child(odd) { background: var(--surface-2); }
.spec th, .spec td { padding: .8rem 1.1rem; text-align: left; vertical-align: top; }
.spec th { font-weight: 500; color: var(--ink-2); width: 55%; }
.spec td { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* -------------------------------------------------- document download link */

.doc {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.25rem; padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.doc:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); color: inherit; }

.doc__icon {
  display: grid; place-items: center; flex: none;
  width: 2.6rem; height: 2.6rem;
  border-radius: 10px;
  background: var(--blue-50); color: var(--blue-700);
}
.doc__icon svg { width: 1.35rem; height: 1.35rem; }

.doc__body { display: grid; gap: .15rem; min-width: 0; }
.doc__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.doc__meta { font-size: .82rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.doc__note { font-size: .88rem; color: var(--ink-2); }

.doc__action {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  color: var(--blue-700);
}
.doc__action .ico { width: 1rem; height: 1rem; transition: transform .18s var(--ease); }
.doc:hover .doc__action .ico { transform: translateX(3px); }

.doc-hazard {
  display: flex; gap: .55rem; align-items: baseline;
  margin-top: .8rem;
  font-size: .82rem; color: var(--ink-3);
}
.doc-hazard strong {
  flex: none;
  font-family: var(--font-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .08em;
  color: var(--flame-600);
}

@media (max-width: 560px) {
  .doc { flex-wrap: wrap; }
  .doc__action { margin-left: 0; width: 100%; justify-content: flex-end; }
}

/* ----------------------------------------------------------------- figures */

.figures {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
@media (max-width: 800px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.figure {
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
}
.figure__value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff 30%, var(--flame-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.figure__value span {
  display: inline-block; margin-left: .35rem;
  font-size: .95rem; font-weight: 600; letter-spacing: 0;
  -webkit-text-fill-color: var(--blue-200); color: var(--blue-200);
}
.figure__label { margin-top: .5rem; font-size: .9rem; color: var(--blue-200); }

.figures__note {
  margin-top: 1.75rem; text-align: center;
  font-size: .9rem; color: var(--blue-200); opacity: .85;
}

/* ------------------------------------------------------------------- cards */

.cards {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.card__icon {
  display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; margin-bottom: 1.1rem;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--blue-50), var(--blue-100));
  color: var(--blue-700);
}
.card__icon svg { width: 1.45rem; height: 1.45rem; }
.card__title { font-size: 1.08rem; margin-bottom: .5rem; }
.card__text { color: var(--ink-2); font-size: .96rem; }

/* -------------------------------------------------------------------- uses */

.uses {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.use {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.05rem 1.2rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.use:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.use__icon { width: 1.5rem; height: 1.5rem; flex: none; color: var(--flame-500); }

/* ---------------------------------------------------------------- cta band */

.cta-band {
  background: linear-gradient(120deg, var(--blue-700), var(--navy-900) 55%, var(--navy-950));
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(34rem 22rem at 85% 120%, rgba(220, 13, 32, .32), transparent 62%);
}
.cta-band__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin-top: .6rem; color: var(--blue-200); max-width: 52ch; }

/* --------------------------------------------------------- prose / about */

.prose-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}
.prose-block {
  padding-top: 1.4rem;
  border-top: 3px solid var(--blue-600);
}
.prose-block__num {
  font-family: var(--font-display); font-weight: 800; font-size: .82rem;
  letter-spacing: .1em; color: var(--flame-500); margin-bottom: .5rem;
}
.prose-block__title { font-size: 1.18rem; margin-bottom: .65rem; }
.prose-block__text { color: var(--ink-2); }

.split {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.datacard {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.datacard > div {
  display: grid; grid-template-columns: minmax(7rem, 34%) 1fr;
  gap: 1rem; padding: .95rem 1.25rem;
  border-bottom: 1px solid var(--line-2);
}
.datacard > div:last-child { border-bottom: 0; }
.datacard dt { color: var(--ink-3); font-size: .9rem; }
.datacard dd {
  font-family: var(--font-display); font-weight: 600;
  font-variant-numeric: tabular-nums; word-break: break-word;
}
@media (max-width: 480px) {
  .datacard > div { grid-template-columns: 1fr; gap: .2rem; }
}

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); color: inherit;
}
.pill .ico { width: 1rem; height: 1rem; color: var(--flame-400); }
.pill--solid .ico { color: var(--flame-600); }
.pill--solid {
  background: var(--blue-50); color: var(--blue-700);
  border: 1px solid var(--blue-100); margin-top: 1.25rem;
}

/* ----------------------------------------------------------------- contact */

.contact {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: start;
}
@media (max-width: 940px) { .contact { grid-template-columns: 1fr; } }

.contact__h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.contact__h3 { font-size: 1.05rem; margin-bottom: 1rem; }

.contact__card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.contact__card + .contact__card { margin-top: 1.25rem; }
.contact__card--muted { background: var(--surface-2); }
.contact__card--muted .datacard { border-color: var(--line-2); }

.contact__list { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.contact__list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact__list .ico { color: var(--blue-600); margin-top: .18rem; }
.contact__list a { text-decoration: none; font-weight: 500; }
.contact__list a:hover { text-decoration: underline; }

/* -------------------------------------------------------------------- form */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.req { color: var(--flame-600); }
.opt { font-weight: 400; color: var(--ink-3); font-size: .82rem; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: .75rem .95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:hover, .field textarea:hover { border-color: var(--blue-200); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(42, 110, 224, .16);
}
.field textarea { resize: vertical; min-height: 7rem; }

.field--check {
  grid-template-columns: auto 1fr; align-items: start; gap: .7rem;
  padding: .9rem 1.05rem; background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: 11px;
}
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .18rem; accent-color: var(--blue-600); }
.field--check label { font-weight: 400; font-size: .9rem; }

.form__submit { justify-self: start; margin-top: .3rem; }

.form__status {
  padding: .9rem 1.1rem; border-radius: 11px; font-size: .95rem;
  border-left: 3px solid var(--blue-600); background: var(--blue-50); color: var(--blue-700);
}
.form__status[data-state="error"] { border-color: var(--flame-600); background: #fff0f3; color: #8f0020; }
.form__status[data-state="success"] { border-color: #17864b; background: #eefaf2; color: #0f6136; }

/* ------------------------------------------------------------ legal pages */

.legal { max-width: 68ch; }

.legal__draft {
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  border: 1px solid #f3c9a0;
  border-left: 4px solid #d98324;
  border-radius: var(--radius);
  background: #fff8ef;
  color: #7a4a10;
  font-size: .92rem;
}

.legal__updated {
  font-size: .88rem; color: var(--ink-3);
  padding-bottom: 1.5rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal__section + .legal__section { margin-top: 2.25rem; }
.legal__section p + p { margin-top: .85rem; }
.legal__section p { color: var(--ink-2); }

.legal__title {
  display: flex; gap: .75rem; align-items: baseline;
  font-size: 1.15rem; margin-bottom: .75rem;
}
.legal__num {
  flex: none;
  font-size: .82rem; font-weight: 800;
  color: var(--blue-600);
  font-variant-numeric: tabular-nums;
}

.legal__list { display: grid; gap: .5rem; margin-top: .85rem; }
.legal__list li {
  position: relative; padding-left: 1.15rem;
  color: var(--ink-2); font-size: .96rem;
}
.legal__list li::before {
  content: ''; position: absolute; left: 0; top: .6em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-500);
}

.legal__foot {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-3);
}
.legal__foot p + p { margin-top: .3rem; }

.field__policy { display: inline-block; margin-top: .3rem; font-size: .85rem; }

.site-footer__bottom a { color: var(--blue-200); }
.site-footer__bottom a:hover { color: #fff; }

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--navy-950);
  color: var(--blue-200);
  padding-top: clamp(2.75rem, 5vw, 4rem);
  font-size: .94rem;
}
.site-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  padding-bottom: 2.5rem;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.logo--footer { color: #fff; margin-right: 0; margin-bottom: 1rem; }
.logo--footer .logo__text span { color: var(--blue-500); }
.site-footer__brand p { max-width: 34ch; }
.site-footer__brand .pill { margin-top: 1.1rem; }

.site-footer__col h2 {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}
.site-footer__col ul { display: grid; gap: .6rem; }
.site-footer__col a { color: var(--blue-200); text-decoration: none; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__col span { color: var(--ink-3); }
.site-footer__addr { line-height: 1.55; }

.lang--footer { margin-top: 1.4rem; gap: .35rem; }
.lang--footer .lang__item { color: var(--blue-200); background: rgba(255, 255, 255, .07); }
.lang--footer .lang__item:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.lang--footer .lang__item.is-current { background: var(--blue-600); color: #fff; }

.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: .85rem; color: var(--ink-3);
}

/* ------------------------------------------------------------------ to top */

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center;
  background: var(--navy-900); color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.to-top .ico { transform: rotate(-90deg); width: 1.1rem; height: 1.1rem; }
.to-top:hover { background: var(--blue-700); color: #fff; }
body.scrolled .to-top { opacity: 1; visibility: visible; transform: translateY(0); }

/* ------------------------------------------------------------------ motion */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------- print */

@media print {
  .topbar, .site-header, .to-top, .cta-band, .hero__visual { display: none !important; }
  body { color: #000; }
  .hero, .page-head, .section--dark, .site-footer { background: #fff !important; color: #000 !important; }
  .hero__lead, .page-head__lead, .figure__label, .site-footer__col a { color: #333 !important; }
  .figure__value { -webkit-text-fill-color: #000; color: #000; background: none; }
}
