/* ============================================
   beiti.me — Design System
   Minimalistisch, hell, clean
   ============================================ */

/* --- Fonts ---
 * Space Grotesk: markante Headings mit technischem Charakter
 * Inter: bewährte Body-Schrift für Fließtext und UI
 * JetBrains Mono: Codeblöcke
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --color-bg: #F8F9FB;
  --color-bg-alt: #E8ECF2;
  --color-bg-card: #FFFFFF;
  --color-text: #2D3748;
  --color-heading: #0F172A;
  --color-muted: #5A6577;
  --color-accent: #1D4ED8;
  --color-accent-hover: #1E40AF;
  --color-accent-light: #E0ECFF;
  --color-border: #C8CED8;
  --color-border-light: #DDE2E8;

  --color-badge-stable: #059669;
  --color-badge-stable-bg: #ECFDF5;
  --color-badge-beta: #D97706;
  --color-badge-beta-bg: #FFFBEB;
  --color-badge-soon: #6B7280;
  --color-badge-soon-bg: #F3F4F6;
  --color-badge-experimental: #7C3AED;
  --color-badge-experimental-bg: #F5F3FF;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --max-width: 1100px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: 150ms ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

/* --- Language Toggle --- */
html[lang="en"] [lang="de"] {
  display: none !important;
}

html[lang="de"] [lang="en"] {
  display: none !important;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
}

p+p {
  margin-top: 1rem;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__header {
  margin-bottom: 3rem;
}

.section__title {
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section__subtitle {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 253, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-heading);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav__logo:hover {
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-heading);
}

.nav__lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.25rem;
  cursor: pointer;
}

.nav__lang-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.nav__lang-btn--active {
  background: var(--color-bg);
  color: var(--color-heading);
  box-shadow: var(--shadow-sm);
}

/* --- Dropdown Nav Desktop --- */
.nav__item {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  transition: transform var(--transition);
}

.nav__item:hover .nav__dropdown-toggle,
.nav__item--active .nav__dropdown-toggle {
  color: var(--color-heading);
}

.nav__item:hover .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  padding: 0.35rem;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 101;
}

.nav__item:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.nav__dropdown-link {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav__dropdown-link:hover,
.nav__dropdown-link--active {
  background: var(--color-bg-alt);
  color: var(--color-accent) !important;
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__hamburger svg {
  width: 24px;
  height: 24px;
  color: var(--color-heading);
}

@media (max-width: 768px) {
  .nav__hamburger {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav__links--open {
    display: flex;
  }

  /* Mobile Dropdown Overrides */
  .nav__item {
    width: 100%;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    /* mobile nav font size */
  }

  .nav__item--open .nav__dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .nav__dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    min-width: 100%;
    display: none;
    /* hidden by default, toggled via JS class on .nav__item */
    gap: 0;
    margin-top: 0.25rem;
  }

  .nav__dropdown-menu::before {
    display: none;
  }

  .nav__item--open .nav__dropdown-menu {
    display: flex;
  }

  .nav__dropdown-link {
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

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

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  margin: 0 0.4rem;
  color: var(--color-border);
}

/* --- Hero --- */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-accent-light) 0%, var(--color-bg) 100%);
}

.hero__tagline {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Project page hero (left-aligned) */
.hero--project {
  text-align: left;
  padding: 4rem 0 3rem;
}

.hero--project .hero__tagline {
  margin-left: 0;
}

.hero--project .hero__actions {
  justify-content: flex-start;
}

.hero__title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Logo-Bild neben dem Projekttitel im Hero-Bereich */
.hero__project-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Logo-Bild innerhalb der Projektkarten auf der Startseite */
.card__logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge--stable {
  color: var(--color-badge-stable);
  background: var(--color-badge-stable-bg);
}

.badge--beta {
  color: var(--color-badge-beta);
  background: var(--color-badge-beta-bg);
}

.badge--experimental {
  color: var(--color-badge-experimental);
  background: var(--color-badge-experimental-bg);
}

.badge--soon {
  color: var(--color-badge-soon);
  background: var(--color-badge-soon-bg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #FFFFFF;
}

.btn--secondary {
  background: var(--color-bg);
  color: var(--color-heading);
  border-color: var(--color-border);
}

.btn--secondary:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-heading);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.card--muted {
  opacity: 0.6;
}

.card--muted:hover {
  opacity: 0.8;
  border-color: var(--color-border);
  box-shadow: none;
}

.card__icon {
  width: 72px;
  height: 72px;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}

.card__icon svg {
  width: 36px;
  height: 36px;
}

.card__title {
  margin-bottom: 0.5rem;
}

.card__description {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__link {
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.card__link:hover svg {
  transform: translateX(3px);
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
}

.feature__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature__title {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature__description {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* --- Use Cases --- */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.use-case {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.use-case__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.use-case__title {
  margin-bottom: 0.5rem;
}

.use-case__description {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* --- Installation / Code Blocks --- */
.install-steps {
  max-width: 700px;
}

.install-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.install-step__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.install-step__content h4 {
  margin-bottom: 0.5rem;
}

pre {
  background: #1E293B;
  color: #E2E8F0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--color-bg-alt);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

/* --- Screenshot Placeholder --- */
.screenshot-placeholder {
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* --- About Section (Homepage) --- */
.about {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about__avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 2rem;
}

.about__text {
  font-size: 1.05rem;
}

@media (max-width: 600px) {
  .about {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Coming Soon --- */
.coming-soon {
  text-align: center;
  padding: 6rem 0;
}

.coming-soon__icon {
  width: 80px;
  height: 80px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--color-muted);
}

.coming-soon__icon svg {
  width: 36px;
  height: 36px;
}

.coming-soon p {
  max-width: 500px;
  margin: 1rem auto 0;
  color: var(--color-muted);
}

/* --- Footer --- */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border-light);
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: var(--color-muted);
  background: var(--color-bg-alt);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.footer__links a:hover {
  color: var(--color-heading);
}

/* --- Legal / Impressum page --- */

/* Container class for legal text pages (Impressum, Datenschutz, etc.)
   Adds subtle visual accents to break the monotony of pure-text pages. */

.legal-content h2 {
  /* Fette, große Überschriften statt Akzentlinien — klar und schlicht */
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

/* Thin separator between legal sections */
.legal-content h2+p {
  margin-top: 0;
}

.legal-content h2~h2 {
  /* Light rule above each new section (except the first one) */
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-light);
}

/* Styled address / contact block */
.legal-content .legal-address {
  background: var(--color-accent-light);
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
}

/* E-Mail link styling within legal content */
.legal-content .obf-email {
  font-weight: 500;
}

/* --- Split Layout (Text + Visual side-by-side) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse>* {
  direction: ltr;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split--reverse {
    direction: ltr;
  }
}

/* --- Mode Cards (e.g. Tracked Changes modes) --- */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.mode-card {
  padding: 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.mode-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.mode-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.mode-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.35rem;
}

.mode-card__desc {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* --- Process Steps (horizontal 1-2-3) --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  position: relative;
}

.process-step {
  position: relative;
}

.process-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 1rem;
}

.process-step__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.35rem;
}

.process-step__desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Connector lines between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -0.75rem;
  width: calc(1.5rem);
  height: 2px;
  background: var(--color-border);
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* --- Tech Stack (horizontal) --- */
.tech-stack {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-width: 120px;
  text-align: center;
  transition: all var(--transition);
}

.tech-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.tech-item__icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
}

.tech-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-heading);
}

.tech-item__desc {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* --- Roadmap Cards --- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.roadmap-card {
  padding: 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-badge-experimental);
}

.roadmap-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.roadmap-card__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* --- Inline feature list (compact) --- */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* --- SVG diagram container --- */
.diagram {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.diagram svg {
  max-width: 100%;
  height: auto;
}

/* --- Utilities --- */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}