:root {
  --paper: #f3eee4;
  --cream: #fffaf3;
  --ink: #1f1a14;
  --muted: #5c5348;
  --line: #d7cdb8;
  --green: #2c5a32;
  --green-dark: #1c3b21;
  --green-soft: #e4eedc;
  --gold: #b0893a;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dark);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(720px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.3rem;
  flex-shrink: 0;
}

.footer-brand .brand-mark {
  width: 1.35rem;
  height: 1.35rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--green);
}

.site-nav a.btn-primary,
.site-nav a.btn-primary:hover {
  color: #fff;
}

.nav-menu {
  display: none;
}

.nav-toggle {
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.nav-toggle::-webkit-details-marker {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary,
.btn-primary:hover {
  background: var(--green);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.hero {
  padding: 3rem 0 2.5rem;
  background-color: var(--paper);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.copy h1,
.copy h2,
.legal h1,
.legal h2,
.copy-only h2,
.closing h2 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.copy h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0.35rem 0 1rem;
}

.copy h2,
.copy-only h2,
.closing h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin: 0;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
}

.proof {
  background: var(--green-soft);
  border-block: 1px solid var(--line);
  padding: 1.4rem 0;
}

.proof-grid {
  display: grid;
  gap: 1rem;
}

.proof-grid p {
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.proof-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: var(--green);
}

.product {
  padding: 3.5rem 0;
}

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

.steps,
.feature-list {
  padding-left: 1.2rem;
}

.steps li,
.feature-list li {
  margin-bottom: 0.85rem;
}

.copy-only {
  padding: 2.75rem 0;
}

.closing {
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.closing .cta-row {
  justify-content: center;
}

.fine-print {
  color: var(--muted);
  font-size: 0.95rem;
}

.a2hs {
  text-align: left;
  display: inline-block;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal {
  padding: 2.5rem 0 4rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 1.6rem 0 0.35rem;
}

.terms {
  white-space: pre-wrap;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  background: var(--cream);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--serif);
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-copy {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.slideshow {
  width: 100%;
  max-width: 320px;
  min-width: 0;
  margin-inline: auto;
}

.phone-frame {
  background: #161513;
  border-radius: 2rem;
  padding: 0.7rem 0.65rem 1.1rem;
  box-shadow: 0 18px 40px rgba(31, 26, 20, 0.28);
  touch-action: pan-y;
}

.phone-notch {
  width: 28%;
  height: 8px;
  margin: 0 auto 0.45rem;
  background: #2a2723;
  border-radius: 999px;
}

/* Screenshots from this handset are 923×2000. Every viewer uses that ratio
   so the next still from the same phone fills the frame. */
.phone-screen {
  background: #111;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 923 / 2000;
  position: relative;
}

.slide {
  margin: 0;
  position: absolute;
  inset: 0;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  touch-action: pan-y;
  -webkit-user-drag: none;
  user-select: none;
}

.slideshow-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.slideshow-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.slideshow-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.slideshow-dots button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.slideshow-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--line);
  transform: translate(-50%, -50%);
}

.slideshow-dots button[aria-current="true"]::before {
  background: var(--green);
}

.slideshow-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-menu {
    display: none;
  }

  .hero {
    background-image:
      linear-gradient(
        color-mix(in srgb, var(--paper) 82%, transparent),
        color-mix(in srgb, var(--cream) 78%, transparent)
      ),
      url("../img/atmosphere/hero-pasture.263119fd0958.webp");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  @media (prefers-reduced-data: reduce) {
    .hero {
      background-image: none;
    }
  }
}

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

  .nav-menu {
    display: block;
    position: relative;
  }

  .nav-menu .site-nav {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    flex-direction: column;
    align-items: stretch;
    min-width: 14rem;
    padding: 0.85rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    box-shadow: 0 10px 24px rgba(31, 26, 20, 0.12);
  }

  .nav-menu .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

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

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

  .phone-notch {
    display: none;
  }

  .phone-frame {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .phone-screen {
    border-radius: 0;
  }
}
