:root {
  --bg: #101613;
  --panel: #18221d;
  --panel-soft: #203026;
  --text: #f3efe6;
  --muted: #c7bda9;
  --accent: #b57a4a;
  --accent-2: #6f8b68;
  --danger: #c97a58;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(181, 122, 74, 0.22), transparent 32rem),
    linear-gradient(135deg, #0d130f 0%, #142119 55%, #0c100e 100%);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  min-height: 78vh;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  max-width: 980px;
  margin: 6rem auto 4rem;
  text-align: center;
  padding: 2rem 1rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2 {
  line-height: 1.08;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.map-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
}

.button.primary {
  background: var(--accent);
  color: #140f0b;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.panel,
.map-section {
  background: rgba(24, 34, 29, 0.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: 1.2rem 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -3rem;
}

.intro-grid article {
  background: var(--panel-soft);
  border-radius: 22px;
  padding: 1.2rem;
}

.intro-grid h2 {
  font-size: 1.2rem;
  letter-spacing: normal;
}

.intro-grid p,
.section-heading p,
.about-panel p,
.map-note,
.form-message,
.fine-print {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1rem;
}

.map-tools {
  justify-content: flex-start;
  margin-bottom: 1rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: #0f1712;
  color: var(--text);
  font: inherit;
}

#locationSearch {
  flex: 1 1 280px;
  max-width: 560px;
}

#map {
  height: min(72vh, 620px);
  min-height: 420px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.checklist-grid label,
.pin-form label {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.checklist-grid input {
  width: auto;
  margin-right: 0.55rem;
}

.pin-form {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
}

.pin-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 700;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem 3rem;
}

code {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.1rem 0.3rem;
}

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

  .hero {
    margin: 3rem auto 4rem;
    text-align: left;
  }

  .hero-actions,
  .map-tools {
    justify-content: stretch;
  }

  .button,
  #locationSearch {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .intro-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    margin-top: -2rem;
  }

  #map {
    min-height: 360px;
  }
}
