/* ============================================================
   CommutAble — shared stylesheet
   Base reset, design tokens, and components common to every page.
   Page-specific rules live further down, grouped by page and
   scoped with a body class (e.g. body.page-about) where a shared
   class name needs a different value on that page.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

:root {
  --navy:         #0d2045;
  --green:        #1e4a99;
  --green-light:  #e8f0fb;
  --green-bright: #4a8fe8;
  --white:        #ffffff;
  --off-white:    #f5f7fb;
  --border:       #dde3ef;
  --text:         #0f1d35;
  --text-mid:     #3d4f6b;
  --text-muted:   #7a8ba4;
  --error:        #dc2626;
}

/* ---- Components shared by every page ---- */
body {
  font-family: 'Instrument Sans', sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
.skip {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--green);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
}
.skip:focus {
  top: 0;
}
*:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 3px;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.wrap--narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}
.ann-bar {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: .6rem 2rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.ann-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ann-bar a:hover {
  text-decoration: none;
}
.site-nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 200;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav-logo em {
  font-style: italic;
  color: var(--green);
}
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover {
  color: var(--navy);
}
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: .5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background .15s !important;
}
.nav-cta:hover {
  background: var(--green) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: 7px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--green-light);
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,.06);
}
.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .75rem;
}
.sh {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.sh em {
  font-style: normal;
  color: var(--green);
}
.section-lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 560px;
}
.cta-dark {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,74,153,.2) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-dark-inner {
  position: relative;
}
.eyebrow--light {
  color: var(--green-bright);
}
.cta-dark-h2 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.cta-dark-body {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.cta-dark-btns {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.site-footer {
  background: #070f16;
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,.8);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 2rem;
}
.footer-brand .nav-logo {
  font-size: 1.3rem;
  display: block;
  margin-bottom: .75rem;
  color: #fff;
}
.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-brand .nav-logo em {
  color: var(--green-bright);
}
.footer-col h4 {
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-col a {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .15s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .78rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-wcag {
  font-size: .75rem;
  font-weight: 600;
  color: var(--green-bright);
}
.wrap--mid {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}
.page-header {
  background: var(--navy);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  z-index: 1;
}
.page-h1 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -.035em;
  margin-bottom: 1.25rem;
}
.page-h1 em {
  font-style: normal;
  color: var(--green-bright);
}
.page-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}
.section {
  padding: 3rem 0;
}
.section--shaded {
  background: var(--off-white);
}
.nav-links a[aria-current="page"] {
  font-weight: 700;
  color: var(--navy);
}
.page-meta {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.prose-section {
  padding: 2.5rem 0 3.5rem;
}
.prose {
  max-width: 720px;
}
.prose h2 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.5rem 0 .75rem;
  letter-spacing: -.02em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.prose ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.prose ul li {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: .4rem;
}
.prose a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose strong {
  color: var(--navy);
  font-weight: 600;
}

/* ---- Shared mobile nav (all pages) ---- */
@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ============ PAGE: index.html ============ */
.hero {
  background: var(--off-white);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(30,74,153,.07);
  border: 1px solid rgba(30,74,153,.2);
  color: var(--green);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
.hero-h1 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -.035em;
  margin-bottom: 1rem;
}
.hero-h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.hero-btns {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--navy:hover {
  background: #0a1825;
}
.btn--green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn--green:hover {
  background: #163d8a;
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--green-light);
}
.logo-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
}
.logo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.logo-bar-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.logo-bar-items {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo-item {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .55rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 7px;
  background: rgba(255,255,255,.04);
}
.teaser-section {
  padding: 2rem 0;
}
.teaser-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.teaser-card {
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.teaser-card:hover {
  border-color: var(--green);
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  transform: translateY(-3px);
}
.teaser-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: .25rem;
  flex-shrink: 0;
}
.teaser-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.teaser-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.teaser-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}
.teaser-link {
  font-size: .95rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: .25rem;
}
.quote-section {
  padding: 2rem 0;
  background: var(--off-white);
}
.quote-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.quote-logo {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.quote-text {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  font-style: italic;
  color: var(--navy);
  max-width: 680px;
  line-height: 1.45;
}
.quote-source {
  font-size: .82rem;
  color: var(--text-muted);
}
body.page-index .eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .75rem;
}
body.page-index .sh {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: .75rem;
}
body.page-index .section-lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}
body.page-index .cta-dark {
  background: var(--navy);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.page-index .site-footer {
  background: #070f16;
  padding: 2.5rem 0 1.5rem;
  color: rgba(255,255,255,.8);
}
body.page-index .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
@keyframes blink {
0%,100%{opacity:1} 50%{opacity:.3}
}
@media (max-width: 768px) {
  body.page-index .teaser-grid {
    grid-template-columns: 1fr;
  }
  body.page-index .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body.page-index .hero {
    padding: 2.5rem 0;
  }
  body.page-index .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body.page-index .logo-bar-inner {
    flex-direction: column;
    gap: .9rem;
  }
  body.page-index .logo-bar-items {
    justify-content: center;
    gap: .6rem .75rem;
  }
}
@media (max-width: 480px) {
  body.page-index .hero-h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  body.page-index .hero-h1 br {
    display: none;
  }
}

/* ============ PAGE: about.html ============ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-body p {
  font-size: .97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.team-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}
.team-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.team-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color .15s;
}
.team-card:hover {
  border-color: var(--green);
}
.tc-init {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.tc-role {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green);
  margin-bottom: .2rem;
}
.tc-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .2rem;
}
.tc-qual {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.principles-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}
.principle {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.principle-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  font-size: .95rem;
}
.principle-body {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.founders-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.founders-header .section-lead {
  margin: 0 auto;
}
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.founder-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.founder-top {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.founder-photo {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  background: var(--navy);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.founder-photo--alt {
  background: var(--green);
}
.founder-photo--top {
  object-position: 50% 15%;
}
.founder-id {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.founder-name {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy);
  line-height: 1.3;
}
.founder-role {
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
}
.founder-bio {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
}
@media (max-width: 640px) {
  body.page-about .founders-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  body.page-about .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  body.page-about .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body.page-about .section {
    padding: 2.5rem 0;
  }
  body.page-about .team-cards {
    grid-template-columns: 1fr;
  }
  body.page-about .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============ PAGE: features.html ============ */
.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.features-header .section-lead {
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
}
.feat-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.feat-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.feat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.feat-body {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
}
@media (max-width: 960px) {
  body.page-features .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  body.page-features .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body.page-features .section {
    padding: 4rem 0;
  }
  body.page-features .features-grid {
    grid-template-columns: 1fr;
  }
  body.page-features .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============ PAGE: how-it-works.html ============ */
.journey-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.journey-header .section-lead {
  margin: 0 auto;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.journey-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}
.journey-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.journey-step-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journey-step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey-step-num {
  font-family: 'Instrument Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.journey-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.journey-step-desc {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.65;
}
@media (max-width: 768px) {
  body.page-how-it-works .journey-grid {
    grid-template-columns: 1fr;
  }
}
.benefits-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.benefits-header .section-lead {
  margin: 0 auto;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.benefit-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.benefit-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
}
.benefit-card-body {
  padding: 1.5rem;
}
.benefit-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  line-height: 1.3;
}
.benefit-card-desc {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.cities-strip {
  background: var(--navy);
  padding: 1.25rem 2rem;
  border-radius: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}
.cities-strip strong {
  color: #fff;
  font-weight: 600;
}
.pair-cards {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}
.pair-card {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
}
.pair-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.pair-card-body {
  padding: 1.5rem;
}
.pair-card-plus {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.pair-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.pair-card-desc {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.pair-card-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}
body.page-how-it-works .nav-links a:hover, body.page-how-it-works .nav-links a[aria-current="page"] {
  color: var(--navy);
  font-weight: 500;
}
@media (max-width: 960px) {
  body.page-how-it-works .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  body.page-how-it-works .pair-cards {
    flex-direction: column;
  }
  body.page-how-it-works .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body.page-how-it-works .benefits-grid {
    grid-template-columns: 1fr;
  }
  body.page-how-it-works .section {
    padding: 2.5rem 0;
  }
  body.page-how-it-works .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============ PAGE: contact.html ============ */
.contact-section {
  padding: 3rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: start;
}
.form-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: .5rem;
}
.form-subtitle {
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.form-group:last-of-type {
  margin-bottom: 0;
}
label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
label span {
  color: var(--error);
  margin-left: .1rem;
}
input, select, textarea {
  font-family: 'Instrument Sans', sans-serif;
  font-size: .92rem;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .7rem 1rem;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30,74,153,.12);
}
input::placeholder, textarea::placeholder {
  color: #b0b0a8;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-submit {
  width: 100%;
  margin-top: 1.5rem;
  background: var(--navy);
  color: #fff;
  border: none;
  font-family: 'Instrument Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  padding: .9rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, transform .12s;
  letter-spacing: .01em;
}
.form-submit:hover {
  background: var(--green);
  transform: translateY(-1px);
}
.form-submit:active {
  transform: none;
}
.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .75rem;
  text-align: center;
  line-height: 1.5;
}
.form-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.form-success h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.form-success p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.contact-blurb {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.contact-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.contact-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.contact-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .2rem;
}
.contact-card-desc {
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.contact-card-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--green);
  margin-top: .4rem;
}
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: rgba(255,255,255,.85);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 680px;
  width: calc(100% - 3rem);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  z-index: 9000;
  font-size: .85rem;
  line-height: 1.5;
}
.cookie-banner p {
  flex: 1;
  min-width: 200px;
}
.cookie-banner a {
  color: var(--green-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-btns {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Instrument Sans', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.cookie-btn--accept {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.cookie-btn--accept:hover {
  background: #163d8a;
}
.cookie-btn--decline {
  background: transparent;
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.2);
}
.cookie-btn--decline:hover {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
body.page-contact .sh {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: .75rem;
}
body.page-contact .page-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  body.page-contact .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body.page-contact .contact-section {
    padding: 4rem 0;
  }
  body.page-contact .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  body.page-contact .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============ PAGE: demo.html ============ */
.demo-section {
  background: #0f1623;
  padding: 3.5rem 0 4rem;
}
.demo-context {
  text-align: center;
  margin-bottom: 2rem;
}
.demo-context p {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.phone-wrap {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}
.phone-frame {
  width: 100%;
  max-width: 375px;
  background: #1c1c1e;
  border-radius: 48px;
  padding: 10px;
  box-shadow:
        0 0 0 1px rgba(255,255,255,.08),
        0 30px 80px rgba(0,0,0,.6),
        inset 0 1px 0 rgba(255,255,255,.12);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 100px;
  width: 3px;
  height: 34px;
  background: #2c2c2e;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 44px 0 #2c2c2e;
}
.phone-frame::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 130px;
  width: 3px;
  height: 58px;
  background: #2c2c2e;
  border-radius: 0 3px 3px 0;
}
.phone-screen {
  background: #f2f2f7;
  border-radius: 40px;
  overflow: hidden;
  height: 720px;
  display: flex;
  flex-direction: column;
}
.status-bar {
  background: var(--navy);
  padding: .55rem 1.4rem .3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.status-time {
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.status-icons {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.status-icon {
  font-size: .62rem;
  color: rgba(255,255,255,.8);
}
.app-header {
  background: var(--navy);
  padding: .6rem 1.25rem 1rem;
  flex-shrink: 0;
}
.app-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .6rem;
}
.app-brand {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(255,255,255,.7);
}
.demo-tag {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(74,143,232,.2);
  color: var(--green-bright);
  border: 1px solid rgba(74,143,232,.3);
  padding: .15rem .45rem;
  border-radius: 4px;
}
.journey-pill {
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.jp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  flex-shrink: 0;
}
.jp-dot.dest {
  background: #ff6b6b;
}
.jp-line {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.2);
  margin: 0 .1rem;
}
.jp-stations {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  flex: 1;
}
.jp-station {
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
}
.jp-station.muted {
  color: rgba(255,255,255,.5);
  font-weight: 400;
  font-size: .72rem;
}
.step-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sdot-group {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.sdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all .2s;
}
.sdot.active {
  background: var(--navy);
  width: 20px;
  border-radius: 4px;
}
.sdot.done {
  background: var(--green);
}
.sdot-label {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color .2s;
}
.sdot-label.active {
  color: var(--navy);
  font-weight: 700;
}
.sdot-label.done {
  color: var(--green);
}
.app-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f2f2f7;
}
.demo-panel {
  display: none;
  padding: 1.1rem;
}
.demo-panel.active {
  display: block;
}
.panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .2rem;
}
.panel-sub {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.profile-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1rem;
}
.profile-btn {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  text-align: left;
  font-family: 'Instrument Sans', sans-serif;
  transition: border-color .15s, background .15s;
  position: relative;
}
.profile-btn:hover {
  border-color: var(--green-bright);
}
.profile-btn.selected {
  border-color: var(--navy);
  background: var(--navy);
}
.profile-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.profile-btn.selected .profile-btn-icon {
  background: rgba(255,255,255,.12);
}
.profile-icon-shape {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--green);
  transition: border-color .15s;
}
.profile-btn.selected .profile-icon-shape {
  border-color: rgba(255,255,255,.7);
}
.profile-btn-text {
  flex: 1;
}
.profile-btn-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: .1rem;
  transition: color .15s;
}
.profile-btn.selected .profile-btn-name {
  color: #fff;
}
.profile-btn-desc {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.35;
  transition: color .15s;
}
.profile-btn.selected .profile-btn-desc {
  color: rgba(255,255,255,.5);
}
.profile-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.profile-btn.selected .profile-check {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.4);
}
.profile-btn.selected .profile-check::after {
  content: '';
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.pref-section-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .5rem;
  padding: 0 .1rem;
}
.pref-list {
  list-style: none;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.pref-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  cursor: pointer;
  transition: background .1s;
  border-bottom: 1px solid var(--border);
}
.pref-item:last-child {
  border-bottom: none;
}
.pref-item:hover {
  background: var(--off-white);
}
.pref-label {
  font-size: .83rem;
  color: var(--text-mid);
  flex: 1;
  line-height: 1.35;
}
.pref-item.checked .pref-label {
  color: var(--navy);
}
.pref-toggle {
  width: 34px;
  height: 20px;
  border-radius: 10px;
  background: var(--border);
  flex-shrink: 0;
  position: relative;
  transition: background .2s;
}
.pref-item.checked .pref-toggle {
  background: var(--green);
}
.pref-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.pref-item.checked .pref-toggle::after {
  transform: translateX(14px);
}
.btn-app {
  display: block;
  width: 100%;
  padding: .9rem 1.5rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  text-align: center;
  letter-spacing: .01em;
}
.btn-app:hover {
  background: var(--green);
  transform: translateY(-1px);
}
.btn-app:active {
  transform: translateY(0);
}
.btn-app:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}
.btn-back {
  background: none;
  border: none;
  font-family: 'Instrument Sans', sans-serif;
  font-size: .78rem;
  color: var(--green);
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .2rem;
  font-weight: 600;
}
.btn-back:hover {
  color: var(--navy);
}
.routes-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1rem;
}
.route-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: border-color .15s;
}
.route-card.top-pick {
  border-color: var(--green);
}
.route-head {
  padding: .9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.route-main {
  flex: 1;
  min-width: 0;
}
.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--green);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .18rem .5rem;
  border-radius: 5px;
  margin-bottom: .35rem;
}
.rec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}
.route-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}
.route-chips {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}
.route-chip {
  font-size: .68rem;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: .1rem .4rem;
}
.route-chip.direct {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
  font-weight: 600;
}
.score-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.score-n {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.score-d {
  font-size: .52rem;
  color: var(--text-muted);
}
.sg {
  border-color: #16a34a;
}
.sg .score-n {
  color: #16a34a;
}
.sa {
  border-color: #d97706;
}
.sa .score-n {
  color: #d97706;
}
.sr {
  border-color: #dc2626;
}
.sr .score-n {
  color: #dc2626;
}
.route-features {
  padding: 0 1rem .8rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.route-feature {
  font-size: .76rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  line-height: 1.4;
}
.feat-ok {
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}
.feat-warn {
  color: #d97706;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}
.expand-btn {
  width: 100%;
  padding: .6rem 1rem;
  border: none;
  border-top: 1px solid var(--border);
  background: none;
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  color: var(--green-bright);
  text-align: left;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: background .15s;
}
.expand-btn:hover {
  background: var(--off-white);
}
.journey-steps {
  border-top: 1px solid var(--border);
  padding: .8rem 1rem;
  display: none;
  background: var(--off-white);
}
.journey-steps.open {
  display: block;
}
.jstep {
  display: flex;
  gap: .55rem;
}
.jstep-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 4px;
}
.jdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: #fff;
  flex-shrink: 0;
}
.jdot.ok {
  background: var(--navy);
}
.jdot.warn {
  border-color: #d97706;
  background: #fef3c7;
}
.jdot.travel {
  border-color: #c7d3e8;
  background: #c7d3e8;
  width: 8px;
  height: 8px;
  margin-top: 1px;
}
.jline {
  width: 2px;
  background: #c7d3e8;
  flex: 1;
  margin: 2px 0;
  min-height: 12px;
}
.jbody {
  flex: 1;
  padding-bottom: .7rem;
}
.jstep:last-child .jbody {
  padding-bottom: 0;
}
.jaction {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
}
.jstation {
  font-size: .83rem;
  font-weight: 600;
  color: var(--navy);
}
.jstation.warn {
  color: #d97706;
}
.jdetail {
  font-size: .74rem;
  color: var(--text-mid);
  line-height: 1.4;
}
.restart-row {
  text-align: center;
  padding: .25rem 0 .25rem;
}
.btn-ghost {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .55rem 1.1rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.home-bar {
  background: #f2f2f7;
  padding: .7rem;
  display: flex;
  justify-content: center;
}
.home-indicator {
  width: 120px;
  height: 5px;
  background: #1c1c1e;
  border-radius: 3px;
}
body.page-demo .site-footer {
  background: #070f16;
  padding: 3rem 0 2rem;
  color: rgba(255,255,255,.8);
}
body.page-demo .nav-links a:hover, body.page-demo .nav-links a[aria-current="page"] {
  color: var(--navy);
  font-weight: 500;
}
body.page-demo .page-h1 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.035em;
  margin-bottom: 1rem;
}
body.page-demo .page-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
@media (max-width: 640px) {
  body.page-demo .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============ PAGE: accessibility.html ============ */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.compliance-badge span {
  color: var(--green);
}
body.page-accessibility .site-footer {
  background: #070f16;
  padding: 3rem 0 2rem;
  color: rgba(255,255,255,.8);
}
body.page-accessibility .page-header {
  background: var(--navy);
  padding: 2.5rem 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
body.page-accessibility .page-h1 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
}

/* ============ PAGE: privacy.html ============ */
body.page-privacy .site-footer {
  background: #070f16;
  padding: 3rem 0 2rem;
  color: rgba(255,255,255,.8);
}
body.page-privacy .page-header {
  background: var(--navy);
  padding: 2.5rem 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
body.page-privacy .page-h1 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
}
