:root {
  --park-green: #2c5e4f;
  --park-dark: #1b3b36;
  --park-light: #e8f3e8;
  --park-accent: #d4a373;
  --park-sand: #fafaf5;
  --park-gray: #4b5563;
  --park-line: #e5e7eb;
  --shadow-soft: 0 1px 3px rgba(27, 59, 54, 0.06), 0 10px 30px -15px rgba(27, 59, 54, 0.15);
  --ease-out-gentle: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--park-dark);
  background: var(--park-sand);
}

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

a {
  color: var(--park-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

h1,
h2 {
  font-family: "New York", ui-serif, Georgia, Charter, "Times New Roman", serif;
  margin: 0 0 1rem;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--park-gray);
}

h2 {
  font-size: clamp(1.85rem, 2vw + 1rem, 2.25rem);
  color: var(--park-green);
}

.section h2 {
  margin-bottom: 1.35rem;
}

.progress-layout > div:first-child p {
  max-width: 38rem;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 25;
  transition: background 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}

.site-header.scrolled {
  background: rgba(250, 250, 245, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(27, 59, 54, 0.08);
}

.nav-wrap {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  cursor: pointer;
}

.logo-img {
  display: block;
  width: 180px;
  height: 46px;
  background-color: var(--park-sand);
  -webkit-mask: url('assets/logo-wordmark.svg') no-repeat center / contain;
  mask: url('assets/logo-wordmark.svg') no-repeat center / contain;
  transition: background-color 0.2s ease;
}

.site-header.scrolled .logo-img {
  background-color: var(--park-green);
}

@media (max-width: 600px) {
  .logo-img {
    width: 140px;
    height: 36px;
  }
}

.mini-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(250, 250, 245, 0.65);
  color: var(--park-sand);
  white-space: nowrap;
}

.site-header.scrolled .mini-nav-cta {
  border-color: var(--park-line);
  color: var(--park-dark);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-color: var(--park-dark);
  background-image: url("assets/hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1);
  animation: ken-burns 20s ease-in-out infinite alternate;
}

.hero-overlay {
  /* Layered scrim: darker top (title/nav), lighter mid, deeper bottom (stat + rocks) */
  background:
    linear-gradient(
      180deg,
      rgba(15, 35, 45, 0.72) 0%,
      rgba(27, 59, 54, 0.2) 38%,
      rgba(27, 59, 54, 0.58) 65%,
      rgba(20, 45, 42, 0.92) 100%
    ),
    radial-gradient(120% 85% at 50% 100%, rgba(27, 59, 54, 0.42) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(48rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.hero-eyebrow {
  margin-bottom: 1rem;
  color: var(--park-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  max-width: 14ch;
  color: #fff;
}

.hero-subhead {
  font-size: 1.25rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.4rem;
}

.waitlist-form {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 36rem;
}

.waitlist-form input {
  flex: 1 1 13rem;
  width: min(100%, 100%);
  min-width: 0;
  min-height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.waitlist-form button {
  min-height: 3rem;
  border: 0;
  border-radius: 9999px;
  padding: 0.75rem 1.3rem;
  background: var(--park-accent);
  color: var(--park-dark);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 120ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.waitlist-form button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.waitlist-form button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.waitlist-form button:active {
  transform: scale(0.98);
}

.form-feedback {
  width: 100%;
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
  color: #fff;
  min-height: 1.2em;
}

.form-feedback.error {
  color: #fee2e2;
}

.hero-note {
  margin-top: 0.5rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
}

.hero-platform-note {
  color: rgb(205, 154, 109);
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
}

.final-platform-note {
  margin-top: 0.75rem;
}

.card-app-shot {
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(7, 14, 15, 0.24);
}

.hero-stat {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 2.2vw, 2rem);
  color: var(--park-accent);
  z-index: 2;
  font-style: italic;
  font-family: "New York", ui-serif, Georgia, Charter, "Times New Roman", serif;
  margin: 0;
}

.hero-stagger {
  opacity: 0;
  transform: translateY(24px);
}

.hero-loaded .hero-stagger {
  animation: rise-in 600ms var(--ease-out-gentle) forwards;
}

.hero-loaded .hero-stagger:nth-child(1) {
  animation-delay: 0ms;
}

.hero-loaded .hero-stagger:nth-child(2) {
  animation-delay: 120ms;
}

.hero-loaded .hero-stagger:nth-child(3) {
  animation-delay: 240ms;
}

.hero-loaded .hero-stagger:nth-child(4) {
  animation-delay: 360ms;
}

.hero-loaded .hero-stagger:nth-child(5) {
  animation-delay: 480ms;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--park-line);
  border-radius: 0.5rem;
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.feature-card svg {
  width: 1.65rem;
  height: 1.65rem;
  margin-bottom: 0.7rem;
  stroke: var(--park-green);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-progress {
  background: #fff;
}

.progress-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}

.visit-card {
  background: #f8f3e8;
  border-radius: 0.5rem;
  border: 1px solid #eadbc8;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.visit-title {
  font-family: "New York", ui-serif, Georgia, Charter, "Times New Roman", serif;
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.visit-meta {
  color: var(--park-gray);
  font-size: 0.9rem;
}

.badge-row {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--park-green);
  color: #fff;
}

.progress-track {
  height: 8px;
  background: var(--park-line);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 9999px;
  background: var(--park-accent);
  transition: width 1.6s var(--ease-out-gentle);
}

.progress-text {
  margin-top: 0.65rem;
  margin-bottom: 0;
  color: var(--park-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--park-line);
}

.detail-row {
  position: relative;
  border-bottom: 1px solid var(--park-line);
  padding: 1.1rem 0 1.1rem 1rem;
}

.detail-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--park-green);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 400ms var(--ease-out-gentle);
}

.detail-row:hover::before,
.detail-row.in-view::before {
  transform: scaleY(1);
}

.detail-row h3 {
  font-size: 1.05rem;
}

.detail-row p {
  margin: 0;
  color: var(--park-gray);
}

.section-screenshots {
  background: #fff;
}

.screenshots-head {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.screenshots-head h2 {
  margin-bottom: 0;
}

.screenshots-intro {
  margin: 0 0 1.5rem;
  max-width: 44rem;
  color: var(--park-gray);
  line-height: 1.65;
}

.screenshots-cta {
  border-color: var(--park-line);
  color: var(--park-dark);
  flex-shrink: 0;
}

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

.screenshot-card {
  border: 1px solid var(--park-line);
  background: var(--park-sand);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.screenshot-card .card-app-shot {
  max-width: 12.2rem;
  margin: 0 auto 0.9rem;
}

.screenshot-card h3 {
  margin-bottom: 0.35rem;
}

.screenshot-card p {
  margin: 0;
  color: var(--park-gray);
  font-size: 0.96rem;
}

.final-cta {
  background: var(--park-dark);
  color: #fff;
}

.cta-wrap {
  text-align: center;
}

.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.final-cta h2 {
  color: #fff;
}

.cta-subhead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.final-form {
  margin: 1rem auto 0;
  justify-content: center;
}

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

.footer-wrap {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--park-gray);
  font-size: 0.8125rem;
}

.footer-wrap p {
  margin: 0;
}

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

.footer-wrap a {
  color: var(--park-gray);
  text-decoration: none;
}

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

.footer-tagline {
  color: var(--park-gray);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms var(--ease-out-gentle), transform 600ms var(--ease-out-gentle);
}

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

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--park-accent);
  outline-offset: 2px;
}

.input-invalid {
  border-color: #fca5a5 !important;
}

@keyframes ken-burns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 900px) {
  .nav-wrap {
    min-height: 3.75rem;
  }

  .hero-subhead {
    max-width: 33rem;
  }

  .waitlist-form {
    max-width: 34rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .feature-grid,
  .progress-layout,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 1.1rem;
  }

  .progress-layout {
    gap: 1.5rem;
  }

  .visit-card {
    max-width: 34rem;
  }

  .screenshots-head {
    align-items: start;
    flex-direction: column;
    margin-bottom: 1rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .section h2 {
    margin-bottom: 1.2rem;
  }

  .eyebrow {
    margin-bottom: 0.8rem;
  }

  .progress-layout > div:first-child p {
    max-width: 36rem;
  }

  .feature-card p {
    max-width: 42ch;
  }
}

@media (min-width: 1280px) {
  .container {
    width: min(72rem, calc(100% - 3rem));
  }

  .section {
    padding: 6.5rem 0;
  }

  .section h2 {
    margin-bottom: 1.5rem;
  }

  .eyebrow {
    margin-bottom: 1rem;
  }

  .feature-grid {
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.45rem;
  }

  .feature-card p {
    max-width: 48ch;
  }

  .progress-layout {
    gap: 2.75rem;
    align-items: center;
  }

  .progress-layout > div:first-child p {
    max-width: 40rem;
  }

  .detail-row {
    padding: 1.2rem 0 1.2rem 1.1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 3.5rem 0;
  }

  .container {
    width: min(72rem, calc(100% - 2.5rem));
  }

  .hero-content {
    width: min(48rem, calc(100% - 2.5rem));
    padding-bottom: 1.75rem;
  }

  .hero-subhead {
    font-size: 1.1rem;
  }

  h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    max-width: none;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .waitlist-form button {
    width: 100%;
  }

  .hero-stat {
    position: static;
    margin: 1rem 0 1.5rem 0.75rem;
  }

  .screenshots-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(74%, 18rem);
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-card {
    scroll-snap-align: start;
  }

  .screenshot-card .card-app-shot {
    max-width: none;
  }

  .screenshots-grid::-webkit-scrollbar {
    height: 0.45rem;
  }

  .screenshots-grid::-webkit-scrollbar-thumb {
    background: #c7d2d0;
    border-radius: 9999px;
  }
}

@media (max-width: 600px) {
  .nav-wrap {
    min-height: 3.5rem;
  }

  .mini-nav-cta {
    padding: 0.38rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero-content {
    padding-top: 6rem;
  }
}

@media (min-width: 901px) {
  .screenshots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg {
    animation: none;
    transform: scale(1);
  }

  .hero-stagger,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
