:root {
  color-scheme: light;
  --ink: #13201b;
  --muted: #65716c;
  --line: #d7ded9;
  --field: #f5f7f3;
  --paper: #ffffff;
  --pine: #17473a;
  --blue: #356f9f;
  --coral: #d4614d;
  --gold: #e7b75f;
  --shadow: 0 24px 60px rgba(19, 32, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--field);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(245, 247, 243, 0.88);
  border-bottom: 1px solid rgba(215, 222, 217, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--pine);
  border-radius: 8px;
}

nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-cta {
  color: var(--pine);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(34px, 6vw, 84px);
  min-height: calc(100vh - 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 64px) clamp(30px, 5vw, 54px);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: #43504a;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.5;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 750;
}

.primary-button {
  color: #fff;
  background: var(--pine);
  box-shadow: 0 12px 30px rgba(23, 71, 58, 0.24);
}

.secondary-button {
  color: var(--pine);
  background: #fff;
  border: 1px solid var(--line);
}

.phone-scene {
  position: relative;
  min-height: 560px;
}

.route-map {
  position: absolute;
  inset: 24px 0 auto auto;
  width: min(92%, 520px);
  height: 390px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(53, 111, 159, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(53, 111, 159, 0.08) 1px, transparent 1px),
    #e9efeb;
  background-size: 42px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-line {
  position: absolute;
  left: 70px;
  top: 210px;
  width: 330px;
  height: 96px;
  border-top: 8px solid var(--blue);
  border-right: 8px solid var(--blue);
  border-radius: 0 48px 0 0;
}

.pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(19, 32, 27, 0.22);
}

.pin-home {
  left: 58px;
  top: 198px;
  background: var(--coral);
}

.pin-destination {
  right: 82px;
  bottom: 76px;
  background: var(--gold);
}

.phone {
  position: absolute;
  right: clamp(0px, 4vw, 48px);
  bottom: 0;
  width: min(86vw, 336px);
  padding: 18px;
  background: #121816;
  border: 10px solid #0a0f0d;
  border-radius: 34px;
  box-shadow: 0 32px 70px rgba(19, 32, 27, 0.28);
}

.phone-top {
  width: 72px;
  height: 6px;
  margin: 4px auto 22px;
  background: #2a3530;
  border-radius: 999px;
}

.alert-card {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 16px;
  color: #dfe8e2;
  background: #1e2925;
  border: 1px solid #314039;
  border-radius: 8px;
}

.alert-card.active {
  color: var(--ink);
  background: #f7fbf7;
}

.alert-card span:last-child {
  color: #96a39c;
  line-height: 1.35;
}

.alert-card.active span:last-child {
  color: #53615a;
}

.alert-label {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.signal-band div {
  display: grid;
  gap: 6px;
  min-height: 128px;
  align-content: center;
  padding: 26px clamp(18px, 5vw, 64px);
  background: var(--paper);
}

.signal-band strong {
  font-size: 1.2rem;
}

.signal-band span,
.content-section p {
  color: var(--muted);
  line-height: 1.65;
}

.content-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(56px, 9vw, 110px) clamp(18px, 5vw, 64px);
  background: #fff;
}

.section-copy {
  max-width: 520px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.event-grid article {
  padding: 22px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-grid span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--blue);
  font-weight: 850;
}

.event-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.privacy {
  background: var(--pine);
  color: #fff;
}

.privacy .eyebrow {
  color: var(--gold);
}

.privacy p {
  max-width: 780px;
  color: #d8e4dc;
  font-size: 1.12rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: #0f1714;
}

footer span {
  color: #fff;
}

@media (max-width: 900px) {
  .site-header,
  nav {
    align-items: flex-start;
  }

  .site-header {
    position: static;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero,
  .content-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-scene {
    min-height: 500px;
  }

  .signal-band,
  .event-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 3rem;
  }

  .phone-scene {
    min-height: 430px;
  }

  .route-map {
    width: 100%;
    height: 300px;
  }

  .phone {
    right: 50%;
    width: min(92vw, 320px);
    transform: translateX(50%);
  }

  footer {
    flex-direction: column;
  }
}
