:root {
  color-scheme: light;
  --canvas: #f5f2eb;
  --surface: #fffdf8;
  --ink: #171713;
  --muted: #6e6c64;
  --soft: #a4a096;
  --line: #dedbd2;
  --accent: #e85b2a;
  --accent-soft: #f7dfd4;
  --dark: #1d211d;
  --radius: 22px;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --display: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(232, 91, 42, 0.3);
  outline-offset: 3px;
}

.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;
}

.nav,
.hero,
.steps,
.use-cases,
.closing,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.nav nav a {
  transition: color 160ms ease;
}

.nav nav a:hover {
  color: var(--ink);
}

.nav .nav-cta {
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
  padding: 62px 0 104px;
}

.eyebrow,
.overline {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 18px 0 24px;
  font-family: var(--display);
  font-size: clamp(3.25rem, 5.7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}

.hero-text {
  max-width: 510px;
  color: var(--muted);
  font-size: 1.08rem;
}

.access-form {
  max-width: 500px;
  margin-top: 42px;
}

.access-form > label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.84rem;
  font-weight: 600;
}

.email-row {
  display: flex;
  align-items: center;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.email-row:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(23, 23, 19, 0.05);
}

.email-row input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.email-row input::placeholder {
  color: var(--soft);
}

.email-row button {
  flex: none;
  padding: 11px 17px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.email-row button:hover {
  background: #303029;
  transform: translateY(-1px);
}

.form-note {
  margin: 8px 3px 0;
  color: var(--soft);
  font-size: 0.75rem;
}

.product {
  overflow: hidden;
  border: 1px solid #d6d2c8;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(40, 34, 23, 0.1);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 18px 10px;
  padding: 7px 7px 7px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.search svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--soft);
  stroke-linecap: round;
  stroke-width: 1.6;
}

.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
}

.search button {
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.query-tabs {
  display: flex;
  gap: 6px;
  padding: 0 18px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.query-tabs::-webkit-scrollbar {
  display: none;
}

.query-tabs button {
  flex: none;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
}

.query-tabs button.is-active {
  border-color: #efc6b4;
  background: var(--accent-soft);
  color: #a43c18;
}

.insight {
  border-top: 1px solid #ebe8df;
  transition: opacity 180ms ease, transform 180ms ease;
}

.insight.is-refreshing {
  opacity: 0.38;
  transform: translateY(4px);
}

.insight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 12px;
}

.overline {
  color: var(--soft);
  font-size: 0.6rem;
}

.insight h2 {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.24rem;
  letter-spacing: -0.035em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf4eb;
  color: #4e714b;
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5e8d59;
}

.map-wrap {
  position: relative;
  margin: 0 22px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    repeating-linear-gradient(0deg, transparent 0 25px, #e8e4db 26px),
    repeating-linear-gradient(90deg, transparent 0 25px, #e8e4db 26px);
}

.map {
  display: block;
  width: 100%;
}

.land {
  fill: #e7e3d9;
  stroke: #aaa59b;
  stroke-width: 1.2;
}

.route {
  fill: none;
  stroke: #c9c4ba;
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
}

.map-points circle {
  fill: #9f9a91;
  stroke: white;
  stroke-width: 3;
  transition: r 180ms ease, fill 180ms ease;
}

.map-points circle.is-active {
  r: 8;
  fill: var(--accent);
}

.map-label {
  position: absolute;
  top: 55%;
  left: 18%;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font-size: 0.64rem;
  font-weight: 600;
  transform: translate(-50%, -50%);
  transition: left 180ms ease, top 180ms ease;
}

.insight-note {
  padding: 14px 22px 13px;
  color: var(--muted);
  font-size: 0.78rem;
}

.results {
  padding: 0 22px 17px;
}

.result {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #ebe8df;
  font-size: 0.76rem;
}

.result-place {
  color: var(--accent);
  font-weight: 600;
}

.result strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-type {
  color: var(--soft);
}

.steps,
.use-cases {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: end;
  margin-bottom: 58px;
}

.section-intro h2,
.closing h2 {
  max-width: 680px;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.steps li {
  min-height: 190px;
  padding: 0 34px;
  border-left: 1px solid var(--line);
}

.steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.steps li > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.steps h3,
.case-grid h3 {
  margin: 36px 0 8px;
  font-family: var(--display);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.steps p,
.case-grid p {
  max-width: 280px;
  color: var(--muted);
  font-size: 0.9rem;
}

.use-cases {
  padding-top: 92px;
}

.case-grid {
  border-top: 1px solid var(--ink);
}

.case-grid article {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.case-grid h3 {
  margin: 0 0 5px;
}

.case-index {
  color: var(--soft);
  font-size: 0.76rem;
}

.arrow {
  font-size: 1.4rem;
}

.closing {
  margin-top: 34px;
  padding: 92px clamp(28px, 8vw, 96px);
  border-radius: 28px;
  background: var(--dark);
  color: white;
  text-align: center;
}

.closing .eyebrow {
  margin-bottom: 18px;
}

.closing h2 {
  max-width: 760px;
  margin-inline: auto;
}

.closing > p:not(.eyebrow) {
  margin: 16px 0 28px;
  color: #aeb3aa;
}

.closing > a {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 13px 18px;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 42px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

footer .brand {
  justify-self: start;
  color: var(--ink);
}

footer > a:last-child {
  justify-self: end;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .product {
    width: min(100%, 680px);
  }
}

@media (max-width: 720px) {
  .nav,
  .hero,
  .steps,
  .use-cases,
  .closing,
  footer {
    width: min(100% - 30px, 1180px);
  }

  .nav {
    height: 70px;
  }

  .nav nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 80px;
  }

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

  .email-row {
    align-items: stretch;
    flex-direction: column;
    padding: 7px;
  }

  .email-row input {
    padding: 11px 8px;
  }

  .product {
    border-radius: 18px;
  }

  .search {
    margin: 12px 12px 9px;
  }

  .query-tabs {
    padding-inline: 12px;
  }

  .insight-head {
    padding-inline: 15px;
  }

  .status {
    display: none;
  }

  .map-wrap {
    margin-inline: 15px;
  }

  .insight-note,
  .results {
    padding-inline: 15px;
  }

  .result {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .result-type {
    display: none;
  }

  .steps,
  .use-cases {
    padding: 82px 0;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 46px;
  }

  .steps ol {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li:first-child {
    min-height: 0;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .steps h3 {
    margin-top: 18px;
  }

  .case-grid article {
    grid-template-columns: 34px 1fr auto;
    gap: 12px;
  }

  .closing {
    padding: 72px 22px;
  }

  footer {
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  footer p {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
