/*
 * Author: Semjon Link
 * Company: ayen8
 * Contact: info@ayen8.de
 * Change History:
 * - 2026-09-28: Theme-Styles. Tokens bleiben austauschbar, bis der Style Guide da ist.
 * - 2026-09-28: Würfel-Animation aus dem Hero entfernt.
 * - 2026-09-28: Kontakt als Textzeilen, Patreon als Schaltfläche, Footer ohne Kanal-Kästen.
 * - 2026-09-28: Instagram und Discord als Textlinks im Footer.
 * - 2026-09-28: Header bleibt beim Scrollen stehen. Auf schmalen Screens ein Burger-Menü.
 * - 2026-09-28: Symbole für E-Mail, Instagram und Discord.
 * - 2026-10-21: Official brand colors, Montserrat, and logo files.
 * - 2026-11-01: Bilder lassen sich nicht per Ziehen oder langes Drücken speichern.
 * - 2026-11-01: Die Menüschaltfläche bleibt aus, solange kein Menüpunkt da ist.
 * - 2026-11-01: Menüpunkte liegen beim Hover auf Lila.
 * - 2026-11-02: App-Karten auf schmalen Screens wachsen mit dem Text, statt sich zu überdecken.
 * - 2026-11-02: Auf dem Handy stehen die Karten im Raster, der Text sitzt im inneren Block.
 * - 2026-11-02: Die Menüleiste klebt auf schmalen Fenstern am oberen Rand. Der Seitentext rutscht nicht darüber.
 * - 2026-11-02: Auf schmalen Screens zeigen die App-Karten nur Titel und Status.
 * - 2026-10-21: About page logo and FAQ.
 * - 2026-10-21: App menu grouped by category.
 * - 2026-10-30: Phone frame for app screenshots. Empty image wells removed.
 * - 2026-10-30: App-Durchsicht oben. Der Beschreibungssatz im Hero ist entfernt.
 * - 2026-10-30: Optional photo after each homepage section.
 * - 2026-10-30: Das Bild zwischen FAQ und Unterstützung hat dieselbe Breite wie diese Blöcke.
 */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin-400.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: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-latin-500.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: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-600.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: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-700.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;
}

:root {
  --blue: #241f83;
  --purple: #2e0f50;
  --black: #000000;
  --ink: #000000;
  --ink-soft: rgba(0, 0, 0, 0.78);
  --slate: rgba(0, 0, 0, 0.62);
  --paper: #ffffff;
  --paper-deep: #ffffff;
  --accent: #241f83;
  --accent-deep: #2e0f50;
  --line: rgba(0, 0, 0, 0.12);
  --white: #ffffff;
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --max: 1120px;
  --space: clamp(1.25rem, 3vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.85rem var(--space);
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}

.logo img,
.custom-logo {
  width: auto;
  height: 28px;
  max-height: 28px;
}

img,
svg,
picture {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-header__inner:not(:has(.nav a, .nav button)) .nav-toggle {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a,
.cart-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__list > li > a,
.cart-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
}

.nav__list > li > a:hover,
.nav__list > li > a:focus-visible,
.nav .current-menu-item > a,
.nav__list > li > a[aria-current="page"],
.cart-link:hover,
.cart-link:focus-visible {
  background: var(--purple);
  color: var(--white);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.cart-link__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
}

.lang {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  overflow: hidden;
}

.app-menu {
  position: static;
}

.app-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.app-menu__toggle::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.app-menu__toggle:hover,
.app-menu__toggle:focus-visible,
.app-menu__toggle[aria-expanded="true"] {
  background: var(--purple);
  color: var(--white);
}

.app-menu__toggle[aria-expanded="true"]::after {
  margin-top: 0.15rem;
  transform: rotate(225deg);
}

.app-menu__panel[hidden] {
  display: none;
}

.app-menu__panel:not([hidden]) {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  z-index: 30;
  display: flex;
  width: max-content;
  max-width: min(42rem, calc(100vw - 2rem));
  background: var(--white);
  color: var(--black);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.app-menu__group {
  flex: 1 1 12.5rem;
  min-width: 12.5rem;
  padding: 0.9rem 0.35rem 0.55rem;
}

.app-menu__group + .app-menu__group {
  border-left: 1px solid var(--line);
}

.app-menu__category {
  margin: 0;
  padding: 0.1rem 0.75rem 0.45rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav .app-menu__app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.65rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  color: var(--black);
  font-weight: 400;
  text-decoration: none;
}

.app-menu__name {
  font-weight: 600;
}

.app-menu__line {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 400;
}

.app-menu .app-tag--status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}

.nav .app-menu__app:hover,
.nav .app-menu__app:focus-visible {
  background: var(--blue);
  color: var(--white);
}

.nav .app-menu__app:hover .app-menu__line,
.nav .app-menu__app:focus-visible .app-menu__line {
  color: rgba(255, 255, 255, 0.86);
}

.nav .app-menu__app:hover .app-tag--status,
.nav .app-menu__app:focus-visible .app-tag--status {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.app-menu__panel :focus-visible {
  outline-color: var(--blue);
}

.lang a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.lang a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.lang a:hover,
.lang a:focus-visible {
  background: var(--purple);
  color: var(--white);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: block;
  color: var(--white);
  background: linear-gradient(160deg, var(--blue) 0%, var(--purple) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) var(--space);
  display: grid;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.hero__mark {
  width: min(180px, 46vw);
  height: auto;
}

@media (min-width: 860px) {
  .hero__content {
    grid-template-columns: minmax(0, 38rem) auto;
  }

  .hero__mark {
    width: min(260px, 28vw);
    justify-self: end;
  }
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3.05rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero__tag {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions,
.section__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--purple);
}

.hero .btn--primary {
  background: var(--white);
  color: var(--blue);
}

.hero .btn--primary:hover {
  background: var(--white);
  color: var(--purple);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--ink:hover {
  background: var(--purple);
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--space);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-photo {
  box-sizing: border-box;
  width: min(100%, calc(var(--max) + (var(--space) * 2)));
  margin: 0 auto;
  padding: 0 var(--space);
}

.section-photo__img {
  width: 100%;
  height: auto;
}

.section:has(+ .section-photo) {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section-photo + .section {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.hero:has(+ .section-photo) .hero__content,
.stage:has(+ .section-photo) .stage__inner {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.stage {
  color: var(--white);
  background: linear-gradient(160deg, var(--blue) 0%, var(--purple) 100%);
}

.stage__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 3.5rem) var(--space);
  display: grid;
  grid-template-areas:
    "intro"
    "phone"
    "switch";
  gap: 1.5rem 2.5rem;
  align-items: start;
  justify-items: stretch;
}

.stage__intro,
.stage__phones,
.app-switch {
  min-width: 0;
  width: 100%;
}

.stage__intro { grid-area: intro; }
.stage__phones { grid-area: phone; }
.app-switch { grid-area: switch; }

.stage__phones {
  display: grid;
  justify-items: center;
}

.stage__phone {
  grid-area: 1 / 1;
}

.stage__phone[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .stage__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "phone intro"
      "phone switch";
  }
}

.stage h1 {
  margin: 0 0 0.7rem;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.stage .app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.stage .app-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: none;
}

.stage .app-tag--status {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.stage__text {
  margin: 0;
  max-width: min(36rem, 100%);
  font-size: 1.05rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.86);
}

.stage__panel[hidden] {
  display: none;
}

.stage__more {
  margin: 1.25rem 0 0;
}

.app-switch {
  display: flex;
  gap: 0.75rem;
}

.app-switch__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 72px;
  height: auto;
  padding: 0.8rem 0.95rem;
  text-align: left;
  white-space: normal;
  overflow: visible;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: var(--white);
  font: inherit;
  cursor: pointer;
}

.app-switch__tab[aria-selected="true"] {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.app-switch__tab[aria-selected="true"] .app-tag--status {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.app-switch__name,
.app-switch__hint {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.app-switch__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.app-switch__name {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
}

.app-switch__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.76;
}

.app-switch__tab .app-tags {
  margin: 0.45rem 0 0;
}

@media (min-width: 900px) {
  .app-switch__tab {
    flex: 1 1 0;
  }
}

@media (max-width: 899px) {
  .app-switch {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .app-switch__tab {
    display: block;
    flex: none;
    width: 100%;
    height: auto;
    min-height: min-content;
    max-height: none;
  }

  .app-switch__hint {
    display: none;
  }
}

.section-photo + .section-photo {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section h2,
.page-intro h1,
.not-found h1,
.entry-list h2,
.app-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

.section h2,
.page-intro h1,
.not-found h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.lead {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.lead--flush {
  margin-bottom: 0;
}

.section--muted {
  background: var(--paper-deep);
}

.contact-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.contact-lines a {
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 1.05rem;
  text-underline-offset: 0.18em;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.support-link {
  color: var(--accent-deep);
  font-weight: 600;
}

.about-content > *:first-child {
  margin-top: 0;
}

.group-grid,
.app-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.group-card,
.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  height: 100%;
}

.group-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.2rem;
  text-decoration: none;
}

.group-card h3,
.app-card__title {
  margin: 0;
  font-size: 1.35rem;
}

.group-card p,
.app-card__excerpt {
  margin: 0;
  color: var(--ink-soft);
}

.group-card__count {
  margin-top: auto;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.app-card__media,
.app-single__media {
  display: flex;
  justify-content: center;
}

.app-card__media {
  padding: 1.15rem 1rem 0.15rem;
}

.phone {
  width: min(210px, 62vw);
  margin-inline: auto;
}

.phone--feature {
  width: min(280px, 72vw);
}

.phone__bezel {
  background: var(--black);
  border-radius: 32px;
  padding: 11px;
}

.phone__screen {
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
}

.phone__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.app-shots-wrap {
  margin-top: 1.75rem;
}

.app-shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-shots .phone {
  width: min(180px, 40vw);
}

.app-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}

.tag {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.app-meta {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 600;
}

.app-card__groups,
.link-row,
.group-filter ul,
.breadcrumbs ol,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
}

.app-card__groups a,
.app-card__more,
.breadcrumbs a,
.entry-content a,
.not-found a {
  color: var(--accent-deep);
  font-weight: 600;
}

.app-card__more {
  margin-top: 0.45rem;
}

.group-filter {
  margin-top: 1rem;
}

.group-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.group-filter a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.link-row {
  margin-top: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

a.chip:hover,
.group-card:hover,
.group-filter a:hover {
  border-color: var(--accent);
}

.editor-note {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border: 1px dashed var(--accent-deep);
  background: rgba(139, 108, 255, 0.08);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.page-intro {
  padding: clamp(2.5rem, 6vw, 3.5rem) var(--space) 0;
}

.page-intro__inner {
  max-width: 46rem;
  margin: 0 auto;
}

.page-intro__inner--wide {
  max-width: var(--max);
}

.breadcrumbs {
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.75rem;
  color: var(--slate);
}

.app-single {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.app-single .tag {
  margin-bottom: 0.4rem;
}

.entry-content,
.legal-doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem var(--space) clamp(3rem, 8vw, 5rem);
}

.page-intro + .entry-content,
.page-intro + .legal-doc,
.app-single + .entry-content {
  padding-top: 1.25rem;
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-display);
  line-height: 1.25;
}

.entry-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.about-page__logo {
  display: block;
  width: min(200px, 62vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.faq {
  margin-top: 2.5rem;
}

.section .faq {
  margin-top: 0;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  min-height: 44px;
  padding: 0.9rem 0;
  font-weight: 600;
  cursor: pointer;
}

.faq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq__answer {
  padding-bottom: 0.4rem;
}

@media (min-width: 800px) {
  .about-page__logo {
    width: 240px;
    margin-left: 0;
  }
}

.entry-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
}

.entry-content p,
.entry-content li {
  color: var(--ink-soft);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2rem;
}

.entry-list {
  display: grid;
  gap: 1.5rem;
}

.entry-list__item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.entry-list__item h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.entry-list__item p {
  margin: 0;
  color: var(--ink-soft);
}

.navigation.pagination {
  margin-top: 2rem;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.navigation.pagination a,
.navigation.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
}

.navigation.pagination .current {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.search-form {
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
  margin-top: 1.25rem;
}

.search-form input[type="search"] {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  width: 100%;
}

.not-found {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 8rem) var(--space);
}

.site-footer {
  padding: 2.5rem var(--space) 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.site-footer__inner,
.site-footer__channels {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: flex-start;
  align-items: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer-links {
  margin-left: auto;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--white);
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.icon-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent);
}

.site-footer .icon-link {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.site-footer .icon-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.logo--footer {
  justify-content: flex-start;
}

.logo--footer img {
  height: 92px;
  max-height: none;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
}

.site-footer .editor-note {
  color: rgba(255, 255, 255, 0.82);
  border-color: var(--accent);
  background: rgba(139, 108, 255, 0.16);
}

.footer-copy {
  max-width: var(--max);
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 700px) {
  .group-grid,
  .app-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-single--with-phone {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (min-width: 1024px) {
  .app-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 0;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: var(--space);
    left: var(--space);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--blue);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem;
  }

  .nav.is-open {
    display: flex;
    max-height: calc(100svh - 5rem);
    overflow: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list a,
  .nav .cart-link {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .app-menu {
    width: 100%;
  }

  .app-menu__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .app-menu__panel:not([hidden]) {
    position: static;
    flex-direction: column;
    width: auto;
    max-width: none;
    margin: 0.35rem 0 0.5rem;
  }

  .app-menu__group + .app-menu__group {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .lang {
    align-self: flex-start;
    margin-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    transition: none;
  }
}
