:root {
  color-scheme: dark;
  --ink: #f8fbf4;
  --muted: #b9cbc9;
  --soft: #81999c;
  --night: #071923;
  --navy: #0c2633;
  --teal: #0e3b43;
  --olive: #1d2d23;
  --panel: #123846;
  --panel-warm: #3b3424;
  --line: rgba(190, 239, 236, 0.18);
  --line-strong: rgba(190, 239, 236, 0.34);
  --cyan: #16c9ed;
  --blue: #0878f9;
  --orange: #ff9317;
  --red: #ff453a;
  --green: #35d39a;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

h1 {
  margin-bottom: 4px;
  font-size: 78px;
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.04;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 10px max(18px, calc((100vw - 1240px) / 2));
  background: rgba(7, 25, 35, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(22, 201, 237, 0.12);
  color: var(--ink);
  outline: 2px solid transparent;
}

nav .nav-store {
  margin-left: 6px;
  background: var(--orange);
  color: #160b00;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 48px;
  padding: 56px max(24px, calc((100vw - 1180px) / 2)) 72px;
  background-color: #061720;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-pl {
  background-image: url("assets/screens/pl/map.jpg?v=20260710");
}

.hero-en {
  background-image: url("assets/screens/en/map.jpg?v=20260710");
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(4, 16, 22, 0.76);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 46% 0 0;
  z-index: -1;
  background: rgba(4, 16, 22, 0.48);
}

.hero-copy {
  max-width: 690px;
}

.hero-icon {
  width: 86px;
  height: 86px;
  margin: 26px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d5e9e6;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(53, 211, 154, 0.14);
}

.hero-tagline {
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 26px;
  font-weight: 900;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #d0dfdd;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.store-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.store-button {
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #050505;
  color: #fff;
}

.apple-mark {
  font-size: 34px;
  line-height: 1;
}

.store-button > span:last-child {
  display: grid;
  line-height: 1.02;
}

.store-button small {
  font-size: 11px;
  font-weight: 650;
}

.store-button strong {
  font-size: 21px;
}

.button {
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  font-weight: 900;
}

.button.secondary {
  background: rgba(22, 201, 237, 0.12);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.store-button:hover,
.store-button:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid transparent;
}

.store-note {
  margin: 16px 0 0;
  color: #a9bdba;
  font-size: 13px;
  font-weight: 700;
}

.hero-screen {
  width: min(276px, 100%);
  justify-self: end;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 42px;
  background: #020b10;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.48);
  transform: rotate(1.5deg);
}

.hero-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1557;
  object-fit: contain;
  border-radius: 34px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a2b36;
}

.signal-strip span {
  min-height: 70px;
  display: grid;
  place-content: center;
  gap: 2px;
  padding: 12px 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.signal-strip span:last-child {
  border-right: 0;
}

.signal-strip b {
  color: var(--ink);
  font-size: 17px;
}

.section {
  padding: 92px 28px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-intro {
  background: #0a2530;
}

.section-map {
  background: #07171b;
}

.section-flow {
  background: #17271f;
}

.section-screens {
  background: #0d2028;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.section-heading.compact,
.section-heading.narrow {
  max-width: 720px;
}

.section-kicker,
.eyebrow {
  margin: 0 0 11px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

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

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

.feature-grid article {
  min-height: 205px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #113745;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.feature-grid span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--cyan);
  color: #041218;
  font-size: 13px;
  font-weight: 950;
}

.feature-grid .feature-ride span {
  background: var(--orange);
}

.feature-grid .feature-map span {
  background: var(--red);
  color: #fff;
}

.feature-grid .feature-replay span {
  background: var(--green);
}

.feature-grid .feature-weather span {
  background: var(--blue);
  color: #fff;
}

.feature-grid .feature-report span {
  background: #f2e6c4;
}

.feature-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: 80px;
}

.map-copy {
  max-width: 650px;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-weight: 750;
}

.signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
}

.signal-list li:nth-child(2)::before {
  background: var(--red);
}

.signal-list li:nth-child(3)::before {
  background: var(--cyan);
}

.signal-list li:nth-child(4)::before {
  background: var(--orange);
}

.phone-feature {
  width: min(430px, 100%);
  justify-self: center;
  margin: 0;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: #020b10;
  box-shadow: var(--shadow);
}

.phone-feature img {
  width: 100%;
  border-radius: 28px;
}

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

.process-grid article {
  overflow: hidden;
  border: 1px solid rgba(202, 230, 206, 0.16);
  border-radius: 8px;
  background: #21382a;
  box-shadow: var(--shadow);
}

.process-grid img {
  width: 100%;
  aspect-ratio: 720 / 1557;
  object-fit: cover;
}

.process-grid article > div {
  position: relative;
  min-height: 154px;
  padding: 22px 20px 20px 62px;
}

.process-grid article > div > span {
  position: absolute;
  top: 22px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: #160b00;
  font-weight: 950;
}

.process-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.screen-grid figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #061319;
  box-shadow: var(--shadow);
}

.screen-grid img {
  width: 100%;
  aspect-ratio: 720 / 1557;
  object-fit: cover;
  border-radius: 24px;
}

.screen-grid figcaption {
  padding: 13px 6px 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 56px max(28px, calc((100vw - 1180px) / 2));
  background: #3c3321;
  border-top: 1px solid rgba(255, 147, 23, 0.28);
  border-bottom: 1px solid rgba(255, 147, 23, 0.28);
}

.download-band > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.download-band img {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 16px;
}

.download-band h2 {
  margin: 0;
  font-size: 34px;
}

.download-band .section-kicker {
  margin-bottom: 5px;
}

.legal-main {
  min-height: calc(100svh - 68px);
  padding: 72px 28px 90px;
  background: #0a2530;
}

.legal-page {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 18px;
  font-size: 56px;
}

.legal-lead {
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
}

.legal-card {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 30px 0 12px;
  font-size: 28px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin-top: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.link-list {
  padding-left: 0 !important;
  list-style: none;
}

.link-list a,
.site-footer a,
.legal-card a {
  color: var(--ink);
  font-weight: 850;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
}

.meta-table th,
.meta-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.meta-table th {
  width: 34%;
  color: var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 30px max(18px, calc((100vw - 1180px) / 2));
  background: #020b10;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.site-footer span:last-child {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
    font-size: 12px;
  }

  nav a {
    min-height: 32px;
    padding: 5px 7px;
  }

  .hero {
    min-height: 670px;
    grid-template-columns: minmax(0, 1fr) 276px;
    gap: 24px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 40px;
  }

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

  .map-layout {
    gap: 42px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 108px;
  }

  .site-header {
    position: relative;
    min-height: 0;
    padding: 10px 16px 12px;
  }

  nav .nav-store {
    margin-left: 0;
  }

  .hero {
    min-height: 680px;
    display: block;
    padding: 44px 20px 76px;
    background-position: 56% center;
  }

  .hero::before {
    background: rgba(4, 16, 22, 0.82);
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-icon {
    width: 72px;
    height: 72px;
    margin: 22px 0 18px;
    border-radius: 15px;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-screen {
    display: none;
  }

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

  .signal-strip span:nth-child(2) {
    border-right: 0;
  }

  .signal-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 68px 18px;
  }

  .feature-grid,
  .process-grid,
  .screen-grid,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .phone-feature {
    width: min(390px, 100%);
  }

  .process-grid article,
  .screen-grid figure {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .download-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 44px 20px;
  }

  .download-band > div {
    align-items: flex-start;
  }

  .download-band img {
    width: 64px;
    height: 64px;
    border-radius: 13px;
  }

  .download-band h2 {
    font-size: 28px;
  }

  .legal-main {
    padding: 48px 18px 70px;
  }

  .legal-page h1 {
    font-size: 44px;
  }

  .legal-card {
    padding: 20px;
  }

  .meta-table,
  .meta-table tbody,
  .meta-table tr,
  .meta-table th,
  .meta-table td {
    display: block;
    width: 100%;
  }

  .meta-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .meta-table td {
    padding-top: 4px;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    display: grid;
  }

  .store-button,
  .button {
    width: 100%;
  }

  .feature-grid article {
    min-height: 0;
  }
}

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

  .store-button,
  .button {
    transition: none;
  }
}
