/* Tokens lifted from lib/theme/tokens.dart so the site and the app are one
     product. Deliberately single-theme light: the app has no dark mode, and a
     site that flips to dark while the app it advertises does not would read as
     two different things. */
:root {
  --cream: #FBFAF7;
  --paper: #FFFFFF;
  --ink: #1A1523;
  --ink-soft: #4B455A;
  --ink-faint: #8B8598;
  --line: #ECEAF2;
  --grape-50: #F5F2FF;
  --grape-200: #D9CCFF;
  --grape-600: #6D28D9;
  --grape-800: #4C1D95;
  --marigold: #FDBA12;
  --marigold-ink: #8A5A00;
  --marigold-50: #FFF6DE;
  --fresh: #059256;
  --fresh-50: #DFF6EA;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--grape-600);
}

.hidden {
  display: none !important;
}

a:focus-visible {
  outline: 2px solid var(--grape-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

/* -- nav ---------------------------------------------------------------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

/* The real brand mark (brand/pados-mark-360.png, the same artwork the app
     and the store icons are generated from) rather than a Devanagari glyph
     standing in for it. object-fit: cover so the badge's own rounded corners
     and the CSS radius agree. */
.mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* :not(.btn) matters. `.nav-links a` is a class PLUS an element, so it
     outranks `.btn-primary`, which is a class alone — the "Open Pados" button
     was rendering dark ink on grape, and unreadable. */
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 9px;
}

.nav-links a:not(.btn):hover {
  background: var(--grape-50);
  color: var(--grape-800);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grape-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--grape-800);
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--grape-200);
}

.nav-links .btn {
  padding: 9px 16px;
  font-size: 14.5px;
}

/* -- hero --------------------------------------------------------------- */
header.hero {
  padding: 54px 0 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--marigold-50);
  color: var(--marigold-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 800;
  max-width: 15ch;
}

.hero .lede {
  margin-top: 18px;
  font-size: clamp(16.5px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 54ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* -- how ---------------------------------------------------------------- */
section {
  padding: 56px 0;
}

.sec-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  max-width: 20ch;
}

.sec-sub {
  margin-top: 12px;
  color: var(--ink-soft);
  max-width: 58ch;
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.step .n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grape-50);
  color: var(--grape-800);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 7px;
}

.step p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* -- split -------------------------------------------------------------- */
.split {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel {
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel.accent {
  background: var(--grape-50);
  border-color: var(--grape-200);
}

.panel h3 {
  font-size: 21px;
  font-weight: 700;
}

.panel p {
  font-size: 15px;
  color: var(--ink-soft);
}

.panel ul {
  margin: 0;
  padding-left: 19px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.panel li {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.panel li::marker {
  color: var(--grape-600);
}

.panel .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  background: var(--fresh-50);
  color: var(--fresh);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

/* -- footer ------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 36px 0 56px;
  color: var(--ink-faint);
  font-size: 14px;
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.foot-links a:hover {
  color: var(--grape-600);
  text-decoration: underline;
}

.foot-legal {
  margin-top: 26px;
  font-size: 13px;
  line-height: 1.7;
}

/* -- rides --------------------------------------------------------------- */

.rides-section {
  padding-top: 64px;
}

.rides-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: stretch;

  padding: 38px;
  border-radius: 24px;

  background:
    linear-gradient(135deg, var(--grape-50), var(--paper));

  border: 1px solid var(--grape-200);
}

.rides-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rides-lede {
  margin-top: 16px;
  max-width: 52ch;

  font-size: 16px;
  color: var(--ink-soft);
}

.rides-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rides-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;

  margin-top: 24px;

  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.ride-route-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;

  padding: 24px;

  box-shadow:
    0 18px 45px rgba(76, 29, 149, 0.08);
}

.route-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.route-seats {
  font-size: 13px;
  font-weight: 700;
  color: var(--grape-600);
}

.route-line {
  margin-top: 28px;
}

.route-stop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.route-stop strong {
  display: block;
  font-size: 15px;
}

.route-stop small {
  display: block;
  margin-top: 2px;

  color: var(--ink-faint);
  font-size: 12px;
}

.route-dot {
  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: var(--fresh);
  box-shadow: 0 0 0 5px var(--fresh-50);

  flex: none;
}

.route-dot.destination {
  background: var(--grape-600);
  box-shadow: 0 0 0 5px var(--grape-50);
}

.route-path {
  width: 2px;
  height: 56px;

  margin: 4px 0 4px 6px;

  background:
    repeating-linear-gradient(to bottom,
      var(--grape-200),
      var(--grape-200) 6px,
      transparent 6px,
      transparent 12px);
}

.ride-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  margin-top: 26px;
  padding-top: 18px;

  border-top: 1px solid var(--line);
}

.ride-meta small {
  display: block;

  color: var(--ink-faint);
  font-size: 11.5px;
}

.ride-meta strong {
  display: block;

  margin-top: 2px;

  font-size: 13.5px;
}

/* -- community services ----------------------------------- */

.services-section {
  padding-top: 64px;
}

.services-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: stretch;

  padding: 38px;
  border-radius: 24px;

  background:
    linear-gradient(135deg, var(--grape-50), var(--paper));

  border: 1px solid var(--grape-200);
}

.services-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-lede {
  margin-top: 16px;
  max-width: 52ch;

  font-size: 16px;
  color: var(--ink-soft);
}

.services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.services-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;

  margin-top: 24px;

  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.service-pool-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;

  box-shadow:
    0 18px 45px rgba(76, 29, 149, 0.08);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-status {
  font-size: 13px;
  font-weight: 700;
  color: var(--fresh);
}

.service-card-body {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-top: 28px;
}

.service-icon {
  display: grid;
  place-items: center;

  width: 54px;
  height: 54px;

  border-radius: 16px;
  background: var(--grape-50);

  font-size: 25px;
  flex: none;
}

.service-card-body small {
  color: var(--ink-faint);
  font-size: 12px;
}

.service-card-body h3 {
  margin: 3px 0 0;
  font-size: 18px;
}

.service-card-body p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

.service-progress {
  margin-top: 26px;
}

.service-progress-top {
  display: flex;
  justify-content: space-between;

  font-size: 12.5px;
  color: var(--ink-soft);
}

.service-progress-top strong {
  color: var(--ink);
}

.service-progress-track {
  height: 8px;
  margin-top: 9px;

  overflow: hidden;
  border-radius: 999px;
  background: var(--grape-50);
}

.service-progress-fill {
  width: 67%;
  height: 100%;

  border-radius: inherit;
  background: var(--grape-600);
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  margin-top: 26px;
  padding-top: 18px;

  border-top: 1px solid var(--line);
}

.service-meta small {
  display: block;
  color: var(--ink-faint);
  font-size: 11.5px;
}

.service-meta strong {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
}

@media (max-width: 760px) {
  .rides-feature,
  .services-feature {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .ride-meta,
  .service-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}