:root {
  color-scheme: light;
  --ink: #102238;
  --ink-strong: #061622;
  --surface: #ffffff;
  --surface-soft: #f3f8fb;
  --line: #bdd7df;
  --sky: #16aae7;
  --cyan: #00c7e6;
  --gold: #ffc928;
  --orange: #ff7b27;
  --coral: #e85838;
  --green: #3fbf82;
  --shadow: rgba(6, 22, 34, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100svh;
  overflow-x: hidden;
}

.topbar {
  align-items: center;
  background: transparent;
  border-bottom: 0;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  min-height: 0;
  padding: 18px max(20px, calc((100% - 1120px) / 2));
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.topnav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  pointer-events: auto;
}

.nav-link,
.lang-link {
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  padding: 10px 12px;
  text-decoration: none;
}

.nav-link {
  background: var(--ink-strong);
  color: #ffffff;
  box-shadow: 0 3px 0 rgba(6, 22, 34, 0.22);
}

.lang-link {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 34, 56, 0.12);
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(6, 22, 34, 0.1);
}

.hero {
  background: #cceffc;
  border-bottom: 8px solid var(--ink-strong);
  min-height: calc(100svh - 58px);
  overflow: hidden;
  position: relative;
}

.hero-bg {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.hero-bg-layer {
  animation: hero-bg-fade 54s ease-in-out infinite;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.22) 66%, rgba(255, 255, 255, 0.05) 100%),
    url("valparaiso-preview.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.025);
}

.hero-bg-hills {
  animation-delay: -5.4s;
}

.hero-bg-coast {
  animation-delay: 12.6s;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.22) 66%, rgba(255, 255, 255, 0.05) 100%),
    url("avenida-preview.png");
}

.hero-bg-valley {
  animation-delay: 30.6s;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.22) 66%, rgba(255, 255, 255, 0.05) 100%),
    url("luna-preview.png");
}

.hero::after {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 4px);
  content: "";
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  margin: 0 auto;
  max-width: 1120px;
  min-height: calc(100svh - 58px);
  padding: 74px 20px 28px;
  position: relative;
  z-index: 2;
}

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

.logo {
  height: auto;
  margin-bottom: 12px;
  max-width: 400px;
  width: min(100%, 400px);
}

.eyebrow {
  align-items: center;
  background: var(--gold);
  border: 2px solid var(--ink-strong);
  border-radius: 8px;
  box-shadow: 0 4px 0 var(--ink-strong);
  color: var(--ink-strong);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 12px;
  padding: 9px 11px;
  text-transform: uppercase;
}

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

h1 {
  color: var(--ink-strong);
  font-size: 3.2rem;
  line-height: 0.95;
  max-width: 12ch;
  text-wrap: balance;
}

.hero-text {
  color: #18344b;
  font-size: 1.16rem;
  font-weight: 650;
  line-height: 1.5;
  margin-top: 14px;
  max-width: 50ch;
}

.cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.app-store-badge {
  height: auto;
  min-height: 40px;
  width: 178px;
}

.mini-proof {
  border-left: 4px solid var(--orange);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  max-width: 240px;
  padding-left: 12px;
}

.hero-art {
  align-self: end;
  display: grid;
  min-height: 390px;
  place-items: end center;
  position: relative;
}

.hero-art::before {
  background: rgba(255, 201, 40, 0.88);
  border: 4px solid var(--ink-strong);
  bottom: 58px;
  box-shadow: 0 12px 0 var(--ink-strong);
  content: "";
  height: 96px;
  position: absolute;
  right: 40px;
  transform: skewX(-13deg);
  width: 260px;
}

.rider-rig {
  filter: drop-shadow(0 18px 0 rgba(6, 22, 34, 0.2));
  position: relative;
  transform: rotate(-7deg);
  width: min(92%, 390px);
}

.rider,
.wheel-layer {
  position: relative;
  width: 100%;
}

.rider {
  z-index: 3;
}

.wheel-layer {
  position: absolute;
}

.main-wheel {
  bottom: 8.5%;
  left: 18%;
  width: 32%;
  z-index: 1;
}

.caster-wheel {
  bottom: 11.5%;
  left: 46.5%;
  width: 7.5%;
  z-index: 2;
}

.content-band {
  padding: 64px 20px;
}

.content-band.alt {
  background: var(--surface-soft);
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-heading h2 {
  color: var(--ink-strong);
  font-size: 2rem;
  line-height: 1.08;
  max-width: 13ch;
  text-wrap: balance;
}

.section-heading p {
  color: #39546a;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
  max-width: 48ch;
}

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

.scene-card,
.feature-tile {
  background: var(--surface);
  border: 2px solid var(--ink-strong);
  border-radius: 8px;
  box-shadow: 0 6px 0 var(--ink-strong);
  overflow: hidden;
}

.scene-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.scene-card h3 {
  color: var(--ink-strong);
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 14px 14px 4px;
}

.scene-card p {
  color: #4b6172;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.42;
  padding: 0 14px 16px;
}

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

.feature-tile {
  min-height: 220px;
  padding: 20px;
}

.feature-kicker {
  align-items: center;
  border-radius: 8px;
  color: var(--ink-strong);
  display: inline-flex;
  font-size: 1.3rem;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.feature-tile:nth-child(1) .feature-kicker {
  background: var(--cyan);
}

.feature-tile:nth-child(2) .feature-kicker {
  background: var(--gold);
}

.feature-tile:nth-child(3) .feature-kicker {
  background: var(--green);
}

.feature-tile:nth-child(4) .feature-kicker {
  background: var(--orange);
}

.feature-tile h3 {
  color: var(--ink-strong);
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.feature-tile p {
  color: #4b6172;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.48;
}

.download-band {
  background:
    linear-gradient(90deg, rgba(6, 22, 34, 0.94), rgba(6, 22, 34, 0.74)),
    url("avenida-preview.png");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  padding: 58px 20px;
}

.download-inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1120px;
}

.download-inner h2 {
  font-size: 2.25rem;
  line-height: 1.05;
  max-width: 15ch;
  text-wrap: balance;
}

.download-inner p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
  margin-top: 12px;
  max-width: 56ch;
}

.footer {
  background: var(--ink-strong);
  color: #ffffff;
  padding: 28px 20px;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 650;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(243, 248, 251, 0.94) 420px, var(--surface-soft) 100%),
    url("valparaiso-preview.png");
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  min-height: 100svh;
}

.legal-main {
  margin: 0 auto;
  max-width: 980px;
  padding: 108px 20px 72px;
}

.legal-hero {
  margin-bottom: 22px;
  max-width: 760px;
}

.legal-logo {
  height: auto;
  margin-bottom: 14px;
  width: min(100%, 260px);
}

.legal-eyebrow {
  align-items: center;
  background: var(--gold);
  border: 2px solid var(--ink-strong);
  border-radius: 8px;
  box-shadow: 0 4px 0 var(--ink-strong);
  color: var(--ink-strong);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 14px;
  padding: 8px 10px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: 3rem;
  max-width: 14ch;
}

.updated {
  color: #39546a;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.45;
  margin-top: 12px;
}

.policy-card {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--ink-strong);
  border-radius: 8px;
  box-shadow: 0 8px 0 var(--ink-strong);
  color: var(--ink);
  padding: clamp(24px, 5vw, 46px);
}

.policy-card p {
  color: #334d62;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  margin: 0;
}

.policy-card p + p {
  margin-top: 12px;
}

.policy-card h2 {
  color: var(--ink-strong);
  font-size: 1.18rem;
  line-height: 1.2;
  margin: 34px 0 10px;
}

.policy-card h2::before {
  background: var(--orange);
  border: 2px solid var(--ink-strong);
  border-radius: 4px;
  box-shadow: 0 2px 0 var(--ink-strong);
  content: "";
  display: inline-block;
  height: 12px;
  margin-right: 10px;
  vertical-align: 1px;
  width: 12px;
}

.policy-card strong {
  color: var(--ink-strong);
}

.policy-card a {
  color: var(--ink-strong);
  font-weight: 850;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.legal-action {
  border: 1px solid rgba(16, 34, 56, 0.16);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  padding: 10px 12px;
  text-decoration: none;
}

@media (max-width: 920px) {
  .topbar {
    padding-top: 14px;
  }

  .hero,
  .hero-inner {
    min-height: calc(100svh - 70px);
  }

  .hero-inner {
    display: block;
    padding-top: 112px;
    padding-bottom: 96px;
  }

  .hero-art {
    bottom: 12px;
    min-height: 0;
    opacity: 0.72;
    place-items: end;
    position: absolute;
    right: 18px;
    width: 290px;
  }

  .hero-art::before {
    bottom: 18px;
    height: 68px;
    right: 24px;
    width: 190px;
  }

  h1 {
    font-size: 2.8rem;
  }

  .section-heading,
  .download-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
  }

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

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

@media (max-width: 560px) {
  .topnav {
    justify-content: flex-end;
    width: 100%;
  }

  .nav-link,
  .lang-link {
    font-size: 0.86rem;
  }

  .hero {
    background-position: 62% center;
  }

  .hero-bg-layer {
    background-position: 62% center;
  }

  .hero-inner {
    gap: 16px;
    padding-bottom: 26px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .app-store-badge {
    width: 164px;
  }

  .hero-art {
    bottom: 8px;
    right: 0;
    width: 220px;
  }

  .hero-art::before {
    bottom: 18px;
    height: 64px;
    right: 12%;
    width: 180px;
  }

  .rider-rig {
    width: min(90%, 300px);
  }

  .content-band {
    padding: 48px 18px;
  }

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

  .download-inner h2,
  .section-heading h2,
  .legal-hero h1 {
    font-size: 1.8rem;
  }

  .legal-main {
    padding-top: 96px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .rider-rig {
    animation: hover-rider 2.4s ease-in-out infinite;
  }
}

@keyframes hover-rider {

  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(-8px) rotate(-5deg);
  }
}

@keyframes hero-bg-fade {

  0% {
    opacity: 0;
    transform: scale(1.025) translateX(0);
  }

  10% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  45% {
    opacity: 0;
    transform: scale(1.055) translateX(-10px);
  }

  100% {
    opacity: 0;
    transform: scale(1.055) translateX(-10px);
  }
}
