:root {
  color-scheme: light;
  --ink: #282828;
  --muted: #665c54;
  --cream: #fbf1c7;
  --paper: #f2e5bc;
  --paper-deep: #ebdbb2;
  --olive: #79740e;
  --yellow: #d79921;
  --orange: #d65d0e;
  --green: #689d6a;
  --line: rgba(40, 40, 40, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--olive);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.7rem, 9vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.intro {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--olive);
  color: var(--cream);
  background: var(--olive);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--paper-deep);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--ink);
}

.platform-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.route-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 40px 40px 160px 40px;
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
}

.route-card p {
  position: absolute;
  right: 32px;
  bottom: 20px;
  max-width: 120px;
  font-weight: 700;
  text-align: right;
}

.route-start {
  position: absolute;
  top: 70px;
  left: 62px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--cream);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--ink);
}

.route-line {
  position: absolute;
  top: 88px;
  left: 70px;
  width: 220px;
  height: 235px;
  border-right: 6px solid var(--orange);
  border-bottom: 6px solid var(--orange);
  border-radius: 0 0 70px;
  transform: rotate(8deg);
}

.route-radius {
  position: absolute;
  right: 35px;
  bottom: 74px;
  width: 210px;
  height: 210px;
  border: 2px dashed var(--olive);
  border-radius: 50%;
  background: rgba(121, 116, 14, 0.14);
}

.route-pin {
  position: absolute;
  right: 91px;
  bottom: 150px;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50% 50% 50% 10px;
  color: var(--cream);
  background: var(--olive);
  font-weight: 900;
  letter-spacing: 0.12em;
  transform: rotate(-45deg);
}

.route-pin span {
  transform: rotate(45deg);
}

.statement,
.open-source {
  color: var(--cream);
  background: var(--ink);
}

.statement-grid,
.open-source-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
  padding-block: 80px;
}

.statement h2,
.section-heading h2,
.open-source h2,
.legal h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.statement p,
.open-source-grid > div:last-child > p {
  margin: 0;
  color: var(--paper-deep);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
}

.features,
.screens {
  padding-block: 110px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid span {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 36px 0 10px;
  font-size: 1.35rem;
}

.feature-grid p {
  max-width: 390px;
  color: var(--muted);
}

.screens {
  border-top: 1px solid var(--line);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
}

figcaption {
  padding: 14px 4px 0;
  color: var(--muted);
}

.open-source .eyebrow {
  color: #fabd2f;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: #fabd2f;
  font-weight: 700;
}

.site-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal {
  max-width: 820px;
  padding-block: 90px 120px;
}

.legal h1 {
  margin-bottom: 28px;
}

.legal-intro {
  margin-bottom: 64px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

.legal section {
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
  }

  nav {
    gap: 14px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 64px;
  }

  .route-card {
    min-height: 390px;
  }

  .statement-grid,
  .open-source-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 64px;
  }

  .features,
  .screens {
    padding-block: 78px;
  }

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

  .screen-grid {
    gap: 38px;
  }

  figure img {
    max-width: 360px;
    margin-inline: auto;
  }

  figcaption {
    text-align: center;
  }

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

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