:root {
  --off-white: #f4f1ea;
  --graphite: #1e1e1c;
  --warm-gray: #6f6a63;
  --soft-line: #ddd7ce;
  --red: #ff5a4f;
  --amber: #f5b941;
  --blue: #5b8def;
  --green: #58b87a;
  --font: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--graphite);
  background: var(--off-white);
  font-family: var(--font);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
  margin: 0;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  overflow: hidden;
  background: var(--off-white);
  overscroll-behavior: none;
  position: fixed;
  inset: 0;
  width: 100%;
}

#app {
  height: 100%;
  overflow: hidden;
}

button {
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.intro-chart {
  width: 100vw;
  height: 100svh;
  overflow: auto;
  padding: clamp(28px, 4.2vw, 58px);
  background:
    radial-gradient(circle at 26% 42%, rgba(255, 90, 79, 0.045), transparent 22%),
    radial-gradient(circle at 78% 40%, rgba(88, 184, 122, 0.04), transparent 20%),
    var(--off-white);
  color: var(--graphite);
  display: grid;
  grid-template-columns: minmax(330px, 0.98fr) repeat(5, minmax(145px, 1fr));
  gap: 0;
  position: relative;
  isolation: isolate;
}

.intro-chart::after {
  content: "";
  position: absolute;
  left: clamp(28px, 4.2vw, 58px);
  right: clamp(28px, 4.2vw, 58px);
  bottom: clamp(28px, 4.2vw, 58px);
  height: 1px;
  background: var(--soft-line);
}

.intro-lang {
  position: fixed;
  top: clamp(22px, 3vw, 38px);
  right: clamp(22px, 3vw, 38px);
  z-index: 8;
  min-width: 44px;
  height: 36px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--off-white) 88%, white);
  font-size: 12px;
  font-weight: 1000;
}

.intro-hero {
  min-height: min(760px, calc(100svh - clamp(56px, 8.4vw, 116px)));
  padding-right: clamp(24px, 3vw, 54px);
  border-right: 1px solid var(--soft-line);
  display: flex;
  flex-direction: column;
}

.intro-logo {
  margin: 0 0 clamp(28px, 5vh, 52px);
}

.intro-hero h1 {
  margin: 0;
  font-size: clamp(46px, 4.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.intro-hero h1 span,
.intro-step h2 span {
  display: block;
}

.intro-hero p {
  margin: clamp(26px, 4vh, 42px) 0 0;
  max-width: 16ch;
  color: var(--graphite);
  font-size: clamp(19px, 1.75vw, 27px);
  line-height: 1.18;
  font-weight: 500;
}

.intro-preview {
  margin-top: auto;
  display: flex;
  align-items: end;
  gap: clamp(22px, 3vw, 46px);
  padding-top: 36px;
}

.intro-preview figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.intro-preview figcaption {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 1000;
}

.intro-flow {
  display: contents;
}

.intro-step {
  min-height: min(760px, calc(100svh - clamp(56px, 8.4vw, 116px)));
  padding: 4px clamp(16px, 2.1vw, 34px) 0;
  border-right: 1px solid var(--soft-line);
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
}

.intro-step:last-child {
  border-right: 0;
}

.intro-step-index {
  width: 38px;
  height: 38px;
  margin: 0 auto clamp(30px, 5vh, 54px);
  border: 2px solid var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 17px;
  line-height: 1;
  font-weight: 1000;
}

.intro-step-3 .intro-step-index {
  border-color: var(--amber);
  color: var(--amber);
}

.intro-step-5 .intro-step-index {
  border-color: var(--green);
  color: var(--green);
}

.intro-step h2 {
  min-height: 58px;
  margin: 0;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: center;
  font-weight: 1000;
}

.intro-step p {
  margin: 16px auto 0;
  min-height: 64px;
  max-width: 16ch;
  color: var(--graphite);
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.35;
  text-align: center;
}

.intro-step-visual {
  min-height: 270px;
  display: grid;
  place-items: center;
  position: relative;
}

.intro-step-arrow {
  position: absolute;
  top: 25%;
  right: -7px;
  z-index: 2;
  color: var(--graphite);
  font-size: 42px;
  line-height: 1;
  font-weight: 300;
}

.intro-route {
  width: min(100%, 180px);
  height: 280px;
  overflow: visible;
}

.intro-route-line {
  fill: none;
  stroke: color-mix(in srgb, var(--graphite) 13%, transparent);
  stroke-width: 5;
  stroke-linecap: round;
}

.intro-route-dot {
  fill: var(--red);
}

.intro-route-green .intro-route-dot {
  fill: var(--green);
}

.intro-route-halo {
  fill: none;
  stroke: var(--red);
  stroke-width: 1;
  opacity: 0.18;
}

.intro-route-green .intro-route-halo {
  stroke: var(--green);
}

.intro-dot-pulse,
.intro-pulse-dot .dot,
.intro-device-radar .dot {
  transform-origin: center;
  animation: intro-pulse 2.5s ease-out infinite;
}

@keyframes intro-pulse {
  0% {
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(255, 90, 79, 0));
  }
  70% {
    opacity: 0.8;
    filter: drop-shadow(0 0 22px rgba(255, 90, 79, 0.42));
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(255, 90, 79, 0));
  }
}

.intro-pulse-dot {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255, 90, 79, 0.14) 0 17%, transparent 18%),
    radial-gradient(circle, rgba(255, 90, 79, 0.08) 0 42%, transparent 43%);
}

.intro-pulse-dot .dot {
  width: 26px;
  height: 26px;
}

.intro-radar {
  width: 210px;
  height: 210px;
  position: relative;
  display: grid;
  place-items: center;
}

.intro-radar i {
  position: absolute;
  inset: calc(var(--ring, 0) * 18px);
  border: 1px solid rgba(30, 30, 28, 0.12);
  border-radius: 50%;
}

.intro-radar i:nth-child(1) {
  --ring: 0;
}

.intro-radar i:nth-child(2) {
  --ring: 1;
}

.intro-radar i:nth-child(3) {
  --ring: 2;
}

.intro-radar i:nth-child(4) {
  --ring: 3;
}

.intro-radar svg {
  position: absolute;
  inset: 15px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  overflow: visible;
}

.intro-radar path {
  fill: none;
  stroke: rgba(30, 30, 28, 0.16);
  stroke-width: 4;
  stroke-linecap: round;
}

.intro-radar > .dot {
  width: 14px;
  height: 14px;
  z-index: 2;
}

.intro-radar-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.intro-radar-dot.red {
  left: 46px;
  top: 62px;
  background: var(--red);
}

.intro-radar-dot.amber {
  right: 48px;
  top: 70px;
  background: var(--amber);
}

.intro-radar-dot.blue {
  right: 18px;
  bottom: 68px;
  background: var(--blue);
}

.intro-radar-dot.green {
  left: 72px;
  bottom: 28px;
  background: var(--green);
}

.intro-device {
  border-radius: 26px;
  background: var(--graphite);
  box-shadow: 0 18px 44px rgba(30, 30, 28, 0.25);
  padding: 8px;
  position: relative;
}

.intro-device-phone {
  width: 134px;
  height: 222px;
  border-radius: 28px;
}

.intro-device-computer {
  width: 106px;
  height: 136px;
  border-radius: 30px;
}

.intro-device-screen {
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(30, 30, 28, 0.04) 22px 23px),
    var(--off-white);
  position: relative;
  overflow: hidden;
}

.intro-device-phone .intro-device-screen::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 46px;
  height: 9px;
  border-radius: 999px;
  background: var(--graphite);
  transform: translateX(-50%);
}

.intro-device-brand {
  position: absolute;
  left: 14px;
  top: 28px;
  font-size: 13px;
  font-weight: 1000;
}

.intro-device-computer .intro-device-brand {
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  color: var(--off-white);
}

.intro-device-computer .intro-device-screen {
  margin: 22px 8px 12px;
  height: calc(100% - 34px);
  border-radius: 4px;
}

.intro-device-radar {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.intro-device-computer .intro-device-radar {
  width: 68px;
  height: 68px;
}

.intro-device-radar i {
  position: absolute;
  border: 1px solid rgba(30, 30, 28, 0.08);
  border-radius: 50%;
}

.intro-device-radar i:nth-child(1) {
  inset: 0;
}

.intro-device-radar i:nth-child(2) {
  inset: 16px;
}

.intro-device-radar i:nth-child(3) {
  inset: 31px;
}

.intro-device-radar .dot {
  width: 9px;
  height: 9px;
}

.intro-device-radar span:not(.dot) {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.intro-device-radar span:nth-of-type(2) {
  right: 10px;
  top: 22px;
  background: var(--amber);
}

.intro-device-radar span:nth-of-type(3) {
  right: 18px;
  bottom: 12px;
  background: var(--green);
}

.intro-device-alert {
  display: none;
}

.intro-alert-devices {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.intro-alert-phone,
.intro-alert-computer {
  background:
    radial-gradient(circle at 52% 24%, rgba(244, 241, 234, 0.14), transparent 24%),
    var(--red);
  color: var(--off-white);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  box-shadow: 0 18px 42px rgba(30, 30, 28, 0.25);
}

.intro-alert-phone {
  width: 128px;
  height: 208px;
  border: 7px solid var(--graphite);
  border-radius: 24px;
}

.intro-alert-computer {
  width: 112px;
  height: 118px;
  border: 10px solid var(--graphite);
  border-radius: 26px;
}

.intro-alert-phone strong,
.intro-alert-computer strong {
  font-size: 24px;
  line-height: 0.92;
  font-weight: 1000;
}

.intro-alert-phone b,
.intro-alert-computer b {
  margin-top: 3px;
  font-size: 25px;
  line-height: 1;
}

.intro-alert-phone small,
.intro-alert-computer small {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.intro-cta {
  min-height: 56px;
  margin: 0 0 38px;
  padding: 0 18px 0 24px;
  border-radius: 999px;
  background: var(--graphite);
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0.01em;
}

.intro-cta i {
  font-style: normal;
  font-size: 28px;
  line-height: 1;
}

.app {
  position: relative;
  width: min(100vw, 430px);
  height: 100svh;
  max-height: 100svh;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(30, 30, 28, 0.035) 31px 32px),
    radial-gradient(circle at 74% 42%, rgba(255, 90, 79, 0.08), transparent 26%),
    var(--off-white);
  isolation: isolate;
}

.app.dark {
  color: var(--off-white);
  background:
    radial-gradient(circle at 52% 41%, rgba(255, 90, 79, 0.16), transparent 24%),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(244, 241, 234, 0.035) 31px 32px),
    var(--graphite);
}

.app.redout {
  color: var(--graphite);
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 241, 234, 0.2), transparent 20%),
    var(--red);
}

.screen {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(18px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom));
  animation: screen-in 520ms cubic-bezier(0.18, 0.86, 0.28, 1) both;
  overflow-wrap: normal;
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  position: relative;
  z-index: 20;
}

.logo {
  display: inline-flex;
  width: 94px;
  min-height: 44px;
  align-items: center;
  position: relative;
}

.logo-crop {
  display: block;
  width: 76px;
  overflow: hidden;
}

.logo img {
  display: block;
  width: 92px;
  height: auto;
}

.logo > span:last-child {
  display: none;
  font-size: 30px;
  font-weight: 900;
}

.logo-live-dot {
  --logo-dot-color: var(--red);
  position: absolute;
  left: 84px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--logo-dot-color);
  animation:
    logo-dot-color 7.5s steps(1, end) infinite,
    logo-dot-pulse 2.1s ease-out infinite;
}

.logo.logo-failed img {
  display: none;
}

.logo.logo-failed .logo-crop,
.logo.logo-failed .logo-live-dot {
  display: none;
}

.logo.logo-failed > span:last-child {
  display: inline;
}

@keyframes logo-dot-color {
  0%,
  19% {
    --logo-dot-color: var(--graphite);
  }
  20%,
  39% {
    --logo-dot-color: var(--red);
  }
  40%,
  59% {
    --logo-dot-color: var(--amber);
  }
  60%,
  79% {
    --logo-dot-color: var(--blue);
  }
  80%,
  100% {
    --logo-dot-color: var(--green);
  }
}

@keyframes logo-dot-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--logo-dot-color) 34%, transparent);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 13px color-mix(in srgb, var(--logo-dot-color) 0%, transparent);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--logo-dot-color) 0%, transparent);
  }
}

.top-controls {
  position: absolute;
  top: calc(24px + env(safe-area-inset-top));
  right: 18px;
  z-index: 30;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.top-controls button {
  min-height: 33px;
  border: 1px solid rgba(111, 106, 99, 0.28);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(244, 241, 234, 0.58);
  color: var(--graphite);
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(18px);
}

.top-controls .burger-button {
  width: 28px;
  min-height: 33px;
  border-color: transparent;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  gap: 0;
  backdrop-filter: none;
}

.burger-button span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  margin: 0.5px 0;
}

.dark .top-controls button {
  border-color: rgba(244, 241, 234, 0.16);
  background: rgba(30, 30, 28, 0.55);
  color: var(--off-white);
}

.utility-menu {
  position: absolute;
  top: 40px;
  right: 0;
  min-width: 104px;
  display: grid;
  gap: 6px;
}

.utility-menu button {
  justify-content: center;
  background: rgba(244, 241, 234, 0.94);
}

.dark .utility-menu button {
  background: rgba(30, 30, 28, 0.9);
}

.dot {
  --dot-color: var(--graphite);
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dot-color);
  flex: 0 0 auto;
}

.dot.graphite {
  --dot-color: var(--graphite);
}

.dot.red {
  --dot-color: var(--red);
}

.dot.amber {
  --dot-color: var(--amber);
}

.dot.blue {
  --dot-color: var(--blue);
}

.dot.green {
  --dot-color: var(--green);
}

.pulse {
  animation: dot-pulse 2.2s ease-out infinite;
}

@keyframes dot-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--dot-color) 36%, transparent);
  }
  70% {
    transform: scale(1.18);
    box-shadow: 0 0 0 18px color-mix(in srgb, var(--dot-color) 0%, transparent);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--dot-color) 0%, transparent);
  }
}

.status,
.screen-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--warm-gray);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dark .status,
.dark .screen-label {
  color: rgba(244, 241, 234, 0.62);
}

.home-field {
  margin-top: 10vh;
}

.mega {
  margin: 24px 0 0;
  max-width: min(100%, 8.4ch);
  font-size: clamp(74px, 23vw, 112px);
  line-height: clamp(0.78, 0.74 + 1vw, 0.86);
  font-weight: 1000;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow: visible;
}

.mega span {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

html[lang="de"] .mega {
  max-width: min(100%, 9.2ch);
  font-size: clamp(68px, 21vw, 104px);
  letter-spacing: -0.04em;
}

.screen-home .mega {
  max-width: 100%;
  font-size: clamp(46px, 13.6vw, 66px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: none;
}

html[lang="de"] .screen-home .mega {
  font-size: clamp(42px, 12.4vw, 60px);
}

.quiet-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: auto 0 8vh;
}

.quiet-line::before,
.quiet-line::after {
  content: "";
  height: 1px;
  background: var(--soft-line);
  animation: line-breathe 4s ease-in-out infinite;
}

@keyframes line-breathe {
  0%,
  100% {
    transform: scaleX(0.72);
    opacity: 0.42;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.home-actions {
  display: grid;
  gap: 10px;
}

.primary,
.secondary,
.danger-button,
.bottom-action,
.black-action,
.split-actions button,
.dock button {
  min-height: 58px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 13px;
  line-height: 1;
  font-weight: 1000;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.primary {
  background: var(--graphite);
  color: var(--off-white);
  border-color: var(--graphite);
  box-shadow: 0 18px 42px rgba(30, 30, 28, 0.2);
}

.secondary {
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: var(--off-white);
  box-shadow: 0 18px 42px rgba(30, 30, 28, 0.16);
}

.danger-button {
  background: var(--red);
  color: var(--graphite);
  box-shadow: 0 18px 50px rgba(255, 90, 79, 0.28);
}

.dark .secondary {
  border-color: var(--off-white);
  background: var(--off-white);
  color: var(--graphite);
}

.screen-welcome {
  justify-content: space-between;
}

.welcome-hero {
  margin-top: 9vh;
}

.welcome-mega {
  max-width: 100%;
  font-size: clamp(42px, 12.6vw, 62px);
  line-height: 0.94;
  text-transform: none;
}

html[lang="de"] .welcome-mega {
  max-width: 100%;
  font-size: clamp(36px, 10.9vw, 54px);
}

.welcome-mega span {
  white-space: normal;
}

.welcome-subline {
  max-width: min(280px, 88%);
  margin: 18px 0 0;
  color: var(--warm-gray);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 1000;
  text-wrap: balance;
}

.welcome-device-line {
  margin: 8px 0 0;
  color: var(--graphite);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 1000;
}

.welcome-ride-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 22px;
  margin: 3vh 0 0;
}

.welcome-ride-line i {
  height: 1px;
  background: var(--graphite);
}

.welcome-ride-line i:first-child {
  transform: none;
}

.welcome-ride-line i:last-child {
  transform: none;
}

.welcome-intro {
  max-width: 34ch;
  margin: 22px 0 0;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.22;
  font-weight: 820;
  text-wrap: pretty;
}

.welcome-explain {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.welcome-explain article {
  border: 1px solid rgba(30, 30, 28, 0.1);
  background: rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 13px 14px;
  display: grid;
  gap: 6px;
}

.welcome-explain strong,
.welcome-explain p {
  grid-column: auto;
}

.welcome-explain strong {
  font-size: 12px;
  line-height: 1;
  font-weight: 1000;
  text-wrap: balance;
}

.welcome-explain p {
  margin: 6px 0 0;
  color: var(--warm-gray);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 720;
}

.welcome-code {
  display: grid;
  gap: 0;
  margin: 4px 0 18px;
  border-top: 1px solid var(--soft-line);
}

.welcome-code p {
  min-height: 42px;
  margin: 0;
  border-bottom: 1px solid var(--soft-line);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 1000;
  text-wrap: balance;
}

.welcome-bottom {
  display: grid;
  gap: 12px;
}

.welcome-bottom small {
  color: var(--warm-gray);
  text-align: center;
  font-size: 10px;
  font-weight: 1000;
}

.detail-pulse i {
  position: absolute;
  inset: calc(var(--i, 0) * 12%);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 50%;
  animation: ring 5s ease-in-out infinite;
}

@keyframes ring {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

.screen-copy {
  margin-top: auto;
}

.screen-copy h2 {
  margin: 0;
  font-size: 34px;
  line-height: 0.88;
  font-weight: 1000;
}

.screen-copy p {
  margin: 8px 0 0;
  color: rgba(244, 241, 234, 0.58);
  font-size: 12px;
  font-weight: 900;
}

.dock {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 7px;
  margin-top: 22px;
}

.dock button {
  min-height: 48px;
  border: 1px solid var(--graphite);
  color: var(--off-white);
  background: var(--graphite);
  font-size: 10px;
  box-shadow: 0 12px 28px rgba(30, 30, 28, 0.16);
}

.dock button.dock-danger {
  border-color: color-mix(in srgb, var(--red) 48%, transparent);
  background: var(--red);
  color: var(--graphite);
}

.light-dock button {
  border-color: var(--graphite);
  color: var(--off-white);
  background: var(--graphite);
}

.light-dock button.dock-danger {
  border-color: var(--red);
  background: var(--red);
  color: var(--graphite);
}

.distance-alert {
  margin-top: 16vh;
}

.distance-alert h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(104px, 31vw, 160px);
  line-height: clamp(0.78, 0.72 + 1vw, 0.86);
  letter-spacing: -0.055em;
  font-weight: 1000;
  overflow: visible;
}

.distance-alert h2 {
  margin: 8px 0 16vh;
  max-width: 8.5ch;
  font-size: clamp(34px, 10vw, 44px);
  line-height: 0.92;
  font-weight: 1000;
  text-wrap: balance;
}

.threat-line {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  color: var(--warm-gray);
  font-size: 10px;
  font-weight: 1000;
}

.threat-line i {
  height: 1px;
  background: var(--graphite);
}

.bottom-action,
.black-action {
  margin-top: auto;
}

.route-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 20px -22px 0;
  overflow: hidden;
}

.route-svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: map-drift 8s ease-in-out infinite alternate;
}

@keyframes map-drift {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(1.015);
  }
  to {
    transform: translate3d(1.5%, -1%, 0) scale(1.02);
  }
}

.vector {
  fill: none;
  stroke: rgba(111, 106, 99, 0.22);
  stroke-width: 1;
  stroke-dasharray: 4 14;
  animation: vector-flow 7s linear infinite;
}

@keyframes vector-flow {
  to {
    stroke-dashoffset: -90;
  }
}

.route-shadow {
  fill: none;
  stroke: rgba(30, 30, 28, 0.13);
  stroke-width: 8;
  stroke-linecap: round;
}

.route-main {
  fill: none;
  stroke: var(--graphite);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 520 120;
  animation: route-travel 5.8s linear infinite;
}

@keyframes route-travel {
  to {
    stroke-dashoffset: -640;
  }
}

.you-dot {
  fill: var(--graphite);
  filter: drop-shadow(0 0 10px rgba(30, 30, 28, 0.32));
}

.svg-dot {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
}

.svg-pulse {
  animation: svg-dot-pulse 1.8s ease-out infinite;
}

@keyframes svg-dot-pulse {
  0%,
  100% {
    opacity: 1;
    r: 9px;
  }
  55% {
    opacity: 0.72;
    r: 13px;
  }
}

.svg-dot.red {
  fill: var(--red);
}

.svg-dot.amber {
  fill: var(--amber);
}

.svg-dot.blue {
  fill: var(--blue);
}

.svg-dot.green {
  fill: var(--green);
}

.route-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  min-height: 72px;
  border: 1px solid rgba(30, 30, 28, 0.12);
  background: rgba(244, 241, 234, 0.72);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  border-radius: 18px;
}

.route-card strong,
.route-card span {
  font-size: 14px;
  font-weight: 1000;
}

.radar-page-head {
  margin-top: 5vh;
}

.radar-page-title {
  max-width: 100%;
  font-size: clamp(48px, 14vw, 72px);
  line-height: 0.92;
  text-transform: none;
}

html[lang="de"] .radar-page-title {
  max-width: 100%;
  font-size: clamp(40px, 11.6vw, 58px);
}

.radar-page-title span {
  white-space: normal;
}

.radar-system-line,
.radar-device-line {
  max-width: 34ch;
  margin: 16px 0 0;
  color: var(--warm-gray);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 1000;
  text-wrap: balance;
}

.radar-device-line {
  margin-top: 8px;
  color: var(--graphite);
}

.device-wrap {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 0;
  padding: 4vh 0 2vh;
}

.cycle-computer {
  position: relative;
  width: min(78vw, 318px);
  aspect-ratio: 0.72;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.2), transparent 18%),
    linear-gradient(180deg, #292925, #151513);
  padding: 16px;
  box-shadow:
    0 36px 90px rgba(30, 30, 28, 0.28),
    inset 0 0 0 1px rgba(244, 241, 234, 0.08);
}

.cycle-computer::before,
.cycle-computer::after {
  content: "";
  position: absolute;
  left: 32%;
  right: 32%;
  height: 6px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.18);
}

.cycle-computer::before {
  top: 7px;
}

.cycle-computer::after {
  bottom: 7px;
}

.device-bezel span {
  position: absolute;
  width: 5px;
  height: 42px;
  border-radius: 999px;
  background: #11110f;
}

.device-bezel span:nth-child(1),
.device-bezel span:nth-child(2) {
  left: -3px;
}

.device-bezel span:nth-child(3),
.device-bezel span:nth-child(4) {
  right: -3px;
}

.device-bezel span:nth-child(1),
.device-bezel span:nth-child(3) {
  top: 28%;
}

.device-bezel span:nth-child(2),
.device-bezel span:nth-child(4) {
  top: 52%;
}

.device-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 90, 79, 0.16), transparent 24%),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(244, 241, 234, 0.04) 24px 25px),
    var(--graphite);
  color: var(--off-white);
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.08);
}

.device-status,
.device-footer {
  display: flex;
  justify-content: space-between;
  color: rgba(244, 241, 234, 0.58);
  font-size: 10px;
  font-weight: 1000;
}

.device-radar {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}

.device-radar i {
  position: absolute;
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 50%;
  animation: device-ring 4.6s ease-in-out infinite;
}

.device-radar i:nth-child(1) {
  width: 84%;
  aspect-ratio: 1;
}

.device-radar i:nth-child(2) {
  width: 58%;
  aspect-ratio: 1;
  animation-delay: 300ms;
}

.device-radar i:nth-child(3) {
  width: 32%;
  aspect-ratio: 1;
  animation-delay: 600ms;
}

@keyframes device-ring {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.device-sweep {
  position: absolute;
  width: 1px;
  height: 42%;
  top: 8%;
  left: 50%;
  transform-origin: bottom;
  background: linear-gradient(180deg, rgba(255, 90, 79, 0.85), transparent);
  animation: device-sweep 3.8s linear infinite;
}

@keyframes device-sweep {
  to {
    transform: rotate(360deg);
  }
}

.device-ping {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 10px rgba(255, 90, 79, 0.12),
    0 0 34px rgba(255, 90, 79, 0.74);
  animation: device-ping 1.8s ease-out infinite;
}

@keyframes device-ping {
  0%,
  100% {
    transform: scale(0.94);
  }
  58% {
    transform: scale(1.24);
  }
}

.device-radar svg {
  position: absolute;
  inset: 16%;
  width: 68%;
  height: 68%;
}

.device-radar path {
  fill: none;
  stroke: rgba(244, 241, 234, 0.54);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 120 36;
  animation: device-route 5s linear infinite;
}

@keyframes device-route {
  to {
    stroke-dashoffset: -156;
  }
}

.device-readout {
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
}

.device-readout strong {
  font-size: clamp(64px, 18vw, 86px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  font-weight: 1000;
}

.device-readout span {
  font-size: 24px;
  line-height: 0.95;
  font-weight: 1000;
}

.report-head {
  margin-top: 12vh;
}

.report-head h1,
.list-title {
  margin: 16px 0 0;
  max-width: min(100%, 9ch);
  font-size: clamp(58px, 18vw, 88px);
  line-height: clamp(0.82, 0.78 + 1vw, 0.92);
  letter-spacing: -0.045em;
  font-weight: 1000;
  text-wrap: balance;
}

html[lang="de"] .report-head h1,
html[lang="de"] .list-title {
  max-width: min(100%, 10ch);
  font-size: clamp(52px, 16vw, 78px);
}

.hazard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.hazard-grid button {
  min-height: 126px;
  border: 1px solid rgba(244, 241, 234, 0.13);
  border-radius: 999px;
  display: grid;
  place-items: center;
  gap: 9px;
  color: var(--off-white);
  background: radial-gradient(circle, rgba(244, 241, 234, 0.09), rgba(244, 241, 234, 0.02));
  font-size: 14px;
  font-weight: 1000;
}

.hazard-grid .dot {
  width: 15px;
  height: 15px;
}

.detail-pulse {
  position: relative;
  width: 210px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 10vh auto 5vh;
}

.detail-pulse .dot {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}

.detail-copy h1 {
  margin: 0;
  max-width: min(100%, 9ch);
  font-size: clamp(58px, 17vw, 78px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-weight: 1000;
  text-wrap: balance;
}

.detail-copy h2 {
  margin: 4px 0 30px;
  color: rgba(244, 241, 234, 0.62);
  font-size: clamp(22px, 7vw, 28px);
  font-weight: 1000;
  text-wrap: balance;
}

.data-rows {
  display: grid;
  border-top: 1px solid rgba(244, 241, 234, 0.14);
}

.data-rows span,
.nearby-list button {
  min-height: 58px;
  border-bottom: 1px solid currentColor;
  border-color: rgba(244, 241, 234, 0.14);
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 1000;
}

.split-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
}

.split-actions button:first-child {
  border: 1px solid var(--off-white);
  background: var(--off-white);
  color: var(--graphite);
}

.split-actions button:last-child {
  border: 1px solid var(--off-white);
  background: var(--off-white);
  color: var(--graphite);
}

.slow-copy {
  margin-top: 16vh;
}

.slow-copy h1,
.clear-copy h1 {
  margin: 0;
  max-width: min(100%, 8.5ch);
  font-size: clamp(86px, 26vw, 136px);
  line-height: clamp(0.74, 0.7 + 1vw, 0.84);
  letter-spacing: -0.06em;
  font-weight: 1000;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

html[lang="de"] .slow-copy h1,
html[lang="de"] .clear-copy h1 {
  max-width: 100%;
  font-size: clamp(58px, 16.5vw, 78px);
  letter-spacing: -0.045em;
}

.slow-copy h1 span,
.clear-copy h1 span {
  display: block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.slow-copy p,
.clear-copy p {
  margin: 26px 0 0;
  max-width: 10ch;
  font-size: clamp(18px, 6vw, 24px);
  line-height: 0.95;
  font-weight: 1000;
  text-wrap: balance;
}

.slow-copy strong {
  display: block;
  margin-top: 5px;
  font-size: 48px;
  line-height: 0.9;
  font-weight: 1000;
}

.black-action {
  background: var(--graphite);
  color: var(--off-white);
}

.clear-copy {
  display: grid;
  align-content: center;
  flex: 1;
}

.clear-ring {
  width: 160px;
  aspect-ratio: 1;
  border: 1px solid rgba(88, 184, 122, 0.34);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 12vh auto 0;
  box-shadow:
    0 0 0 28px rgba(88, 184, 122, 0.06),
    0 0 0 64px rgba(88, 184, 122, 0.035);
}

.clear-ring .dot {
  width: 22px;
  height: 22px;
}

.nearby-list {
  display: grid;
  margin-top: auto;
  border-top: 1px solid var(--soft-line);
}

.nearby-list button {
  min-height: 74px;
  grid-template-columns: auto 1fr auto;
  display: grid;
  gap: 14px;
  color: var(--graphite);
  border-color: var(--soft-line);
}

.nearby-list strong,
.nearby-list span:last-child {
  font-size: 17px;
  font-weight: 1000;
}

.ride-minimal {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  flex: 1;
  min-height: 0;
}

.screen-ride::before {
  content: "";
  position: absolute;
  inset: 12% -30% 30%;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 90, 79, 0.16), transparent 18%),
    radial-gradient(circle at 50% 42%, rgba(30, 30, 28, 0.06), transparent 34%);
  animation: ride-atmosphere 5.5s ease-in-out infinite alternate;
}

@keyframes ride-atmosphere {
  from {
    transform: translate3d(-2%, 1%, 0) scale(0.98);
    opacity: 0.72;
  }
  to {
    transform: translate3d(2%, -1%, 0) scale(1.05);
    opacity: 1;
  }
}

.ride-focus {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42vh;
}

.ride-focus i {
  position: absolute;
  border: 1px solid rgba(30, 30, 28, 0.13);
  border-radius: 50%;
  animation: ride-ring-breathe 4.8s ease-in-out infinite;
}

.ride-focus i:nth-child(1) {
  width: 62vw;
  max-width: 270px;
  aspect-ratio: 1;
}

.ride-focus i:nth-child(2) {
  width: 42vw;
  max-width: 184px;
  aspect-ratio: 1;
  animation-delay: 320ms;
}

.ride-focus i:nth-child(3) {
  width: 22vw;
  max-width: 96px;
  aspect-ratio: 1;
  animation-delay: 640ms;
}

@keyframes ride-ring-breathe {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.ride-bearing {
  width: 2px;
  height: 34vh;
  max-height: 240px;
  background: linear-gradient(180deg, transparent, rgba(30, 30, 28, 0.38), transparent);
  transform-origin: center;
  animation: bearing-sweep 4.8s ease-in-out infinite;
}

@keyframes bearing-sweep {
  0%,
  100% {
    transform: rotate(-24deg);
  }
  50% {
    transform: rotate(24deg);
  }
}

.ride-center {
  position: absolute;
  display: grid;
  place-items: center;
  animation: ride-dot-nudge 3.2s ease-in-out infinite;
}

.ride-center-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 10px rgba(255, 90, 79, 0.12),
    0 0 42px rgba(255, 90, 79, 0.72);
  animation: ride-center-pulse 1.6s ease-out infinite;
}

@keyframes ride-center-pulse {
  0%,
  100% {
    transform: scale(0.94);
  }
  56% {
    transform: scale(1.24);
  }
}

@keyframes ride-dot-nudge {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

.ride-readout {
  position: relative;
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
}

.ride-readout strong {
  max-width: 100%;
  font-size: clamp(82px, 25vw, 108px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  font-weight: 1000;
}

.ride-readout span,
.ride-readout small {
  font-size: 18px;
  font-weight: 1000;
}

.ride-readout small {
  color: var(--warm-gray);
}

.ride-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
  border-top: 1px solid var(--soft-line);
}

.ride-stats span {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 4px;
  border-bottom: 1px solid var(--soft-line);
}

.ride-stats b {
  font-size: 23px;
  line-height: 0.95;
  font-weight: 1000;
}

.ride-stats small {
  color: var(--warm-gray);
  font-size: 10px;
  font-weight: 1000;
}

button {
  transition:
    transform 180ms cubic-bezier(0.18, 0.86, 0.28, 1),
    opacity 180ms ease;
}

button:active {
  transform: scale(0.975);
}

.notification {
  --notify-color: var(--red);
  --notify-text: var(--graphite);
  position: absolute;
  z-index: 40;
  top: auto;
  bottom: calc(118px + env(safe-area-inset-bottom));
  left: 24px;
  right: 24px;
  min-height: 76px;
  border: 1px solid color-mix(in srgb, var(--notify-color) 58%, var(--graphite));
  border-radius: 22px;
  background: var(--notify-color);
  color: var(--notify-text);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  box-shadow: 0 28px 80px color-mix(in srgb, var(--notify-color) 38%, transparent);
  pointer-events: none;
  animation: notify-in 4400ms cubic-bezier(0.18, 0.86, 0.28, 1) both;
}

.notification.red {
  --notify-color: var(--red);
}

.notification.amber {
  --notify-color: var(--amber);
}

.notification.blue {
  --notify-color: var(--blue);
}

.notification.green {
  --notify-color: var(--green);
}

.notification.graphite {
  --notify-color: var(--graphite);
  --notify-text: var(--off-white);
}

.notification .dot {
  --dot-color: var(--notify-text);
  width: 14px;
  height: 14px;
  background: var(--notify-text);
}

.notification strong,
.notification small {
  display: block;
  text-transform: uppercase;
}

.notification strong {
  font-size: 16px;
  line-height: 1;
  font-weight: 1000;
}

.notification small {
  margin-top: 7px;
  color: color-mix(in srgb, var(--notify-text) 72%, transparent);
  font-size: 10px;
  font-weight: 900;
}

@keyframes notify-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.96);
  }
  12%,
  78% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.98);
  }
}

@media (max-width: 960px) {
  .intro-chart {
    display: block;
    height: 100svh;
    padding: calc(22px + env(safe-area-inset-top)) 22px calc(34px + env(safe-area-inset-bottom));
  }

  .intro-chart::after {
    display: none;
  }

  .intro-lang {
    top: calc(22px + env(safe-area-inset-top));
    right: 22px;
  }

  .intro-hero {
    min-height: auto;
    padding: 0 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .intro-logo {
    margin-bottom: 42px;
  }

  .intro-hero h1 {
    max-width: 9ch;
    font-size: clamp(48px, 15vw, 64px);
  }

  html[lang="de"] .intro-hero h1 {
    max-width: 10ch;
    font-size: clamp(42px, 12.4vw, 56px);
  }

  .intro-hero p {
    max-width: 18ch;
    font-size: clamp(22px, 6.2vw, 28px);
  }

  .intro-preview {
    margin-top: 44px;
    justify-content: flex-start;
    gap: 30px;
  }

  .intro-device-phone {
    width: 126px;
    height: 230px;
  }

  .intro-device-computer {
    width: 100px;
    height: 144px;
  }

  .intro-flow {
    display: block;
  }

  .intro-step {
    min-height: auto;
    padding: 36px 0;
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 18px;
    align-items: start;
  }

  .intro-step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .intro-step-index {
    grid-row: 1 / 4;
    width: 36px;
    height: 36px;
    margin: 0;
  }

  .intro-step h2 {
    min-height: 0;
    text-align: left;
    font-size: clamp(28px, 8vw, 38px);
  }

  html[lang="de"] .intro-step h2 {
    font-size: clamp(25px, 7vw, 34px);
  }

  .intro-step p {
    margin: 12px 0 0;
    min-height: 0;
    max-width: 18ch;
    text-align: left;
    font-size: 18px;
  }

  .intro-step-visual {
    grid-column: 2;
    min-height: 190px;
    place-items: center start;
  }

  .intro-step-arrow {
    display: none;
  }

  .intro-route {
    width: 155px;
    height: 220px;
  }

  .intro-radar {
    width: 190px;
    height: 190px;
  }

  .intro-alert-devices {
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: start;
  }

  .intro-alert-phone {
    width: 112px;
    height: 184px;
  }

  .intro-alert-computer {
    width: 104px;
    height: 110px;
  }

  .intro-cta {
    grid-column: 1 / -1;
    width: 100%;
    margin: 26px 0 0;
  }
}

@media (min-width: 860px) {
  body {
    display: grid;
    place-items: center;
    background:
      radial-gradient(circle at 28% 22%, rgba(255, 90, 79, 0.07), transparent 22%),
      var(--off-white);
  }

  .app {
    min-height: 860px;
    max-height: 860px;
    border: 1px solid rgba(30, 30, 28, 0.08);
    box-shadow: 0 40px 120px rgba(30, 30, 28, 0.14);
  }
}

@media (max-width: 360px) {
  .mega {
    font-size: 72px;
  }

  .top-controls {
    right: 12px;
  }

  .top-controls button {
    padding: 0 9px;
  }
}
