:root {
  color-scheme: light;
  --forest: #173a34;
  --forest-2: #24584f;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --ink: #18211f;
  --slate: #68736e;
  --coral: #d96b43;
  --teal: #5fb3b3;
  --gold: #f2bd3d;
  --soft-forest: #e8f0e7;
  --border: rgba(24, 33, 31, 0.14);
  --shadow: 0 20px 70px rgba(24, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid rgba(24, 33, 31, 0.08);
  display: flex;
  gap: 24px;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
}

.brand img {
  height: 34px;
  width: 34px;
}

.brand span {
  font-size: 20px;
}

.site-nav {
  align-items: center;
  color: var(--forest);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 26px;
}

.header-cta {
  border: 1px solid var(--forest);
  border-radius: 8px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
  padding: 10px 16px;
}

.hero {
  min-height: 88vh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 30, 27, 0.84) 0%, rgba(13, 30, 27, 0.65) 34%, rgba(13, 30, 27, 0.16) 68%, rgba(13, 30, 27, 0.04) 100%),
    linear-gradient(0deg, rgba(13, 30, 27, 0.42) 0%, rgba(13, 30, 27, 0) 34%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--paper);
  max-width: 780px;
  padding: 156px clamp(20px, 6vw, 86px) 170px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 760px;
}

.hero-copy {
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  margin-bottom: 30px;
  max-width: 630px;
}

.hero-actions,
.healthRouteActionRow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 950;
  min-height: 48px;
  padding: 0 20px;
}

.button.primary {
  background: var(--coral);
  color: var(--paper);
}

.button.secondary {
  border: 1px solid rgba(255, 253, 248, 0.72);
  color: var(--paper);
}

.hero-signal {
  align-items: stretch;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(255, 253, 248, 0.62);
  border-radius: 8px;
  bottom: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  left: clamp(20px, 6vw, 86px);
  max-width: min(680px, calc(100vw - 40px));
  overflow: hidden;
  position: absolute;
  z-index: 3;
}

.hero-signal div {
  background: var(--paper);
  min-width: 0;
  padding: 16px 18px;
}

.hero-signal span,
.stats-row span,
.trust-list span {
  color: var(--slate);
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-signal strong {
  color: var(--forest);
  display: block;
  font-size: 22px;
  margin-top: 5px;
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(20px, 6vw, 86px);
}

.section-heading {
  margin-bottom: 34px;
  max-width: 770px;
}

h2 {
  color: var(--forest);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  margin-bottom: 18px;
}

h3 {
  color: var(--forest);
  font-size: 22px;
  margin-bottom: 9px;
}

p {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.62;
}

.product-section {
  background: var(--cream);
}

.product-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 76px);
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
}

.phone-frame {
  background: var(--forest);
  border: 10px solid var(--ink);
  border-radius: 34px;
  box-shadow: var(--shadow);
  color: var(--paper);
  min-height: 680px;
  overflow: hidden;
  padding: 22px;
}

.phone-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.phone-top span,
.phone-top b {
  font-size: 14px;
}

.map-card {
  background:
    linear-gradient(135deg, rgba(95, 179, 179, 0.2), rgba(242, 189, 61, 0.18)),
    radial-gradient(circle at 20% 24%, rgba(247, 243, 232, 0.62), transparent 18%),
    linear-gradient(45deg, rgba(255, 253, 248, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 253, 248, 0.1) 50%, rgba(255, 253, 248, 0.1) 75%, transparent 75%);
  background-size: auto, auto, 38px 38px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 22px;
  height: 360px;
  overflow: hidden;
  position: relative;
}

.route-line {
  border: 8px solid transparent;
  border-bottom-color: var(--coral);
  border-left-color: var(--coral);
  border-radius: 52% 46% 38% 50%;
  height: 220px;
  left: 78px;
  opacity: 0.9;
  position: absolute;
  top: 62px;
  transform: rotate(-18deg);
  width: 210px;
}

.pin,
.place-kind,
.feature-icon {
  border-radius: 999px;
  display: inline-block;
}

.pin {
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(95, 179, 179, 0.16);
  height: 18px;
  position: absolute;
  width: 18px;
}

.pin-one {
  left: 58px;
  top: 218px;
}

.pin-two {
  background: var(--gold);
  left: 176px;
  top: 114px;
}

.pin-three {
  background: var(--coral);
  left: 268px;
  top: 252px;
}

.dog-dot {
  align-items: center;
  background: var(--paper);
  border: 4px solid var(--gold);
  border-radius: 999px;
  bottom: 34px;
  color: var(--forest);
  display: flex;
  font-weight: 950;
  height: 54px;
  justify-content: center;
  position: absolute;
  right: 34px;
  width: 54px;
}

.stats-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0;
}

.stats-row div,
.control-row span {
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  padding: 12px;
}

.stats-row b {
  display: block;
  font-size: 22px;
  margin-top: 5px;
}

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

.control-row span {
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px 1fr;
  padding: 24px;
}

.feature-card h3,
.feature-card p {
  grid-column: 2;
}

.feature-icon {
  height: 38px;
  width: 38px;
}

.feature-icon.route {
  background: var(--coral);
}

.feature-icon.recap {
  background: var(--teal);
}

.feature-icon.profile {
  background: var(--gold);
}

.split-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
}

.copy-block {
  max-width: 640px;
}

.place-board {
  background: var(--forest);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  padding: 22px;
}

.place-board article {
  align-items: center;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 18px 1fr;
  padding: 18px;
}

.place-board h3 {
  color: var(--paper);
  margin-bottom: 2px;
}

.place-board p {
  color: rgba(255, 253, 248, 0.7);
  font-size: 15px;
  margin: 0;
}

.place-kind {
  height: 16px;
  width: 16px;
}

.place-kind.teal {
  background: var(--teal);
}

.place-kind.gold {
  background: var(--gold);
}

.place-kind.coral {
  background: var(--coral);
}

.trust-section {
  background: var(--soft-forest);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
}

.trust-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}

.trust-list b {
  color: var(--forest);
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.beta-section {
  align-items: center;
  background: var(--forest);
  color: var(--paper);
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.beta-section h2,
.beta-section p {
  color: var(--paper);
  max-width: 720px;
}

.beta-section p {
  color: rgba(255, 253, 248, 0.72);
}

.footer {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 86px);
}

.footer span:last-child {
  color: rgba(255, 253, 248, 0.7);
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .site-header {
    height: 64px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-image {
    object-position: 62% 50%;
  }

  .hero-content {
    padding: 112px 20px 210px;
  }

  .hero-signal {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .split-section,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    border-width: 8px;
    min-height: 600px;
    padding: 18px;
  }

  .map-card {
    height: 306px;
  }

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

  .feature-card h3,
  .feature-card p {
    grid-column: auto;
  }

  .beta-section,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-cta {
    padding: 9px 12px;
  }

  .brand span {
    font-size: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .stats-row,
  .control-row {
    grid-template-columns: 1fr;
  }
}
