:root {
  color-scheme: light;
  --bg: #f7f1e8;
  --surface: rgba(255, 250, 244, 0.9);
  --surface-strong: #fff8ef;
  --ink: #1d1c1a;
  --muted: #5d564d;
  --accent: #d66a2a;
  --accent-deep: #8f3a14;
  --line: rgba(62, 44, 26, 0.12);
  --shadow: 0 24px 60px rgba(66, 37, 5, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 183, 77, 0.38), transparent 25%),
    radial-gradient(circle at top right, rgba(209, 98, 36, 0.2), transparent 28%),
    linear-gradient(180deg, #fbf5ed 0%, #f6efe5 52%, #efe6d7 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d66a2a, #f0ae58);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 20px 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.roadmap-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.map-cta {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  margin-bottom: 18px;
  border-radius: 24px;
  color: white;
  background:
    linear-gradient(135deg, rgba(18, 18, 18, 0.92), rgba(94, 45, 13, 0.9)),
    radial-gradient(circle at top right, rgba(240, 174, 88, 0.55), transparent 30%);
  box-shadow: var(--shadow);
}

.map-cta-label,
.map-cta-link {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-cta strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.map-cta-link {
  color: rgba(255, 255, 255, 0.8);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.map-pin:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.45);
}

.hero-stats {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hero-stats li,
.map-card,
.filters,
.report-card,
.rent-form,
.roadmap-grid article {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats li {
  min-width: 132px;
  flex: 1 1 0;
  padding: 14px 16px;
  border-radius: 18px;
}

.hero-stats strong {
  display: block;
  font-size: 1.15rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.map-card {
  border-radius: 28px;
  padding: 20px;
}

.map-card-top,
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.chip-live {
  background: rgba(214, 106, 42, 0.12);
  color: var(--accent-deep);
}

.map-grid {
  position: relative;
  min-height: 360px;
  margin: 20px 0 14px;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(234, 197, 151, 0.28), rgba(214, 106, 42, 0.12)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.4) 28px,
      rgba(214, 106, 42, 0.06) 28px,
      rgba(214, 106, 42, 0.06) 29px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.45),
      rgba(255, 255, 255, 0.45) 28px,
      rgba(214, 106, 42, 0.06) 28px,
      rgba(214, 106, 42, 0.06) 29px
    );
}

.map-pin {
  position: absolute;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(29, 28, 26, 0.92);
  color: white;
  cursor: pointer;
}

.map-pin.active {
  background: var(--accent);
}

.map-pin:nth-child(1) { top: 22%; left: 52%; }
.map-pin:nth-child(2) { top: 28%; left: 20%; }
.map-pin:nth-child(3) { top: 10%; left: 35%; }
.map-pin:nth-child(4) { top: 44%; left: 38%; }
.map-pin:nth-child(5) { top: 4%; left: 62%; }
.map-pin:nth-child(6) { top: 18%; left: 12%; }
.map-pin:nth-child(7) { top: 62%; left: 30%; }
.map-pin:nth-child(8) { top: 56%; left: 58%; }

.map-summary p {
  margin: 0;
}

.map-summary p:first-child {
  font-weight: 700;
}

.filters-section,
.submit-section,
.about-section {
  padding-top: 36px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 18px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-radius: 24px;
  padding: 18px;
}

.filters label,
.rent-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.filters select,
.rent-form input,
.rent-form select,
.rent-form textarea {
  width: 100%;
  border: 1px solid rgba(62, 44, 26, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 14px;
}

.report-grid,
.roadmap-grid {
  display: grid;
  gap: 18px;
}

.report-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.report-card {
  border-radius: 22px;
  padding: 18px;
}

.report-card h3,
.roadmap-grid h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

.report-meta,
.report-notes,
.form-message {
  color: var(--muted);
}

.report-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 14px 0 10px;
}

.rent-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
}

.rent-form label:last-of-type,
.rent-form button,
.form-message {
  grid-column: 1 / -1;
}

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

.roadmap-grid article {
  border-radius: 24px;
  padding: 20px;
}

@media (max-width: 920px) {
  .hero,
  .filters,
  .report-grid,
  .roadmap-grid,
  .rent-form {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .map-grid {
    min-height: 420px;
  }

  .map-pin {
    font-size: 0.84rem;
  }
}
