:root {
  color: #f4f4f5;
  background: #050505;
  font-family: system-ui, "Segoe UI", sans-serif;
  --blue: #2f6fed;
  --ink: #050505;
  --muted: #b5b5b5;
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }

.home-nav {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  padding: 1.35rem 1.5rem 0;
  color: white;
  text-align: center;
}
.home-actions {
  position: absolute;
  top: 1.15rem;
  right: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.home-brand { font-size: 1.85rem; font-weight: 750; letter-spacing: -0.04em; }
.home-main, .home-sub { display: flex; gap: 1.7rem; }
.home-main { margin-top: 0.35rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.home-main a { padding-bottom: 0.35rem; border-bottom: 2px solid transparent; }
.home-main a.on { border-bottom-color: white; }
.home-sub { margin-top: 0.85rem; font-size: 1rem; color: #f4f4f5; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  padding: 0.55rem 1.05rem;
  font-weight: 700;
}
.btn.ghost { background: transparent; color: white; }

.hero {
  position: relative;
  min-height: 92vh;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 18%, transparent 36%),
    linear-gradient(90deg, rgba(6, 10, 16, 0.55) 0%, rgba(6, 10, 16, 0.12) 48%, rgba(6, 10, 16, 0.2) 100%),
    url("hero-street.jpg") center 42% / cover no-repeat;
  color: white;
}
.hero-copy {
  position: absolute;
  left: 10vw;
  top: 46%;
  max-width: 34rem;
  z-index: 2;
}
.hero h1 { max-width: 16ch; font-size: clamp(3.4rem, 5.6vw, 5.2rem); line-height: 0.96; letter-spacing: -0.045em; font-weight: 750; }
.lede { margin-top: 1.1rem; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; }

.band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  min-height: 520px;
  padding: 4.5rem 6vw;
}
.band.flip { flex-direction: row-reverse; }
.visual { flex: 0 1 640px; display: flex; justify-content: center; }
.visual.wide img {
  width: min(640px, 46vw);
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
}
.copy { width: min(420px, 100%); }
.copy h2, .stack h2, .price-band h2, .casa h2 {
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.punch { margin-top: 0.45rem; font-size: 1.45rem; font-weight: 560; }
.copy p, .stack p, .price-band p, .casa p { margin-top: 0.9rem; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.more { display: inline-block; margin-top: 1.15rem; font-weight: 650; }

.stack {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.stack .punch, .stack p { margin-inline: auto; }
.stack .phone { margin: 2.2rem auto 0; text-align: left; }
.stack.close { width: min(980px, 100%); padding-bottom: 5rem; }
.eyebrow { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; color: #d4d4d8; }

.phone {
  width: min(280px, 78vw);
  background: #0a0a0a;
  border: 10px solid #2a2a2e;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.hero-phone {
  position: absolute;
  z-index: 3;
  right: 7vw;
  bottom: -90px;
  width: 300px;
}
.phone-top { height: 22px; display: grid; place-items: center; background: #0a0a0a; }
.phone-top span { width: 72px; height: 8px; border-radius: 99px; background: #1c1c1f; }
.screen { background: #e6e6e8; color: #111; min-height: 460px; position: relative; overflow: hidden; }
.phone.slim .screen { min-height: 280px; }
.mapimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  bottom: 12px;
  background: white;
  border-radius: 16px;
  padding: 0.7rem 0.8rem;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.16);
  display: grid;
  gap: 0.15rem;
}
.float-card .row { display: flex; justify-content: space-between; gap: 0.4rem; }
.float-card small { white-space: nowrap; }
.float-card b { font-size: 0.92rem; letter-spacing: -0.02em; }
.leave { color: #16803c; }
.arrive { color: #e11d48; }
.dot-tools {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
}
.app-list { background: #f7f7f8; min-height: 460px; padding: 0.8rem; display: grid; gap: 0.55rem; align-content: start; }
.phone.slim .app-list { min-height: 0; }
.app-list h3 { font-size: 1.15rem; letter-spacing: -0.03em; }
.chip-row { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.chip-row span {
  background: white;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  color: #3f3f46;
}
.chip-row span.on { background: #111; color: white; }
.item { background: white; border-radius: 14px; padding: 0.7rem 0.8rem; }
.item b { display: block; font-size: 0.92rem; }
.item small { color: #6b6b70; }

.gear { display: grid; gap: 0.8rem; width: min(320px, 100%); }
.gear article {
  background: #141416;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
}
.gear b { display: block; font-size: 1.8rem; letter-spacing: -0.04em; }
.gear span { color: var(--muted); }

.price-band {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
  text-align: center;
}
.price-band .amount { color: white; font-size: clamp(3rem, 6vw, 4.4rem); letter-spacing: -0.04em; font-weight: 750; margin-top: 0.6rem; }
.price-band ul { list-style: none; padding: 0; margin: 1.2rem 0 0; color: var(--muted); display: grid; gap: 0.45rem; }

.casa {
  width: min(980px, calc(100% - 8vw));
  margin: 0 auto 3rem;
  padding: 2.2rem 2.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.casa h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }

.devices { display: flex; justify-content: center; align-items: flex-end; gap: 2rem; margin-top: 2.4rem; }
.desktop {
  width: min(460px, 100%);
  background: #18181b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.desktop-bar { display: flex; gap: 0.35rem; padding: 0.65rem 0.8rem; }
.desktop-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3f3f46; display: block; }
.desk-map { position: relative; min-height: 240px; background: #d5e3d4; }
.desk-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.foot {
  display: flex;
  gap: 4rem;
  padding: 3rem 8vw 4rem;
  border-top: 1px solid var(--line);
}
.foot div { display: grid; gap: 0.45rem; }
.foot b { margin-bottom: 0.35rem; }
.foot a { color: var(--muted); }

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 4vw;
}
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; }
.nav-actions { display: flex; gap: 0.55rem; }

.checkout { padding: 2rem 6vw 4rem; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.checkout form, .summary { background: #17171a; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; }
.checkout h1 { font-size: 2rem; letter-spacing: -0.04em; }
label { display: grid; gap: 0.35rem; margin-top: 0.85rem; color: #d4d4d8; font-size: 0.92rem; }
input {
  border: 1px solid #3f3f46;
  background: #111;
  color: white;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
}
input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.pay { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.pay .btn { flex: 1; }
.pay .btn.ghost { border: 1px solid rgba(255, 255, 255, 0.35); }
.error, .banner { margin-top: 0.9rem; }
.error { color: #fb7185; }
.banner { padding: 0.8rem 0.9rem; border-radius: 12px; background: #14532d; }
.banner.bad { background: #7f1d1d; }
.summary .row, .qty { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.7rem; }
.qty button { width: 2rem; height: 2rem; border-radius: 8px; border: 1px solid #3f3f46; background: #111; color: white; }
.total { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 1.3rem; }
.note { margin-top: 1rem; color: var(--muted); }

@media (max-width: 1100px) {
  .home-main, .home-sub { display: none; }
  .hero-copy { left: 6vw; max-width: 12ch; }
  .hero-phone { right: 4vw; width: min(260px, 42vw); }
}
@media (max-width: 800px) {
  .band, .band.flip, .casa, .checkout { flex-direction: column; display: flex; }
  .checkout { display: grid; grid-template-columns: 1fr; }
  .visual.wide img { width: 100%; height: 240px; }
  .hero { min-height: 100vh; }
  .hero-phone { position: relative; right: auto; bottom: auto; margin: 58vh auto 0; }
  .hero-copy { top: 28%; }
  .devices, .foot { flex-direction: column; }
}
