/* =========================================================
   Rentongovehicle — site stylesheet
   Palette taken from the logo and app: navy ink, route blue,
   sky wash, and the lime lane-line from the logo underline.
   ========================================================= */

:root {
  --ink: #152159;
  --ink-deep: #0e1742;
  --route: #2b86e0;
  --route-dark: #1f6cc0;
  --sky: #eaf3fc;
  --lane: #b6cb35;
  --paper: #ffffff;
  --slate: #4e5877;
  --line: #dce3ef;
  --text: #1c2645;
  --danger: #c62f3b;
  --ok: #2f8a4c;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 72px;
  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 28px;
  --shadow: 0 10px 30px -12px rgba(21, 33, 89, 0.28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
  scroll-margin-top: var(--header-h);
}

.section-intro {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-intro p { color: var(--slate); margin: 0; }

/* Lane line: the dashed road marking used as a structural divider */
.lane {
  height: 4px;
  width: 72px;
  margin-bottom: 1.1rem;
  background: repeating-linear-gradient(90deg, var(--lane) 0 16px, transparent 16px 26px);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--route);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--route-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--sky); border-color: var(--sky); box-shadow: none; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { background: var(--sky); }

.btn--small { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(21, 33, 89, .5);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__links {
  display: flex;
  gap: clamp(.9rem, 1.8vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: .35rem 0;
  font-weight: 550;
  color: var(--slate);
  text-decoration: none;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--route) 0 8px, transparent 8px 12px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(14, 23, 66, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 90;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    z-index: 95;
    width: min(340px, 100%);
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: #fff;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__link {
    display: block;
    padding: .95rem .25rem;
    font-size: 1.1rem;
    border-bottom: 1px dashed var(--line);
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--route); }
  .nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4.5rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% 20%, var(--sky), transparent 60%),
    var(--paper);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.hero__brandline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--route);
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  margin-bottom: .6rem;
}
.hero h1 {
  font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.hero__lead {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  color: var(--slate);
  max-width: 30rem;
  margin-bottom: 1.5rem;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.hero__tags li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem .45rem .6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 550;
  font-size: .95rem;
}
.hero__tags svg { width: 22px; height: 22px; color: var(--route); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero visual: dial with car on a road */
.hero__visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.dial {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(21, 33, 89, .45);
  overflow: hidden;
}
.dial::before {
  /* subtle map-grid inside the dial */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--sky) 1px, transparent 1px),
    linear-gradient(90deg, var(--sky) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .9;
}
.road {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 18%;
  height: 22%;
  background: var(--ink);
  transform: skewY(-4deg);
}
.road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 5px;
  margin-top: -2.5px;
  background: repeating-linear-gradient(90deg, var(--lane) 0 34px, transparent 34px 60px);
  animation: laneMove 1.4s linear 1;
  animation-fill-mode: both;
}
.hero__car {
  position: absolute;
  left: 9%;
  width: 74%;
  bottom: 27%;
  z-index: 2;
  filter: drop-shadow(0 16px 14px rgba(14, 23, 66, .35));
  animation: driveIn 1.4s var(--ease) both;
}
.hero__prop {
  position: absolute;
  z-index: 3;
  animation: popIn .6s var(--ease) both;
}
.hero__prop--clipboard { width: 22%; left: 13%; top: 17%; animation-delay: 1.15s; transform: rotate(-10deg); }
.hero__prop--key { width: 23%; right: 13%; top: 13%; animation-delay: 1.3s; }

.chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .85rem .5rem .5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-weight: 650;
  font-size: clamp(.78rem, .7rem + .3vw, .95rem);
  color: var(--ink);
  white-space: nowrap;
  animation: popIn .55s var(--ease) both;
}
.chip img { width: clamp(26px, 5vw, 36px); height: auto; }
.chip--top { top: 2%; left: 50%; translate: -50% 0; animation-delay: 1.45s; }
.chip--right { right: -2%; top: 34%; animation-delay: 1.6s; }
.chip--left { left: -2%; bottom: 7%; animation-delay: 1.75s; }

@keyframes driveIn {
  from { transform: translateX(-120%); }
  to { transform: none; }
}
@keyframes laneMove {
  from { background-position: 0 0; }
  to { background-position: 360px 0; }
}
@keyframes popIn {
  from { opacity: 0; scale: .6; }
  to { opacity: 1; scale: 1; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__tags, .hero__actions { justify-content: center; }
  .hero__visual { width: min(88%, 420px); }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .chip--right { right: -4%; }
  .chip--left { left: -4%; }
}

/* ---------- Why choose ---------- */
.why__panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -45px rgba(21, 33, 89, .45);
}
.why__item {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.25rem, 1rem + 1vw, 2rem);
}
.why__item + .why__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 18px);
}
.why__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--sky);
  margin-bottom: 1.25rem;
}
.why__icon img { width: 40px; height: 40px; object-fit: contain; }
.why__item p { color: var(--slate); margin: 0; font-size: .98rem; }

@media (max-width: 960px) {
  .why__panel { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3)::before { display: none; }
  .why__item:nth-child(n+3) { border-top: 2px dashed var(--line); }
}
@media (max-width: 560px) {
  .why__panel { grid-template-columns: 1fr; }
  .why__item + .why__item::before { display: none; }
  .why__item + .why__item { border-top: 2px dashed var(--line); }
}

/* ---------- About ---------- */
.about { background: var(--sky); }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__text p { color: var(--slate); max-width: 38rem; }
.about__text p:first-of-type {
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  color: var(--text);
}
.about__figure { position: relative; margin: 0; }
.about__figure img {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(21, 33, 89, .18));
}
.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(21, 33, 89, .15);
  list-style: none;
  padding-left: 0;
}
.about__stats li { display: flex; flex-direction: column; }
.about__stats strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.about__stats span { color: var(--slate); font-size: .92rem; }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 520px; margin-inline: auto 6%; }
}

/* ---------- Features (navy) ---------- */
.features {
  background: var(--ink);
  color: #d9e2f5;
  position: relative;
  overflow: hidden;
}
.features h2, .features h3 { color: #fff; }
.features .section-intro { margin-inline: auto; text-align: center; }
.features .section-intro p { color: #b6c3e2; }
.features .lane { margin-inline: auto; }
.features__grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.features__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}
.feature__icon img { width: 34px; height: 34px; object-fit: contain; }
.feature h3 { margin-bottom: .3rem; }
.feature p { margin: 0; font-size: .96rem; color: #b6c3e2; }
.features__phone {
  margin: 0;
  justify-self: center;
  position: relative;
}
.features__phone img {
  width: 100%;
  border-radius: 24px;
}

@media (max-width: 1000px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .features__phone { grid-column: 1 / -1; grid-row: 1; width: min(260px, 70%); }
}
@media (max-width: 620px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* ---------- App screens carousel ---------- */
.screens__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.screens__head .section-intro { margin-bottom: 0; }
.carousel-controls { display: flex; gap: .5rem; }
.icon-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.icon-btn:hover { background: var(--sky); border-color: var(--sky); }
.icon-btn:disabled { opacity: .35; cursor: default; background: #fff; border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }

.screens__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(200px, 23%, 270px);
  gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem .25rem 1.5rem;
  list-style: none;
  margin: 0;
  scrollbar-width: none;
}
.screens__track::-webkit-scrollbar { display: none; }
.screen { scroll-snap-align: start; }
.screen__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
  border-radius: 22px;
}
.screen__frame {
  display: block;
  border-radius: 22px;
  background: var(--sky);
  padding: 14px;
  transition: transform .3s var(--ease), background-color .3s;
}
.screen__btn:hover .screen__frame,
.screen__btn:focus-visible .screen__frame { transform: translateY(-6px); background: #dcebfa; }
.screen__frame img { width: 100%; height: auto; border-radius: 14px; }
.screen__caption {
  display: block;
  margin-top: .8rem;
  font-weight: 650;
  color: var(--ink);
}
.screen__caption small { display: block; font-weight: 400; color: var(--slate); font-size: .9rem; }

.carousel-dots { display: none; justify-content: center; gap: .5rem; margin-top: .25rem; }
.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: width .3s var(--ease), background-color .3s;
}
.carousel-dots button[aria-current="true"] { width: 28px; border-radius: 5px; background: var(--route); }

@media (max-width: 1000px) {
  .screens__track { grid-auto-columns: minmax(210px, 42%); }
  .carousel-dots { display: flex; }
}
@media (max-width: 520px) {
  .screens__track { grid-auto-columns: 72%; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 4.5rem 1rem 1.5rem;
  background: rgba(14, 23, 66, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-height: calc(100dvh - 8rem);
  width: auto;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__caption { color: #fff; text-align: center; margin-top: .8rem; font-weight: 600; }
.lightbox .icon-btn { position: absolute; background: rgba(255, 255, 255, .12); border-color: transparent; color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 560px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; translate: none; }
  .lightbox { padding-bottom: 5rem; }
  .lightbox__caption { padding-inline: 3.75rem; font-size: .95rem; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--sky); }
.faq__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.accordion { display: grid; gap: .75rem; }
.acc {
  background: #fff;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}
.acc.is-open { border-color: var(--route); box-shadow: var(--shadow); }
.acc__q { margin: 0; font-size: 1rem; }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--ink);
  border-radius: var(--radius-m);
}
.acc__num {
  flex: none;
  color: var(--route);
  font-variant-numeric: tabular-nums;
  margin-right: .15rem;
}
.acc__label { flex: 1; }
.acc__icon {
  flex: none;
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sky);
  transition: background-color .25s, transform .3s var(--ease);
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), background-color .25s;
}
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon { background: var(--route); transform: rotate(180deg); }
.acc.is-open .acc__icon::before { background: #fff; }
.acc.is-open .acc__icon::after { transform: rotate(0); background: #fff; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner p {
  margin: 0;
  padding: 0 1.25rem 1.25rem 3.1rem;
  color: var(--slate);
}
.faq__art { margin: 0; }
.faq__art img { width: 100%; border-radius: var(--radius-l); }

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__art { order: -1; max-width: 360px; }
  .acc__inner p { padding-left: 1.25rem; }
}

/* ---------- Download ---------- */
.download {
  background: var(--ink-deep);
  color: #c9d4ee;
  overflow: hidden;
}
.download h2 { color: #fff; }
.download__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.download__text p { color: #b6c3e2; max-width: 32rem; }
.soon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .8rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(182, 203, 53, .15);
  color: var(--lane);
  font-weight: 650;
  font-size: .92rem;
}
.soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lane);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .3; } }
.stores { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.store {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1.2rem .6rem .8rem;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: transform .2s var(--ease), background-color .2s;
}
.store:hover { transform: translateY(-2px); background: var(--sky); }
.store img { width: 30px; height: 30px; object-fit: contain; }
.store small { display: block; font-size: .75rem; color: var(--slate); line-height: 1.2; }
.store strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.download .btn--light { margin-top: 1.25rem; }

.fan {
  position: relative;
  height: clamp(340px, 42vw, 500px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.fan img {
  position: absolute;
  width: clamp(130px, 17vw, 215px);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  transition: transform .45s var(--ease);
}
.fan img:nth-child(1) { transform: translateX(-62%) rotate(-9deg) scale(.9); }
.fan img:nth-child(2) { z-index: 2; }
.fan img:nth-child(3) { transform: translateX(62%) rotate(9deg) scale(.9); }
.fan:hover img:nth-child(1) { transform: translateX(-78%) rotate(-12deg) scale(.9); }
.fan:hover img:nth-child(3) { transform: translateX(78%) rotate(12deg) scale(.9); }

@media (max-width: 860px) {
  .download__grid { grid-template-columns: 1fr; text-align: center; }
  .download__text p { margin-inline: auto; }
  .stores { justify-content: center; }
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.contact__item:hover { border-color: var(--route); background: var(--sky); }
.contact__icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__item small { display: block; color: var(--slate); font-size: .85rem; }
.contact__item > span:last-child { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

.form {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1rem + 3vw, 2.75rem);
}
.form h3 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin-bottom: .35rem; }
.form > p { color: #b6c3e2; margin-bottom: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: #dfe6f7; }
.field input,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lane);
  box-shadow: 0 0 0 4px rgba(182, 203, 53, .25);
}
.field.has-error input,
.field.has-error textarea { border-color: #ff8a93; }
.field__error {
  display: none;
  margin-top: .35rem;
  font-size: .86rem;
  color: #ffb3b9;
}
.field.has-error .field__error { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form__status { margin: 0; font-size: .95rem; color: #cfe39a; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: #aebbdc;
  padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  border-top: 5px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--lane) 0 40px, var(--ink-deep) 40px 64px) 5;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem 2rem;
}
.footer__brand img {
  height: 44px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
}
.footer__brand p { margin-top: 1rem; max-width: 22rem; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}
.footer__links a:hover { color: #fff; }
.footer__links svg { width: 18px; height: 18px; flex: none; }
.footer__bottom {
  margin-top: 3rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .88rem;
}
.footer__bottom p { margin: 0; }

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--route);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--route-dark); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 250;
  max-width: calc(100% - 2rem);
  padding: .85rem 1.25rem;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  translate: -50% 150%;
  transition: translate .35s var(--ease);
  font-weight: 550;
}
.toast.is-visible { translate: -50% 0; }

/* ---------- Legal pages ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 4.5rem));
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  background: var(--sky);
}
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { color: var(--slate); margin: 0; }
.crumbs { display: flex; gap: .5rem; font-size: .92rem; color: var(--slate); margin-bottom: 1rem; }
.crumbs a { color: var(--route); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(4rem, 3rem + 4vw, 6rem);
}
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.toc h2 { font-size: 1rem; margin-bottom: .75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px dashed var(--line); }
.toc a {
  display: block;
  padding: .4rem 0 .4rem 1rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--slate);
  font-size: .93rem;
  line-height: 1.35;
  transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--route); border-left-color: var(--route); font-weight: 600; }
.toc-select { display: none; }

.prose { max-width: 46rem; }
.prose section { scroll-margin-top: calc(var(--header-h) + 1.25rem); padding-bottom: 1.5rem; }
.prose section + section { padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); margin-bottom: .75rem; }
.prose h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.prose p, .prose li { color: #3a4463; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--route); }
.prose strong { color: var(--ink); }
.prose a { color: var(--route); }
.note {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-m);
  background: var(--sky);
  border-left: 4px solid var(--route);
}

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-select {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + .5rem);
    z-index: 10;
  }
  .toc-select label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .toc-select select {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
  }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  background: var(--sky);
}
.notfound__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 4rem + 12vw, 12rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.05em;
}
.notfound .lane { margin: 1rem auto 1.5rem; width: 160px; }
.notfound p { color: var(--slate); max-width: 28rem; margin-inline: auto; }
.notfound img { width: min(280px, 70%); margin: 0 auto 1rem; }
.notfound .hero__actions { justify-content: center; margin-top: 1.5rem; }

/* ---------- Intro video page ---------- */
.intro {
  position: fixed;
  inset: 0;
  background: #000;
  display: grid;
  place-items: center;
}
.intro video { width: 100%; height: 100%; object-fit: cover; }
.intro__skip { position: absolute; right: 1rem; bottom: 1rem; }
.intro__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: var(--lane);
}

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