:root {
  --ink: #17231d;
  --muted: #627067;
  --line: #d9e3dc;
  --paper: #fbfcf7;
  --surface: #ffffff;
  --sage: #dce9dd;
  --forest: #234536;
  --shadow: 0 22px 60px rgba(23, 35, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand span {
  display: grid;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  padding: 20px 24px 34px;
}

.location-badge,
.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(35, 69, 54, 0.18);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(220, 233, 221, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 5.6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

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

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.beta-form {
  display: flex;
  max-width: 620px;
  margin-top: 24px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.beta-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.beta-form input:focus {
  outline: 2px solid rgba(127, 197, 154, 0.45);
  outline-offset: 2px;
}

.beta-form button,
.trust-banner a {
  border: 0;
  border-radius: 12px;
  padding: 15px 20px;
  color: #ffffff;
  background: var(--forest);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.phone-frame {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1320 / 2868;
  max-height: calc(100svh - 130px);
  padding: 8px;
  border: 4px solid #07100c;
  border-radius: 40px;
  background: #07100c;
  box-shadow:
    0 24px 70px rgba(23, 35, 29, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 22px;
  border-radius: 999px;
  background: #07100c;
  transform: translateX(-50%);
}

.app-screen {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
}

.trust-banner,
.section,
.site-footer,
.legal-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.trust-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 92px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-banner p {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--muted);
}

.section {
  padding-bottom: 92px;
}

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

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

.feature-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card p {
  margin-bottom: 0;
}

.feature-card p,
.beta-copy,
.legal-page p {
  color: var(--muted);
}

.step {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-weight: 900;
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 72px;
  padding-top: 42px;
  padding-bottom: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.beta-copy {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.12rem;
}

.beta-panel {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(23, 35, 29, 0.08);
}

.beta-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
}

.beta-list li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.beta-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--forest);
  flex: 0 0 auto;
}

.beta-form-compact {
  max-width: none;
  margin-top: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 36px;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 34px;
  color: var(--muted);
  text-align: center;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

.legal-page {
  max-width: 860px;
  padding-top: 56px;
  padding-bottom: 90px;
}

.legal-page h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  overflow-wrap: anywhere;
}

.legal-page section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-intro {
  font-size: 1.12rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
    gap: 34px;
  }

  .phone-frame {
    width: min(100%, 260px);
  }

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

@media (max-width: 820px) {
  .site-header,
  .trust-banner,
  .beta-section,
  .site-footer,
  .hero {
    grid-template-columns: 1fr;
  }

  .site-header,
  .trust-banner {
    align-items: flex-start;
  }

  .site-header,
  .trust-banner {
    flex-direction: column;
  }

  .site-header {
    padding: 14px 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .hero {
    min-height: auto;
    gap: 30px;
    padding: 22px 18px 54px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.45rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.7rem);
  }

  .hero-text,
  .beta-copy,
  .legal-intro {
    font-size: 1rem;
  }

  .location-badge,
  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.72rem;
  }

  .trust-banner,
  .section,
  .site-footer,
  .legal-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .trust-banner {
    gap: 18px;
    margin-bottom: 60px;
  }

  .trust-banner a {
    width: 100%;
    text-align: center;
  }

  .beta-section {
    margin-bottom: 48px;
    padding-top: 34px;
    padding-bottom: 44px;
  }

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

  .feature-card {
    min-height: 0;
    padding: 20px;
  }

  .step {
    margin-bottom: 18px;
  }

  .beta-form {
    display: grid;
    gap: 8px;
    max-width: none;
    padding: 8px;
    border-radius: 14px;
  }

  .beta-form input,
  .beta-form button {
    width: 100%;
    min-height: 52px;
  }

  .beta-form input {
    padding: 0 12px;
  }

  .beta-form button {
    white-space: normal;
  }

  .app-preview {
    justify-content: center;
  }

  .phone-frame {
    width: min(66vw, 260px);
    max-height: none;
    border-width: 3px;
    border-radius: 34px;
  }

  .phone-frame::before {
    top: 12px;
    width: 64px;
    height: 18px;
  }

  .app-screen {
    border-radius: 27px;
  }

  .site-footer {
    gap: 18px;
  }

  .site-footer nav {
    gap: 10px 18px;
  }

  .legal-page {
    padding-top: 38px;
    padding-bottom: 64px;
  }

  .legal-page h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .legal-page section {
    padding-top: 24px;
  }
}

@media (max-width: 460px) {
  .site-header {
    gap: 14px;
  }

  .nav-links {
    gap: 8px 16px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.8rem);
  }

  .beta-panel {
    padding: 20px;
  }

  .phone-frame {
    width: min(72vw, 238px);
    padding: 7px;
  }
}
