/* ============================================================
   Tavi Website
   Farben und Abstände ändern: Variablen direkt hier unten.
   ============================================================ */

/* Schrift (selbst gehostet, Inter, SIL OFL 1.1) */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-700.woff2") format("woff2"); }

:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --surface-2: #161618;
  --surface-3: #1c1c1f;
  --border: #232327;
  --text: #f4f4f5;
  --text-soft: #d1d3d9;
  --muted: #8e9099;

  --accent: #2b59d9;        /* Hauptfarbe der Buttons */
  --accent-hover: #3768ef;
  --promo-from: #3d66e6;    /* Verlauf der Karten im Menü */
  --promo-to: #1f3a9a;

  --radius: 12px;
  --container: 1200px;
  --gutter: max(1.5rem, calc((100vw - var(--container)) / 2));
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; }
.section { padding-bottom: clamp(3rem, 8vh, 5rem); }
.muted { color: var(--muted); }
.center { text-align: center; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }
.icon--xl { width: 34px; height: 34px; }

/* ---------- Hintergrund-Glow ---------- */

.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 18% 22%, rgba(38, 66, 150, 0.22), transparent 70%),
    radial-gradient(ellipse 55% 45% at 88% 58%, rgba(30, 56, 130, 0.17), transparent 70%);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: #33333a; }
.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.97rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #8fa9f5;
  transition: gap 0.15s ease, color 0.15s ease;
}
.link-arrow:hover { gap: 0.8rem; color: #b4c5fa; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease;
}
.back-link:hover { color: #fff; }

/* ============================================================
   Header (schwebende Leiste mit Dropdown-Menüs)
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 14px;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0.8rem 0.7rem 1.5rem;
  background: rgba(15, 15, 17, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { width: 34px; height: 34px; }
.brand--footer { font-size: 1.3rem; }
.brand--footer img { width: 30px; height: 30px; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.nav__list { display: flex; align-items: center; gap: 0.2rem; }

.nav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 11px;
  background: none;
  color: #dcdee4;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__item:hover,
.nav__item[aria-expanded="true"],
.nav__item.is-active {
  background: var(--surface-3);
  color: #fff;
}
.nav__chevron { transition: transform 0.2s ease; }
.nav__item[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: #fff;
  cursor: pointer;
}
.nav-toggle .icon--close { display: none; }
.navbar.is-open .nav-toggle .icon--open { display: none; }
.navbar.is-open .nav-toggle .icon--close { display: block; }

/* ---------- Dropdown-Menüs ---------- */

.has-menu { position: static; }

.menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #0f0f11;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  animation: menu-in 0.16s ease both;
}

.menu__list { display: grid; align-content: start; gap: 0.15rem; padding: 0.3rem; }
.menu__list--cols { grid-template-columns: 1fr 1fr; }

.menu__link {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.menu__link:hover { background: var(--surface-2); }
.menu__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(43, 89, 217, 0.15);
  color: #7b9cf5;
}
.menu__title { display: block; font-weight: 600; color: #fff; }
.menu__desc { display: block; margin-top: 0.1rem; font-size: 0.93rem; color: var(--muted); }

.menu__promo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--promo-from), var(--promo-to));
  transition: filter 0.15s ease, transform 0.15s ease;
}
.menu__promo:hover { filter: brightness(1.08); }
.menu__promo-title { font-size: 1.2rem; font-weight: 700; }
.menu__promo-text { margin-top: 0.25rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sprachauswahl ---------- */

.lang { position: relative; }
.lang summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  list-style: none;
  color: #c9cbd2;
  cursor: pointer;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--surface-3); }
.lang summary img,
.lang__menu img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.lang[open] summary .icon { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  min-width: 170px;
  padding: 0.35rem;
  background: #0f0f11;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.lang__menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  border-radius: 9px;
  font-size: 0.95rem;
  color: #d4d6dc;
}
.lang__menu a:hover,
.lang__menu a[aria-current] { background: var(--surface-2); color: #fff; }

/* ============================================================
   Startseite
   ============================================================ */

.hero { padding: clamp(4rem, 12vh, 8rem) 0 clamp(3.5rem, 9vh, 6rem); text-align: center; }
.hero--small { padding-block: 9rem; }

.hero__title {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__subtitle {
  max-width: 660px;
  margin: 1.6rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  animation: rise 0.8s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.6rem;
  animation: rise 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__actions--left { justify-content: flex-start; }
.hero__actions--tight { margin-top: 0; }

/* ---------- Trusted by ---------- */

.trusted { text-align: center; padding-bottom: clamp(4rem, 10vh, 7rem); }
.trusted__title { margin-bottom: 1.8rem; font-size: 1.35rem; font-weight: 500; color: #e4e5e9; }
.trusted__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem 3rem; }
.trusted__item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #e9eaee;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
a.trusted__item:hover { opacity: 1; }
.trusted__item img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* ---------- Funktionen: Karten-Karussell + Text ---------- */

.fs {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 7vh, 4.5rem);
}
.fs--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.fs--reverse .fs__text { order: -1; }

/* Karten ragen bis zum Bildschirmrand */
.fs__cards { min-width: 0; margin-left: calc(var(--gutter) * -1); }
.fs--reverse .fs__cards { margin-left: 0; margin-right: calc(var(--gutter) * -1); }

.fs__track {
  display: flex;
  gap: 1.25rem;
  padding: 0.25rem 0.25rem 0.25rem var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
  outline: none;
}
.fs--reverse .fs__track { padding: 0.25rem var(--gutter) 0.25rem 0.25rem; scroll-padding-left: 0.25rem; }
.fs__track::-webkit-scrollbar { display: none; }
.fs__track:focus-visible { box-shadow: inset 0 0 0 2px rgba(80, 120, 240, 0.5); border-radius: 18px; }

.fs-card {
  flex: 0 0 clamp(260px, 34vw, 400px);
  min-height: 320px;
  padding: 1.7rem 1.8rem;
  background: var(--surface-2);
  border-radius: 20px;
  scroll-snap-align: start;
}
.fs-card__title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.fs-card p { font-size: 1.15rem; line-height: 1.6; color: var(--text-soft); }
.fs-card strong { color: #fff; font-weight: 700; }

.fs__controls { display: flex; justify-content: flex-end; gap: 0.9rem; margin-top: 1.4rem; }
.fs--reverse .fs__controls { justify-content: flex-start; }

.circle-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #2c2c31;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.circle-btn:hover:not(:disabled) { background: #3a3a41; }
.circle-btn:disabled { background: #18181b; color: #4b4c54; cursor: default; }

.fs__text h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.fs__text p { margin: 1.2rem 0 1.6rem; font-size: 1.15rem; color: var(--text-soft); }

/* ============================================================
   Unterseiten
   ============================================================ */

.page-hero { padding: clamp(3.5rem, 9vh, 6rem) 0 clamp(2rem, 5vh, 3rem); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.page-hero p { max-width: 640px; margin: 1.1rem auto 0; color: var(--muted); font-size: 1.2rem; }

.section-title {
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-hero { padding: clamp(3rem, 8vh, 5rem) 0 clamp(2.5rem, 6vh, 4rem); }
.feature-hero h1 { margin-top: 1.4rem; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
.feature-hero__tagline { margin-top: 0.8rem; font-size: 1.4rem; color: #9bb3f7; font-weight: 500; }
.feature-hero__text { max-width: 680px; margin-top: 1.2rem; font-size: 1.2rem; color: var(--text-soft); }
.feature-hero .hero__actions { animation: none; }

/* Karten und Raster */
.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  display: block;
  padding: 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card--link:hover { border-color: #33343c; background: var(--surface-2); transform: translateY(-2px); }
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  background: rgba(43, 89, 217, 0.14);
  color: #7b9cf5;
}
.card__icon--big { width: 70px; height: 70px; margin: 0; border-radius: 18px; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: 1.1rem; }
.card__meta { display: block; margin-bottom: 0.6rem; font-size: 0.9rem; color: var(--muted); }

/* Befehlsliste */
.commands { display: grid; gap: 0.6rem; }
.commands li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.commands code {
  min-width: 150px;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: rgba(43, 89, 217, 0.15);
  color: #9bb3f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
}
.commands span { color: var(--text-soft); }
.commands--wide li { justify-content: space-between; }
.commands a:hover { color: #9bb3f7; }

/* Fließtext (Über uns, Blog, Rechtliches) */
.prose { max-width: 760px; margin-inline: auto; font-size: 1.1rem; color: var(--text-soft); }
.prose p { margin-top: 1.1rem; }
.prose p:first-child { margin-top: 0; }
.prose h2 { margin: 2.2rem 0 0.2rem; font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.prose ul { margin: 1rem 0 0; padding-left: 1.3rem; list-style: disc; }
.prose li { margin-top: 0.4rem; }
.prose strong { color: #fff; }
.prose a { color: #8fa9f5; }
.prose--card { padding: clamp(1.6rem, 4vw, 2.8rem); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }

.post { max-width: 760px; padding-top: clamp(3rem, 8vh, 5rem); }
.post h1 { margin: 0.4rem 0 2rem; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; }

/* Hinweise */
.notice { padding: 0.85rem 1.1rem; border-radius: 10px; font-size: 0.98rem; border: 1px solid; }
.notice--success { background: rgba(40, 160, 100, 0.12); border-color: rgba(40, 160, 100, 0.4); color: #7fdcae; }
.notice--error { background: rgba(220, 70, 70, 0.12); border-color: rgba(220, 70, 70, 0.4); color: #f2a0a0; }
.notice--warn { margin-bottom: 1.4rem; background: rgba(220, 160, 40, 0.1); border-color: rgba(220, 160, 40, 0.35); color: #ebc66d; }

/* Team */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
.member {
  display: block;
  width: 250px;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.member:hover { border-color: #33343c; transform: translateY(-2px); }
.member img { width: 96px; height: 96px; margin: 0 auto 1.1rem; border-radius: 50%; object-fit: cover; }
.member h3 { font-size: 1.25rem; font-weight: 600; }
.member p { margin-top: 0.2rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0.7rem; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.08rem;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--text-soft); }
.faq strong { color: #fff; }

/* Formular */
.form-card { max-width: 640px; margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.4rem); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.form-card .notice { margin-bottom: 1.4rem; }
.form-card__mail { margin-top: 1.6rem; text-align: center; }
.form-card__mail a { color: #8fa9f5; }
.form { display: grid; gap: 1.1rem; }
.form label > span { display: block; margin-bottom: 0.4rem; font-size: 0.95rem; font-weight: 500; color: var(--text-soft); }
.form input,
.form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #0c0c0e;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43, 89, 217, 0.25); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Call to action ---------- */

.cta { padding-block: clamp(2rem, 6vh, 4rem) clamp(3rem, 8vh, 5rem); }
.cta__box {
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(43, 89, 217, 0.2), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.cta__box h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.cta__box p { margin: 1rem 0 2rem; color: var(--muted); font-size: 1.1rem; }

/* ============================================================
   Footer (Karte mit Spalten)
   ============================================================ */

.footer { padding-bottom: 1.5rem; }

.footer__card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--surface-2);
  border-radius: 24px;
}

.footer__text { max-width: 330px; margin-top: 1.1rem; font-weight: 500; color: #b4b6bd; line-height: 1.55; }
.footer__brand .brand + .footer__text { margin-top: 1.3rem; }

.footer__col h4 { margin-bottom: 1.2rem; font-size: 1.05rem; font-weight: 600; }
.footer__col li + li { margin-top: 0.95rem; }
.footer__col a { font-weight: 500; color: #b4b6bd; transition: color 0.15s ease; }
.footer__col a:hover { color: #fff; }

/* ---------- Animation ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title, .hero__subtitle, .hero__actions, .menu { animation: none; }
  .card--link:hover, a.member:hover { transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1020px) {
  .nav-toggle { display: grid; }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 0.8rem;
    background: #0f0f11;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  }
  .navbar.is-open .nav { display: flex; }

  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { width: 100%; justify-content: space-between; }
  .nav__actions { justify-content: space-between; margin: 0.4rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--border); }
  .lang__menu { right: auto; left: 0; top: auto; bottom: calc(100% + 0.5rem); }

  .menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    margin: 0.2rem 0 0.5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0.2rem 0;
    animation: none;
  }
  .menu__list--cols { grid-template-columns: 1fr; }
  .menu__promo { min-height: 110px; }

  .fs,
  .fs--reverse { grid-template-columns: 1fr; }
  .fs__text,
  .fs--reverse .fs__text { order: -1; }
  .fs--reverse .fs__cards { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .fs--reverse .fs__track { padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter); }
  .fs--reverse .fs__controls { justify-content: flex-end; }
  .fs__cards { margin-right: calc(var(--gutter) * -1); }
  .fs__track { padding-right: var(--gutter); }
  .fs__controls { padding-right: var(--gutter); }

  .footer__card { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .navbar { padding-left: 1.1rem; }
  .brand { font-size: 1.4rem; }
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }
  .trusted__item { font-size: 1.2rem; }
  .trusted__item img { width: 38px; height: 38px; }
  .fs-card { min-height: 260px; }
  .footer__card { grid-template-columns: 1fr; gap: 2rem; }
  .commands code { min-width: 0; }
}
