@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --cream: #f5efe6;
  --paper: #fbf8f1;
  --forest: #234d3e;
  --forest-2: #1f4638;
  --ink: #17332a;
  --muted: #5d786e;
  --sage: #99b8ad;
  --coral: #df8a7d;
  --line: #e4d8ca;
  --shadow: 0 24px 70px rgba(23, 51, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px max(22px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 239, 230, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.logo img {
  width: auto;
  height: 50px;
}

.site-nav,
.site-footer nav {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 40;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-backdrop {
  display: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.store-button,
.app-button,
.outline-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.store-button {
  background: #102d24;
  color: #fff;
}

.app-button {
  background: var(--paper);
  color: var(--ink);
}

.outline-button {
  border: 1px solid rgba(251, 248, 241, 0.35);
  color: #fff;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.store-badge img {
  height: 52px;
  width: auto;
}

.site-header .store-badge img {
  height: 44px;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.nav-store-badge {
  display: none;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(64px, 8vw, 116px) max(22px, calc((100vw - 1120px) / 2)) clamp(70px, 9vw, 126px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 24%, rgba(153, 184, 173, 0.28), transparent 30%),
    var(--forest);
  color: #fbf8f1;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.07;
  background-image: radial-gradient(circle, #fbf8f1 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-text,
.phone-wrap {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(3.2rem, 6.2vw, 5.5rem);
  line-height: 0.98;
}

.hero p {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(251, 248, 241, 0.82);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  line-height: 1.55;
}

.hero-note {
  font-size: 0.98rem !important;
  color: rgba(251, 248, 241, 0.68) !important;
}

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

.hero-actions span {
  color: rgba(251, 248, 241, 0.7);
  font-weight: 700;
}

.phone-wrap {
  display: grid;
  justify-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 460px;
  transform: scale(1.45);
  transform-origin: center;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.28));
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(48px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.view.is-active .hero-text {
  animation: slide-in-left 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.view.is-active .phone-wrap {
  animation: slide-in-right 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@media (prefers-reduced-motion: reduce) {
  .view.is-active .hero-text,
  .view.is-active .phone-wrap {
    animation: none;
  }
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2,
.quote-section h2,
.final-cta h2,
.page-view h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.feature-grid,
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.feature-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: rgba(153, 184, 173, 0.22);
  color: var(--forest);
  font-weight: 900;
}

.feature-grid h3 {
  margin-top: 22px;
  font-size: 1.35rem;
}

.feature-grid p,
.quote-section p,
.final-cta p,
.page-view p {
  color: var(--muted);
  line-height: 1.7;
}

.screens-grid figure {
  margin: 0;
  text-align: center;
}

.screens-grid img {
  width: min(280px, 100%);
  margin: 0 auto;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.screens-grid figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.quote-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 42px;
  max-width: 1120px;
  margin: 0 auto clamp(72px, 9vw, 120px);
  padding: clamp(38px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
}

.quote-mark {
  color: var(--coral);
  font-family: Fraunces, Georgia, serif;
  font-size: 5rem;
  line-height: 0.8;
}

.final-cta {
  padding: clamp(72px, 9vw, 120px) max(22px, calc((100vw - 1120px) / 2));
  background: var(--forest);
  color: #fff;
}

.final-cta p {
  max-width: 760px;
  color: rgba(251, 248, 241, 0.82);
}

.page-view {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 124px) 22px;
  min-height: 70vh;
}

.page-view h2 {
  margin-top: 34px;
  font-size: 1.5rem;
}

.page-view a {
  color: var(--forest);
  font-weight: 800;
}

.page-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.page-view ul {
  margin: 16px 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.page-view li {
  margin-bottom: 8px;
}

.page-view li::marker {
  color: var(--sage);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 38px 22px;
  color: var(--muted);
}

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

.copyright {
  flex-basis: 100%;
  margin: 12px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  text-align: center;
  color: var(--muted);
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    height: 100vh;
    height: 100dvh;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    margin: 0;
    padding: 92px 26px 26px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(23, 51, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-header.nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 14px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-store-badge {
    display: inline-flex;
    margin-top: 22px;
    padding: 0;
    border-bottom: 0;
  }

  .site-header .nav-store-badge img {
    height: 52px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 25;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(23, 51, 42, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .site-header.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .store-badge {
    display: none;
  }

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

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

  .quote-section {
    grid-template-columns: 1fr;
    margin-inline: 22px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-actions .app-button,
  .outline-button {
    width: 100%;
  }
}
