/* QA_REVIEWED: 2026-01-27 */
:root {
  color-scheme: light;
  --ink: #2b2141;
  --muted: #6b5b8f;
  --bg: #fff8f4;
  --accent: #ff8a3d;
  --accent-2: #9a7bff;
  --accent-3: #ffd27a;
  --line: rgba(138, 104, 215, 0.18);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 28px 90px rgba(86, 63, 150, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", "SF Pro", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    radial-gradient(900px 700px at 12% 8%, #ffe6d5 0%, transparent 60%),
    radial-gradient(900px 700px at 88% 6%, #e7ddff 0%, transparent 55%),
    radial-gradient(800px 800px at 50% 85%, #fff2e2 0%, transparent 55%),
    var(--bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.aurora {
  position: fixed;
  inset: -20vh 0 auto;
  height: 140vh;
  background: conic-gradient(from 130deg at 50% 50%, rgba(154, 123, 255, 0.18), rgba(255, 138, 61, 0.18), rgba(255, 210, 122, 0.18), rgba(154, 123, 255, 0.18));
  filter: blur(60px);
  opacity: 0.6;
  animation: drift 18s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

.grid-lines {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 123, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 123, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.topbar {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
}

.lang[aria-pressed="true"] {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #2b2141;
  border-color: transparent;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 120px 24px 90px;
  z-index: 2;
}

.hero-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  max-width: 100%;
}

.badge i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(154, 123, 255, 0.4);
}

h1 {
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.02;
  font-weight: 700;
  margin-top: 16px;
}

.gradient {
  background: linear-gradient(110deg, var(--accent), var(--accent-2) 55%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #2b2141;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(154, 123, 255, 0.25);
}

.btn.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(154, 123, 255, 0.22);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 229, 0.92));
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 14px 30px rgba(154, 123, 255, 0.14);
  backdrop-filter: blur(10px);
  position: relative;
}

.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(154, 123, 255, 0.45);
  flex: 0 0 auto;
}

.chip-kicker {
  font-weight: 600;
  color: #3b2f5c;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 11px;
}

.chip-main {
  letter-spacing: 0.2px;
  font-weight: 500;
}

.stage {
  position: relative;
  height: 460px;
  display: grid;
  place-items: center;
}

.stage::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 260px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 42% 58% 52% 48% / 45% 55% 45% 55%;
  background: radial-gradient(circle at 50% 50%, rgba(154, 123, 255, 0.28), transparent 62%);
  filter: blur(32px);
  opacity: 0.85;
  animation: glowShift 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.stage::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 220px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 138, 61, 0.22), transparent 65%);
  filter: blur(28px);
  opacity: 0.7;
  animation: glowShiftAlt 22s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.particle-cloud {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 999px;
  opacity: 0.6;
  filter: blur(0.5px);
  animation: driftParticle var(--dur) ease-in-out infinite alternate;
  background: radial-gradient(circle, var(--c), transparent 70%);
}

.hero-card {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  width: min(320px, 90%);
  z-index: 2;
}

.hero-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.hero-card p {
  color: #5b4a7e;
  line-height: 1.5;
}


.signal {
  margin-top: 42px;
  border-top: 1px solid rgba(154, 123, 255, 0.16);
  border-bottom: 1px solid rgba(154, 123, 255, 0.16);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.signal-track {
  display: inline-flex;
  gap: 48px;
  padding: 16px 0;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(43, 33, 65, 0.6);
  min-width: 200%;
  width: max-content;
  will-change: transform;
}

.signal-track span::before {
  content: "•";
  color: var(--accent-2);
  margin-right: 6px;
}

.stats-band {
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(154, 123, 255, 0.16);
  box-shadow: 0 20px 50px rgba(154, 123, 255, 0.12);
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: center;
}

.stat {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.stat strong { font-size: 22px; }
.stat .stat-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 11px;
}

.section {
  padding: 80px 24px;
  display: grid;
  place-items: center;
}

.section.vision {
  padding: 88px 24px 70px;
}

.section-title {
  max-width: 1200px;
  width: min(100%, 1200px);
  margin-bottom: 24px;
}

.section.vision .section-title {
  display: grid;
  gap: 10px;
}

.section.vision .section-title::before {
  content: "";
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(154, 123, 255, 0.3);
}

.section-title h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 8px;
}

.section-title p { color: var(--muted); }

.grid {
  max-width: 1200px;
  width: min(100%, 1200px);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

#partner .grid {
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

#partner .tile {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border: 1px solid rgba(154, 123, 255, 0.22);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 233, 0.92));
  box-shadow: 0 22px 60px rgba(86, 63, 150, 0.12);
}

#partner .tile::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 140px;
  background: radial-gradient(220px 120px at 12% 0%, rgba(154, 123, 255, 0.18), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

#partner .tile h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

#partner .tile p {
  color: #5b4a7e;
  line-height: 1.6;
}

.partner-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.partner-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(154, 123, 255, 0.35);
  box-shadow: 0 6px 14px rgba(86, 63, 150, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.partner-dot.is-active {
  background: rgba(154, 123, 255, 0.85);
  transform: scale(1.2);
}

.vision-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.vision-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(154, 123, 255, 0.35);
  box-shadow: 0 6px 14px rgba(86, 63, 150, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.vision-dot.is-active {
  background: rgba(154, 123, 255, 0.85);
  transform: scale(1.2);
}

.vision-grid {
  gap: 18px;
}

.vision-layout .vision-grid {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.vision-layout {
  width: min(100%, 1200px);
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.vision-rows {
  display: grid;
  gap: 16px;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.vision-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.vision-row > .tile {
  height: 100%;
}

.vision-block {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.block-head {
  display: grid;
  gap: 8px;
  min-height: 120px;
}

.block-kicker {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 11px;
  color: rgba(43, 33, 65, 0.55);
}

.block-title {
  font-size: 20px;
}

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.legal-tile-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.legal-tile-link:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 123, 255, 0.45);
  box-shadow: 0 24px 60px rgba(86, 63, 150, 0.16);
}

.legal-tile-link:focus-visible {
  outline: 2px solid rgba(154, 123, 255, 0.6);
  outline-offset: 3px;
}

.vision-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(154, 123, 255, 0.2);
  box-shadow: 0 24px 70px rgba(86, 63, 150, 0.12);
  min-height: 200px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-radius: 22px;
}

.vision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 160px at 85% 10%, rgba(154, 123, 255, 0.2), transparent 65%);
  opacity: 0.6;
  pointer-events: none;
}

.vision-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #2b2141;
  background: linear-gradient(135deg, rgba(255, 210, 122, 0.95), rgba(154, 123, 255, 0.9));
  box-shadow: 0 12px 24px rgba(154, 123, 255, 0.24);
  margin-bottom: 12px;
}

.tile h3 { font-size: 20px; margin-bottom: 8px; }
.tile p { color: #5b4a7e; line-height: 1.55; }

.impact {
  padding: 0;
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.impact-inner {
  max-width: none;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.impact-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(154, 123, 255, 0.18);
  box-shadow: 0 18px 40px rgba(86, 63, 150, 0.12);
  display: grid;
  gap: 8px;
  min-height: 200px;
  align-content: start;
}

.impact-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 16px;
  background: linear-gradient(135deg, rgba(255, 210, 122, 0.9), rgba(154, 123, 255, 0.85));
  color: #2b2141;
  box-shadow: 0 10px 22px rgba(154, 123, 255, 0.22);
}

.impact-card strong { display: block; font-size: 20px; margin-bottom: 2px; }
.impact-card span { color: var(--muted); }

.timeline {
  position: relative;
  max-width: 1200px;
  width: min(100%, 1200px);
  padding: 24px 0 10px;
  display: grid;
  gap: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, rgba(154, 123, 255, 0.15), rgba(255, 138, 61, 0.18));
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  position: relative;
  width: 48%;
  padding: 22px 24px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(154, 123, 255, 0.22);
  box-shadow: 0 18px 40px rgba(86, 63, 150, 0.16);
  display: grid;
  gap: 6px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 1;
}


.timeline-item.left { justify-self: start; }
.timeline-item.right { justify-self: end; }

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

.timeline-dot {
  position: absolute;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(154, 123, 255, 0.35);
}

.timeline-item.left .timeline-dot {
  right: -28px;
}

.timeline-item.right .timeline-dot {
  left: -28px;
}

.timeline-item strong { font-size: 18px; }
.timeline-item span { color: var(--muted); }

.phase-note {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(43, 33, 65, 0.55);
}

.phase-current {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 210, 122, 0.95), rgba(154, 123, 255, 0.85));
  color: #2b2141;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(154, 123, 255, 0.22);
}

.contact {
  padding: 90px 24px;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 70%;
  background: radial-gradient(600px 320px at 20% 20%, rgba(154, 123, 255, 0.16), transparent 70%),
    radial-gradient(600px 320px at 80% 30%, rgba(255, 138, 61, 0.16), transparent 70%);
  filter: blur(30px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.618fr);
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.contact-info-card {
  align-self: start;
  height: 100%;
}

.contact-info-card {
  border: 1px solid rgba(154, 123, 255, 0.2);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 60px rgba(86, 63, 150, 0.12);
}

.contact-form-card {
  border: 1px solid rgba(154, 123, 255, 0.24);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 70px rgba(86, 63, 150, 0.16);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contact-item {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
}

.contact-item strong {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.legal-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-item {
  display: grid;
  gap: 2px;
}

.legal-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(43, 33, 65, 0.6);
}

.legal-block {
  margin-top: 6px;
}

.legal-block p {
  margin-bottom: 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block h1,
.legal-block h2,
.legal-block h3,
.legal-block h4 {
  color: var(--ink);
  margin: 18px 0 8px;
  line-height: 1.25;
}

.legal-block h1 { font-size: 22px; }
.legal-block h2 { font-size: 18px; }
.legal-block h3 { font-size: 16px; }
.legal-block h4 { font-size: 14px; }

.legal-block ul {
  margin: 8px 0 12px 18px;
  color: #5b4a7e;
}

.legal-block li {
  margin-bottom: 6px;
}

.legal-block .policy {
  display: grid;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #5b4a7e;
}

.legal-block .policy p {
  margin: 0;
}

.legal-block .policy > b {
  display: block;
  margin: 8px 0 2px;
  font-weight: 500;
  color: #4a3a6b;
}

.legal-block .policy > b:empty {
  display: none;
}

.legal-block .policy input[type="submit"] {
  display: none;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(154, 123, 255, 0.25);
  background: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  color: #3b2f5c;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.back-to-top:hover {
  color: #2b2141;
  border-color: rgba(154, 123, 255, 0.4);
}

.legal-page {
  background:
    radial-gradient(700px 420px at 12% 8%, rgba(255, 210, 122, 0.35), transparent 65%),
    radial-gradient(700px 420px at 88% 6%, rgba(154, 123, 255, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 244, 0.95));
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.legal-hero {
  padding: 60px 24px 24px;
  border-bottom: 1px solid rgba(154, 123, 255, 0.12);
}

.legal-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.legal-title-inline {
  margin-left: auto;
  display: grid;
  gap: 6px;
  text-align: right;
  max-width: 520px;
}

.legal-title-inline h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0;
}

.legal-title-inline .legal-sub {
  margin: 0;
}
.legal-title-block {
  margin-left: auto;
  text-align: right;
  max-width: 520px;
}

.legal-title-block .legal-sub {
  margin-left: auto;
}

.home-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.home-arrow {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(154, 123, 255, 0.25);
  color: #3b2f5c;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(154, 123, 255, 0.18);
}

.legal-topnav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}

.legal-topnav a:hover {
  color: #3b2f5c;
}

.legal-hero-inner::before {
  content: "PresentExpress · Legal";
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(154, 123, 255, 0.25);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(43, 33, 65, 0.7);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.legal-header h1 {
  font-size: clamp(28px, 4vw, 40px);
}

.legal-sub {
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}

.legal-layout {
  max-width: 1200px;
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.legal-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(154, 123, 255, 0.18);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(86, 63, 150, 0.12);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 160px at 85% 10%, rgba(154, 123, 255, 0.18), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.legal-card > * {
  position: relative;
  z-index: 1;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.legal-aside {
  position: sticky;
  top: 24px;
}

.legal-aside-card {
  border-radius: 18px;
  border: 1px solid rgba(154, 123, 255, 0.18);
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(86, 63, 150, 0.1);
}

.legal-contact-compact {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid rgba(154, 123, 255, 0.18);
  background: rgba(255, 255, 255, 0.95);
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(86, 63, 150, 0.1);
}

.legal-contact-head {
  display: grid;
  gap: 4px;
}

.legal-contact-compact h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(43, 33, 65, 0.7);
}

.legal-contact-note {
  font-size: 12px;
  color: rgba(43, 33, 65, 0.6);
}

.legal-field {
  display: grid;
  gap: 6px;
}

.legal-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(43, 33, 65, 0.6);
}

.legal-contact-compact input,
.legal-contact-compact textarea {
  font-size: 14px;
}

.legal-contact-compact textarea {
  min-height: 90px;
}

.legal-aside-card h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(43, 33, 65, 0.7);
}

.legal-aside-card a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-aside-card a:hover {
  color: #3b2f5c;
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(154, 123, 255, 0.2);
  background: linear-gradient(180deg, #fff, #fff8f4);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(154, 123, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(154, 123, 255, 0.12);
}

.form textarea { min-height: 120px; resize: vertical; }

.form-note {
  font-size: 12px;
  color: rgba(43, 33, 65, 0.6);
}

.form-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(154, 123, 255, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: #2b2141;
  font-size: 16px;
  text-align: center;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.form-status::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 120deg,
    rgba(255, 210, 122, 0.12),
    rgba(255, 176, 140, 0.12),
    rgba(154, 123, 255, 0.14),
    rgba(210, 170, 255, 0.12),
    rgba(255, 138, 61, 0.12),
    rgba(255, 210, 122, 0.12)
  );
  animation: statusSweep 1.6s ease-in-out infinite;
  opacity: 0.6;
}

.form-status > * {
  position: relative;
  z-index: 1;
}

.form-status.show {
  opacity: 1;
  transform: scale(1);
}

.form-status.success {
  border-color: rgba(72, 184, 140, 0.4);
  background: rgba(230, 255, 245, 0.9);
}

.form-status.error {
  border-color: rgba(255, 138, 61, 0.45);
  background: rgba(255, 244, 236, 0.9);
}

.status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: linear-gradient(120deg, rgba(255, 210, 122, 0.9), rgba(154, 123, 255, 0.85));
  color: #2b2141;
  box-shadow: 0 8px 18px rgba(154, 123, 255, 0.2);
}

.form-status.success .status-icon {
  background: linear-gradient(120deg, rgba(106, 212, 164, 0.9), rgba(72, 184, 140, 0.9));
  color: #0d3b2c;
}

.status-pulse {
  animation: statusPulse 1.2s ease-in-out;
}

@keyframes statusPulse {
  0% { transform: scale(0.96); opacity: 0.4; }
  60% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes statusSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.footer {
  padding: 50px 24px 50px;
  color: var(--muted);
  font-size: 14px;
  overflow-x: hidden;
}

.footer-blobs {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  display: none;
}

.footer-blob {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(154, 123, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(86, 63, 150, 0.12);
  display: grid;
  gap: 8px;
}

.footer-blob-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.footer-blob-link:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 123, 255, 0.4);
}

.footer-blob h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: rgba(43, 33, 65, 0.7);
}

.footer-blob p {
  color: #5b4a7e;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #3b2f5c;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(154, 123, 255, 0.16);
  text-align: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes drift {
  0% { transform: translateY(-10px) rotate(0deg); }
  100% { transform: translateY(10px) rotate(6deg); }
}

@keyframes glowShift {
  0% {
    background: radial-gradient(circle at 50% 50%, rgba(154, 123, 255, 0.28), transparent 62%);
    opacity: 0.7;
  }
  50% {
    background: radial-gradient(circle at 50% 50%, rgba(255, 180, 120, 0.26), transparent 62%);
    opacity: 0.82;
  }
  100% {
    background: radial-gradient(circle at 50% 50%, rgba(255, 138, 61, 0.28), transparent 62%);
    opacity: 0.9;
  }
}

@keyframes glowShiftAlt {
  0% {
    background: radial-gradient(circle at 50% 50%, rgba(255, 138, 61, 0.22), transparent 65%);
    opacity: 0.55;
  }
  50% {
    background: radial-gradient(circle at 50% 50%, rgba(180, 150, 255, 0.22), transparent 65%);
    opacity: 0.7;
  }
  100% {
    background: radial-gradient(circle at 50% 50%, rgba(154, 123, 255, 0.22), transparent 65%);
    opacity: 0.8;
  }
}

@keyframes glowShift {
  0% {
    background: radial-gradient(circle at 50% 50%, rgba(154, 123, 255, 0.35), transparent 60%);
    opacity: 0.75;
  }
  100% {
    background: radial-gradient(circle at 50% 50%, rgba(255, 138, 61, 0.35), transparent 60%);
    opacity: 0.85;
  }
}

@keyframes driftParticle {
  0% { transform: translate(var(--x1), var(--y1)); opacity: 0.35; }
  70% { transform: translate(var(--x2), var(--y2)); opacity: 0.9; }
  100% { transform: translate(var(--x3), var(--y3)); opacity: 0.6; }
}

@media (max-width: 720px) {
  .hero { padding-top: 90px; }
  .stage { height: 360px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { height: 380px; }
  .vision-layout { grid-template-columns: 1fr; gap: 22px; }
  .vision-row { grid-template-columns: 1fr; }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-info-card,
  .contact-form-card {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar { top: 12px; right: 12px; }
  .badge { white-space: normal; }
  .hero { padding: 90px 18px 70px; }
  h1 { font-size: clamp(32px, 9vw, 52px); }
  .hero-sub { font-size: 16px; }
  .stage { height: 320px; margin-top: 8px; }
  .stage::before { width: 280px; height: 210px; }
  .stage::after { width: 250px; height: 180px; }
  .hero-card { width: min(320px, 100%); }
  .chip-row { gap: 8px; }
  .chip { font-size: 12px; }
  .stats { grid-template-columns: 1fr; }
  .signal { margin-top: 32px; }
  .signal-track { font-size: 11px; gap: 24px; letter-spacing: 1.4px; }
  .section.vision { padding: 72px 18px 60px; }
  .vision-layout { display: none; }
  .block-head {
    min-height: 0;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(86, 63, 150, 0.12);
  }
  .block-title { font-size: 18px; }
  .vision-rows { gap: 12px; }
  .vision-row { gap: 12px; }
  .vision-card,
  .impact-card {
    min-height: auto;
    padding: 18px;
  }
  .impact-card { display: none; }
  .vision-icon,
  .impact-icon {
    width: 38px;
    height: 38px;
  }
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    width: 100%;
    justify-self: stretch;
    padding: 18px 52px;
  }
  .timeline-item.left,
  .timeline-item.right { justify-self: stretch; }
  .timeline-item .timeline-dot {
    left: 50%;
    right: auto;
    width: 14px;
    height: 14px;
    top: 22px;
    transform: translateX(-50%);
  }
  .timeline-item:nth-child(odd) .timeline-dot { display: none; }
  .timeline-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid rgba(154, 123, 255, 0.35);
    filter: drop-shadow(0 3px 6px rgba(86, 63, 150, 0.12));
  }
  .timeline-item:last-child::after { display: none; }
  .phase-current { top: 12px; right: 12px; }
  .section-title {
    text-align: left;
  }

  body:not(.legal-page) #impressum {
    display: none;
  }

  #partner .grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 82vw);
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 6px 4px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 16px;
    scrollbar-width: none;
  }

  #partner .grid::before,
  #partner .grid::after {
    content: "";
    position: sticky;
    top: 0;
    width: 10px;
    height: 1px;
  }

  #partner .grid { padding: 10px 16px 18px; }

  #partner .grid::-webkit-scrollbar {
    height: 0;
    display: none;
  }

  #partner .grid::-webkit-scrollbar-thumb {
    background: rgba(154, 123, 255, 0.3);
    border-radius: 999px;
  }

  #partner .tile {
    scroll-snap-align: center;
  }

  #partner .tile {
    box-shadow: none;
  }

  .vision-rows {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 85vw);
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 8px 16px 18px;
    scroll-snap-type: x mandatory;
    scroll-padding: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .vision-rows::-webkit-scrollbar {
    height: 0;
    display: none;
  }

  .vision-card,
  .impact-card {
    box-shadow: none;
  }

  .vision-dots {
    display: inline-flex;
  }

  .vision-row {
    grid-template-columns: 1fr;
    scroll-snap-align: center;
  }

  .partner-dots {
    display: inline-flex;
  }
}

@media (max-width: 520px) {
  .hero { padding: 80px 14px 60px; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .stats-band { padding: 12px; }
  .section { padding: 70px 16px; }
  .contact { padding: 70px 16px; }
  .timeline-item {
    padding: 16px 36px;
  }
  .timeline-item::after {
    bottom: -12px;
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 6px;
  }
  .timeline-item .timeline-dot {
    left: 50%;
    width: 12px;
    height: 12px;
    top: 18px;
    transform: translateX(-50%);
  }
  .timeline-item strong { font-size: 16px; }
  .phase-note { font-size: 11px; }
  .form input,
  .form textarea {
    font-size: 16px;
  }
  .form-status { font-size: 15px; }
  .footer {
    padding: 36px 16px 48px;
  }
  .footer-blobs {
    grid-template-columns: 1fr;
    gap: 10px;
    display: grid;
  }
  .footer-blob {
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: none;
  }
  .footer-blob h4 {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
  .footer-blob p {
    font-size: 11px;
  }
  .footer-blob {
    box-shadow: none;
  }
  .footer-bottom {
    text-align: left;
  }

  .legal-hero {
    padding: 70px 16px 20px;
  }

  .legal-hero-inner::before {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .legal-topbar {
    gap: 10px;
  }

  .legal-actions-inline {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .legal-topnav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }

  .home-link {
    font-size: 14px;
  }

  .back-to-top {
    width: 100%;
    justify-content: center;
    font-size: 11px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .legal-aside-card {
    padding: 16px;
    box-shadow: none;
  }

  .legal-card {
    padding: 18px;
    border-radius: 16px;
  }

  .legal-card h3 {
    font-size: 18px;
  }

  .legal-block p {
    font-size: 13px;
    line-height: 1.6;
  }

  .legal-card,
  .legal-block,
  .legal-block p,
  .legal-block li,
  .legal-block a,
  .legal-aside,
  .legal-aside-card,
  .legal-aside-card a,
  .legal-contact-compact,
  .legal-contact-compact input,
  .legal-contact-compact textarea {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .legal-actions {
    width: 100%;
  }

  .legal-actions .btn,
  .legal-actions .btn.secondary {
    width: 100%;
    text-align: center;
  }

  .legal-card {
    padding: 20px;
    box-shadow: none;
  }
}
