:root {
  --cream: #f8f5ef;
  --cream-alt: #efefe6;
  --paper: #fffdf8;
  --ink: #171917;
  --ink-soft: #59564d;
  --green: #1f3b27;
  --green-dark: #142b1c;
  --sage: #8fa890;
  --coral: #c97a5c;
  --tan: #e7c79a;
  --line: rgba(23, 25, 23, 0.12);
  --shadow: 0 18px 48px rgba(23, 25, 23, 0.1);
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 239, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

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

.brand img {
  width: 172px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.button:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: #f2d7b0;
  color: #1b2118;
}

.button.secondary:hover {
  background: #e7c79a;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.menu-button span {
  position: relative;
}

.menu-button span::before,
.menu-button span::after {
  position: absolute;
  left: 0;
}

.menu-button span::before {
  top: -6px;
}

.menu-button span::after {
  top: 6px;
}

.mobile-nav {
  display: none;
}

.hero {
  padding: 24px 0 0;
}

.hero-frame {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 0;
  background: #ead9bf;
}

.hero-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.98) 0%, rgba(248, 245, 239, 0.88) 34%, rgba(248, 245, 239, 0.18) 62%),
    linear-gradient(0deg, rgba(23, 25, 23, 0.28), rgba(23, 25, 23, 0));
  content: "";
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 650px;
  align-content: center;
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 86px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 450px;
  margin: 26px 0 0;
  color: #33342f;
  font-size: 1.12rem;
  line-height: 1.7;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto;
  gap: 10px;
  max-width: 520px;
  margin-top: 34px;
}

.waitlist-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(23, 25, 23, 0.14);
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.waitlist-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: #33342f;
  font-size: 0.88rem;
  font-weight: 700;
}

.avatars {
  display: flex;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: -9px;
  place-items: center;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: white;
  font-size: 0.74rem;
  font-weight: 900;
}

.avatar:first-child {
  margin-left: 0;
}

.section {
  padding: 104px 0;
}

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

.section-title {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.problem-grid,
.app-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.source-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 78px;
  align-items: center;
}

.source-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(23, 25, 23, 0.06);
  font-size: 0.92rem;
  font-weight: 800;
}

.source-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 0.8rem;
}

.tangle {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  color: rgba(23, 25, 23, 0.22);
}

.search-cost {
  grid-column: 1 / -1;
  justify-self: center;
  border-radius: 8px;
  padding: 18px 24px;
  background: #f1dfd2;
  color: #5f3828;
  font-size: 0.94rem;
  font-weight: 900;
}

.phone {
  width: min(310px, 100%);
  margin: 0 auto;
  border: 10px solid #151513;
  border-radius: 42px;
  background: white;
  box-shadow: var(--shadow);
}

.phone-screen {
  overflow: hidden;
  border-radius: 30px;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.phone-body {
  padding: 12px 18px 18px;
}

.phone-greeting {
  font-size: 0.98rem;
  font-weight: 900;
}

.phone-sub {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.phone-label {
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-event {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.mini-image {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--coral));
}

.mini-title {
  font-size: 0.8rem;
  font-weight: 900;
}

.mini-meta {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: rgba(23, 25, 23, 0.38);
  text-align: center;
}

.phone-tabs span:first-child {
  color: var(--green);
}

.phone-preview-wrap {
  display: flex;
  justify-content: center;
}

.phone-preview {
  width: min(380px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(23, 25, 23, 0.2));
}

.feature-list {
  display: grid;
  gap: 26px;
  margin-top: 34px;
}

.feature-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  align-items: center;
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #e8efe5;
  color: var(--green);
}

.principle-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 14px;
  background: #dbe6d5;
  color: var(--green);
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item p,
.principle p,
.vision-card p,
.update-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.why-statement {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.why-statement h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.why-statement strong {
  display: block;
  color: var(--green);
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.principle h3,
.vision-card h3,
.update-card h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.vision-row {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 56px;
  align-items: start;
}

.vision-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.vision-card {
  position: relative;
  padding-top: 8px;
  text-align: center;
}

.vision-card::before {
  position: absolute;
  top: 29px;
  right: calc(50% + 33px);
  width: calc(100% - 66px);
  height: 1px;
  background: var(--line);
  content: "";
}

.vision-card:first-child::before {
  display: none;
}

.vision-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  border-radius: 50%;
  color: white;
}

.vision-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.updates-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.updates-head .section-copy {
  max-width: 460px;
}

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

.update-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.update-thumb {
  height: 154px;
  background: linear-gradient(135deg, #d7cfbe, #f7efe2);
}

.update-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-body {
  padding: 20px;
}

.update-date {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.update-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
}

.cta {
  padding-top: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 34px;
  align-items: center;
  border-radius: 8px;
  padding: 48px;
  background: var(--green);
  color: white;
}

.cta-panel h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.cta-panel p,
.cta-panel .waitlist-note {
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel .avatar {
  border-color: var(--green);
}

.site-footer {
  background: #151312;
  color: rgba(255, 255, 255, 0.74);
  padding: 62px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 42px;
}

.footer-logo {
  width: 136px;
  filter: invert(1);
}

.footer-about {
  max-width: 270px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

.footer-col h2 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
  text-align: center;
}

.bloomington-page .hero-frame {
  min-height: 520px;
}

.bloomington-page .hero-content {
  min-height: 520px;
}

.city-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.city-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
}

.city-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.city-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .nav-links,
  .nav .button {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-nav.is-open {
    display: grid;
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    z-index: 19;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    background: var(--cream);
  }

  .mobile-nav a,
  .mobile-nav .button {
    min-height: 48px;
    justify-content: start;
    border-bottom: 1px solid var(--line);
    padding: 0 6px;
    font-weight: 800;
  }

  .mobile-nav .button {
    justify-content: center;
    margin-top: 10px;
    border-bottom: 0;
    color: white;
  }

  .hero-frame::before {
    background:
      linear-gradient(90deg, rgba(248, 245, 239, 0.98) 0%, rgba(248, 245, 239, 0.86) 56%, rgba(248, 245, 239, 0.42) 100%),
      linear-gradient(0deg, rgba(23, 25, 23, 0.25), rgba(23, 25, 23, 0));
  }

  .problem-grid,
  .app-grid,
  .vision-row,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .principles,
  .vision-cards,
  .update-grid,
  .city-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .wrap,
  .hero-content {
    width: min(100% - 36px, var(--maxw));
  }

  .hero {
    padding-top: 0;
  }

  .hero-frame,
  .hero-content {
    min-height: 590px;
  }

  .hero-frame::before {
    background:
      linear-gradient(180deg, rgba(248, 245, 239, 0.98) 0%, rgba(248, 245, 239, 0.88) 54%, rgba(248, 245, 239, 0.2) 100%),
      linear-gradient(0deg, rgba(23, 25, 23, 0.32), rgba(23, 25, 23, 0));
  }

  .hero-bg {
    object-position: 68% center;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form .button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .source-map,
  .principles,
  .vision-cards,
  .update-grid,
  .city-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .vision-card::before {
    display: none;
  }

  .updates-head {
    display: block;
  }

  .updates-head .button {
    margin-top: 24px;
  }

  .cta-panel {
    padding: 30px 22px;
  }
}
