@font-face {
  font-family: "Overpass";
  src: url("/assets/overpass-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Overpass";
  src: url("/assets/overpass-extrabold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #082f4d;
  --navy-deep: #041f34;
  --ink: #101922;
  --teal: #006c65;
  --blue: #59c5e8;
  --blue-soft: #d8f2fa;
  --coral: #ff4b3e;
  --cream: #f5e6cf;
  --paper: #fffaf1;
  --muted: #4b6170;
  --line: rgba(8, 47, 77, 0.25);
  --page: min(1240px, calc(100% - 48px));
  font-family: "Overpass", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

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

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--paper);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 5;
  width: var(--page);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.vereda-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.vereda-wordmark::before {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  content: "";
  background: url("/assets/vereda-mark.svg") center / contain no-repeat;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 16px;
  color: var(--paper);
  background: var(--navy);
}

.site-nav .nav-cta:hover {
  color: var(--navy);
  background: var(--blue);
  text-decoration: none;
}

main {
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero {
  width: var(--page);
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
  margin: 0 auto;
  padding: 78px 0 110px;
}

.home-hero h1,
.timbre-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(4.25rem, 8.4vw, 8.2rem);
  font-weight: 800;
  letter-spacing: -0.078em;
  line-height: 0.88;
}

.home-hero h1 span,
.timbre-hero h1 span {
  color: var(--teal);
}

.hero-copy,
.section-copy {
  position: relative;
  z-index: 2;
}

.lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.34rem);
  line-height: 1.6;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  color: var(--paper);
  border: 2px solid var(--navy);
  background: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: var(--navy);
  border-color: var(--blue);
  background: var(--blue);
}

.button.secondary {
  color: var(--navy);
  background: transparent;
}

.button.secondary:hover {
  color: var(--paper);
  border-color: var(--navy);
  background: var(--navy);
}

.button .arrow {
  color: var(--blue);
  font-size: 1.2rem;
}

.hero-route {
  position: relative;
  min-height: 500px;
  border-left: 1px solid var(--line);
}

.hero-route svg {
  position: absolute;
  inset: 0 0 0 24px;
  width: calc(100% - 24px);
  height: 100%;
  overflow: visible;
}

.route-label {
  position: absolute;
  z-index: 2;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-label.top {
  top: 6%;
  right: 2%;
}

.route-label.bottom {
  right: 0;
  bottom: 6%;
}

.home-page {
  background: var(--navy);
}

.home-page .site-header {
  border-color: rgba(216, 242, 250, 0.25);
}

.home-page .vereda-wordmark,
.home-page .site-nav a {
  color: var(--paper);
}

.home-page .vereda-wordmark::before {
  background-image: url("/assets/vereda-mark-reversed.svg");
}

.home-page .site-nav .nav-cta {
  color: var(--navy);
  background: var(--cream);
}

.home-page .site-nav .nav-cta:hover {
  color: var(--navy);
  background: var(--blue);
}

.home-page .home-hero {
  min-height: 760px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  color: var(--paper);
  background: var(--navy);
}

.home-page .home-hero h1 {
  max-width: 820px;
  color: var(--paper);
  font-size: clamp(4rem, 7vw, 6.8rem);
}

.home-page .home-hero .eyebrow,
.home-hero-modes {
  color: var(--blue);
}

.home-hero-modes {
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page .home-hero .lede {
  max-width: 680px;
  color: #d4e3eb;
}

.home-page .home-hero-button {
  color: var(--navy);
  border-color: var(--cream);
  background: var(--cream);
}

.home-brand-visual {
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 42px;
  border-left: 1px solid rgba(216, 242, 250, 0.25);
}

.home-brand-mark {
  width: min(320px, 76%);
  aspect-ratio: 1;
  background: url("/assets/vereda-mark-reversed.svg") center / contain no-repeat;
}

.home-brand-modes {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-product {
  color: var(--paper);
  background: var(--navy);
}

.home-product-inner,
.section-inner {
  width: var(--page);
  margin: 0 auto;
}

.home-product-inner {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
  padding: 110px 0;
}

.product-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.product-kicker::before {
  width: 42px;
  height: 4px;
  content: "";
  background: var(--coral);
}

.home-product h2,
.section-title {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.9;
}

.home-product .lede {
  color: #d6e5ed;
}

.home-product .button {
  color: var(--navy);
  border-color: var(--cream);
  background: var(--cream);
}

.home-product .button:hover {
  color: var(--navy);
  border-color: var(--blue);
  background: var(--blue);
}

.departure-diagram {
  position: relative;
  min-height: 440px;
  padding: 54px 0;
  border-top: 1px solid rgba(216, 242, 250, 0.3);
  border-bottom: 1px solid rgba(216, 242, 250, 0.3);
}

.departure-time {
  margin: 0;
  color: var(--cream);
  font-size: clamp(5.6rem, 11vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.departure-time small {
  color: var(--blue);
  font-size: 0.28em;
  letter-spacing: -0.02em;
}

.departure-caption {
  margin: 20px 0 72px;
  color: #bcd1dc;
  font-size: 1rem;
}

.departure-line {
  position: relative;
  height: 8px;
  margin: 0 18px;
  background: var(--blue);
}

.departure-line::before,
.departure-line::after {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  content: "";
  border: 6px solid var(--navy);
  background: var(--cream);
  transform: translateY(-50%) rotate(45deg);
}

.departure-line::before {
  left: -10px;
}

.departure-line::after {
  right: -10px;
  background: var(--coral);
}

.departure-endpoints {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  color: #d8e7ee;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.benefit-section {
  padding: 120px 0;
  background: var(--cream);
}

.benefit-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(400px, 1.12fr);
  gap: clamp(54px, 10vw, 150px);
  align-items: start;
}

.benefit-layout h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.067em;
  line-height: 0.94;
}

.benefit-copy {
  max-width: 680px;
  padding-top: 8px;
}

.benefit-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.modes-type {
  display: grid;
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.modes-type span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.7rem, 3vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.modes-type small {
  color: var(--teal);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beta-strip {
  color: var(--paper);
  background: var(--teal);
}

.beta-strip .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding: 74px 0;
}

.beta-strip h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.beta-strip p {
  max-width: 650px;
  margin: 18px 0 0;
  color: #d6f0ee;
  line-height: 1.6;
}

.beta-label {
  min-width: 210px;
  padding: 18px 22px;
  color: var(--navy);
  border: 2px solid var(--cream);
  background: var(--cream);
  font-weight: 800;
  text-align: center;
}

.site-footer {
  color: var(--cream);
  background: var(--navy-deep);
}

.footer-inner {
  width: var(--page);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  margin: 0 auto;
  padding: 60px 0 34px;
}

.footer-wordmark {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.footer-copy {
  max-width: 520px;
  margin: 10px 0 0;
  color: #a9bdc9;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 5px;
}

.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--blue-soft);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  color: #8198a7;
  border-top: 1px solid rgba(245, 230, 207, 0.18);
  font-size: 0.76rem;
}

/* Timbre page */
.timbre-shell {
  color: var(--paper);
  background: var(--navy);
}

.timbre-shell .site-header {
  border-color: rgba(216, 242, 250, 0.25);
}

.timbre-shell .vereda-wordmark,
.timbre-shell .site-nav a {
  color: var(--paper);
}

.timbre-shell .vereda-wordmark::before {
  background-image: url("/assets/vereda-mark-reversed.svg");
}

.timbre-shell .site-nav .nav-cta {
  color: var(--navy);
  background: var(--cream);
}

.timbre-hero {
  width: var(--page);
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
  margin: 0 auto;
  padding: 74px 0 110px;
}

.timbre-hero h1 {
  color: var(--paper);
}

.timbre-hero h1 span {
  color: var(--blue);
}

.timbre-hero .lede {
  color: #d4e3eb;
}

.timbre-lockup {
  width: min(300px, 70vw);
  height: auto;
  margin-bottom: 42px;
  object-fit: contain;
}

.time-poster {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: center;
  border-left: 1px solid rgba(216, 242, 250, 0.32);
}

.time-poster strong {
  display: block;
  margin-left: 44px;
  color: var(--cream);
  font-size: clamp(8rem, 18vw, 17rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.72;
}

.time-poster span {
  margin: 28px 0 0 52px;
  color: var(--blue);
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.time-poster::after {
  position: absolute;
  right: 2%;
  bottom: 17%;
  width: 68%;
  height: 8px;
  content: "";
  background: var(--coral);
  transform: skewX(-26deg);
}

.saved-trip {
  padding: 120px 0;
  background: var(--paper);
}

.saved-trip-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(460px, 1.2fr);
  gap: clamp(54px, 10vw, 150px);
}

.saved-trip h2,
.messenger-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.2rem, 6.8vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.trip-details {
  display: grid;
  border-top: 1px solid var(--line);
}

.trip-detail {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.trip-detail strong {
  color: var(--navy);
  font-size: 1rem;
}

.trip-detail span {
  color: var(--muted);
  line-height: 1.55;
}

.network-section {
  color: var(--navy);
  background: var(--blue-soft);
}

.network-section .section-inner {
  padding: 110px 0;
}

.network-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(400px, 1.05fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
}

.network-intro h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.network-intro p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.network-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 78px;
  border-top: 8px solid var(--navy);
}

.network-line span {
  position: relative;
  padding-top: 30px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.network-line span::before {
  position: absolute;
  top: -18px;
  left: 0;
  width: 28px;
  height: 28px;
  content: "";
  border: 7px solid var(--blue-soft);
  background: var(--teal);
  transform: rotate(45deg);
}

.network-line span:nth-child(2)::before {
  background: var(--navy);
}

.network-line span:nth-child(3)::before {
  background: var(--coral);
}

.messenger-section {
  padding: 120px 0;
  background: var(--cream);
}

.messenger-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(54px, 10vw, 150px);
  align-items: center;
}

.messenger-copy p {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.message-path {
  position: relative;
  min-height: 300px;
  border-left: 1px solid var(--line);
}

.message-path::before {
  position: absolute;
  top: 24%;
  left: 0;
  width: 78%;
  height: 8px;
  content: "";
  background: var(--blue);
  transform: rotate(-7deg);
  transform-origin: left center;
}

.message-path::after {
  position: absolute;
  right: 12%;
  bottom: 24%;
  width: 70px;
  height: 70px;
  content: "";
  border: 14px solid var(--navy);
  border-top-color: var(--blue);
  border-right-color: var(--coral);
  transform: rotate(45deg);
}

/* Message-first Timbre page */
.message-first-hero {
  width: var(--page);
  min-height: 780px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(46px, 6vw, 86px);
  margin: 0 auto;
  padding: 72px 0 108px;
}

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

.message-first-intro h1 {
  max-width: 680px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.2rem, 5.2vw, 5.65rem);
  font-weight: 800;
  letter-spacing: -0.068em;
  line-height: 0.95;
}

.hero-modes {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.message-first-support .lede {
  max-width: 620px;
  color: #d4e3eb;
}

.button.light {
  color: var(--navy);
  border-color: var(--cream);
  background: var(--cream);
}

.button.light:hover {
  color: var(--navy);
  border-color: var(--blue);
  background: var(--blue);
}

.product-message {
  width: min(100%, 570px);
  justify-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.message-sender {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  color: #bad0dc;
  font-size: 0.78rem;
}

.message-sender-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border-radius: 11px;
  background: var(--blue);
  font-weight: 800;
}

.message-sender strong,
.message-sender small {
  display: block;
}

.message-sender strong {
  color: var(--paper);
  font-size: 0.94rem;
}

.message-sender small {
  margin-top: 2px;
  color: #9eb7c5;
}

.message-bubble {
  padding: 24px 24px 18px;
  color: var(--ink);
  border-radius: 20px 20px 20px 6px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.message-bubble p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.48;
}

.message-bubble p:last-of-type {
  margin-bottom: 0;
}

.message-bubble .message-updated {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.75rem;
}

.message-bubble strong {
  color: var(--navy);
}

.message-bubble time {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: right;
}

.message-example-note {
  margin: 13px 2px 0;
  color: #acc2ce;
  font-size: 0.74rem;
  line-height: 1.45;
}

.how-section {
  padding: 116px 0;
  background: var(--cream);
}

.how-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(450px, 1.2fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
}

.how-intro h2,
.route-detail-head h2,
.modes-layout h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.1rem, 6.3vw, 6.3rem);
  font-weight: 800;
  letter-spacing: -0.068em;
  line-height: 0.94;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 76px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px 28px 30px 0;
}

.how-steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.how-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.how-steps strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
}

.how-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.route-detail-section {
  padding: 116px 0 104px;
  background: var(--paper);
}

.route-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
}

.route-detail-head > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.65;
}

.example-tabs {
  display: flex;
  gap: 8px;
  margin-top: 62px;
}

.example-tabs button {
  min-height: 46px;
  padding: 10px 18px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.example-tabs button:hover {
  background: var(--blue-soft);
}

.example-tabs button[aria-selected="true"] {
  color: var(--paper);
  border-color: var(--navy);
  background: var(--navy);
}

.route-example {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.route-map-wrap {
  position: relative;
  min-height: 560px;
  border-right: 1px solid var(--line);
}

#route-map {
  position: absolute;
  inset: 0;
  background: var(--blue-soft);
}

#route-map.map-unavailable {
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.route-map-caption {
  position: absolute;
  z-index: 600;
  top: 18px;
  left: 18px;
  max-width: calc(100% - 36px);
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid rgba(8, 47, 77, 0.14);
  background: rgba(255, 250, 241, 0.95);
  box-shadow: 0 8px 25px rgba(8, 47, 77, 0.12);
}

.route-map-caption strong,
.route-map-caption span {
  display: block;
}

.route-map-caption strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.route-map-caption span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.route-facts {
  align-self: center;
  padding: 42px 38px;
}

.route-example-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-facts h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.route-facts dl {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.route-facts dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.route-facts dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.route-facts dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.38;
}

.route-timing {
  margin-top: 34px;
}

.route-timing-title {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-timing ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-timing li {
  position: relative;
  min-height: 48px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 7px 0 11px 24px;
}

.route-timing li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
  content: "";
}

.route-timing li:not(:last-child)::after {
  position: absolute;
  top: 25px;
  bottom: -3px;
  left: 5px;
  width: 1px;
  background: var(--line);
  content: "";
}

.route-timing time {
  color: var(--navy);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.route-timing span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.route-timing li:first-child time,
.route-timing li:last-child time {
  color: var(--teal);
}

.route-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.route-marker,
.route-bus-marker {
  display: grid;
  place-items: center;
  border: 3px solid var(--paper);
  box-shadow: 0 4px 13px rgba(8, 47, 77, 0.25);
}

.route-marker {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
}

.route-marker.stop {
  width: 27px;
  height: 27px;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(89, 197, 232, 0.27), 0 4px 13px rgba(8, 47, 77, 0.22);
}

.route-bus-marker {
  width: 38px;
  height: 38px;
  color: var(--paper);
  border-radius: 10px;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
}

.timbre-page .leaflet-tooltip {
  border: 0;
  border-radius: 8px;
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(8, 47, 77, 0.18);
  font-family: "Overpass", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
}

.timbre-page .leaflet-control-attribution {
  font-size: 0.58rem;
}

.modes-section {
  padding: 105px 0;
  color: var(--paper);
  background: var(--teal);
}

.modes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
}

.modes-layout h2 {
  color: var(--paper);
}

.modes-layout .eyebrow {
  color: var(--blue-soft);
}

.modes-layout > p {
  margin: 0 0 8px;
  color: #d9f1ee;
  font-size: 1.14rem;
  line-height: 1.65;
}

.city-modes-section {
  padding: 112px 0 104px;
  color: var(--paper);
  background: var(--navy);
}

.city-modes-head,
.trust-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
}

.city-modes-head h2,
.trust-head h2 {
  margin: 0;
  font-size: clamp(3.1rem, 6.3vw, 6.3rem);
  font-weight: 800;
  letter-spacing: -0.068em;
  line-height: 0.94;
}

.city-modes-head .eyebrow {
  color: var(--blue);
}

.city-modes-head > p {
  margin: 0 0 8px;
  color: #d4e3eb;
  font-size: 1.14rem;
  line-height: 1.65;
}

.transit-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 62px;
}

.transit-photo-card {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(216, 242, 250, 0.25);
  background: var(--navy-deep);
}

.transit-photo-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.transit-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transit-photo-card:nth-child(2) img {
  object-position: center;
}

.transit-photo-card figcaption {
  min-height: 118px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
}

.transit-photo-card figcaption > span:first-child,
.transit-photo-card figcaption strong,
.transit-photo-card figcaption small {
  display: block;
}

.transit-photo-card figcaption strong {
  color: var(--paper);
  font-size: 1.3rem;
}

.transit-photo-card figcaption small {
  margin-top: 2px;
  color: #acc2ce;
  font-size: 0.75rem;
}

.photo-credit,
.photo-license-note {
  color: #8fa8b6;
  font-size: 0.68rem;
  line-height: 1.5;
}

.photo-credit a,
.photo-license-note a {
  color: var(--blue-soft);
  text-underline-offset: 3px;
}

.photo-license-note {
  margin: 18px 0 0;
}

.trust-faq-section {
  padding: 116px 0 124px;
  background: var(--cream);
}

.trust-head h2 {
  color: var(--navy);
}

.trust-head > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.65;
}

.trust-faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
  margin-top: 72px;
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.trust-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) 1fr;
  gap: 24px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.trust-list strong {
  color: var(--navy);
}

.trust-list span {
  color: var(--muted);
  line-height: 1.5;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 50px 23px 0;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  content: "+";
  color: var(--paper);
  background: var(--navy);
  font-size: 1rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--teal);
}

.faq-list details p {
  max-width: 650px;
  margin: -2px 48px 24px 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 920px) {
  .home-hero,
  .home-product-inner,
  .benefit-layout,
  .timbre-hero,
  .saved-trip-layout,
  .network-intro,
  .messenger-layout {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .timbre-hero {
    min-height: 0;
    padding-top: 58px;
  }

  .home-page .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-brand-visual {
    width: min(640px, 95%);
    min-height: 360px;
    grid-template-columns: minmax(180px, 1fr) auto;
    margin: 0 auto;
    padding-top: 48px;
    border-top: 1px solid rgba(216, 242, 250, 0.25);
    border-left: 0;
  }

  .home-brand-mark {
    width: min(260px, 72%);
  }

  .hero-route {
    width: min(640px, 95%);
    min-height: 430px;
    margin: 0 auto;
  }

  .home-product-inner {
    min-height: 0;
  }

  .departure-diagram {
    min-height: 400px;
  }

  .beta-strip .section-inner {
    grid-template-columns: 1fr;
  }

  .beta-label {
    justify-self: start;
  }

  .time-poster {
    min-height: 430px;
  }

  .network-intro {
    align-items: start;
  }

  .trip-details {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --page: min(100% - 24px, 1240px);
  }

  .site-header {
    align-items: flex-start;
    padding: 17px 0;
  }

  .vereda-wordmark {
    margin-top: 6px;
    font-size: 0.78rem;
  }

  .vereda-wordmark::before {
    width: 32px;
    height: 32px;
  }

  .site-nav {
    align-items: flex-end;
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    min-height: 37px;
    padding: 6px 8px;
    font-size: 0.78rem;
  }

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

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

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .home-hero,
  .timbre-hero {
    gap: 58px;
    padding: 48px 0 78px;
  }

  .home-hero h1,
  .timbre-hero h1 {
    font-size: clamp(3.55rem, 18vw, 5.7rem);
  }

  .home-page .home-hero h1 {
    font-size: clamp(3rem, 14.4vw, 4.35rem);
  }

  .home-brand-visual {
    min-height: 300px;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 38px;
  }

  .home-brand-mark {
    width: min(220px, 62vw);
  }

  .home-brand-modes {
    grid-template-columns: repeat(3, auto);
    gap: 18px;
    font-size: 0.64rem;
  }

  .hero-route {
    min-height: 330px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-route svg {
    inset: 18px 0 0;
    width: 100%;
    height: calc(100% - 18px);
  }

  .route-label.top {
    top: 8%;
  }

  .home-product-inner,
  .benefit-section,
  .saved-trip,
  .network-section .section-inner,
  .messenger-section {
    padding: 78px 0;
  }

  .home-product h2,
  .section-title,
  .benefit-layout h2,
  .saved-trip h2,
  .network-intro h2,
  .messenger-section h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .departure-diagram {
    min-height: 340px;
    padding: 40px 0;
  }

  .departure-time {
    font-size: clamp(5.4rem, 29vw, 8rem);
  }

  .departure-caption {
    margin-bottom: 62px;
  }

  .modes-type span {
    font-size: 1.7rem;
  }

  .beta-strip .section-inner {
    padding: 60px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .footer-base {
    grid-column: auto;
    flex-direction: column;
  }

  .timbre-lockup {
    width: min(260px, 72vw);
    margin-bottom: 32px;
  }

  .time-poster {
    min-height: 320px;
    border-left: 0;
    border-top: 1px solid rgba(216, 242, 250, 0.3);
  }

  .time-poster strong {
    margin-left: 0;
    font-size: clamp(8rem, 46vw, 12rem);
  }

  .time-poster span {
    margin-left: 6px;
  }

  .trip-detail {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .network-line {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-left: 12px;
    padding-left: 26px;
    border-top: 0;
    border-left: 8px solid var(--navy);
  }

  .network-line span {
    padding: 0;
  }

  .network-line span::before {
    top: 1px;
    left: -44px;
  }

  .message-path {
    min-height: 230px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 920px) {
  .message-first-hero,
  .how-intro,
  .route-detail-head,
  .route-example,
  .modes-layout,
  .city-modes-head,
  .trust-head,
  .trust-faq-layout {
    grid-template-columns: 1fr;
  }

  .message-first-hero {
    min-height: 0;
    padding-top: 58px;
  }

  .product-message {
    width: min(100%, 560px);
    justify-self: start;
  }

  .how-intro,
  .route-detail-head,
  .modes-layout,
  .city-modes-head,
  .trust-head {
    align-items: start;
  }

  .trust-faq-layout {
    margin-top: 54px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .how-steps li,
  .how-steps li + li {
    padding: 24px 0;
    border-left: 0;
  }

  .how-steps li + li {
    border-top: 1px solid var(--line);
  }

  .route-detail-head > p {
    max-width: 680px;
  }

  .route-map-wrap {
    min-height: 450px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-facts {
    padding: 36px 30px 42px;
  }
}

@media (max-width: 640px) {
  .message-first-hero {
    gap: 38px;
    padding: 46px 0 72px;
  }

  .message-first-copy {
    display: contents;
  }

  .message-first-intro {
    order: 1;
  }

  .product-message {
    order: 2;
  }

  .message-first-support {
    order: 3;
  }

  .message-first-intro h1 {
    font-size: clamp(3rem, 14.4vw, 4.35rem);
  }

  .message-first-support .lede {
    margin-top: 0;
    font-size: 1rem;
  }

  .hero-modes {
    margin-bottom: 16px;
    font-size: 0.68rem;
  }

  .product-message {
    padding: 13px;
    border-radius: 20px;
  }

  .message-bubble {
    padding: 19px 18px 16px;
  }

  .message-bubble p {
    font-size: 0.94rem;
  }

  .how-section,
  .route-detail-section,
  .modes-section,
  .city-modes-section,
  .trust-faq-section {
    padding: 76px 0;
  }

  .how-intro h2,
  .route-detail-head h2,
  .modes-layout h2,
  .city-modes-head h2,
  .trust-head h2 {
    font-size: clamp(2.9rem, 13.3vw, 4.2rem);
  }

  .transit-photo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 44px;
  }

  .transit-photo-card figcaption {
    min-height: 0;
  }

  .trust-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .faq-list summary {
    font-size: 1.05rem;
  }

  .faq-list details p {
    margin-right: 26px;
  }

  .example-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 44px;
  }

  .example-tabs button {
    min-width: 0;
    padding-inline: 8px;
    font-size: 0.82rem;
  }

  .route-map-wrap {
    min-height: 340px;
  }

  .route-map-caption {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
  }

  .route-facts {
    padding: 30px 20px 34px;
  }

  .route-facts dl div {
    grid-template-columns: 72px 1fr;
  }

  .timbre-page .leaflet-tooltip,
  .timbre-page .leaflet-control-zoom {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
