/* ==========================================================================
   LoireLabs — loirelabs.eu
   Self-hosted fonts (no third-party requests, GDPR-friendly)
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #05070d;
  --bg-elev: #090d17;
  --bg-card: #0b101c;
  --surface: rgba(255, 255, 255, .025);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);

  --text: #e9edf6;
  --text-dim: #a3acc1;
  --muted: #6b7489;

  --blue: #4f7cff;
  --blue-2: #8aa8ff;
  --cyan: #5ee7ff;
  --gold: #ffc53d;
  --green: #3ddc97;

  --grad: linear-gradient(100deg, #8aa8ff 0%, #5ee7ff 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(94, 231, 255, .25); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
}

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Icons ---------- */
.icon svg, .btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01));
  color: var(--blue-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.icon svg { width: 22px; height: 22px; }
.icon--sm { width: 42px; height: 42px; border-radius: 12px; }
.icon--sm svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 .95rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--text);
  color: #05070d;
}
.btn--primary:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 12px 40px -12px rgba(94, 231, 255, .6);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, .28);
}

.btn--sm { --h: 38px; padding: 0 16px; font-size: .88rem; }

.link {
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 500;
  font-size: .92rem;
  transition: color .2s;
}
.link:hover { color: var(--cyan); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled,
.menu-open .nav {
  background: rgba(5, 7, 13, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}
.brand__word span { color: var(--text-dim); font-weight: 400; }

.nav__links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s, background .2s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); background: var(--surface-2); }
.only-mobile { display: none; }

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Language dropdown (native <details>, works without JS) */
.lang { position: relative; }
.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background .2s, border-color .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover,
.lang[open] summary { background: var(--surface-2); border-color: rgba(255, 255, 255, .28); }
.lang summary svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--text-dim);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang summary .lang__chev { width: 12px; height: 12px; stroke-width: 2; transition: transform .2s var(--ease); }
.lang[open] .lang__chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(10, 14, 24, .98);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85);
}
.lang__menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: .92rem;
  transition: background .15s, color .15s;
}
.lang__menu a span {
  width: 2.4ch;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
}
.lang__menu a:hover { background: var(--surface-2); color: var(--text); }
.lang__menu a[aria-current="page"] { background: rgba(79, 124, 255, .12); color: var(--text); }
.lang__menu a[aria-current="page"]::after { content: "✓"; margin-left: auto; color: var(--cyan); }

/* "Also available in your language" hint */
.lang-hint {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 14, 24, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(94, 231, 255, .06);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.lang-hint.is-in { opacity: 1; transform: translate(-50%, 0); }
.lang-hint p { margin: 0; font-size: .9rem; color: var(--text-dim); }
.lang-hint__close {
  appearance: none;
  flex: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-hint__close:hover { background: var(--surface-2); color: var(--text); }

.nav__toggle {
  display: none;
  appearance: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.menu-open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(640px circle at 78% 28%, rgba(79, 124, 255, .20), transparent 60%),
    radial-gradient(520px circle at 8% 85%, rgba(94, 231, 255, .08), transparent 60%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
@media (min-width: 1081px) {
  /* keep the flow lines calm behind the headline copy */
  .hero__canvas {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .45) 40%, #000 62%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .45) 40%, #000 62%);
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 14, 24, .6);
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text-dim);
  max-width: 100%;
}
.eyebrow__tag {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 197, 61, .12);
  color: var(--gold);
  font-weight: 600;
}

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.lead {
  margin: 0;
  max-width: 560px;
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  color: var(--text-dim);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.hero__visual { position: relative; }
.hero__caption {
  margin: 14px 4px 0;
  text-align: right;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
}

/* ---------- Window (terminal / code) ---------- */
.window {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 20, 34, .92), rgba(8, 11, 20, .94));
  box-shadow:
    0 40px 120px -40px rgba(79, 124, 255, .45),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
}
.window__dot { width: 10px; height: 10px; border-radius: 50%; background: #262d3e; flex: none; }
.window__title {
  margin-left: 10px;
  min-width: 0;
  font-size: .74rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.term { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.term__status {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .68rem;
  color: var(--cyan);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(94, 231, 255, .08);
}
.term__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.2s ease-in-out infinite;
}
.term__status.is-done { color: var(--green); background: rgba(61, 220, 151, .08); }
.term__status.is-done::before { animation: none; }

.term__body {
  padding: 18px 20px 22px;
  min-height: 19em;
  font-family: var(--font-mono);
  font-size: .8rem;
}
.term__line {
  display: grid;
  grid-template-columns: 1.4ch 11.5ch minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.term__line.is-in { opacity: 1; transform: none; }
.term__line .p { color: var(--blue-2); }
.term__line .k { color: var(--cyan); }
.term__line .v { color: var(--text-dim); }
.term__line .st { color: var(--muted); width: 1.4ch; text-align: right; }
.term__line.is-ok .st { color: var(--green); }

.spin {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(94, 231, 255, .25);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.term__done {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  color: var(--green);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.term__done.is-in { opacity: 1; }

/* ---------- Integrations strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
}
.strip__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}
.strip__label {
  flex: none;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee li {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .84rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee li::after {
  content: "/";
  margin: 0 22px;
  color: rgba(255, 255, 255, .16);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(88px, 12vw, 150px) 0;
}
.section--alt {
  background:
    radial-gradient(900px circle at 100% 0%, rgba(79, 124, 255, .07), transparent 55%),
    var(--bg-elev);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 64px); }
.section__head p:last-child { margin: 0; color: var(--text-dim); font-size: 1.08rem; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--blue-2);
}
.label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

h2 {
  margin: 18px 0;
  font-size: clamp(2rem, 4.3vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

/* ---------- Cards / services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.js .card.reveal {
  transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s, background .3s;
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 124, 255, .15), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .035); }
.card:hover::before { opacity: 1; }

.card__num {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--muted);
}
.card .icon { margin-bottom: 30px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { margin: 0 0 24px; color: var(--text-dim); font-size: .96rem; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-dim);
}

/* ---------- Products ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(700px circle at 0% 0%, rgba(79, 124, 255, .13), transparent 55%),
    var(--bg-card);
}
.product__body { padding: clamp(28px, 4.5vw, 60px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .7rem;
  border: 1px solid;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge--live {
  color: var(--green);
  border-color: rgba(61, 220, 151, .3);
  background: rgba(61, 220, 151, .08);
}
.badge--live::before { animation: pulse 1.8s ease-in-out infinite; box-shadow: 0 0 8px currentColor; }
.badge--dev {
  color: var(--gold);
  border-color: rgba(255, 197, 61, .28);
  background: rgba(255, 197, 61, .07);
}

.product__name {
  margin: 22px 0 6px;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  letter-spacing: -.04em;
}
.product__claim { margin: 0 0 14px; font-size: 1.15rem; font-weight: 500; }
.product__desc { margin: 0; color: var(--text-dim); }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: .93rem;
  color: var(--text-dim);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(61, 220, 151, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.product__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(420px circle at 70% 30%, rgba(94, 231, 255, .10), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    #070a12;
}

.mock {
  width: 100%;
  max-width: 400px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(12, 17, 29, .92);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .02);
  font-size: .82rem;
}
.mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px 14px;
  font-weight: 600;
}
.mock__live { font-family: var(--font-mono); font-size: .68rem; color: var(--green); font-weight: 500; }
.mock__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.mock__av {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(79, 124, 255, .35), rgba(94, 231, 255, .15));
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
}
.mock__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mock__info b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__info small { color: var(--muted); font-family: var(--font-mono); font-size: .68rem; }

.pill {
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .68rem;
  color: var(--text-dim);
  background: var(--surface-2);
}
.pill--ok { color: var(--green); background: rgba(61, 220, 151, .1); }
.pill--run { color: var(--cyan); background: rgba(94, 231, 255, .1); }

.mock__route {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #070a12;
}
.mock__route-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.mock__route svg { width: 100%; height: 96px; overflow: visible; }
.route-bg, .route-fg { fill: none; stroke-width: 2; stroke-linecap: round; }
.route-bg { stroke: rgba(255, 255, 255, .12); stroke-dasharray: 4 6; }
.route-fg {
  stroke: var(--cyan);
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  filter: drop-shadow(0 0 4px rgba(94, 231, 255, .6));
}
.is-visible .route-fg { animation: draw 2.4s var(--ease) .4s forwards; }
.cp { fill: #0b101c; stroke: rgba(255, 255, 255, .3); stroke-width: 2; }
.cp--done { fill: var(--cyan); stroke: rgba(94, 231, 255, .35); stroke-width: 6; }
.cp--next { stroke: var(--gold); animation: pulse 1.4s ease-in-out infinite; }

/* Coming soon */
.soon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.card--soon {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .012) 0 12px, transparent 12px 24px),
    var(--surface);
}
.soon__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.soon__code {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
}
.card--soon p { margin-bottom: 20px; }
.soon__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: .76rem;
}
.soon__meta dt { color: var(--muted); margin-bottom: 2px; }
.soon__meta dd { margin: 0; color: var(--text-dim); }
.redact {
  color: rgba(255, 255, 255, .14);
  letter-spacing: -.1em;
  user-select: none;
}

/* ---------- Steps ---------- */
/* --len (distance between first and last dot centre) is measured in main.js */
.steps {
  --dot: 56px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before,
.steps__progress {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2);
  left: calc(var(--dot) / 2);
  height: 1px;
}
.steps::before {
  width: var(--len, 0px);
  background: var(--line-strong);
}
.steps__progress {
  width: calc(var(--len, 0px) * var(--p, 0));
  background: var(--grad);
  box-shadow: 0 0 14px rgba(94, 231, 255, .7);
  z-index: 1;
}
.step { position: relative; z-index: 2; }
.step__dot {
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: .84rem;
  color: var(--muted);
  transition: border-color .4s, color .4s, box-shadow .4s;
}
.step.is-active .step__dot {
  border-color: var(--blue-2);
  color: var(--text);
  box-shadow: 0 0 0 6px rgba(79, 124, 255, .12), 0 0 24px rgba(79, 124, 255, .35);
}
.step h3 { margin: 28px 0 8px; font-size: 1.25rem; }
.step p { margin: 0; max-width: 280px; color: var(--text-dim); font-size: .95rem; }

/* ---------- Europe ---------- */
.europe {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.europe .section__head { margin-bottom: 40px; }

.principles {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.principles li { display: flex; gap: 18px; align-items: flex-start; }
.principles h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.principles p { margin: 0; color: var(--text-dim); font-size: .95rem; }

.eu-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
  display: grid;
  place-items: center;
  overflow: hidden; /* the rotating sweep must not widen the page */
}
.eu-visual__rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 calc(12.5cqw - 1px), rgba(255, 255, 255, .07) calc(12.5cqw - 1px) 12.5cqw);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 70%, transparent 100%);
}
.eu-visual__axis {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .06) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(transparent calc(50% - .5px), rgba(255, 255, 255, .06) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
}
.eu-visual__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 290deg, rgba(94, 231, 255, .18) 360deg);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 82%, transparent 83%);
  mask-image: radial-gradient(circle closest-side, #000 82%, transparent 83%);
  animation: spin 6s linear infinite;
}

.eu-star {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5.4cqw;
  height: 5.4cqw;
  margin: -2.7cqw 0 0 -2.7cqw;
  transform: rotate(calc(var(--i) * 30deg)) translateY(-35cqw) rotate(calc(var(--i) * -30deg));
  filter: drop-shadow(0 0 6px rgba(255, 197, 61, .55));
  opacity: .4;
  animation: twinkle 6s linear infinite;
  animation-delay: calc(var(--i) * .5s - 6s);
}
.eu-star::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.eu-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.eu-flag {
  position: relative;
  width: 11cqw;
  height: 6.6cqw;
  margin-bottom: 4cqw;
  border-radius: 1.2cqw;
  background: linear-gradient(#000 0 33.34%, #dd0000 33.34% 66.67%, #ffce00 66.67%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 28px rgba(255, 206, 0, .22);
}
.eu-flag::before,
.eu-flag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10cqw;
  height: 10cqw;
  margin: -5cqw 0 0 -5cqw;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: ping 2.4s var(--ease) infinite;
}
.eu-flag::after { animation-delay: 1.2s; }
.eu-center__hq {
  font-family: var(--font-mono);
  font-size: max(.66rem, 2.6cqw);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.eu-center strong {
  font-family: var(--font-display);
  font-size: 7.5cqw;
  font-weight: 600;
  letter-spacing: -.03em;
}
.eu-center__coords {
  font-family: var(--font-mono);
  font-size: max(.66rem, 2.6cqw);
  color: var(--blue-2);
}
.eu-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
}
.eu-tag--tl { top: 4%; left: 0; }
.eu-tag--br { bottom: 4%; right: 0; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.about__text { color: var(--text-dim); font-size: 1.05rem; margin: 0 0 16px; }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.values li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.values b { font-family: var(--font-display); font-weight: 600; }
.values span { font-size: .86rem; color: var(--text-dim); line-height: 1.45; }

.code {
  margin: 0;
  padding: 24px 26px 28px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.85;
  color: var(--text-dim);
  tab-size: 2;
}
.code .k { color: var(--blue-2); }
.code .s { color: #9be7c4; }
.code .b { color: var(--gold); }
.code .c { color: var(--muted); font-style: italic; }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(72px, 9vw, 120px);
  padding: 0 clamp(28px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    radial-gradient(640px circle at 24% 100%, rgba(79, 124, 255, .2), transparent 60%),
    radial-gradient(520px circle at 100% 0%, rgba(94, 231, 255, .06), transparent 55%),
    var(--bg-card);
  overflow: hidden;
}
.founder__media {
  position: relative;
  align-self: center;
  padding-top: clamp(36px, 5vw, 56px);
  /* on the wrapper, not the img: the img's fade mask would clip the glow to a box */
  filter: drop-shadow(0 0 28px rgba(79, 124, 255, .22));
}
/* radar rings + glow behind the head, echoing the EU visual */
.founder__media::before {
  content: "";
  position: absolute;
  top: -2%;
  left: 50%;
  width: 92%;
  aspect-ratio: 1;
  transform: translateX(-38%); /* centred on the head, which sits right of the photo's middle */
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, rgba(79, 124, 255, .3), transparent 72%),
    repeating-radial-gradient(circle closest-side, transparent 0 15.5%, rgba(138, 168, 255, .16) 15.5% 16%);
  -webkit-mask: radial-gradient(circle closest-side, #000 55%, transparent);
  mask: radial-gradient(circle closest-side, #000 55%, transparent);
}
.founder__img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask: linear-gradient(to bottom, #000 62%, transparent 98%);
  mask: linear-gradient(to bottom, #000 62%, transparent 98%);
}
.founder__body { padding: clamp(40px, 5vw, 64px) 0; }
.founder__quote { margin: 22px 0 0; }
.founder__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.founder__text { max-width: 46ch; margin: 22px 0 0; color: var(--text-dim); font-size: 1.05rem; }
.founder__sign {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.founder__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.founder__role {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    radial-gradient(800px circle at 0% 0%, rgba(79, 124, 255, .16), transparent 50%),
    radial-gradient(600px circle at 100% 100%, rgba(94, 231, 255, .06), transparent 50%),
    var(--bg-card);
}
.contact__intro > p:not(.label) { color: var(--text-dim); font-size: 1.05rem; margin: 0; }
.contact__info { display: grid; gap: 18px; margin: 40px 0 0; }
.contact__info dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.contact__info dd { margin: 4px 0 0; font-size: 1.05rem; }
.contact__info a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s; }
.contact__info a:hover { color: var(--cyan); border-color: var(--cyan); }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label,
.field legend {
  padding: 0;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-dim);
}
.field legend { margin-bottom: 10px; }
.field__opt { color: var(--muted); font-weight: 400; }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder { color: #4d566a; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-2);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 4px rgba(79, 124, 255, .16);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: rgba(255, 110, 110, .6); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip span:hover { border-color: rgba(255, 255, 255, .3); color: var(--text); }
.chip input:checked + span {
  background: rgba(79, 124, 255, .16);
  border-color: var(--blue-2);
  color: var(--text);
}
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 6px;
}
.form__note { margin: 0; max-width: 300px; font-size: .78rem; color: var(--muted); }
.form__status { margin: 0; min-height: 1.4em; font-size: .88rem; color: var(--green); }
.form__status.is-error { color: #ff8a8a; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 80px 0 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 48px;
}
.footer__brand p { max-width: 340px; margin: 18px 0 0; color: var(--text-dim); font-size: .95rem; }
.footer__brand .footer__privacy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--muted);
}
.footer__privacy::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer__cols h4 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.footer__cols ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: .93rem; }
.footer__cols a { color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}

.footer__word {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 17vw, 15rem);
  line-height: .78;
  letter-spacing: -.06em;
  text-align: center;
  white-space: nowrap;
  padding-bottom: .04em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 64px) 0 96px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.035em; margin: 18px 0 40px; }
.legal h2 { font-size: 1.3rem; margin: 44px 0 12px; letter-spacing: -.015em; }
.legal h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text-dim); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--blue-2); }
.legal address { font-style: normal; color: var(--text-dim); }
.legal .stand { margin-top: 48px; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

/* Placeholders that still need real company data */
.ph {
  padding: 1px 6px;
  border: 1px dashed rgba(255, 197, 61, .55);
  border-radius: 6px;
  background: rgba(255, 197, 61, .08);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .9em;
}

.nav--simple .nav__inner { justify-content: space-between; }

/* ---------- Keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(3.2); opacity: 0; }
}
@keyframes twinkle {
  0% { opacity: 1; }
  35%, 100% { opacity: .4; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid,
  .europe,
  .about,
  .contact { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; }
  .hero__visual { max-width: 620px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product__visual { border-left: 0; border-top: 1px solid var(--line); }
  .eu-visual { max-width: 420px; }
  .founder { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .founder__body { padding-bottom: 8px; }
  .founder__media { order: 2; width: 100%; max-width: 240px; margin-inline: auto; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 880px) {
  .nav__toggle { display: inline-block; }
  .nav__cta { display: none; }
  .only-mobile { display: block; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 28px;
    background: rgba(5, 7, 13, .97);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__links { flex-direction: column; }
  .nav__links a {
    padding: 15px 2px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
    color: var(--text);
  }
  .nav__links a:hover, .nav__links a.is-active { background: none; color: var(--cyan); }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps::before,
  .steps__progress { width: 1px; }
  .steps::before { height: var(--len, 0px); }
  .steps__progress { height: calc(var(--len, 0px) * var(--p, 0)); }
  .step { display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); gap: 20px; }
  .step h3 { margin-top: 12px; }
  .step p { max-width: none; }
}

@media (max-width: 720px) {
  .services,
  .soon,
  .values,
  .form { grid-template-columns: minmax(0, 1fr); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .strip__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .strip__label { text-align: center; }
  .card { padding: 26px; }
  .card__num { top: 26px; right: 26px; }
  .term__body { font-size: .72rem; padding: 16px 14px 18px; min-height: 21em; }
  .term__line { grid-template-columns: 1.4ch 10.5ch minmax(0, 1fr) auto; gap: 8px; }
  .hero__caption { text-align: left; }
  .eyebrow { border-radius: 16px; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact,
  .founder { border-radius: 24px; }
}

@media (max-width: 720px) {
  .lang-hint {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }
  .lang-hint p { flex: 1 1 100%; padding-right: 30px; }
  .lang-hint .btn { flex: 1; }
  .lang-hint__close { position: absolute; top: 8px; right: 8px; }
}

@media (max-width: 420px) {
  .brand__word { font-size: 1.1rem; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .route-fg { stroke-dashoffset: 0; }
  .eu-star { opacity: .9; }
}
