/* flexrides.ca — one stylesheet for every page. Colours are the apps' tokens (packages/tokens). */
:root {
  --ink: #0b0f17;
  --ink-2: #111827;
  --surface: #ffffff;
  --muted-bg: #f3f6f9;
  --line: #e2e8f0;
  --text: #0b0f17;
  --text-2: #475569;
  --teal: #0f766e;
  --teal-dark: #0b5e58;
  --mint: #5eead4;
  --mint-soft: #e1f5ee;
  --on-dark: #f3f4f6;
  --on-dark-2: #c9d1dc;
  --radius: 20px;
  --max: 1120px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
  font-size: 17px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--teal);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(10px);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--on-dark);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand b {
  color: var(--mint);
  font-weight: inherit;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: var(--on-dark-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--on-dark);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn-mint {
  background: var(--mint);
  color: var(--ink);
}
.btn-mint:hover {
  background: #8ff0e0;
}
.btn-ghost {
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1.5px rgba(243, 244, 246, 0.35);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--on-dark);
}
.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover {
  background: var(--teal-dark);
}
.head-cta {
  padding: 9px 18px;
  font-size: 15px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--on-dark);
  padding: 8px;
}

/* Hero */
.hero {
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--mint);
  background: rgba(94, 234, 212, 0.1);
  border-radius: 999px;
  padding: 6px 14px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 18px 0 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero p.lead {
  font-size: 19px;
  color: var(--on-dark-2);
  max-width: 520px;
  margin: 0 0 30px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.store-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--on-dark-2);
}

/* Phone mock-up */
.phone {
  width: min(300px, 100%);
  margin: 0 auto;
  border-radius: 44px;
  padding: 12px;
  background: #1f2633;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.screen {
  border-radius: 34px;
  overflow: hidden;
  background: #0b0f17;
  position: relative;
  aspect-ratio: 9 / 19;
}
.screen .map {
  position: absolute;
  inset: 0 0 42% 0;
  background: url(assets/welcome-dark.png) center / cover;
}
.screen .badge {
  position: absolute;
  top: 18px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1a212e;
  border-radius: 12px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 14px;
}
.screen .badge img {
  width: 20px;
  height: 20px;
}
.screen .badge b {
  color: var(--mint);
}
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 47%;
  background: #0b0f17;
  border-radius: 24px 24px 0 0;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sheet .grab {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: #475569;
  margin: 0 auto 12px;
}
.sheet h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a212e;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 13px;
}
.offer b {
  font-size: 15px;
}
.offer .who {
  color: var(--on-dark-2);
}
.offer .accept {
  background: var(--mint);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: 12px;
}

/* Sections */
section {
  padding: 88px 0;
}
.alt {
  background: var(--muted-bg);
}
.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
.section-head p {
  color: var(--text-2);
  margin: 0;
  font-size: 18px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 18px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.step p {
  margin: 0;
  color: var(--text-2);
}
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  display: flex;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.feature .icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
}
.feature h3 {
  margin: 2px 0 6px;
  font-size: 19px;
}
.feature p {
  margin: 0;
  color: var(--text-2);
}

/* Split band */
.band {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.band h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 14px;
}
.band p {
  color: var(--on-dark-2);
  margin: 0 0 26px;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checks li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b0f17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* Footer */
.site-foot {
  background: var(--ink);
  color: var(--on-dark-2);
  padding: 56px 0 40px;
  font-size: 15px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.site-foot h4 {
  color: var(--on-dark);
  margin: 0 0 12px;
  font-size: 15px;
}
.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-foot a {
  color: var(--on-dark-2);
  text-decoration: none;
}
.site-foot a:hover {
  color: var(--on-dark);
}
.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .nav,
  .head-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    padding: 8px 20px 20px;
  }
  .nav.open a {
    padding: 12px 0;
    font-size: 17px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .steps,
  .features {
    grid-template-columns: 1fr;
  }
  .band {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  section {
    padding: 64px 0;
  }
}

/* Grid children may shrink below their content width on small screens. */
.hero .wrap > *,
.two-col > *,
.band > * {
  min-width: 0;
}

/* Inner pages */
.page-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: 64px 0 56px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 14px 0 14px;
  max-width: 760px;
}
.page-hero p {
  color: var(--on-dark-2);
  font-size: 19px;
  max-width: 640px;
  margin: 0;
}
.page-hero .cta-row {
  margin-top: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.card p {
  margin: 0;
  color: var(--text-2);
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.checks.light li::before {
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checks.light li {
  color: var(--text);
}
.list-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}
.numbered {
  list-style: none;
  counter-reset: n;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.numbered li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.numbered li::before {
  content: counter(n);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mint-soft);
  color: var(--teal);
  font-weight: 800;
}
.numbered b {
  display: block;
}
.numbered span {
  color: var(--text-2);
}
.note {
  background: var(--mint-soft);
  border-radius: 16px;
  padding: 18px 22px;
  color: #0f4f4a;
}
.note.warn {
  background: #fdecec;
  color: #8a1c1c;
}
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--teal);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  margin: 0 0 18px;
  color: var(--text-2);
}
.faq h2 {
  font-size: 26px;
  margin: 28px 0 6px;
  letter-spacing: -0.5px;
}
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin: 44px 0 12px;
}
.prose h3 {
  font-size: 19px;
  margin: 26px 0 8px;
}
.prose p,
.prose li {
  color: #1f2937;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  background: var(--muted-bg);
}
.table-scroll {
  overflow-x: auto;
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.toc a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--muted-bg);
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.contact-grid a.big {
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}
.muted {
  color: var(--text-2);
}

@media (max-width: 860px) {
  .grid-3,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 44px 0 40px;
  }
}
