:root {
  --paper: #fffaf0;
  --paper-soft: #f4efe2;
  --ink: #21312a;
  --muted: #68746d;
  --forest: #1f5b46;
  --forest-deep: #103529;
  --burgundy: #7a2f42;
  --gold: #d2a64f;
  --lake: #4f7f89;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(16, 53, 41, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

main {
  max-width: 100vw;
  overflow-x: hidden;
}

section,
.hero-content,
.section-copy,
.journey-copy {
  min-width: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid rgba(33, 49, 42, 0.1);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 36px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.header-cta,
.text-link {
  color: var(--forest);
  font-weight: 800;
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid rgba(31, 91, 70, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) 64px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.96) 0%, rgba(255, 250, 240, 0.82) 42%, rgba(255, 250, 240, 0.36) 100%),
    url("/assets/vineyard_path_tall.jpg") center right / cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(255, 250, 240, 0), var(--paper));
}

.hero-content {
  max-width: 720px;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 14px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 7.3rem);
  line-height: 0.92;
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  line-height: 1;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.hero-copy,
.section-copy p,
.journey-copy p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.62;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  min-height: 56px;
  padding: 8px 15px 8px 13px;
  color: var(--white);
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(16, 53, 41, 0.24);
}

.app-store-badge svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  fill: currentColor;
}

.app-store-badge span {
  display: grid;
  gap: 1px;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1;
}

.app-store-badge small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-phones {
  position: relative;
  min-height: 650px;
}

.phone {
  overflow: hidden;
  margin: 0;
  background: #101816;
  border: 10px solid #101816;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.hero-phones .phone {
  position: absolute;
  width: min(38vw, 318px);
  aspect-ratio: 9 / 19.5;
}

.phone-primary {
  right: 24%;
  top: 0;
  transform: rotate(-4deg);
}

.phone-secondary {
  right: 0;
  top: 120px;
  transform: rotate(5deg);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -28px auto 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(33, 49, 42, 0.12);
}

.trust-strip div {
  min-height: 132px;
  padding: 36px 26px 28px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 1.12rem;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  margin-top: 86px;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px);
  color: var(--white);
  background: var(--forest-deep);
}

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

.search-band p {
  color: rgba(255, 255, 255, 0.72);
}

.search-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.search-pill,
.result-row {
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
}

.search-pill {
  padding: 18px 20px;
  color: var(--muted);
  font-weight: 800;
}

.result-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.result-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.map-pin {
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--burgundy);
  transform: rotate(-45deg);
}

.map-pin.gold {
  background: var(--gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  margin: 82px auto;
}

.feature-grid article {
  min-height: 276px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(33, 49, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(33, 49, 42, 0.08);
}

.feature-grid p,
.journey-copy li {
  color: var(--muted);
  line-height: 1.56;
}

.journey {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  min-height: 650px;
  background: var(--paper-soft);
}

.journey-image {
  min-height: 520px;
  background: url("/assets/vineyard_path_tall.jpg") center / cover;
}

.journey-copy {
  align-self: center;
  padding: clamp(46px, 7vw, 92px);
}

.journey-copy ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.journey-copy li {
  padding-left: 24px;
  border-left: 4px solid var(--gold);
}

.remember {
  padding: clamp(66px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.centered {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.screenshot-row {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 6vw, 72px);
}

.screenshot-row .phone {
  width: min(42vw, 330px);
  aspect-ratio: 9 / 19.5;
}

.proof {
  padding: clamp(54px, 8vw, 100px) clamp(24px, 8vw, 120px);
  color: var(--white);
  background: var(--burgundy);
}

.proof blockquote {
  max-width: 980px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1.08;
  text-align: center;
}

.final-cta {
  padding: clamp(66px, 8vw, 112px) 24px;
  text-align: center;
}

.final-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(33, 49, 42, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 250, 240, 0.94) 0%, rgba(255, 250, 240, 0.82) 60%, rgba(255, 250, 240, 0.58) 100%),
      url("/assets/vineyard_path_tall.jpg") center / cover;
  }

  .hero-phones {
    min-height: 540px;
  }

  .hero-phones .phone {
    width: min(48vw, 292px);
  }

  .phone-primary {
    left: 8%;
    right: auto;
  }

  .phone-secondary {
    right: 8%;
  }

  .trust-strip,
  .feature-grid,
  .search-band,
  .journey {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

  .journey-image {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    width: 100vw;
    max-width: 100vw;
    padding: 38px 18px 46px;
  }

  .hero-content,
  .section-copy,
  .trust-strip div,
  .feature-grid article {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    overflow-wrap: break-word;
  }

  .hero-copy,
  .trust-strip span,
  .feature-grid p,
  .journey-copy p,
  .journey-copy li {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.55rem, 12vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .site-footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-phones {
    min-height: 430px;
  }

  .hero-phones .phone {
    width: min(54vw, 218px);
    border-width: 8px;
    border-radius: 30px;
  }

  .phone-primary {
    left: 0;
  }

  .phone-secondary {
    top: 92px;
    right: -10px;
  }

  .trust-strip,
  .feature-grid {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
  }

  .feature-grid article {
    min-height: auto;
  }

  .screenshot-row {
    flex-wrap: wrap;
    gap: 14px;
  }

  .screenshot-row .phone {
    width: min(72vw, 220px);
    border-width: 8px;
    border-radius: 30px;
  }
}
