:root {
  color-scheme: dark;
  --ink: #f3fbf8;
  --muted: #9bb3ae;
  --dim: #6f8782;
  --background: #050b0c;
  --surface: #091314;
  --surface-raised: #0d1b1c;
  --line: rgba(189, 255, 235, 0.13);
  --mint: #78f0c2;
  --cyan: #5cd9ff;
  --coral: #ff7954;
  --radius: 28px;
  --content: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 6%, rgba(92, 217, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 93% 23%, rgba(120, 240, 194, 0.09), transparent 30rem),
    var(--background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #061011;
  background: var(--mint);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(189, 255, 235, 0.09);
  background: rgba(5, 11, 12, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 32px), var(--content));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(92, 217, 255, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.language-switch button {
  min-width: 38px;
  padding: 7px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.language-switch button[aria-pressed="true"] {
  color: #061011;
  background: var(--mint);
}

.section,
.hero {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.hero {
  min-height: 680px;
  padding: 90px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: -0.075em;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(105deg, var(--cyan), var(--mint) 53%, #ecfff8);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cae0db;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-weight: 700;
}

.store-block {
  margin-top: 28px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.store-link {
  display: inline-flex;
  border-radius: 13px;
  opacity: 0.72;
  transition: opacity 160ms ease, transform 160ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.store-link.is-active {
  opacity: 1;
}

.store-link img {
  width: 176px;
  height: 54px;
  display: block;
}

.store-note {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 12px;
}

.store-toast {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 13px 16px;
  border: 1px solid rgba(120, 240, 194, 0.35);
  border-radius: 15px;
  color: var(--ink);
  background: rgba(9, 19, 20, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.device-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.device-stage::before {
  content: "";
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 240, 194, 0.16), transparent 68%);
  filter: blur(12px);
}

.device {
  position: relative;
  width: min(100%, 390px);
  padding: 16px;
  border: 1px solid rgba(220, 255, 245, 0.22);
  border-radius: 48px;
  background: linear-gradient(145deg, #152426, #060b0c 58%);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.55);
  transform: rotate(2.5deg);
}

.device-screen {
  min-height: 560px;
  padding: 26px 22px 20px;
  overflow: hidden;
  border-radius: 35px;
  background:
    linear-gradient(rgba(120, 240, 194, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 240, 194, 0.025) 1px, transparent 1px),
    #071210;
  background-size: 38px 38px;
}

.device-top {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 22px;
  font-weight: 850;
}

.device-top img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.speed-value {
  margin-top: 54px;
  color: var(--mint);
  font-size: clamp(9rem, 19vw, 13rem);
  font-weight: 350;
  line-height: 0.76;
  letter-spacing: -0.09em;
  text-shadow: 0 0 34px rgba(120, 240, 194, 0.22);
}

.speed-unit {
  margin: 20px 4px 44px;
  color: var(--muted);
  text-align: right;
  font-size: 19px;
  font-weight: 700;
}

.device-status {
  padding: 16px 17px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #dcebe7;
  background: rgba(0, 0, 0, 0.28);
  font-size: 13px;
  font-weight: 700;
}

.device-status span:first-child::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(120, 240, 194, 0.55);
}

.hero-shot {
  position: relative;
  width: min(100%, 296px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(220, 255, 245, 0.22);
  border-radius: 34px;
  background: var(--surface);
  box-shadow:
    0 0 0 9px rgba(255, 255, 255, 0.018),
    0 42px 90px rgba(0, 0, 0, 0.52);
  transform: rotate(2deg);
}

.hero-shot::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.app-gallery {
  padding-top: 28px;
}

.gallery-head {
  margin-bottom: 22px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 3.8vw, 52px);
}

.app-shot {
  width: min(100%, 245px);
  aspect-ratio: 764 / 1656;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(220, 255, 245, 0.2);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.app-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.app-shot--journey {
  box-shadow:
    0 0 0 1px rgba(120, 240, 194, 0.1),
    0 34px 80px rgba(0, 0, 0, 0.45);
}

.app-shot--settings {
  transform: translateY(7px);
}

.app-shot--bike {
  transform: translateY(16px);
}

.app-shot--nixie {
  transform: rotate(2deg) translateY(9px);
}

.section {
  padding: 94px 0;
}

.section-rule {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

h2 {
  margin-bottom: 15px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.privacy-card {
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.feature-card:nth-child(3n + 1) .feature-icon {
  color: var(--cyan);
}

.feature-card:nth-child(3n + 3) .feature-icon {
  color: var(--coral);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 13px;
  color: var(--mint);
  background: rgba(255, 255, 255, 0.02);
  font-size: 20px;
  font-weight: 850;
}

.feature-card h3,
.privacy-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature-card p,
.privacy-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.privacy-band {
  width: 100%;
  background:
    radial-gradient(circle at 88% 15%, rgba(92, 217, 255, 0.1), transparent 26rem),
    #081112;
  border-block: 1px solid var(--line);
}

.privacy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.privacy-card {
  min-height: 170px;
}

.privacy-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--mint);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-nav {
  margin: 46px 0 30px;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
}

.legal-nav a,
.contact-button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbeae6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.legal-nav a:hover,
.contact-button:hover {
  border-color: rgba(120, 240, 194, 0.5);
  background: rgba(120, 240, 194, 0.07);
}

.legal-document {
  margin-top: 26px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.024);
}

.legal-document + .legal-document {
  margin-top: 20px;
}

.imprint-disclosure {
  margin: 18px 0 0;
  scroll-margin-top: 88px;
}

.imprint-disclosure summary {
  width: fit-content;
  padding: 8px 0;
  color: var(--dim);
  font-size: 12px;
  font-weight: 650;
}

.imprint-disclosure summary::after {
  margin-left: 8px;
  font-size: 16px;
}

.imprint-disclosure .legal-body {
  padding-bottom: 0;
}

.legal-document h3 {
  margin-bottom: 6px;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  letter-spacing: -0.045em;
}

.updated {
  margin-bottom: 28px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 650;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 18px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 780;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--mint);
  font-size: 22px;
  font-weight: 450;
}

details[open] summary::after {
  content: "−";
}

.legal-body {
  max-width: 860px;
  padding: 0 2px 22px;
  color: var(--muted);
  font-size: 14px;
}

.legal-body p:last-child,
.legal-body ul:last-child {
  margin-bottom: 0;
}

.legal-body li + li {
  margin-top: 8px;
}

.contact-panel {
  padding: clamp(28px, 6vw, 66px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  border: 1px solid rgba(120, 240, 194, 0.25);
  border-radius: 36px;
  background:
    linear-gradient(130deg, rgba(120, 240, 194, 0.1), rgba(92, 217, 255, 0.035)),
    var(--surface);
}

.contact-panel h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.contact-details {
  align-self: end;
  color: var(--muted);
  font-style: normal;
}

.contact-details a {
  color: var(--mint);
}

.site-footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.site-footer a {
  color: var(--dim);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--muted);
  text-decoration: underline;
}

.site-footer img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  vertical-align: middle;
  margin-right: 9px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 70px;
    gap: 58px;
  }

  .device {
    width: min(100%, 360px);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

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

@media (max-width: 620px) {
  .nav-wrap {
    width: min(calc(100% - 24px), var(--content));
    min-height: 62px;
  }

  .section,
  .hero,
  .site-footer {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero {
    padding: 55px 0 64px;
  }

  h1 {
    font-size: clamp(3.35rem, 19vw, 5rem);
  }

  .section {
    padding: 72px 0;
  }

  .feature-grid,
  .privacy-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    display: flex;
    width: calc(100% + 14px);
    margin-right: -14px;
    overflow-x: auto;
    padding: 8px 14px 18px 0;
    scroll-snap-type: x mandatory;
  }

  .app-shot,
  .app-shot--nixie {
    width: min(72vw, 280px);
    height: auto;
    flex: 0 0 auto;
    transform: none;
    scroll-snap-align: start;
  }

  .feature-card {
    min-height: 185px;
  }

  .privacy-card {
    min-height: auto;
  }

  .device-screen {
    min-height: 500px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-link img {
    width: 160px;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #111;
    background: #fff;
  }

  .site-header,
  .device-stage,
  .language-switch,
  .legal-nav,
  .pills {
    display: none !important;
  }

  .hero {
    min-height: 0;
    padding: 30px 0;
    display: block;
  }

  .section,
  .hero {
    width: 100%;
  }

  .section {
    padding: 30px 0;
  }

  .legal-document,
  .contact-panel {
    border-color: #bbb;
    background: #fff;
  }

  details:not([open]) > *:not(summary) {
    display: block;
  }

  .legal-body,
  .lead,
  .hero-copy,
  .contact-details {
    color: #333;
  }
}
