:root {
  color-scheme: light;
  --bg: #fff6f0;
  --ink: #1b120b;
  --muted: #5a4a42;
  --coral: #fb7185;
  --amber: #f59e0b;
  --cream: #fff0e6;
  --card: #ffffff;
  --border: rgba(27, 18, 11, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.glow {
  position: fixed;
  inset: -10% auto auto -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, #ffd7a8, #ffb7c5, #f2c0ff);
  filter: blur(80px);
  opacity: 0.7;
  z-index: -2;
}

.grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(27, 18, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 18, 11, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.4;
  z-index: -3;
}

.topbar {
  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo img {
  height: 180px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  letter-spacing: 0.4px;
}

.logo-text-accent {
  color: #fb7185;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.hero {
  padding: 80px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
  animation: heroIn 1s ease both;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 12px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 38ch;
}

.street-sign {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #1b120b;
  color: #fff6f0;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 12px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #fb7185, #f59e0b);
  color: #1b120b;
  box-shadow: 0 18px 32px rgba(251, 113, 133, 0.3);
}

.btn.ghost {
  background: #ffffff;
  border-color: rgba(27, 18, 11, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
}

.note {
  color: #7a6a60;
  font-size: 0.85rem;
}

.hero-visual {
  display: grid;
  gap: 18px;
  position: relative;
}

.freeway-card,
.street-card {
  border-radius: 26px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 32px rgba(27, 18, 11, 0.08);
  position: relative;
  z-index: 2;
}

.freeway-card {
  border-left: 4px solid var(--coral);
  animation: floatUp 6s ease-in-out infinite;
}

.street-card {
  border-left: 4px solid var(--amber);
  animation: floatDown 7s ease-in-out infinite;
}

.card-title {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--coral);
}

.street-card .card-title {
  color: var(--amber);
}

.lane-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lane-tags span {
  background: rgba(27, 18, 11, 0.06);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.street-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.street-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(27, 18, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.street-lines span::after {
  content: "";
  position: absolute;
  inset: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: pulseLane 2.2s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  border-radius: 20px;
  background: #1b120b;
  color: #fff6f0;
  padding: 10px 0;
  position: relative;
  z-index: 2;
}

.track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 10s linear infinite;
  font-weight: 700;
  letter-spacing: 1px;
}

.floating-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-dots span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(251, 113, 133, 0.35);
  box-shadow: 0 0 12px rgba(251, 113, 133, 0.45);
  animation: drift 8s ease-in-out infinite;
}

.floating-dots span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-dots span:nth-child(2) { top: 40%; right: 18%; animation-delay: 1.5s; background: rgba(245, 158, 11, 0.35); }
.floating-dots span:nth-child(3) { top: 70%; left: 25%; animation-delay: 2.2s; }
.floating-dots span:nth-child(4) { top: 15%; right: 35%; animation-delay: 0.8s; background: rgba(52, 211, 153, 0.35); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes glowShift {
  0%, 100% { opacity: 0.7; filter: blur(0); }
  50% { opacity: 1; filter: blur(1px); }
}

@keyframes traffic {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes trafficV {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(120%); }
}

@keyframes pulseLane {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes heroIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  50% { transform: translateY(-14px) translateX(12px); opacity: 0.9; }
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.6);
}

.section h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 24px;
}

.worlds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.world {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}

.world.alt {
  background: #fff0e6;
}

.world ul {
  padding-left: 18px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
}

.step span {
  font-weight: 800;
  color: var(--coral);
}

.impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.impact-grid {
  display: grid;
  gap: 14px;
}

.impact-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(251, 113, 133, 0.12);
  font-weight: 700;
}

.map-layer {
  position: absolute;
  inset: -20px;
  border-radius: 32px;
  border: 1px dashed rgba(27, 18, 11, 0.12);
  background: radial-gradient(circle at 20% 30%, rgba(251, 113, 133, 0.2), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(245, 158, 11, 0.18), transparent 60%);
  z-index: 0;
  animation: glowShift 8s ease-in-out infinite;
}

.road {
  position: absolute;
  background: rgba(27, 18, 11, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.road.horizontal {
  height: 10px;
  width: 120%;
  left: -10%;
}

.road.horizontal:nth-child(1) {
  top: 18%;
}

.road.horizontal:nth-child(2) {
  top: 72%;
}

.road.vertical {
  width: 10px;
  height: 120%;
  top: -10%;
}

.road.vertical:nth-child(3) {
  left: 20%;
}

.road.vertical:nth-child(4) {
  left: 60%;
}

.road.vertical:nth-child(5) {
  left: 82%;
}

.road::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 240, 0.8), transparent);
  animation: traffic 2.8s linear infinite;
}

.road.vertical::after {
  background: linear-gradient(180deg, transparent, rgba(255, 246, 240, 0.8), transparent);
  animation: trafficV 3.2s linear infinite;
}

.cta {
  padding-bottom: 40px;
}

.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffd7a8 0%, #ffb7c5 45%, #f2c0ff 100%);
}

.download {
  text-align: center;
  padding: 36px;
  background: var(--card);
  border-radius: 26px;
  border: 1px solid var(--border);
}

.traffic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.light {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.light.red { background: #fb7185; box-shadow: 0 0 10px rgba(251, 113, 133, 0.6); }
.light.yellow { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.6); }
.light.green { background: #34d399; box-shadow: 0 0 10px rgba(52, 211, 153, 0.6); }

.traffic-text {
  font-size: 0.85rem;
  color: #7a6a60;
}

.footer {
  padding: 40px 0 24px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: #7a6a60;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card {
    padding: 32px;
  }
}
