:root {
  color-scheme: light;
  --ink: #16212b;
  --muted: #5d6b78;
  --soft: #eef2ec;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --line: #d5ddd2;
  --river: #0f6b5f;
  --river-2: #16836f;
  --blue: #277da1;
  --amber: #b86620;
  --red: #a83226;
  --shadow: 0 18px 48px rgba(20, 32, 42, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-width: 320px;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 31, 40, 0.74);
  color: #fff;
  backdrop-filter: blur(16px);
}

.site-header--light {
  border-bottom-color: var(--line);
  background: rgba(251, 252, 248, 0.92);
  color: var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand span {
  display: block;
  line-height: 1.05;
}

.brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: currentColor;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0.72;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  border-radius: 8px;
  padding: 9px 11px;
  color: currentColor;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  opacity: 0.86;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.site-header--light .nav-links a[aria-current="page"],
.site-header--light .nav-links a:hover {
  background: #e6eee7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  color: #10212b;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.button--dark {
  border-color: var(--river);
  background: var(--river);
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: currentColor;
}

.preview-banner {
  border-bottom: 1px solid #f0d7a5;
  background: #fff4db;
  color: #4c3210;
}

.preview-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  text-align: center;
}

.preview-banner strong {
  font-weight: 950;
}

.preview-banner a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  padding: 0 14px;
  background: #5f3b09;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.preview-cta {
  display: grid;
  gap: 18px;
  border: 1px solid #f0d7a5;
  border-radius: 8px;
  padding: 30px;
  background: #fff4db;
  color: #4c3210;
}

.preview-cta p {
  margin-bottom: 0;
  color: #6c4c1e;
  line-height: 1.6;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(10, 20, 27, 0.9), rgba(10, 20, 27, 0.5) 46%, rgba(10, 20, 27, 0.12)), url("screenshots/app-map-wye-sections.png");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(10, 20, 27, 0.6), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0 116px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--river-2);
  font-size: 0.77rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ce5d2;
}

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

h1 {
  width: min(780px, 100%);
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.12;
}

.hero__copy {
  width: min(650px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.52;
}

.hero__actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.proof-item {
  min-height: 120px;
  padding: 26px;
  background: var(--surface);
}

.proof-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--river);
  font-size: 1.65rem;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.section {
  padding: 92px 0;
}

.section--soft {
  background: var(--soft);
}

.section--ink {
  background: #17242c;
  color: #fff;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p,
.copy-block p,
.feature p,
.text-list p,
.caption,
.page-intro p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section--ink .section-heading p,
.section--ink .copy-block p,
.section--ink .feature p,
.section--ink .caption {
  color: rgba(255, 255, 255, 0.74);
}

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

.feature {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.section--ink .feature {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.kicker {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #dff0ea;
  color: var(--river);
  font-size: 0.76rem;
  font-weight: 950;
}

.visual-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.55fr);
  gap: 18px;
  align-items: start;
}

.screenshot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.screenshot img {
  width: 100%;
  height: auto;
}

.screenshot--phone {
  max-width: 360px;
  justify-self: center;
}

.caption {
  margin-top: 14px;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.text-list {
  display: grid;
  gap: 18px;
}

.text-list article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.section--ink .text-list article {
  border-color: rgba(255, 255, 255, 0.16);
}

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

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  padding: 12px 2px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.page-hero {
  padding: 94px 0 54px;
  background: var(--soft);
}

.page-intro {
  width: min(860px, 100%);
}

.page-intro h1 {
  width: 100%;
  color: var(--ink);
  font-size: clamp(2.7rem, 7vw, 6rem);
}

.callout {
  border-left: 6px solid var(--amber);
  padding: 22px 26px;
  background: #fff7eb;
  color: #5b3511;
}

.callout p {
  margin-bottom: 0;
  line-height: 1.6;
}

.site-footer {
  padding: 44px 0;
  background: #101b22;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 86svh;
    background-position: 58% center;
  }

  .proof-strip,
  .section-heading,
  .feature-grid,
  .visual-pair,
  .band,
  .gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 560px) {
  .nav-links a {
    padding: 8px;
    font-size: 0.84rem;
  }

  .hero__content {
    padding-top: 60px;
  }

  h1 {
    font-size: clamp(2.05rem, 9vw, 2.25rem);
    line-height: 1;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__copy {
    font-size: 1.04rem;
  }

  .proof-item,
  .feature {
    padding: 20px;
  }
}
