:root {
  --cream: #fbf6ec;
  --paper: #fffaf1;
  --paper-strong: #fffdf8;
  --ink: #271f18;
  --muted: #756d62;
  --green: #254f1f;
  --green-deep: #1c2a18;
  --moss: #aebc91;
  --sage: #e4ece0;
  --ochre: #cf8933;
  --ochre-soft: #efd0a0;
  --sky: #7fc9d5;
  --red: #ff4a56;
  --line: #e4d7c1;
  --shadow: 0 20px 60px rgba(39, 31, 24, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) minmax(0, 1160px) minmax(1rem, 1fr);
  align-items: center;
  padding: 0.82rem 0;
  color: var(--ink);
  background: rgba(251, 246, 236, 0.92);
  border-bottom: 1px solid rgba(228, 215, 193, 0.7);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(39, 31, 24, 0.08);
}

.brand-link,
.nav-links,
.signup-form,
.section-layout,
.discovery-layout,
.signup-layout,
.site-footer {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.brand-link {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  width: auto;
  margin-inline: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 800;
  white-space: nowrap;
}

.paw-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.25rem;
}

.paw-mark::before,
.paw-mark i {
  position: absolute;
  display: block;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.paw-mark::before {
  left: 0.36rem;
  bottom: 0.08rem;
  width: 0.66rem;
  height: 0.56rem;
  transform: rotate(8deg);
}

.paw-mark i {
  width: 0.33rem;
  height: 0.42rem;
}

.paw-mark i:nth-child(1) {
  left: 0.05rem;
  top: 0.44rem;
  transform: rotate(-28deg);
}

.paw-mark i:nth-child(2) {
  left: 0.34rem;
  top: 0.08rem;
  transform: rotate(-8deg);
}

.paw-mark i:nth-child(3) {
  right: 0.34rem;
  top: 0.08rem;
  transform: rotate(8deg);
}

.paw-mark i:nth-child(4) {
  right: 0.04rem;
  top: 0.42rem;
  transform: rotate(28deg);
}

.paw-mark-small {
  width: 1.2rem;
  height: 1.1rem;
}

.paw-mark-small::before {
  left: 0.32rem;
  width: 0.6rem;
  height: 0.5rem;
}

.paw-mark-small i {
  width: 0.3rem;
  height: 0.36rem;
}

.paw-mark-small i:nth-child(2) {
  left: 0.32rem;
}

.paw-mark-small i:nth-child(3) {
  right: 0.32rem;
}

.nav-links {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: auto;
  margin-inline: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  min-height: 2.28rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.82rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-header .nav-links a {
  background: rgba(37, 79, 31, 0.08);
}

.hero {
  position: relative;
  min-height: min(820px, 100vh);
  display: flex;
  align-items: center;
  padding: 6.6rem 0 3rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
  border-bottom: 1px solid rgba(228, 215, 193, 0.72);
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy-panel {
  min-width: 0;
  padding-top: 1.5rem;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.section-heading h2,
.signup-layout h2,
.thanks-shell h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3.3rem, 7.5vw, 6.2rem);
  white-space: nowrap;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 1rem 0 1.35rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.38;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.hero .signup-form {
  width: min(620px, 100%);
  margin: 0;
}

.signup-form input {
  min-width: 0;
  height: 3.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 1.25rem;
  color: var(--ink);
  background: rgba(255, 249, 238, 0.95);
  outline: none;
  box-shadow: 0 12px 34px rgba(39, 31, 24, 0.08);
}

.signup-form input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(127, 201, 213, 0.26), 0 12px 34px rgba(39, 31, 24, 0.08);
}

.signup-form button {
  min-height: 3.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1.35rem;
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(28, 42, 24, 0.2);
}

.signup-form button:hover {
  transform: translateY(-1px);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: var(--paper);
  font-weight: 800;
  font-size: 0.9rem;
}

.hero-preview {
  position: relative;
  min-height: clamp(520px, 56vw, 680px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.phone-frame,
.screen-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(39, 31, 24, 0.1);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.phone-frame {
  width: clamp(170px, 23vw, 280px);
  padding: 0.45rem;
}

.phone-frame img,
.screen-card img {
  width: 100%;
  border-radius: 5px;
}

.phone-main {
  position: relative;
  z-index: 2;
  width: clamp(230px, 28vw, 345px);
}

.phone-secondary {
  position: absolute;
  z-index: 1;
  width: clamp(150px, 17vw, 215px);
  opacity: 0.92;
}

.phone-secondary-left {
  left: 0;
  bottom: 2.8rem;
  transform: rotate(-4deg);
}

.phone-secondary-right {
  right: 0;
  top: 3.2rem;
  transform: rotate(4deg);
}

.story-band,
.screenshots-band {
  padding: clamp(4rem, 8vw, 7rem) 1rem;
}

.story-band {
  background: var(--paper-strong);
}

.section-layout,
.discovery-layout,
.signup-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.signup-layout h2,
.thanks-shell h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

.section-copy p,
.signup-layout p,
.thanks-shell p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 15rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card span {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-weight: 900;
}

.feature-card h3 {
  margin: 1rem 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

.feature-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.discovery-band {
  padding: clamp(4rem, 8vw, 7rem) 1rem;
  background: var(--cream);
}

.discovery-layout {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}

.discovery-media {
  overflow: hidden;
  border: 1px solid rgba(39, 31, 24, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.discovery-media img {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  margin-top: 1.35rem;
  color: var(--green);
  font-weight: 900;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.26em;
}

.screenshots-band {
  background: var(--paper);
}

.section-heading {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}

.screenshot-rail {
  width: min(1280px, calc(100% - 1rem));
  margin-inline: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding: 0.4rem 0.5rem 1.4rem;
}

.screen-card {
  scroll-snap-align: start;
  min-width: 0;
  box-shadow: 0 18px 48px rgba(39, 31, 24, 0.14);
}

.signup-band {
  padding: clamp(4rem, 8vw, 7rem) 1rem;
  color: var(--ink);
  background: var(--paper-strong);
  border-top: 1px solid var(--line);
}

.signup-layout {
  grid-template-columns: 0.86fr 1.14fr;
}

.signup-layout .eyebrow {
  color: var(--ochre);
}

.signup-layout p {
  color: var(--muted);
}

.signup-form-dark {
  width: 100%;
}

.signup-panel {
  min-width: 0;
}

.signup-form-dark input {
  background: rgba(255, 249, 238, 0.98);
}

.signup-form-dark button {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: var(--paper-strong);
}

.form-status-dark {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.7rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--green);
  text-decoration: none;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--paper-strong);
}

.thanks-shell {
  width: min(760px, 100%);
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 249, 238, 0.94);
  box-shadow: var(--shadow);
}

.thanks-shell .brand-link {
  margin-bottom: 2rem;
  color: var(--green);
}

.thanks-shell .eyebrow {
  color: var(--ochre);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1rem minmax(0, 1fr) 1rem;
    padding: 0.75rem 0;
  }

  .nav-links {
    gap: 0.15rem;
  }

  .nav-links a {
    padding: 0 0.62rem;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy-panel {
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 5.4rem);
  }

  .hero-preview {
    min-height: 540px;
    padding-inline: 0;
  }

  .phone-main {
    width: min(320px, 74vw);
  }

  .phone-secondary {
    width: min(170px, 39vw);
  }

  .phone-secondary-left {
    left: max(0rem, 8vw);
    bottom: 2rem;
  }

  .phone-secondary-right {
    right: max(0rem, 8vw);
    top: 2rem;
  }

  .section-layout,
  .discovery-layout,
  .signup-layout {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: center;
  }

  .brand-link {
    font-size: 0.98rem;
  }

  .paw-mark {
    width: 1.15rem;
    height: 1.08rem;
  }

  .nav-links a {
    min-height: 2.2rem;
    padding: 0 0.48rem;
  }

  .hero {
    padding-top: 5.25rem;
    padding-inline: 0;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .hero-preview {
    min-height: 470px;
  }

  .phone-secondary {
    opacity: 0.72;
  }

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

  .signup-form input,
  .signup-form button {
    width: 100%;
  }

  .section-copy h2,
  .section-heading h2,
  .signup-layout h2,
  .thanks-shell h1 {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }

  .screenshot-rail {
    grid-auto-columns: minmax(230px, 76vw);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
