:root {
  --bg: #f9f9fc;
  --surface: #ffffff;
  --surface-soft: #f3f3f6;
  --surface-cool: #dbe4e5;
  --teal: #004a55;
  --teal-soft: #a4eefd;
  --ink: #1a1c1e;
  --muted: #576061;
  --border: #d8e1e2;
  --shadow: 0 24px 60px rgba(26, 28, 30, 0.12);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

.site-header {
  min-height: 80px;
}

.nav-shell,
.footer-shell,
.hero-inner,
.feature-grid,
.glance-panel,
.download {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--teal);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(0, 74, 85, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  background: #005d69;
  box-shadow: 0 16px 28px rgba(0, 74, 85, 0.24);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(164, 238, 253, 0.8);
  outline-offset: 4px;
}

.button-small {
  min-width: 134px;
  min-height: 42px;
  padding: 10px 24px;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 16px;
}

.button-primary {
  min-width: 241px;
  min-height: 56px;
  padding: 16px 36px;
}

.button-large {
  min-width: 305px;
  min-height: 68px;
  padding: 20px 48px;
  font-size: 18px;
}

.hero {
  min-height: 642px;
  display: grid;
  place-items: start center;
}

.hero-inner {
  padding: 64px 20px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: var(--teal);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.56;
}

.app-icon-wrap {
  width: 192px;
  height: 192px;
  margin: 64px auto 74px;
  border-radius: 32px;
  position: relative;
}

.app-icon-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 42px;
  background: rgba(136, 210, 225, 0.45);
  filter: blur(42px);
}

.app-icon {
  width: 192px;
  height: 192px;
  position: relative;
  border-radius: 32px;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.2));
}

.features {
  padding: 0 0 92px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.feature-map {
  min-height: 256px;
  grid-column: span 2;
  background: #eeeef0;
  padding: 40px;
}

.feature-tag {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  padding: 4px 16px;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.feature-map h2,
.feature-planning h3,
.glance h2,
.download h2 {
  margin: 16px 0 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
}

.feature-map p {
  width: min(295px, 50%);
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.map-frame {
  position: absolute;
  right: -1px;
  bottom: -8px;
  width: 44%;
  min-width: 360px;
  border: 4px solid #ffffff;
  border-radius: 20px 0 0 0;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(26, 28, 30, 0.16);
}

.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-verified {
  min-height: 248px;
  background: var(--teal);
  color: #ffffff;
  padding: 32px;
}

.feature-icon {
  width: 34px;
  height: 34px;
  color: #ffffff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-verified h3,
.feature-alerts h3,
.feature-planning h3 {
  margin: 24px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.34;
}

.feature-verified p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.5;
}

.feature-alerts {
  min-height: 290px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  background: var(--surface-cool);
  padding: 44px 32px 48px;
}

.round-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--teal);
}

.round-icon svg,
.benefit-icon svg,
.filter-tile svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-alerts p {
  max-width: 306px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.feature-alerts strong {
  color: var(--ink);
  font-weight: 700;
}

.feature-planning {
  min-height: 290px;
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 192px;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 48px;
}

.feature-planning h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
}

.feature-planning p {
  max-width: 444px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chips span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  background: #dbe4e5;
  color: #151d1e;
  padding: 8px 16px;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.chips .chip-active {
  background: var(--teal-soft);
  color: #001f24;
}

.filter-tile {
  width: 192px;
  height: 192px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e2e5;
  border-radius: 14px;
  background: var(--surface-soft);
  color: rgba(0, 74, 85, 0.2);
}

.filter-tile svg {
  width: 48px;
  height: 48px;
}

.glance {
  padding: 0 0 96px;
}

.glance-panel {
  min-height: 836px;
  display: grid;
  grid-template-columns: minmax(0, 468px) minmax(340px, 1fr);
  gap: 64px;
  align-items: center;
  border-radius: 40px;
  background: var(--surface-soft);
  padding: 72px 80px;
  overflow: hidden;
}

.accent-line {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--teal);
  margin-bottom: 23px;
}

.glance h2 {
  margin: 0;
  font-weight: 700;
}

.glance h2 span {
  color: var(--teal);
}

.glance-copy > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.63;
}

.benefits {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.benefit {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 74, 85, 0.1);
  color: var(--teal);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.phone-stage {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(355px, 100%);
  transform: rotate(4deg);
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.24));
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 42px;
}

.download {
  min-height: 356px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  padding: 64px 20px 72px;
}

.download h2 {
  margin: 0 0 32px;
}

.download p {
  margin: 32px 0 0;
  color: #8b9294;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-shell {
  min-height: 161px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
}

.footer-links a,
.footer-shell p {
  color: var(--muted);
  font-size: 16px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal);
}

.footer-shell p {
  justify-self: end;
  margin: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  width: min(420px, calc(100% - 32px));
  transform: translate(-50%, 120%);
  border-radius: 12px;
  background: #151d1e;
  color: #ffffff;
  padding: 14px 18px;
  text-align: center;
  font-size: 15px;
  opacity: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 980px) {
  .nav-shell,
  .footer-shell,
  .hero-inner,
  .feature-grid,
  .glance-panel,
  .download {
    width: min(100% - 40px, var(--max));
  }

  .feature-grid,
  .glance-panel {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-map,
  .feature-verified,
  .feature-alerts,
  .feature-planning {
    grid-column: auto;
  }

  .feature-planning {
    grid-template-columns: 1fr;
  }

  .filter-tile {
    width: min(192px, 100%);
  }

  .glance-panel {
    min-height: auto;
    gap: 48px;
    padding: 56px 40px;
  }

  .footer-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 40px 0;
    text-align: center;
  }

  .footer-shell p {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
  }

  .nav-shell {
    min-height: 72px;
  }

  .brand {
    font-size: 21px;
  }

  .button-small {
    min-width: auto;
    padding-inline: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 52px 0 64px;
  }

  .hero-copy h1 {
    font-size: 37px;
  }

  .hero-copy p {
    width: min(330px, 100%);
    margin-inline: auto;
  }

  .app-icon-wrap,
  .app-icon {
    width: 156px;
    height: 156px;
  }

  .app-icon-wrap {
    margin: 48px auto 58px;
  }

  .features {
    padding-bottom: 64px;
  }

  .feature-grid {
    gap: 20px;
  }

  .feature-card {
    border-radius: 24px;
  }

  .feature-map {
    min-height: 420px;
    padding: 28px;
  }

  .feature-map p {
    width: 100%;
  }

  .map-frame {
    width: calc(100% - 56px);
    min-width: 0;
    right: 28px;
    bottom: 28px;
    border-radius: 18px;
  }

  .feature-verified,
  .feature-alerts,
  .feature-planning {
    padding: 28px;
  }

  .feature-planning h3,
  .feature-map h2,
  .glance h2,
  .download h2 {
    font-size: 28px;
  }

  .chips span {
    font-size: 15px;
  }

  .filter-tile {
    height: 150px;
  }

  .glance {
    padding-bottom: 72px;
  }

  .glance-panel {
    width: min(100% - 28px, var(--max));
    border-radius: 28px;
    padding: 44px 26px;
  }

  .glance-copy > p {
    font-size: 17px;
  }

  .benefit {
    grid-template-columns: 34px 1fr;
  }

  .phone-frame {
    width: min(284px, 92%);
  }

  .download {
    min-height: auto;
    padding: 56px 20px 64px;
  }

  .button-large {
    min-width: 0;
    width: 100%;
    max-width: 340px;
    padding-inline: 24px;
  }

  .footer-links {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
