/* BIKT Homepage – dark theme. Colors follow the BIKT design rules:
   blue (--accent) = clickable, cyan (--brand) only for the logo bar and circuit traces. */

@font-face {
  font-family: "League Gothic";
  src: url("../fonts/league-gothic.woff") format("woff");
  font-display: swap;
}

:root {
  --bg: #08090b;
  --bg-2: #0f1115;
  --surface: #15181d; /* cards */
  --surface-2: #1c2027;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7; /* 18:1 on --bg */
  --text-2: #a1a1a6; /* 7.6:1 on --bg */
  --accent: #2997ff; /* links, 6.4:1 on --bg */
  --accent-fill: #0071e3; /* primary buttons, white text 4.7:1 */
  --brand: #77dff1;
  --ok: #30d158;
  --radius: 12px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px;
  --s12: 48px; --s16: 64px; --s24: 96px;
  --max: 1160px;
  --display: "League Gothic", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 var(--s4); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -60px; z-index: 100; padding: var(--s2) var(--s4); background: var(--accent-fill); color: #fff; border-radius: 8px; }
.skip:focus { top: var(--s4); }
.todo { color: #ffb340; } /* placeholder still to be filled in by waxi */

/* Circuit traces canvas behind everything */
.traces { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
main, .footer, .topbar { position: relative; z-index: 1; }

/* Top bar */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s3) max(var(--s5), env(safe-area-inset-right)) var(--s3) max(var(--s5), env(safe-area-inset-left));
  transition: background .3s, backdrop-filter .3s, border-color .3s, opacity .6s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled { background: rgba(8, 9, 11, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.brand { display: flex; align-items: center; min-height: 44px; }
.menu { display: flex; align-items: center; gap: var(--s2); }
.menu a { color: var(--text); padding: var(--s2) var(--s3); border-radius: 999px; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
.menu a:hover { background: var(--surface-2); text-decoration: none; }
/* Blue = the section currently in view (main.js initActiveMenu), not a fixed entry. */
.menu a.is-active { background: var(--accent-fill); color: #fff; }
.menu a.is-active:hover { background: #0077ed; }
.menu-toggle { display: none; }
.menu { margin-left: auto; }
/* Login top right: grey (secondary); blue marks the active menu entry. */
.login { position: relative; margin-left: var(--s3); }
.login > summary { display: inline-flex; align-items: center; gap: var(--s2); min-height: 40px; padding: 0 var(--s4); border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 15px; white-space: nowrap; cursor: pointer; list-style: none; user-select: none; }
.login > summary::-webkit-details-marker { display: none; }
.login > summary:hover, .login[open] > summary { background: #262b33; }
.login > summary svg { color: #77dff1; }
.login .login__chevron { color: var(--text-2); }
.login[open] .login__chevron { rotate: 180deg; }
/* Drop-down: two targets, each with a short hint who it is for. */
.login__menu { position: absolute; right: 0; top: calc(100% + var(--s2)); z-index: 60; display: grid; gap: var(--s1); min-width: 280px; padding: var(--s2); border-radius: 16px; background: rgba(21, 24, 29, .98); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.login__menu a { display: block; padding: var(--s3) var(--s4); border-radius: 10px; color: var(--text); min-height: 44px; }
.login__menu a:hover, .login__menu a:focus-visible { background: var(--surface-2); text-decoration: none; }
.login__menu strong { display: block; font-size: 15px; }
.login__menu small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s6); border-radius: 999px;
  background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 16px;
  border: 1px solid var(--line); transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; background: #252a33; transform: translateY(-1px); }
.btn--primary { background: var(--accent-fill); border-color: transparent; color: #fff; box-shadow: 0 8px 30px rgba(0, 113, 227, .35); }
.btn--primary:hover { background: #0077ed; box-shadow: 0 10px 40px rgba(0, 113, 227, .5); }

/* Hero */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--s24) var(--s5) var(--s16); position: relative;
}
.hero__glow {
  position: absolute; inset: 10% 0 auto; height: 70%; margin: auto; max-width: 900px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(119, 223, 241, .14), rgba(41, 151, 255, .05) 40%, transparent 70%);
  filter: blur(10px);
}
.hero__logo { width: min(560px, 82vw); height: auto; overflow: visible; }
.hero__logo .logo-t, .hero__logo .logo-b, .hero__logo .logo-i, .hero__logo .logo-k { fill: var(--text); }
.hero__logo .logo-bar-glow { opacity: calc(.4 + var(--beat, .3) * .6); } /* --beat: heartbeat from main.js */
.hero__claim { margin: var(--s5) 0 0; color: var(--text-2); font-size: clamp(13px, 1.6vw, 16px); letter-spacing: .12em; text-transform: uppercase; }
.hero__title {
  margin-top: var(--s8); font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 11vw, 132px); letter-spacing: .01em; line-height: .95;
}
.hero__title span {
  background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Phone width: "Automatisierung," and "die läuft." always on their own lines. */
@media (max-width: 760px) { #hero-title span { display: block; } }
.hero__lead { max-width: 620px; margin: var(--s5) auto 0; color: var(--text-2); font-size: clamp(17px, 2vw, 20px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s8); }
/* "Scroll down" hint: a chevron that nudges downward; hidden once the visitor scrolls (main.js sets .scrolled). */
.hero__scroll { position: absolute; bottom: var(--s6); left: 50%; translate: -50% 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); }
.hero__scroll:hover { color: var(--text); background: var(--surface-2); }
.hero__scroll span { width: 14px; height: 14px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
.scrolled .hero__scroll { visibility: hidden; }

/* Intro animation (only when JS adds .intro to <html>) */
.intro .hero__logo .logo-bar, .intro .hero__logo .logo-bar-glow { transform: scaleX(0); transform-origin: 25px 0; animation: bar 1s var(--ease) .35s forwards; }
.intro .hero__logo .logo-t { transform: scaleY(0); transform-origin: 0 80px; animation: drop .7s var(--ease) 1.05s forwards; }
.intro .hero__logo .logo-b, .intro .hero__logo .logo-i, .intro .hero__logo .logo-k { opacity: 0; transform: translateY(40px); animation: rise .8s var(--ease) forwards; }
.intro .hero__logo .logo-b { animation-delay: 1.2s; }
.intro .hero__logo .logo-i { animation-delay: 1.32s; }
.intro .hero__logo .logo-k { animation-delay: 1.44s; }
.intro .hero__claim, .intro .hero__title, .intro .hero__lead, .intro .hero__actions, .intro .hero__scroll { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease) forwards; }
.intro .hero__claim { animation-delay: 1.8s; }
.intro .hero__title { animation-delay: 2s; }
.intro .hero__lead { animation-delay: 2.2s; }
.intro .hero__actions { animation-delay: 2.35s; }
.intro .hero__scroll { animation-delay: 2.8s; }
.intro .topbar { opacity: 0; transform: translateY(-20px); animation: rise .8s var(--ease) 2.4s forwards; }
.intro .hero__glow { opacity: 0; animation: fade 2s ease 1s forwards; }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes drop { to { transform: scaleY(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: var(--s24) var(--s5); }
.section__head { max-width: 720px; margin-bottom: var(--s12); }
.eyebrow { color: var(--brand); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s3); }
.section h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 6vw, 72px); letter-spacing: .01em; margin-bottom: var(--s5); }
.section__lead, .split__text p { color: var(--text-2); font-size: 18px; }

.cards > .card.card--wide { flex-basis: 100%; }
.card--wide { display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: start; }
.card--wide .card__icon { margin: 0; }
@media (max-width: 760px) { .card--wide { grid-template-columns: 1fr; gap: 0; } .card--wide .card__icon { margin-bottom: var(--s4); } }
/* Flex instead of grid: an incomplete last row stretches, so any number of cards leaves no gap. */
.cards { display: flex; flex-wrap: wrap; gap: var(--s4); }
.cards > .card { flex: 1 1 280px; }
.card {
  position: relative; padding: var(--s8) var(--s6); border-radius: var(--radius); background: var(--surface);
  overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), background .35s;
}
.card::before { /* light that follows the pointer (set by JS) */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(119, 223, 241, .12), transparent 60%);
}
.card:hover { transform: translateY(-4px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon { width: 44px; height: 44px; margin-bottom: var(--s5); fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: var(--s3); }
.card p { color: var(--text-2); margin: 0; }

.section--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s16); align-items: center; }
.checks { list-style: none; padding: 0; margin: var(--s6) 0 var(--s8); display: grid; gap: var(--s3); }
.checks li { position: relative; padding-left: var(--s8); }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: rgba(48, 209, 88, .16); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Phone mockup */
.phone {
  justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 44px;
  background: linear-gradient(145deg, #2a2f38, #0d0f12); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px rgba(41, 151, 255, .15);
  transform: perspective(1200px) rotateY(-12deg) rotateX(4deg); transition: transform .8s var(--ease);
}
.phone:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.phone__screen { position: relative; height: 100%; border-radius: 34px; background: radial-gradient(120% 60% at 50% 0%, #0d1a24, #000 60%); padding: var(--s2) var(--s3) var(--s3); display: flex; flex-direction: column; gap: var(--s2); overflow: hidden; }
.phone svg { display: block; }
.phone__status { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 var(--s3); font-size: 12px; font-weight: 600; }
.phone__island { position: absolute; left: 50%; top: 10px; translate: -50% 0; width: 84px; height: 24px; border-radius: 12px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.phone__sys { display: flex; gap: 4px; }
.phone__sys svg { width: 16px; height: 16px; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; margin: var(--s1) 0; padding: 0 var(--s1); }
.phone__bar > div > span { display: block; font-weight: 700; font-size: 20px; }
.phone__bar small { display: flex; align-items: center; gap: 6px; color: var(--ok); font-size: 11px; }
.phone__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #04131c; font-size: 11px; font-weight: 800; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.phone__tile { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); border-radius: 14px; padding: var(--s2) var(--s3); display: grid; gap: 1px; }
.phone__tile small { color: var(--text-2); font-size: 11px; }
.phone__tile strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.phone__tile--ok strong { color: var(--ok); }
.phone__ico { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 4px; border-radius: 8px; background: rgba(119, 223, 241, .12); color: var(--brand); }
.phone__ico svg { width: 16px; height: 16px; }
.phone__tile--ok .phone__ico { background: rgba(48, 209, 88, .14); color: var(--ok); }
.phone__ico--spin svg { animation: spin 3s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.meter { display: block; height: 4px; border-radius: 2px; background: #2c2c2e; margin-top: 4px; overflow: hidden; }
.meter b { display: block; height: 100%; width: 64%; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); animation: meter 6s ease-in-out infinite alternate; }
@keyframes meter { from { width: 48%; } to { width: 78%; } }
.phone__chart svg { width: 100%; height: 52px; margin-top: 4px; }
.phone__line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 2.4s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* Orange = attention (one colour, one meaning). */
.phone__alert { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); border-radius: 14px; background: rgba(255, 159, 10, .12); border: 1px solid rgba(255, 159, 10, .25); }
.phone__alert .phone__ico { margin: 0; background: rgba(255, 159, 10, .18); color: #ff9f0a; }
.phone__alert strong { display: block; font-size: 12px; }
.phone__alert small { display: block; font-size: 10px; color: var(--text-2); }
.phone__tabs { display: flex; justify-content: space-around; margin-top: auto; padding-top: var(--s2); border-top: 1px solid rgba(255, 255, 255, .08); }
.phone__tabs span { display: grid; justify-items: center; gap: 2px; font-size: 9px; color: #8e8e93; }
.phone__tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.phone__tabs .is-on { color: var(--accent); }
.phone__note { margin: 2px 0 0; text-align: center; color: #6e6e73; font-size: 9px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); counter-reset: step; }
.step { position: relative; padding: var(--s6) 0 0; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 1.2s var(--ease) .2s; }
.step.is-visible::before { width: 100%; }
.step__no { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--surface-2); -webkit-text-stroke: 1px rgba(119, 223, 241, .5); }
.step h3 { font-size: 20px; margin: var(--s3) 0 var(--s2); }
.step p { color: var(--text-2); margin: 0; }

/* Facts */
/* Profile photo: small, greyscale, edges fading into the background. */
.avatar { display: block; flex: none; width: 96px; aspect-ratio: 1; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(1.05);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 48%, transparent 70%); mask-image: radial-gradient(circle at 50% 45%, #000 48%, transparent 70%); }
.profile { display: flex; align-items: center; gap: var(--s4); margin: var(--s2) 0 var(--s5); }
.profile strong { display: block; font-size: 18px; }
.profile span:not(.avatar) { color: var(--text-2); font-size: 15px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.fact { padding: var(--s6); border-radius: var(--radius); background: var(--surface); }
.fact strong { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; text-transform: uppercase; letter-spacing: .02em; }
.fact span { color: var(--text-2); font-size: 15px; }

/* Contact */
.contact { text-align: center; }
.contact .section__head { margin-left: auto; margin-right: auto; }
.contact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); max-width: 820px; margin: 0 auto; }
.contact__item { display: flex; align-items: center; gap: var(--s4); padding: var(--s6); border-radius: var(--radius); background: var(--surface); color: var(--text); text-align: left; min-height: 88px; transition: background .25s, transform .25s var(--ease); }
a.contact__item:hover { background: var(--surface-2); transform: translateY(-2px); text-decoration: none; }
.contact__item svg { flex: none; width: 36px; height: 36px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.contact__item small { display: block; color: var(--text-2); font-size: 13px; }
.contact__item strong { font-size: 17px; word-break: break-word; }
a.contact__item strong { color: var(--accent); }
.contact__item .todo, .legal .todo { color: #ffb340; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: var(--s12) var(--s5) max(var(--s12), env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: var(--s4) var(--s8); align-items: center; justify-content: center; color: var(--text-2); font-size: 14px; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: var(--s5); }
.footer nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 120px var(--s5) var(--s16); }
.legal h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 8vw, 72px); margin-bottom: var(--s8); }
.legal h2 { font-size: 20px; margin: var(--s8) 0 var(--s3); }
.legal p, .legal li { color: var(--text-2); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s6); color: var(--text-2); }
.legal dt { color: var(--text); }
.legal dd { margin: 0; }

/* Tablet and phone */
@media (max-width: 900px) {
  .section { padding: var(--s16) var(--s5); }
  .section--split { grid-template-columns: 1fr; gap: var(--s12); }
  .steps { grid-template-columns: 1fr 1fr; gap: var(--s8) var(--s4); }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 0; border-radius: 12px; background: var(--surface-2); color: var(--text); cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 20px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease), background .3s; position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; }
  .menu-toggle__bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 68px var(--s3) auto; flex-direction: column; align-items: stretch; gap: var(--s1);
    padding: var(--s3); border-radius: 18px; background: rgba(21, 24, 29, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .menu.menu--simple { position: static; flex-direction: row; padding: 0; background: none; box-shadow: none; opacity: 1; transform: none; pointer-events: auto; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu a { min-height: 48px; font-size: 17px; padding: 0 var(--s4); }
  .menu .menu__cta { justify-content: center; margin-top: var(--s2); }
  .login { margin-left: auto; order: 2; }
  .login > summary { min-height: 44px; }
  .login__menu { position: fixed; top: 68px; left: var(--s3); right: var(--s3); min-width: 0; }
  .menu-toggle { order: 3; margin-left: var(--s2); }
  .menu.menu--simple { margin-left: auto; order: 1; }
  .menu.menu--simple + .login { margin-left: var(--s2); }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: var(--s4); }
  .fact strong { font-size: 30px; }
  .hero__actions .btn { flex: 1 1 100%; max-width: 340px; }
  .phone { transform: none; }
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: var(--s3); }
}

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