:root {
  color-scheme: dark;
  --bg: #111015;
  --panel: #1b1920;
  --text: #faf3ea;
  --muted: #d1c5cd;
  --accent: #ffbd91;
  --line: #ffffff25;
  --width: 76rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.85rem); line-height: 1.04; letter-spacing: -.05em; text-wrap: balance; }
h3 { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -.035em; }
.skip { position: absolute; z-index: 20; top: .5rem; left: .5rem; padding: .75rem; background: var(--bg); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
header {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  position: sticky; top: 0; z-index: 10; min-height: 4.75rem;
  padding: .6rem max(1rem, calc((100% - var(--width)) / 2));
  border-bottom: 1px solid var(--line); background: #111015f5;
}
.brand, .navright, nav, .langs, .actions { display: flex; align-items: center; }
.brand { gap: .7rem; line-height: 1.1; font-weight: 850; white-space: nowrap; letter-spacing: -.03em; }
.brand img { width: 2.55rem; height: 2.55rem; border-radius: .55rem; object-fit: cover; }
.brand b { color: var(--accent); margin-left: .2rem; }
.brand small { display: block; margin-top: .3rem; font-size: .67rem; color: var(--muted); letter-spacing: .09em; }
nav, .navright { gap: clamp(.7rem, 2vw, 1.75rem); }
nav a { font-size: .875rem; font-weight: 700; text-transform: capitalize; }
nav a:hover, summary:hover { color: var(--accent); }
.langs { padding: .175rem; border: 1px solid var(--line); border-radius: .45rem; }
.langs button, .hamb { border: 0; background: transparent; color: var(--text); }
.langs button { min-width: 2rem; min-height: 2rem; font-size: .875rem; border-radius: .3rem; }
.langs button[aria-pressed=true] { background: var(--text); color: var(--bg); }
.hamb { display: none; width: 2.5rem; height: 2.5rem; font-size: 1.35rem; }
.hero {
  position: relative; display: grid; align-items: center; min-height: 36rem;
  padding: clamp(3.5rem, 8vw, 7.5rem) max(1.25rem, calc((100% - var(--width)) / 2));
  background: linear-gradient(90deg, #111015 1%, #151019f2 30%, #17111b66 70%, #100e1820), linear-gradient(0deg, #111015 0%, transparent 34%), url('assets/city.webp') right center / cover;
}
.hero-inner { width: min(100%, 34rem); }
.hero h1 { margin: .65rem 0 1.15rem; font-size: clamp(2rem, 4.8vw, 4.5rem); font-weight: 850; line-height: 1.05; letter-spacing: -.065em; }
.outline { color: var(--accent); }
.hero-bottom h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.hero-bottom p, .join p { margin-top: .85rem; color: var(--muted); max-width: 32rem; }
.hero-earn { padding-left: .9rem; border-left: 2px solid var(--accent); }
.hero-earn strong { color: var(--text); }
.hero-earn span { font-size: .875rem; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 750; letter-spacing: .075em; }
.eyebrow i { display: inline-block; width: .43rem; height: .43rem; border-radius: 50%; background: var(--accent); margin-right: .2rem; vertical-align: .12em; }
.slash { color: var(--muted); padding-inline: .15rem; }
.actions { gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.primary, .secondary, .pill, .circle {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  border: 1px solid transparent; border-radius: .45rem;
  padding: .55rem 1rem; font-size: .875rem; font-weight: 750; text-align: center;
}
.primary { background: var(--accent); color: #241722; }
.primary:hover { background: #ffd2b6; }
.secondary, .pill, .circle { background: #18141dd9; border-color: #d1c5cd65; color: var(--text); }
.secondary:hover, .pill:hover, .circle:hover { border-color: var(--accent); color: var(--accent); }
.section, .join, footer { padding-inline: max(1.25rem, calc((100% - var(--width)) / 2)); }
.section, .join { padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.section-top { margin-bottom: .85rem; }
.headline { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 1rem 2.5rem; margin-bottom: 1.7rem; }
.headline p, .eco-layout p, .faq details p { color: var(--muted); }
.world-grid, .road-grid { display: grid; gap: 1rem; }
.world-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { background: linear-gradient(0deg, #141018 4%, #141018d9 42%, #14101810 100%), var(--photo) center / cover; min-height: 21rem; display: flex; align-items: end; border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.main-tile { --photo: url('assets/district.webp'); }
.car-tile { --photo: url('assets/cars.webp'); }
.career-tile { --photo: url('assets/city.webp'); }
.tile-content { padding: 1.25rem; }
.tile p { color: var(--muted); margin-block: .6rem .95rem; }
.captionline, .wallet-foot, .join-note { margin-top: .9rem; color: var(--muted); font-size: .875rem; }
.economy { background: #17141c; }
.eco-layout, .faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.eco-layout p { margin-top: .9rem; }
.eco-features { display: grid; gap: .5rem; margin: 1.2rem 0; }
.eco-features div { border-bottom: 1px solid var(--line); padding-bottom: .45rem; }
.eco-layout small { color: var(--muted); font-size: .875rem; }
.wallet, .road-grid article, dialog { background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; padding: 1.25rem; }
.wallet-top, .calc-out { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; font-size: .875rem; }
.demo, .wallet-label { color: var(--muted); font-size: .875rem; }
.wallet-label { margin-top: 1rem; }
.balance { font-size: clamp(2rem, 7vw, 3.55rem); font-weight: 800; line-height: 1.1; }
.balance span, .calc-out strong { color: var(--accent); }
.balance span { font-size: .45em; }
.wallet-eur { margin-top: .3rem; }
.calc { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.calc-title { font-weight: 750; font-size: .875rem; margin-bottom: .5rem; }
.calc label { display: block; font-size: .875rem; color: var(--muted); }
.calc input { width: 100%; padding: .6rem .8rem; margin: .4rem 0 .65rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: .35rem; }
.road-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.road-grid p { margin: .6rem 0 .9rem; color: var(--muted); }
.road-grid small { color: var(--accent); font-weight: 700; }
.join { background: linear-gradient(90deg, #15121bf7, #15121bb5 55%, #15121b6b), url('assets/district.webp') center / cover; }
.join h2 { margin-top: .8rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { font-weight: 700; }
.faq details p { margin-top: .45rem; }
footer { padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
footer p { flex: 1 1 20rem; }
dialog { width: min(32rem, calc(100% - 2rem)); color: var(--text); padding: 2rem; }
dialog::backdrop { background: #0b090edb; }
dialog h2 { font-size: 1.85rem; padding-right: 1.1rem; }
dialog p { margin: 1rem 0 1.35rem; color: var(--muted); }
.close { position: absolute; right: .65rem; top: .35rem; border: 0; color: var(--text); background: transparent; font-size: 1.6rem; }
@media (max-width: 80rem) {
  header { padding-inline: 1.25rem; }
}
@media (max-width: 58rem) {
  .pill { display: none; }
  .road-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 45rem) {
  .hamb { display: block; }
  nav { display: none; position: absolute; inset: 100% 0 auto; padding: .8rem 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line); }
  nav.open { display: grid; }
  nav a { padding: .45rem 0; }
  .hero { min-height: 33rem; background: linear-gradient(90deg, #131019f2, #1310198c), linear-gradient(0deg, #111015, transparent 52%), url('assets/city.webp') 60% center / cover; }
  .headline, .world-grid, .eco-layout, .faq-layout { grid-template-columns: 1fr; }
  .tile { min-height: 17rem; }
}
@media (max-width: 24rem) {
  .road-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
