/* ============================================
   KI-Compliance-Check – Globales Design-System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --font:             'Manrope', -apple-system, sans-serif;

  /* Farben */
  --color-bg:         #f8fafc;
  --color-headline:   #0f172a;
  --color-text:       #1e293b;
  --color-muted:      #475569;
  --color-subtle:     #94a3b8;
  --color-blue:       #2d6aee;
  --color-blue-dark:  #1e4dd4;
  --color-blue-badge: #2d5fc4;

  /* Ampelfarben */
  --color-danger:     #ef4444;
  --color-warning:    #eab308;
  --color-success:    #22c55e;

  /* Abstände & Radien */
  --radius-btn:       13px;
  --radius-md:        12px;
  --radius-badge:     100px;
  --max-width:        680px;

  /* Shadows */
  --shadow-soft:      0 2px 6px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
}

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

/* Body */
body {
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16vh 24px 60px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(147, 197, 253, 0.14) 0%, transparent 58%),
    linear-gradient(180deg, #fafcff 0%, #eef4fd 45%, #e2ecfb 100%);
  color: var(--color-headline);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
}

/* ── Seiten-Container ── */
.page {
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-wrap {
  max-width: 620px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: var(--radius-badge);
  background: linear-gradient(135deg, rgba(219,234,254,0.60) 0%, rgba(235,244,255,0.80) 100%);
  border: 1.5px solid rgba(147, 197, 253, 0.60);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-blue-badge);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 2px 16px rgba(147, 197, 253, 0.35),
    0 1px 4px rgba(0,0,0,0.07);
  animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}

/* Hero-Badge: EU AI Act, dominant, professionell */
.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 32px;
  border-radius: var(--radius-badge);
  background: linear-gradient(135deg, rgba(0,51,153,0.10) 0%, rgba(0,61,165,0.07) 100%);
  border: 2px solid rgba(0,51,153,0.22);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a3a8f;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  text-align: center;
  animation: none;
  box-shadow:
    0 4px 24px rgba(0,51,153,0.16),
    0 1px 8px rgba(0,0,0,0.10);
}

.eu-stars {
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .badge-hero {
    font-size: 1rem;
    padding: 13px 22px;
    gap: 10px;
  }
  .eu-stars {
    width: 24px;
    height: 24px;
  }
}

/* Badge mit zwei bewussten Zeilen */
.badge-two-lines {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.badge-two-lines span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .badge-two-lines span {
    white-space: normal;
  }
}

/* ── Typografie ── */
h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-headline);
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--color-headline);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* ── Subheadline (Startseite) ── */
.sub {
  max-width: 530px;
  margin-bottom: 46px;
}

.sub-line1 {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: var(--color-headline);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.sub-line2 {
  display: block;
  font-size: clamp(0.88rem, 1.6vw, 0.97rem);
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.sub-line3 {
  display: block;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── Trust Line ── */
.trust {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-subtle);
  letter-spacing: 0.02em;
}

/* ── Primär-Button (Startseite) ── */
.cta-btn {
  display: inline-block;
  position: relative;
  background: linear-gradient(160deg, var(--color-blue) 0%, #1a45c8 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 1.13rem;
  font-weight: 700;
  padding: 19px 52px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.12),
    0 8px 28px rgba(37, 99, 235, 0.30),
    0 20px 52px rgba(37, 99, 235, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-btn);
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.13),
    0 12px 36px rgba(37, 99, 235, 0.36),
    0 24px 56px rgba(37, 99, 235, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.cta-btn:active { transform: translateY(-1px); }

/* ── Score-Anzeige (Ergebnisseite) ── */
.score-number {
  font-size: clamp(5.5rem, 15vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-headline);
  margin-bottom: 6px;
}

.score-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-subtle);
  margin-bottom: 20px;
}

/* ── Ampel Badge ── */
.ampel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-badge);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.ampel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ampel-rot  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.ampel-rot  .ampel-dot { background: var(--color-danger); box-shadow: 0 0 6px rgba(239,68,68,0.4); }

.ampel-gelb { background: #fefce8; color: #92400e; border: 1px solid #fde68a; }
.ampel-gelb .ampel-dot { background: var(--color-warning); box-shadow: 0 0 8px rgba(234,179,8,0.45); }

.ampel-gruen { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.ampel-gruen .ampel-dot { background: var(--color-success); box-shadow: 0 0 6px rgba(34,197,94,0.4); }

/* ── Progress Bar ── */
.score-bar {
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.score-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}

/* ── Ergebnistext ── */
.result-text {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
  white-space: pre-line;
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: #e2e8f0;
  margin-bottom: 24px;
}

/* ── E-Mail Formular ── */
.email-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
}

.email-input {
  flex: 1;
  height: 52px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0 18px;
  color: var(--color-headline);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus { border-color: var(--color-blue); }
.email-input::placeholder { color: var(--color-subtle); }

.btn-submit {
  height: 52px;
  padding: 0 24px;
  background: linear-gradient(150deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.14);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.38), inset 0 1px 0 rgba(255,255,255,0.14);
}

/* ── Erfolg & Hinweis ── */
.erfolg {
  display: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 14px;
}

.email-hinweis {
  display: none;
  font-size: 0.8rem;
  color: #92400e;
  margin-top: -8px;
  margin-bottom: 8px;
}

/* ── Ladeanimation ── */
.loading {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.loading span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  animation: pulse 1.2s infinite;
}

.loading span:nth-child(2) { animation-delay: 0.2s; }
.loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse {
  0%,80%,100% { opacity: 0.3; transform: scale(0.85); }
  40%          { opacity: 1;   transform: scale(1.15); }
}

.loading-text { font-size: 0.88rem; color: var(--color-subtle); }

#ergebnis-bereich { display: none; width: 100%; flex-direction: column; align-items: center; }

/* ── Mobile (Startseite, Ergebnis) ── */
@media (max-width: 600px) {
  body { padding-top: 10vh; }
  .cta-btn { width: 100%; padding: 16px 28px; }
}

@media (max-width: 520px) {
  .email-row { flex-direction: column; }
  .btn-submit { width: 100%; }
}

/* ── Quiz Layout ── */
body.quiz-page {
  padding: 0;
  display: block;
}

.quiz-wrap {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12vh 24px calc(120px + env(safe-area-inset-bottom));
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 99px;
  margin-bottom: 48px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--color-blue);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.question-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.question-text {
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 700;
  color: var(--color-headline);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 580px;
}

.options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.option {
  width: 100%;
  padding: 18px 24px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  line-height: 1.5;
}

.option:hover {
  border-color: var(--color-blue);
  background: #f0f7ff;
  box-shadow: 0 2px 12px rgba(37,99,235,0.1);
}

.option.selected {
  border-color: var(--color-blue);
  background: #eff6ff;
  box-shadow: 0 2px 16px rgba(37,99,235,0.15);
  color: var(--color-headline);
}

.option-letter {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  line-height: 26px;
  margin-right: 14px;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}

.option.selected .option-letter {
  background: var(--color-blue);
  color: #fff;
}

.option-inner {
  display: flex;
  align-items: center;
}

.next-btn {
  display: inline-block;
  position: sticky;
  bottom: 32px;
  margin-bottom: 32px;
  background: linear-gradient(150deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 16px 44px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    0 8px 24px rgba(37,99,235,0.3),
    inset 0 1px 0 rgba(255,255,255,0.14);
  opacity: 0.4;
  pointer-events: none;
  flex-shrink: 0;
  z-index: 10;
}

.next-btn.active {
  opacity: 1;
  pointer-events: auto;
}

.next-btn.active:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.12),
    0 12px 32px rgba(37,99,235,0.38),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

@media (max-width: 700px) {
  .quiz-wrap {
    padding: 8vh 20px calc(130px + env(safe-area-inset-bottom));
  }
  .next-btn {
    width: 100%;
    bottom: max(24px, env(safe-area-inset-bottom) + 16px);
    margin-bottom: max(24px, env(safe-area-inset-bottom) + 16px);
  }
}

/* ── Safari iOS Fix: Sticky entfernen, Button fließt natürlich nach Option C ── */
@supports (-webkit-touch-callout: none) and (hover: none) {
  @media screen and (max-width: 480px) {
    .next-btn {
      position: relative;
      bottom: auto;
      margin-top: 0;
      margin-bottom: env(safe-area-inset-bottom);
      width: 100%;
    }
    .quiz-wrap {
      padding-bottom: env(safe-area-inset-bottom);
    }
  }
}

/* ── Ergebnis-Seite: linear, zentriert ── */
body.ergebnis-page {
  padding: 0;
  display: block;
}

.ev-outer {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 60px 24px 80px;
}

.ev-inner {
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

/* Analyse-Phase */
.ev-phase-analyse {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  transition: opacity 0.4s ease;
}

.ev-phase-analyse.ev-fade-out { opacity: 0; }

.ev-headline {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  white-space: nowrap;
  font-weight: 800;
  color: var(--color-headline);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.ev-subline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted);
}

.ev-timer {
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 800;
  color: var(--color-headline);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ev-bar-wrap {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.ev-bar {
  height: 100%;
  width: 0%;
  background: var(--color-blue);
  border-radius: 99px;
  transition: width 1.05s linear;
}

.ev-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-subtle);
}

/* Video-Sektion */
.ev-video-section {
  width: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ev-video-section.ev-fade-out {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ev-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.ev-video-wrap video {
  width: 100%;
  display: block;
}

.ev-play-btn {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.92);
  color: var(--color-headline);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.ev-play-btn:hover { transform: translate(-50%, -50%) scale(1.05); }

/* Ton-Button */
.ev-ton-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,0.88);
  color: var(--color-headline);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(4px);
}

/* Score-Phase */
.ev-phase-score {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  animation: evFadeUp 0.55s ease forwards;
}

@keyframes evFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ev-cta-headline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-headline);
  margin-bottom: 16px;
}

/* E-Mail-Sektion – erscheint nach Video-Fade */
.ev-email-section {
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.ev-email-section.ev-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* E-Mail-Stack: Input + Button vertikal, volle Breite */
.ev-email-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 14px;
}

.ev-email-stack .email-input {
  display: block;
  width: 100%;
  flex: none;
  min-width: 0;
  box-sizing: border-box;
  height: 54px;
  font-size: 1rem;
}

.btn-submit-full {
  width: 100%;
  height: 54px;
}

/* Desktop: E-Mail-Bereich mit mehr Abstand nach oben */
@media (min-width: 701px) {
  #ev-email-section {
    margin-top: 80px;
  }
}

/* ── Datenschutz Hinweis ── */
.datenschutz-hint {
  font-size: 0.73rem;
  font-weight: 400;
  color: var(--color-subtle);
  line-height: 1.5;
  margin-bottom: 10px;
  margin-top: -2px;
}

.ds-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: inherit;
  font-weight: 500;
  color: var(--color-blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.75;
  transition: opacity 0.18s;
}

.ds-link:hover { opacity: 1; }

/* ── Datenschutz Modal ── */
.ds-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ds-overlay.ds-open { display: flex; }

.ds-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.12),
    0 32px 80px rgba(0,0,0,0.14);
  animation: dsModalIn 0.25s ease forwards;
}

@keyframes dsModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ds-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 18px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.ds-modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-headline);
  letter-spacing: -0.01em;
}

.ds-close-x {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 0.8rem;
  color: var(--color-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}

.ds-close-x:hover {
  background: #e2e8f0;
  color: var(--color-headline);
}

.ds-modal-body {
  overflow-y: auto;
  padding: 24px 28px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.ds-modal-body p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.ds-modal-body ul {
  margin: 0 0 12px 0;
  padding-left: 20px;
}

.ds-modal-body ul li {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 4px;
}

.ds-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-headline);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 20px 0 8px;
}

.ds-section-title:first-child { margin-top: 0; }

.ds-mail-link {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 500;
}

.ds-mail-link:hover { text-decoration: underline; }

.ds-modal-footer {
  padding: 16px 28px 20px;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

.ds-close-btn {
  background: #f1f5f9;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 24px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.ds-close-btn:hover {
  background: #e2e8f0;
  color: var(--color-headline);
}

@media (max-width: 480px) {
  .ds-modal {
    max-height: 92vh;
    border-radius: 16px;
  }
  .ds-modal-header,
  .ds-modal-body,
  .ds-modal-footer { padding-left: 20px; padding-right: 20px; }
}

/* ── Landing Page ── */
body.landing-page {
  padding: 0;
  display: block;
}

.lp-outer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14vh 24px 64px;
}

.lp-section {
  width: 100%;
  padding: 56px 24px;
  display: flex;
  justify-content: center;
}

.lp-section-dark {
  background: rgba(15, 23, 42, 0.03);
  border-top: 1px solid rgba(226,232,240,0.8);
  border-bottom: 1px solid rgba(226,232,240,0.8);
}

.lp-cta-section {
  padding-top: 0;
  padding-bottom: 56px;
  text-align: center;
}

.lp-inner {
  max-width: 680px;
  width: 100%;
}

.lp-problem-text {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.lp-benefits-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.lp-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

.lp-check-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 1px;
}

.lp-legal {
  font-size: 0.75rem;
  color: var(--color-subtle);
  line-height: 1.6;
  text-align: center;
  max-width: 500px;
  margin: 20px auto 0;
}

.lp-footer {
  margin-top: auto;
  padding: 28px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lp-footer a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-subtle);
  text-decoration: none;
  transition: color 0.18s;
}

.lp-footer a:hover { color: var(--color-muted); }

.lp-footer-brand {
  font-size: 0.82rem;
  color: var(--color-subtle);
}

@media (max-width: 600px) {
  .lp-hero {
    padding-top: 10vh;
    padding-bottom: 48px;
  }
  .lp-section {
    padding: 40px 20px;
  }
}
