/* Contour — adapted from Waypoint's site.css: same tokens, type, radii and breakpoints (980/800/600). */
:root {
  color-scheme: light;
  --forest: #174d3a;
  --forest-deep: #0b2f25;
  --forest-soft: #2f6c55;
  --mint: #a6d8b5;
  --mint-light: #e8f3eb;
  --water: #dceff5;
  --gold: #f2b84b;
  --gold-light: #fff1cc;
  --ink: #122019;
  --ink-soft: #4f5d56;
  --canvas: #f7f8f4;
  --white: #ffffff;
  --line: #d9e1da;
  --paper: #f4f1e3;
  --contour: #a87a4d;
  --gps: #2f7dd3;
  --shadow: 0 24px 70px rgba(20, 54, 42, 0.15);
  --radius: 28px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--forest-deep);
  font-weight: 750;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 30px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-size: 25px;
  font-weight: 780;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark-symbol {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: url("/assets/contour-mark.svg") center / contain no-repeat;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-nav a:hover {
  border-color: currentColor;
}

.site-nav .nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 8px 15px;
}

.site-nav .nav-cta:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 0;
  background: var(--forest);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.26;
}

.hero-glow-one {
  top: -220px;
  right: -120px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(166, 216, 181, 0.45);
  box-shadow: inset 0 0 120px rgba(166, 216, 181, 0.15);
}

.hero-glow-two {
  bottom: 60px;
  left: -180px;
  width: 420px;
  height: 420px;
  background: rgba(220, 239, 245, 0.13);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  min-height: 700px;
  gap: 64px;
}

.hero-copy {
  padding-bottom: 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--forest-soft);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow.light {
  color: var(--mint);
}

.eyebrow > span {
  display: inline-block;
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 6.5vw, 86px);
}

h2 {
  font-size: clamp(42px, 5vw, 66px);
}

h1 em,
h2 em {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero-lede {
  max-width: 635px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  margin-left: 10px;
}

.button-primary {
  background: var(--gold);
  color: var(--forest-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.play-glyph {
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0 10px 0 0 !important;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.travel-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.travel-cues li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  align-self: end;
  min-height: 660px;
}

/* Phone frame with the topo map mock */

.phone {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 38px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 48px;
  background: #101815;
  box-shadow: var(--shadow);
}

.phone::before {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  width: 84px;
  height: 20px;
  border-radius: 999px;
  background: #050806;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--paper);
  aspect-ratio: 9 / 16;
}

.phone-hero {
  width: min(420px, 94%);
  margin: 0 auto -155px;
  transform: rotate(2.2deg);
}

.map-mock {
  position: absolute;
  inset: 0;
  container-type: inline-size;
}

.map-mock > img,
.map-mock > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.map-route-casing {
  fill: none;
  stroke: rgba(11, 47, 37, 0.55);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8.5;
}

.map-route {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.map-pin {
  fill: var(--forest);
  stroke: var(--white);
  stroke-width: 3;
}

.map-gps-halo {
  fill: rgba(47, 125, 211, 0.18);
  stroke: rgba(47, 125, 211, 0.35);
  stroke-width: 1;
}

.map-gps {
  fill: var(--gps);
  stroke: var(--white);
  stroke-width: 3.5;
}

.map-search {
  position: absolute;
  top: 5.5%;
  right: 6%;
  left: 6%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3.4cqw 4cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--forest-deep);
  box-shadow: 0 8px 22px rgba(11, 47, 37, 0.18);
  font-size: 4.1cqw;
  font-weight: 760;
  white-space: nowrap;
}

.map-search i {
  width: 4.6cqw;
  height: 4.6cqw;
  flex: 0 0 auto;
  background: url("/assets/contour-mark-forest.svg") center / contain no-repeat;
}

.map-search small {
  margin-left: auto;
  overflow: hidden;
  color: var(--forest-soft);
  font-size: 3.3cqw;
  font-weight: 700;
  text-overflow: ellipsis;
}

.map-fab {
  position: absolute;
  right: 6%;
  display: grid;
  width: 12cqw;
  height: 12cqw;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--forest);
  box-shadow: 0 8px 22px rgba(11, 47, 37, 0.18);
  font-size: 5cqw;
  font-weight: 800;
}

.map-fab-layers {
  top: 17%;
}

.map-fab-gps {
  top: 27%;
  background: var(--forest);
  color: var(--mint);
}

.map-fab svg {
  width: 55%;
  height: 55%;
}

.map-scale {
  position: absolute;
  bottom: 31%;
  left: 6%;
  padding-top: 1cqw;
  border-top: 2px solid var(--forest-deep);
  color: var(--forest-deep);
  font-size: 2.8cqw;
  font-weight: 760;
  width: 18cqw;
}

.map-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3cqw 6cqw 6cqw;
  border-radius: 7cqw 7cqw 0 0;
  background: var(--white);
  box-shadow: 0 -10px 30px rgba(11, 47, 37, 0.14);
  color: var(--ink);
}

.map-sheet::before {
  display: block;
  width: 12cqw;
  height: 1.2cqw;
  margin: 0 auto 3.4cqw;
  border-radius: 999px;
  background: var(--line);
  content: "";
}

.map-sheet strong {
  display: block;
  color: var(--forest-deep);
  font-size: 4.8cqw;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.map-sheet > span {
  display: block;
  margin-top: 1cqw;
  color: var(--ink-soft);
  font-size: 3.4cqw;
}

.map-sheet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
  margin-top: 3.4cqw;
}

.map-sheet-stats div {
  padding: 2.2cqw 2.6cqw;
  border-radius: 3.2cqw;
  background: var(--canvas);
}

.map-sheet-stats b,
.map-sheet-stats small {
  display: block;
  line-height: 1.3;
}

.map-sheet-stats b {
  color: var(--forest);
  font-size: 4cqw;
}

.map-sheet-stats small {
  color: var(--ink-soft);
  font-size: 2.8cqw;
}

.map-attribution {
  position: absolute;
  right: 3%;
  bottom: 29.5%;
  padding: 0.6cqw 1.6cqw;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-soft);
  font-size: 2.3cqw;
}

.route-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(166, 216, 181, 0.35);
  border-radius: 50%;
}

.route-orbit::before,
.route-orbit::after {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 4px solid var(--forest);
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.route-orbit-one {
  top: 50px;
  right: -100px;
  width: 520px;
  height: 520px;
}

.route-orbit-one::before {
  top: 55px;
  left: 78px;
}

.route-orbit-one::after {
  right: 37px;
  bottom: 145px;
  background: var(--mint);
}

.route-orbit-two {
  right: 35px;
  bottom: -80px;
  width: 340px;
  height: 340px;
}

.floating-note {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--forest-deep);
  box-shadow: 0 16px 45px rgba(4, 23, 17, 0.2);
  backdrop-filter: blur(16px);
}

.floating-note strong,
.floating-note small {
  display: block;
  line-height: 1.35;
}

.floating-note strong {
  font-size: 13px;
}

.floating-note small {
  color: var(--ink-soft);
  font-size: 11px;
}

.floating-note-top {
  top: 340px;
  right: -38px;
}

.floating-note-bottom {
  bottom: 75px;
  left: -30px;
}

.note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--mint-light);
  color: var(--forest);
  font-size: 15px;
  font-weight: 850;
}

.note-icon-gold {
  background: var(--gold-light);
  color: #7a5620;
}

.hero-summary {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 -10px 50px rgba(7, 36, 27, 0.13);
}

.hero-summary div {
  display: flex;
  flex-direction: column;
  min-height: 122px;
  justify-content: center;
  padding: 24px 38px;
  border-right: 1px solid var(--line);
}

.hero-summary div:last-child {
  border-right: 0;
}

.hero-summary strong {
  color: var(--forest);
  font-size: 16px;
}

.hero-summary span {
  color: var(--ink-soft);
  font-size: 13px;
}

/* Sections */

.section {
  padding: 110px 0;
}

.narrow-center {
  max-width: 790px;
  text-align: center;
}

.eyebrow.centered {
  justify-content: center;
}

.section-intro h2,
.section-heading h2 {
  color: var(--forest-deep);
}

.section-intro h2 em,
.section-heading h2 em {
  color: var(--forest-soft);
}

.section-intro .narrow-center > p:last-child {
  max-width: 700px;
  margin: 28px auto 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 740px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.feature-section {
  padding-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--mint-light);
  content: "";
  opacity: 0.7;
}

.feature-card:nth-child(2)::after,
.feature-card:nth-child(5)::after {
  background: var(--water);
}

.feature-card:nth-child(3)::after,
.feature-card:nth-child(4)::after {
  background: var(--gold-light);
}

.feature-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #8b9790;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 60px;
  place-items: center;
  border-radius: 17px;
  background: var(--forest);
  color: var(--mint);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: #215e70;
  color: var(--water);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background: #7a5620;
  color: var(--gold-light);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--forest-deep);
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* Battery story band */

.story-section {
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}

.story-grid,
.auto-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 110px;
}

.story-copy h2 em {
  color: var(--mint);
}

.story-copy > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.check-list span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(166, 216, 181, 0.14);
  color: var(--mint);
  font-weight: 800;
}

.gps-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.gps-panel::before {
  position: absolute;
  top: -120px;
  right: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(166, 216, 181, 0.2);
  border-radius: 50%;
  content: "";
}

.gps-panel-title {
  position: relative;
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gps-modes {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gps-mode {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.gps-mode.is-selected {
  border-color: var(--gold);
  background: var(--white);
  color: var(--forest-deep);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.gps-mode-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(166, 216, 181, 0.14);
  color: var(--mint);
}

.gps-mode.is-selected .gps-mode-icon {
  background: var(--gold-light);
  color: #7a5620;
}

.gps-mode-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.gps-mode strong,
.gps-mode small {
  display: block;
  line-height: 1.35;
}

.gps-mode strong {
  font-size: 16px;
}

.gps-mode small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.gps-mode.is-selected small {
  color: var(--ink-soft);
}

.gps-meter {
  display: flex;
  gap: 3px;
}

.gps-meter i {
  width: 6px;
  height: 18px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.gps-meter i.on {
  background: var(--mint);
}

.gps-mode.is-selected .gps-meter i {
  background: var(--line);
}

.gps-mode.is-selected .gps-meter i.on {
  background: var(--forest);
}

.gps-panel-note {
  position: relative;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* Android Auto band */

.auto-section {
  overflow: hidden;
  background: var(--water);
}

.auto-grid {
  grid-template-columns: minmax(420px, 1.15fr) minmax(340px, 0.85fr);
}

.auto-section .story-copy h2 {
  color: var(--forest-deep);
}

.auto-section .story-copy h2 em {
  color: #296c80;
}

.auto-section .story-copy > p:not(.eyebrow) {
  color: #405b64;
}

.car-display {
  position: relative;
  padding: 16px;
  border-radius: 34px;
  background: #0d1512;
  box-shadow: 0 30px 70px rgba(18, 52, 64, 0.28);
}

.car-screen {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  aspect-ratio: 19 / 9;
  container-type: inline-size;
}

.car-screen > img,
.car-screen > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.car-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: 9%;
  align-content: center;
  justify-items: center;
  gap: 3.2cqw;
  background: rgba(13, 21, 18, 0.92);
}

.car-rail i {
  width: 3.6cqw;
  height: 3.6cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.car-rail i:first-child {
  background: url("/assets/contour-mark.svg") center / contain no-repeat;
  border-radius: 0;
}

.car-card {
  position: absolute;
  top: 6%;
  left: 12%;
  width: 34%;
  padding: 1.8cqw 2.2cqw;
  border-radius: 2.2cqw;
  background: rgba(13, 21, 18, 0.9);
  color: var(--white);
}

.car-card strong,
.car-card small {
  display: block;
  line-height: 1.3;
}

.car-card strong {
  font-size: 2.3cqw;
}

.car-card small {
  margin-top: 0.4cqw;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.7cqw;
}

.car-controls {
  position: absolute;
  right: 3%;
  bottom: 8%;
  display: grid;
  gap: 1.4cqw;
}

.car-controls span {
  display: grid;
  width: 5.6cqw;
  height: 5.6cqw;
  place-items: center;
  border-radius: 50%;
  background: rgba(13, 21, 18, 0.9);
  color: var(--white);
  font-size: 2.8cqw;
  font-weight: 800;
}

.auto-points {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.auto-points > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auto-points b {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(23, 77, 58, 0.2);
  border-radius: 50%;
  color: var(--forest);
  font-size: 13px;
}

.auto-points strong,
.auto-points small {
  display: block;
  line-height: 1.45;
}

.auto-points strong {
  color: var(--forest-deep);
  font-size: 15px;
}

.auto-points small {
  color: #52666d;
  font-size: 13px;
}

/* Map packs */

.packs-section {
  background: var(--canvas);
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pack-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(20, 54, 42, 0.08);
}

.pack-card-featured {
  border-color: rgba(23, 77, 58, 0.35);
  background: var(--mint-light);
}

.pack-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pack-swatch {
  position: relative;
  overflow: hidden;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: var(--paper) url("/assets/topo-phone.svg") 40% 22% / 220px auto no-repeat;
  box-shadow: inset 0 0 0 1px rgba(23, 77, 58, 0.15);
}

.pack-swatch-overlay {
  background: var(--forest);
}

.pack-swatch-overlay::before,
.pack-swatch-overlay::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.pack-swatch-overlay::before {
  inset: 10px;
  border: 2px dashed var(--gold);
}

.pack-swatch-overlay::after {
  top: 22px;
  left: 22px;
  width: 10px;
  height: 10px;
  background: var(--mint);
}

.pack-swatch-import {
  display: grid;
  place-items: center;
  background: #7a5620;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 850;
}

.pack-label {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--gold-light);
  color: #68470f;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pack-card h3 {
  margin: 38px 0 0;
  color: var(--forest-deep);
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.pack-card > p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.pack-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  color: #31473d;
  font-size: 13px;
  font-weight: 680;
  list-style: none;
}

.pack-card li {
  position: relative;
  padding-left: 20px;
}

.pack-card li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.attribution-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: var(--gold-light);
  color: #3f4e47;
  font-size: 14px;
}

.attribution-note strong {
  color: var(--forest-deep);
}

.attribution-note a {
  color: var(--forest-soft);
  font-weight: 700;
}

/* Closing */

.closing-section {
  padding-top: 0;
  background: var(--canvas);
}

.closing-card {
  position: relative;
  overflow: hidden;
  padding: 88px;
  border-radius: 42px;
  background: var(--forest);
  color: var(--white);
  text-align: center;
}

.closing-card::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(166, 216, 181, 0.26);
  border-radius: 50%;
  content: "";
}

.closing-card .eyebrow {
  position: relative;
  z-index: 2;
  justify-content: center;
}

.closing-card h2,
.closing-card p,
.closing-card .button {
  position: relative;
  z-index: 2;
}

.closing-card h2 em {
  color: var(--gold);
}

.closing-card p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px auto 32px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.button-gold {
  background: var(--gold);
  color: var(--forest-deep);
}

.closing-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.closing-contours {
  position: absolute;
  top: -70px;
  left: -90px;
  width: 360px;
  height: 360px;
  opacity: 0.22;
}

.closing-contours path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.5;
}

/* Footer */

.site-footer {
  padding: 60px 0;
  background: var(--forest-deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 34px;
}

.wordmark-footer {
  color: var(--white);
}

.footer-grid > div:first-child p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.footer-note a {
  color: rgba(255, 255, 255, 0.7);
}

/* Privacy policy */

.privacy-page {
  background: var(--white);
}

.privacy-header {
  position: relative;
  background: var(--forest);
}

.privacy-hero {
  padding: 92px 0 78px;
  background: var(--forest);
  color: var(--white);
}

.privacy-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
}

.privacy-hero h1 {
  font-size: clamp(52px, 7vw, 86px);
}

.privacy-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

.policy-meta {
  min-width: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.policy-meta span,
.policy-meta strong,
.policy-meta small {
  display: block;
}

.policy-meta span {
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-meta strong {
  margin-top: 4px;
  font-size: 20px;
}

.policy-meta small {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
  line-height: 1.6;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 88px;
  padding-top: 84px;
  padding-bottom: 110px;
}

.policy-nav {
  position: sticky;
  top: 24px;
  display: flex;
  height: max-content;
  flex-direction: column;
  padding: 20px 0;
  border-top: 2px solid var(--forest);
}

.policy-nav strong {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-nav a {
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--forest);
}

.policy-article section {
  scroll-margin-top: 30px;
  padding: 0 0 64px;
}

.policy-article section + section {
  padding-top: 62px;
  border-top: 1px solid var(--line);
}

.policy-kicker {
  margin: 0 0 10px;
  color: var(--forest-soft);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-article h2 {
  color: var(--forest-deep);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.13;
}

.policy-article h3 {
  margin: 36px 0 8px;
  color: var(--forest-deep);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.policy-article p {
  margin: 20px 0 0;
  color: #3f4e47;
}

.policy-article a:not(.button) {
  color: var(--forest-soft);
  font-weight: 700;
}

.policy-callout {
  margin-top: 30px;
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: var(--gold-light);
}

.policy-callout strong {
  color: var(--forest-deep);
}

.policy-callout p {
  margin-top: 6px;
}

.policy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.policy-cards > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--canvas);
}

.policy-cards h3 {
  margin: 0;
  font-size: 17px;
}

.policy-cards p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
}

.policy-list {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding-left: 22px;
  color: #3f4e47;
}

.policy-list li {
  padding-left: 6px;
}

.policy-list li::marker {
  color: var(--forest-soft);
}

.contact-section {
  margin-top: 4px;
  padding: 44px !important;
  border: 0 !important;
  border-radius: var(--radius);
  background: var(--mint-light);
}

.contact-section .button {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr 390px;
    gap: 30px;
  }

  .floating-note-top {
    right: 0;
  }

  .floating-note-bottom {
    left: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pack-grid {
    grid-template-columns: 1fr;
  }

  .pack-card {
    min-height: auto;
  }

  .story-grid,
  .auto-grid {
    gap: 55px;
  }

  .auto-grid {
    grid-template-columns: 1fr;
  }

  .policy-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 50px;
  }
}

@media (max-width: 800px) {
  .site-header {
    position: relative;
    background: var(--forest);
  }

  .header-inner {
    min-height: 76px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .phone-hero {
    width: 350px;
    margin-bottom: -240px;
  }

  .floating-note-top {
    right: max(0px, calc(50% - 230px));
  }

  .floating-note-bottom {
    left: max(0px, calc(50% - 235px));
  }

  .hero-summary {
    grid-template-columns: 1fr;
  }

  .hero-summary div {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-summary div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 82px 0;
  }

  .closing-section {
    padding-top: 0;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .auto-section .car-display {
    order: 2;
  }

  .privacy-hero-inner {
    grid-template-columns: 1fr;
  }

  .policy-meta {
    width: 100%;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .policy-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 20px;
  }

  .policy-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav .nav-detail {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 490px;
  }

  .phone-hero {
    width: 292px;
    margin-bottom: -190px;
  }

  .floating-note {
    min-width: 170px;
  }

  .floating-note-top {
    top: 215px;
    right: -5px;
  }

  .floating-note-bottom {
    bottom: 40px;
    left: -4px;
  }

  .route-orbit-one {
    right: -160px;
  }

  .hero-summary div {
    padding-inline: 24px;
  }

  .feature-grid,
  .policy-cards {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-icon {
    margin-bottom: 44px;
  }

  .story-grid,
  .auto-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gps-panel {
    padding: 22px 16px;
  }

  .gps-mode {
    gap: 12px;
    padding: 14px;
  }

  .car-display {
    padding: 10px;
    border-radius: 24px;
  }

  .car-screen {
    border-radius: 14px;
  }

  .pack-card {
    padding: 26px 22px;
  }

  .closing-card {
    padding: 68px 24px;
    border-radius: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .policy-layout {
    padding-top: 52px;
  }

  .policy-nav {
    grid-template-columns: 1fr;
  }

  .policy-article section {
    padding-bottom: 46px;
  }

  .policy-article section + section {
    padding-top: 46px;
  }

  .contact-section {
    margin-inline: -4px;
    padding: 30px 22px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
