:root {
  --ink: #111827;
  --paper: #fffdf5;
  --cream: #fff3d6;
  --sky: #75d9ff;
  --mint: #7be7cf;
  --yellow: #ffe45c;
  --coral: #ff615b;
  --blue: #466cff;
  --violet: #8d6bff;
  --green: #51c878;
  --pink: #ff7ab8;
  --shadow: 0 16px 0 rgba(17, 24, 39, 0.16);
  --soft-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
  --line: 3px solid var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 228, 92, 0.92) 0 8rem, transparent 8.2rem),
    radial-gradient(circle at 84% 20%, rgba(255, 122, 184, 0.62) 0 7rem, transparent 7.2rem),
    radial-gradient(circle at 80% 72%, rgba(123, 231, 207, 0.65) 0 14rem, transparent 14.3rem),
    linear-gradient(180deg, #83ddff 0%, #b9efff 45%, #fff1bf 100%);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  overflow-x: hidden;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.15) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.cursor-dot {
  position: fixed;
  z-index: 60;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
}

.accessibility-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 0 rgba(17, 24, 39, 0.18);
  font-weight: 950;
  cursor: pointer;
}

.accessibility-toggle span {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.accessibility-panel {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 81;
  width: min(360px, calc(100vw - 28px));
  padding: 16px;
  border: var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 245, 0.98);
  box-shadow: var(--shadow);
}

.accessibility-panel[hidden] {
  display: none;
}

.accessibility-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.accessibility-head span {
  display: block;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.accessibility-head h2 {
  font-size: 1.6rem;
  line-height: 1;
}

.accessibility-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 950;
  cursor: pointer;
}

.accessibility-options {
  display: grid;
  gap: 10px;
}

.accessibility-options label {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 2px solid rgba(17, 24, 39, 0.18);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.accessibility-options input {
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
}

.accessibility-options strong,
.accessibility-options small {
  display: block;
}

.accessibility-options small {
  margin-top: 3px;
  color: rgba(17, 24, 39, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.3;
}

.accessibility-reset {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: var(--line);
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}

.a11y-readable-font body {
  font-family: Arial, Verdana, system-ui, sans-serif;
}

.a11y-large-text body {
  font-size: 112%;
}

.a11y-large-text .nav-links a {
  min-height: 42px;
}

.a11y-high-contrast body {
  background: #fff;
  color: #000;
}

.a11y-high-contrast .page-grid,
.a11y-high-contrast .board-pin {
  display: none;
}

.a11y-high-contrast .topbar,
.a11y-high-contrast .hero,
.a11y-high-contrast .promise-strip,
.a11y-high-contrast .section,
.a11y-high-contrast .app-feature,
.a11y-high-contrast .auftrag-section,
.a11y-high-contrast .footer,
.a11y-high-contrast .accessibility-panel {
  background: #fff;
  color: #000;
  box-shadow: 0 0 0 0 #000;
}

.a11y-high-contrast .button,
.a11y-high-contrast .store-badge,
.a11y-high-contrast .shot-button,
.a11y-high-contrast .planner-group button,
.a11y-high-contrast .planner-result a,
.a11y-high-contrast .accessibility-reset {
  background: #fff;
  color: #000;
}

.a11y-high-contrast .button.primary,
.a11y-high-contrast .test-link,
.a11y-high-contrast .accessibility-toggle {
  background: #000;
  color: #fff;
}

.a11y-reduced-motion *,
.a11y-reduced-motion *::before,
.a11y-reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

.a11y-reduced-motion .cursor-dot,
.a11y-reduced-motion .confetti-canvas {
  display: none !important;
}

.a11y-focus a:focus-visible,
.a11y-focus button:focus-visible,
.a11y-focus input:focus-visible,
.a11y-focus textarea:focus-visible,
.a11y-focus select:focus-visible {
  outline: 5px solid var(--blue);
  outline-offset: 4px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1220px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px;
  border: var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 245, 0.92);
  box-shadow: 0 8px 0 rgba(17, 24, 39, 0.14);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 950;
}

.brand-logo {
  display: block;
  width: clamp(168px, 18vw, 260px);
  max-height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 0 rgba(17, 24, 39, 0.16));
}

.brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 34px;
  flex: 0 0 44px;
  transform: rotate(-8deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px 8px 8px;
  border: 3px dashed #197e9e;
  border-left-color: transparent;
  border-radius: 50%;
}

.brand-mark i {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.brand-mark i:nth-child(1) { left: 0; top: 2px; background: var(--coral); }
.brand-mark i:nth-child(2) { left: 5px; bottom: 0; background: var(--mint); }
.brand-mark i:nth-child(3) { right: 0; top: 8px; background: var(--blue); }
.brand-mark i:nth-child(4) { right: 8px; bottom: 4px; background: var(--yellow); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a,
.icon-button {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 950;
}

.nav-links a:hover,
.icon-button:hover {
  border-color: var(--ink);
  background: var(--yellow);
}

.icon-button {
  width: 42px;
  padding: 0;
  border-color: var(--ink);
  background: var(--green);
  cursor: pointer;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  width: min(1220px, calc(100% - 32px));
  min-height: calc(100svh - 86px);
  margin: 24px auto 0;
  padding: clamp(28px, 5vw, 60px) 0 76px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 22px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.34) 0 13px, transparent 13px 28px);
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 8.7vw, 8.4rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow:
    5px 5px 0 var(--yellow),
    9px 9px 0 rgba(17, 24, 39, 0.13);
}

.hero-logo {
  display: block;
  width: min(650px, 100%);
  height: auto;
  filter: drop-shadow(0 16px 0 rgba(17, 24, 39, 0.14));
  transform: rotate(-1deg);
}

.hero-copy > p:not(.motto) {
  max-width: 650px;
  margin-top: 28px;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.45;
  font-weight: 850;
}

.hero-actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.store-badge,
.planner-result a,
.lever,
.mini-pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 7px 0 rgba(17, 24, 39, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.store-badge:hover,
.planner-result a:hover,
.lever:hover,
.mini-pause:hover,
.app-card:hover,
.shot-button:hover,
.planner-group button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 0 rgba(17, 24, 39, 0.16);
}

.button:active,
.store-badge:active,
.planner-result a:active,
.lever:active,
.mini-pause:active,
.app-card:active,
.shot-button:active,
.planner-group button:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(17, 24, 39, 0.18);
}

.primary {
  background: var(--coral);
  color: #fff;
}

.secondary {
  background: var(--blue);
  color: #fff;
}

.ghost {
  background: var(--paper);
}

.motto {
  display: inline-block;
  max-width: 620px;
  margin-top: 24px;
  padding: 14px 16px;
  border: var(--line);
  border-radius: 14px;
  background: var(--green);
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 7px 7px 0 rgba(17, 24, 39, 0.14);
  transform: rotate(-1deg);
}

.hero-board {
  position: relative;
  min-height: 610px;
  border: var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.16)),
    rgba(255, 253, 245, 0.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 5px dashed rgba(17, 24, 39, 0.34);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 48%;
  transform: rotate(14deg);
}

.board-pin {
  position: absolute;
  width: 58px;
  height: 58px;
  border: var(--line);
  border-radius: 50%;
  box-shadow: 0 7px 0 rgba(17, 24, 39, 0.12);
}

.pin-a {
  top: 34px;
  left: 34px;
  background: var(--yellow);
}

.pin-b {
  right: 36px;
  bottom: 96px;
  background: var(--pink);
}

.hero-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(300px, 48%);
  padding: 16px;
  border: var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 72px;
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  font-size: 1.35rem;
  line-height: 1;
}

.hero-card span {
  margin-top: 6px;
  color: rgba(17, 24, 39, 0.72);
  font-weight: 850;
}

.hero-card-magic {
  left: 42px;
  top: 70px;
  transform: rotate(-5deg);
  background: #f6efff;
}

.hero-card-fair {
  right: 36px;
  top: 128px;
  transform: rotate(5deg);
  background: #edf6ff;
}

.mini-tablet {
  position: absolute;
  left: 13%;
  right: 10%;
  bottom: 86px;
  z-index: 1;
  padding: 18px;
  border: var(--line);
  border-radius: 28px;
  background: #dff8ff;
  box-shadow: var(--soft-shadow);
  transform: rotate(-2deg);
}

.magic-mini-screen {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 60%, rgba(255, 228, 92, 0.72) 0 1.2rem, transparent 1.3rem),
    radial-gradient(circle at 68% 36%, rgba(255, 228, 92, 0.7) 0 1.4rem, transparent 1.5rem),
    linear-gradient(180deg, #e2fdff, #fff8c9 60%, #c9f7ae);
}

.magic-mini-screen > strong {
  position: absolute;
  top: 26px;
  left: 30px;
  z-index: 2;
  color: var(--coral);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
  text-shadow: 4px 4px 0 #fff;
}

.magic-mini-screen img {
  position: absolute;
  right: 7%;
  bottom: -2%;
  width: min(260px, 48%);
  filter: drop-shadow(0 10px 0 rgba(17, 24, 39, 0.12));
}

.dot-route {
  position: absolute;
  left: 8%;
  right: 34%;
  bottom: 24%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: rotate(-13deg);
}

.dot-route::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 8px;
  border-radius: 999px;
  background: #2aa5a2;
}

.dot-route span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 6px solid #27a7a2;
  border-radius: 50%;
  background: #fff;
  font-size: 1.3rem;
  font-weight: 950;
}

.mini-pause {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 26px;
  background: var(--pink);
  color: #fff;
}

.promise-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto 84px;
}

.promise-strip > div,
.app-card,
.app-result,
.trust-machine,
.parent-grid > div,
.planner,
.footer {
  border: var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.promise-strip > div {
  min-height: 118px;
  padding: 18px;
}

.promise-strip strong,
.promise-strip span {
  display: block;
}

.promise-strip strong {
  font-size: 1.1rem;
}

.promise-strip span {
  margin-top: 8px;
  color: rgba(17, 24, 39, 0.72);
  font-weight: 850;
  line-height: 1.35;
}

.section,
.app-feature,
.auftrag-section {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 92px auto 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.lab-copy h2,
.feature-copy h2,
.auftrag-copy h2,
.footer h2 {
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 4px 4px 0 var(--yellow);
}

.section-heading p,
.lab-copy p,
.feature-copy p,
.auftrag-copy p,
.footer p {
  margin-top: 14px;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 850;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.app-card {
  min-height: 250px;
  padding: 20px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.app-card.active {
  background: var(--yellow);
}

.app-card img,
.app-card-symbol {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
}

.app-card-symbol {
  border: var(--line);
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-size: 2rem;
  font-weight: 950;
}

.app-card strong,
.app-card small {
  display: block;
}

.app-card strong {
  font-size: 1.5rem;
}

.app-card small {
  margin-top: 10px;
  color: rgba(17, 24, 39, 0.72);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.4;
}

.app-result {
  margin-top: 22px;
  padding: 24px;
  background: var(--mint);
}

.app-result strong {
  display: block;
  font-size: 1.4rem;
}

.app-result p {
  margin-top: 8px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 950;
}

.trust-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.lab-copy {
  padding: clamp(24px, 4vw, 44px);
  border: var(--line);
  border-radius: 24px;
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow);
}

.lab-copy h2 {
  text-shadow: 4px 4px 0 rgba(17, 24, 39, 0.22);
}

.trust-machine {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
}

.display {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 170px;
  padding: 22px;
  border: var(--line);
  border-radius: 16px;
  background: #fff;
}

.display span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 950;
}

.display p {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 950;
  line-height: 1.25;
}

.lever {
  align-self: center;
  min-height: 120px;
  background: var(--blue);
  color: #fff;
}

.lever.pulled {
  animation: pull 420ms ease-out;
}

.app-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.magic-feature {
  background: #fff8ce;
}

.fair-feature {
  background: #eaf3ff;
}

.app-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 16px;
  object-fit: contain;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 900;
  line-height: 1.35;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 17px;
  height: 17px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 3px 3px 0 rgba(17, 24, 39, 0.13);
}

.store-badge {
  background: var(--ink);
  color: #fff;
}

.store-badge.play {
  background: var(--green);
  color: var(--ink);
}

.magic-showcase {
  display: grid;
  gap: 20px;
}

.tablet-frame {
  padding: 18px;
  border: var(--line);
  border-radius: 28px;
  background: #dff8ff;
  box-shadow: var(--soft-shadow);
}

.magic-mini-screen.large {
  min-height: 340px;
}

.feature-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.feature-notes > div {
  min-width: 0;
  min-height: 118px;
  padding: 14px;
  border: var(--line);
  border-radius: 16px;
  background: #fff;
}

.feature-notes strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.feature-notes span {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
}

.screenshot-stage {
  display: grid;
  grid-template-columns: minmax(220px, 285px) 1fr;
  gap: 20px;
  align-items: center;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: var(--line);
  border-radius: 42px;
  background: #172033;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #0b1020;
  transform: translateX(-50%);
}

.phone-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 430 / 932;
  object-fit: cover;
  object-position: top center;
  border-radius: 31px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.shot-picker {
  display: grid;
  gap: 12px;
}

.shot-button,
.planner-group button {
  min-height: 48px;
  padding: 0 14px;
  border: var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 0 6px 0 rgba(17, 24, 39, 0.14);
  cursor: pointer;
}

.shot-button.active,
.planner-group button.active {
  background: var(--yellow);
}

.fair-shot-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 10px 12px;
  text-align: left;
}

.fair-shot-card:nth-child(2) {
  background: #fff4f0;
}

.fair-shot-card:nth-child(3) {
  background: #edfff8;
}

.fair-shot-card:nth-child(4) {
  background: #f6f0ff;
}

.fair-shot-card.active {
  outline: 3px solid rgba(255, 228, 92, 0.72);
}

.fair-shot-card strong,
.fair-shot-card small {
  display: block;
}

.fair-shot-card small {
  margin-top: 4px;
  color: rgba(17, 24, 39, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
}

.shot-thumb {
  overflow: hidden;
  width: 58px;
  height: 72px;
  border: 2px solid rgba(17, 24, 39, 0.15);
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

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

.test-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.parent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.parent-grid > div {
  min-height: 170px;
  padding: 20px;
}

.parent-grid strong,
.parent-grid span {
  display: block;
}

.parent-grid strong {
  font-size: 1.25rem;
}

.parent-grid span {
  margin-top: 10px;
  color: rgba(17, 24, 39, 0.72);
  font-weight: 850;
  line-height: 1.35;
}

.auftrag-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.auftrag-copy {
  position: sticky;
  top: 110px;
  padding: clamp(24px, 4vw, 44px);
  border: var(--line);
  border-radius: 24px;
  background: var(--violet);
  color: #fff;
  box-shadow: var(--shadow);
}

.auftrag-copy h2 {
  text-shadow: 4px 4px 0 rgba(17, 24, 39, 0.2);
}

.planner {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 30px);
}

.planner-group {
  display: grid;
  gap: 10px;
}

.planner-group > strong {
  font-size: 1.15rem;
}

.planner-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.planner-result {
  padding: 20px;
  border: var(--line);
  border-radius: 16px;
  background: var(--mint);
}

.planner-result span,
.planner-result strong,
.planner-result p {
  display: block;
}

.planner-result span {
  color: rgba(17, 24, 39, 0.68);
  font-weight: 950;
}

.planner-result strong {
  margin-top: 5px;
  font-size: 1.3rem;
}

.planner-result p {
  margin-top: 10px;
  font-weight: 900;
  line-height: 1.4;
}

.planner-result a {
  width: fit-content;
  margin-top: 18px;
  background: var(--blue);
  color: #fff;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(1220px, calc(100% - 32px));
  margin: 100px auto 32px;
  padding: clamp(24px, 5vw, 44px);
  background: var(--ink);
  color: var(--paper);
}

.footer h2 {
  text-shadow: 4px 4px 0 rgba(255, 228, 92, 0.36);
}

.footer a {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 950;
}

.copyright {
  color: rgba(255, 253, 245, 0.78);
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.social-share span {
  color: rgba(255, 253, 245, 0.78);
  font-size: 0.92rem;
  font-weight: 950;
}

.social-share a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 2px solid rgba(255, 253, 245, 0.78);
  border-radius: 12px;
  background: rgba(255, 253, 245, 0.1);
  color: var(--paper);
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18);
}

.social-share a:hover {
  background: var(--yellow);
  color: var(--ink);
}

.legal-home {
  color: var(--ink);
}

.legal-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  width: min(980px, calc(100% - 32px));
  margin: 72px auto 0;
}

.legal-hero,
.legal-card {
  border: var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.legal-hero {
  padding: clamp(28px, 6vw, 58px);
  background: var(--yellow);
}

.legal-hero h1 {
  font-size: clamp(3.2rem, 9vw, 7rem);
}

.legal-hero p {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 900;
}

.legal-card {
  padding: clamp(20px, 4vw, 34px);
}

.legal-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 0.95;
  text-shadow: 3px 3px 0 var(--yellow);
}

.legal-card p,
.legal-card li {
  font-size: 1.06rem;
  line-height: 1.55;
  font-weight: 850;
}

.legal-card p,
.legal-card ul {
  margin: 14px 0 0;
}

.legal-card a {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.legal-note {
  background: var(--mint);
}

.legal-footer {
  margin-top: 56px;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

@keyframes pull {
  0% { transform: translateY(0); }
  45% { transform: translateY(18px); }
  100% { transform: translateY(0); }
}

@media (max-width: 1100px) {
  .hero,
  .app-feature,
  .auftrag-section,
  .trust-lab {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .auftrag-copy {
    position: static;
  }

  .promise-strip,
  .parent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    min-height: 34px;
    padding: 0 6px;
    font-size: 0.78rem;
  }

  .brand-logo {
    width: min(210px, 58vw);
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-logo {
    width: min(100%, 560px);
    border-radius: 18px;
  }

  .hero-board {
    min-height: 720px;
  }

  .hero-card {
    width: min(275px, calc(100% - 40px));
  }

  .hero-card-magic {
    left: 20px;
    top: 54px;
  }

  .hero-card-fair {
    right: 18px;
    top: 180px;
  }

  .mini-tablet {
    left: 18px;
    right: 18px;
    bottom: 92px;
  }

  .magic-mini-screen > strong {
    font-size: 2.3rem;
  }

  .dot-route {
    right: 20%;
  }

  .dot-route span {
    width: 36px;
    height: 36px;
    border-width: 4px;
  }

  .promise-strip,
  .app-grid,
  .parent-grid,
  .feature-notes,
  .trust-machine,
  .screenshot-stage {
    grid-template-columns: 1fr;
  }

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

  .section,
  .app-feature,
  .auftrag-section,
  .hero,
  .footer,
  .promise-strip {
    width: min(100% - 22px, 1220px);
  }
}

@media (max-width: 440px) {
  .hero-board {
    min-height: 760px;
  }

  .hero-card {
    align-items: flex-start;
    padding: 14px;
  }

  .hero-card img {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .magic-mini-screen img {
    width: 62%;
  }

  .store-links,
  .hero-actions,
  .planner-group > div {
    display: grid;
  }

  .button,
  .store-badge,
  .planner-group button,
  .planner-result a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .cursor-dot {
    display: none;
  }
}
