:root {
  color-scheme: light;
  --ink: #0d0d0d;
  --paper: #f8f5ed;
  --wash: #f1efd9;
  --yellow: #eefe52;
  --sage: #dce7d3;
  --lavender: #d9d4ff;
  --peach: #f6dfd3;
  --muted: rgba(13, 13, 13, 0.62);
  --soft: rgba(13, 13, 13, 0.08);
  --line: rgba(13, 13, 13, 0.14);
  --shadow: 0 24px 80px rgba(13, 13, 13, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 2%, rgba(238, 254, 82, 0.58), transparent 28rem),
    radial-gradient(circle at 2% 88%, rgba(217, 212, 255, 0.38), transparent 24rem),
    linear-gradient(180deg, #fbf9ef 0%, var(--paper) 56%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
}

.page {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0;
}

.mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 142px);
  align-items: center;
  gap: 34px;
}

.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: 34px;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(52px, 9vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.05;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.36;
  font-weight: 700;
}

.hero-copy {
  display: grid;
  align-content: center;
}

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

.button {
  display: inline-grid;
  min-height: 58px;
  place-items: center;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fffefa;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
}

.button.primary {
  background: var(--yellow);
}

.device {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(238, 254, 82, 0.34), transparent 22%),
    #fbf9ef;
  overflow: hidden;
}

.device::before {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.18);
  content: "";
  transform: translateX(-50%);
}

.map {
  position: absolute;
  inset: 58px 22px 22px;
  border-radius: 30px;
  background:
    repeating-linear-gradient(168deg, transparent 0 62px, rgba(13, 13, 13, 0.035) 63px 64px),
    radial-gradient(circle at 68% 8%, rgba(238, 254, 82, 0.28), transparent 105px),
    radial-gradient(circle at 16% 72%, rgba(220, 231, 211, 0.54), transparent 112px);
}

.road {
  position: absolute;
  inset: 68px 48px 58px;
  border-left: 42px solid rgba(13, 13, 13, 0.08);
  border-bottom: 42px solid rgba(13, 13, 13, 0.08);
  border-radius: 52% 40% 46% 56%;
  transform: rotate(-13deg);
}

.route-dot {
  position: absolute;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 26px;
  font-weight: 900;
}

.route-dot.one {
  left: 24%;
  bottom: 17%;
}

.route-dot.two {
  right: 18%;
  top: 35%;
}

.route-dot.three {
  right: 28%;
  top: 8%;
  background: var(--peach);
}

.mini-copy {
  position: absolute;
  left: 28px;
  bottom: 32px;
}

.mini-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 0.96;
}

.mini-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.card {
  padding: 26px;
}

.card .icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 24px;
}

.stack {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.legal {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(46px, 7vw, 82px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 650;
}

.notice {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(238, 254, 82, 0.24);
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
}

.path-chip {
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-panel {
  display: none;
}

.language-panel.is-active {
  display: contents;
}

@media (max-width: 760px) {
  .page {
    width: min(100vw - 24px, 520px);
    padding-top: 18px;
  }

  .nav {
    padding-bottom: 22px;
  }

  .brand {
    font-size: 24px;
  }

  .mark {
    width: 52px;
    height: 52px;
  }

  .nav-links {
    gap: 6px;
    font-size: 11px;
  }

  .nav-links a {
    padding: 10px 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    grid-template-columns: 1fr;
    border-radius: 28px;
    padding: 26px;
  }

  .device {
    min-height: 430px;
  }

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

  p {
    font-size: 17px;
  }
}
