:root {
  --ink: #10231c;
  --muted: #5f6f67;
  --paper: #f7f6ef;
  --white: #ffffff;
  --line: #d8dfd8;
  --green: #19a46f;
  --green-dark: #0a6d4a;
  --blue: #2563eb;
  --amber: #e8a11a;
  --shadow: 0 24px 80px rgba(16, 35, 28, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 246, 239, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(16, 35, 28, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(16, 35, 28, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  opacity: 0.84;
}

.site-nav a:hover,
.site-footer a:hover {
  opacity: 1;
}

.header-cta {
  justify-self: end;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(88svh, 900px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 14vh, 10rem) clamp(1rem, 5vw, 5rem) clamp(4rem, 9vh, 7rem);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 35, 28, 0.98) 0%, rgba(16, 35, 28, 0.9) 43%, rgba(16, 35, 28, 0.54) 72%, rgba(16, 35, 28, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 35, 28, 0.3), rgba(16, 35, 28, 0.3)),
    url("assets/photo-hero.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5rem;
  background: linear-gradient(to bottom, rgba(247, 246, 239, 0), var(--paper));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #78f0b6;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: 7.8rem;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-lede {
  max-width: 39rem;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.3rem;
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

.store-badge {
  display: inline-flex;
  width: 176px;
  max-width: 100%;
  transition: transform 160ms ease;
}

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

.store-badge img {
  width: 100%;
  height: auto;
}

.powered-by {
  max-width: 21rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 43rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats div {
  padding: 1rem 1rem 1rem 0;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1rem;
}

.hero-stats dt {
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.intro-band {
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
  background: var(--paper);
}

.intro-inner {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) 1.35fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-inner p {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.08;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
  min-width: 0;
}

.metric-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.ride-types-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem);
  background: #ffffff;
}

.ride-types-copy {
  max-width: 560px;
}

.ride-types-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

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

.ride-type-card {
  min-height: 190px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf7;
}

.ride-type-card:nth-child(2) {
  background: #f1f5ff;
}

.ride-type-card:nth-child(3) {
  background: #fff8e9;
}

.ride-type-card:nth-child(4) {
  background: #eef8f4;
}

.ride-type-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 790px;
  margin: 0 auto clamp(2rem, 5vw, 3.6rem);
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card {
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(16, 35, 28, 0.07);
}

.feature-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
  padding: 0.55rem;
  border-radius: 8px;
  background: #e8f7ef;
  fill: var(--green-dark);
}

.feature-card:nth-child(2) svg {
  background: #e9efff;
  fill: var(--blue);
}

.feature-card:nth-child(3) svg {
  background: #fff5db;
  fill: #a96f00;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem);
  background: #ffffff;
}

.photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 540px;
}

.ride-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #d7ddd8;
  box-shadow: 0 28px 70px rgba(16, 35, 28, 0.16);
}

.ride-photo-large {
  grid-row: 1 / -1;
}

.ride-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #30443c;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--green);
}

.cta-band {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(25, 164, 111, 0.16)),
    #eaf2ed;
}

.cta-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-copy img:first-child {
  margin: 0 auto 1.3rem;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(16, 35, 28, 0.18);
}

.cta-copy p {
  max-width: 40rem;
  margin: 0 auto 1.8rem;
  color: var(--muted);
  font-size: 1.13rem;
}

.cta-copy .store-badge {
  margin: 0 auto;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 1.35rem 0;
  font-size: 1.18rem;
  font-weight: 850;
}

details p {
  max-width: 45rem;
  margin: -0.35rem 0 1.35rem;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  padding: 2.4rem clamp(1rem, 5vw, 5rem);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.4rem;
  font-weight: 800;
}

.footer-brand {
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.92rem;
}

.credits-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(247, 246, 239, 0.98), rgba(247, 246, 239, 0.9)),
    url("assets/photo-hero.jpg") center / cover no-repeat;
}

.credits-main {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.credits-brand {
  margin-bottom: 5rem;
}

.credits-brand img {
  border-radius: 9px;
}

.credits-main h1 {
  max-width: 100%;
  color: var(--ink);
  font-size: 4rem;
}

.credits-main p {
  color: var(--muted);
  font-size: 1.12rem;
}

.credits-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.credits-list a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--green-dark);
  font-weight: 800;
}

.credits-back {
  border-color: var(--ink);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-nav {
    display: none;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 5rem;
  }

  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 3.25rem;
  }

  .intro-inner,
  .ride-types-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .metric-row {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand span {
    max-width: 8rem;
    white-space: nowrap;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 4rem;
    background-position: 58% center;
  }

  .hero-copy {
    max-width: 22rem;
  }

  .hero .eyebrow,
  .hero-lede,
  .powered-by {
    max-width: 21rem;
  }

  h1 {
    max-width: 7.2ch;
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .hero-stats dt {
    font-size: 1.55rem;
  }

  .intro-inner p {
    font-size: 1.25rem;
    overflow-wrap: break-word;
  }

  .intro-inner,
  .section-heading,
  .feature-grid,
  .ride-types-copy,
  .ride-type-grid,
  .photo-grid,
  .split-copy,
  .cta-copy,
  .faq-list,
  .metric-row {
    min-width: 0;
    max-width: 22rem;
    margin-left: 0;
    margin-right: auto;
  }

  .section-heading p:not(.eyebrow),
  .split-copy p:not(.eyebrow),
  .cta-copy p {
    font-size: 1rem;
  }

  summary {
    font-size: 1.05rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 20rem;
  }

  .hero-stats div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
    padding-left: 0;
  }

  .feature-grid,
  .ride-type-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

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

  .photo-grid {
    grid-template-rows: none;
    min-height: 0;
  }

  .ride-photo {
    aspect-ratio: 4 / 3;
  }

  .ride-photo-large {
    grid-row: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
