/* ==========================================================================
   Ridsz — Coming soon page
   Figma: Landing Page › "Comming soon page" (node 336:427), 1440px frame.
   Values at ≥1200px are taken 1:1 from Figma; smaller screens scale fluidly.
   Loaded only on the "Coming soon" page template (main.css is not loaded there).
   ========================================================================== */

/* ---------- Fonts (self-hosted; Latin + the few symbols the design uses) ----------
   Preloaded, and the first paint waits for them (font gate in inc/enqueue.php), so the brand fonts
   are in place before anything shows — no swap, no layout shift. "swap" only matters if the 1.5s
   gate times out on a very slow connection: then text shows at once and the font follows.
   Each family's faces must declare the same weight range, or Chrome treats them as separate
   groups and may pick the symbols-only file for all text. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-symbols.woff2") format("woff2");
  unicode-range: U+2192, U+2197;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/inter-symbols.woff2") format("woff2");
  unicode-range: U+2192, U+2197, U+2661, U+2713;
}
/* ---------- Tokens ---------- */
:root {
  color-scheme: light; /* the design has no dark variant */

  --cs-green: #1cc98b;          /* brand buttons, hero accent */
  --cs-green-2: #00d29c;        /* section accents, checks, bars */
  --cs-green-soft: #76eac6;
  --cs-ink: #090f0b;            /* hero title */
  --cs-ink-2: #071b20;          /* text on light sections */
  --cs-ink-3: #030c07;          /* text on green */
  --cs-muted: #545d58;
  --cs-deep: #071b20;           /* driver section */
  --cs-deep-2: #061a1d;         /* people section */
  --cs-deep-3: #061b1d;         /* footer */
  --cs-mint-bg: #e8faf5;        /* app section */
  --cs-line: #e1e5e2;

  --f-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-inter: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --cs-gutter: 24px;
  --cs-container: 1164px;       /* 1440 frame with 138px side margins */
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; } /* clears the fixed header */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.cs-page {
  position: relative;
  margin: 0;
  min-width: 280px;
  background: #fff;
  color: var(--cs-ink-2);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Hero background: Figma "Section" 336:429 — two radial glows over a soft vertical fade, 918px tall. */
body.cs-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 918px;
  background:
    radial-gradient(120% 826.2px at 12% 0, rgba(28, 201, 139, 0.22) 0%, rgba(28, 201, 139, 0) 58%),
    radial-gradient(90% 642.6px at 96% 73.44px, rgba(28, 201, 139, 0.12) 0%, rgba(28, 201, 139, 0) 62%),
    linear-gradient(180deg, #f8fbf9 0%, #fff 70%);
  pointer-events: none;
}

/* Reset inside :where() so it has zero specificity and never beats a component's own margins. */
:where(.cs-page) :where(h1, h2, h3, p, ul) { margin: 0; }
:where(.cs-page) :where(ul) { padding: 0; list-style: none; }
:where(.cs-page) :where(img, picture) { display: block; max-width: 100%; }
:where(.cs-page) :where(a) { color: inherit; text-decoration: none; }
:where(.cs-page) :where(button, input) { font: inherit; color: inherit; }

.cs-page :focus-visible { outline: 2px solid var(--cs-green); outline-offset: 3px; border-radius: 6px; }

.cs-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--cs-ink-2); color: #fff; font-weight: 600; font-size: 14px;
}
.cs-skip:focus { top: 16px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.cs-container {
  position: relative;
  max-width: calc(var(--cs-container) + 2 * var(--cs-gutter));
  margin-inline: auto;
  padding-inline: max(var(--cs-gutter), env(safe-area-inset-left)) max(var(--cs-gutter), env(safe-area-inset-right));
}

.cs-accent { color: var(--cs-green-2); }

/* Section label ("FOR DRIVERS", "FOR RIDERS", "ON THE WAY") */
.cs-kicker {
  font-size: 12px;
  font-weight: 800;
  line-height: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Section title (62px in Figma) */
.cs-h2 {
  padding-top: 15px;
  font-size: clamp(2.375rem, 1.6rem + 3.2vw, 3.875rem);
  font-weight: 700;
  line-height: 1.02;            /* 63.24 / 62 */
  letter-spacing: -0.06em;      /* -3.72px */
  word-spacing: 0.12em;         /* Figma headings use double spaces between words */
}

.cs-text {
  padding-top: 22px;
  font-size: 16px;
  line-height: 26.4px;
}

/* Tick list */
.cs-checks { padding: 23px 0 28px; }
.cs-checks li {
  display: flex;
  gap: 11px;
  font-size: 16px;
  line-height: 20px;
}
.cs-checks li + li { margin-top: 12px; }
.cs-checks li::before {
  content: "✓";
  content: "✓" / "";            /* decorative: hidden from screen readers where supported */
  display: grid;
  place-items: center;
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--cs-green-2);
  font-family: var(--f-inter);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

/* Pill button (section CTAs) */
.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  min-height: 50px;
  padding: 15px 26px;
  border-radius: 99px;
  background: var(--cs-green);
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}
.cs-btn:hover { background: #18b67e; }
.cs-btn:active { transform: translateY(1px); }
.cs-btn--strong { font-weight: 800; color: #06251f; }

/* ==========================================================================
   Header (Figma 336:430)
   ========================================================================== */
/* Fixed bar. At the top it is transparent; once the page scrolls it becomes the white pill from
   Figma "Nav" (341:1403, "While scrolling down"). Both states share the same 46.8px centre line,
   so nothing moves when it changes. */
.cs-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px max(var(--cs-gutter), env(safe-area-inset-right)) 0 max(var(--cs-gutter), env(safe-area-inset-left));
  pointer-events: none;         /* only the bar itself takes clicks */
}
.cs-header__inner {
  display: grid;
  grid-template-columns: 123.15px 1fr 230.65px;
  column-gap: 16px;
  align-items: center;
  max-width: 1136px;            /* 1200 container − 2 × 32 */
  height: 61.6px;
  margin-inline: auto;
  padding-inline: 20px;
  border: 0.8px solid transparent;
  border-radius: 51px;
  pointer-events: auto;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cs-header.is-scrolled .cs-header__inner {
  background: #fff;
  box-shadow: 0 12px 32px -18px rgba(9, 15, 11, 0.22), 0 1px 2px rgba(9, 15, 11, 0.04);
}
@media (prefers-reduced-motion: reduce) { .cs-header__inner { transition: none; } }
.cs-logo { display: block; width: 123.15px; margin-bottom: 5.6px; } /* logo box is 37.6px, image 32px at its top */
.cs-logo img { width: 123.15px; height: 32px; }

/* Figma text boxes: 36 / 40 / 77 / 55px wide, 30px apart, in a 24px-tall row centred on the header line. */
.cs-nav { height: 24px; }
.cs-nav ul { display: grid; grid-template-columns: 36px 40px 77px 55px; justify-content: center; column-gap: 30px; }
.cs-nav a {
  display: block;
  margin-block: -2px;           /* 24px hit area, same 20px line box */
  padding-block: 2px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--cs-muted);
  transition: color .2s ease;
}
.cs-nav a:hover { color: var(--cs-ink); }

.cs-join {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  height: 40px;
  padding-inline: 16px;
  border-radius: 999px;
  background: var(--cs-green);
  color: var(--cs-ink-3);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.35px;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.cs-join:hover { background: #18b67e; }
.cs-join img { width: 20px; height: 20px; }

/* Spanish menu labels are longer than the Figma text boxes: let them size themselves. */
.cs-nav ul:lang(es) { grid-template-columns: repeat(4, auto); }

/* Language switcher + Join button (right column) */
.cs-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.cs-lang { position: relative; }
.cs-lang__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding-inline: 9px 10px;
  border: 0.8px solid var(--cs-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--cs-ink-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.02em;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.cs-lang__toggle::-webkit-details-marker { display: none; }
.cs-lang__toggle:hover,
.cs-lang[open] .cs-lang__toggle { border-color: var(--cs-green); background: #fff; }
.cs-lang__toggle img,
.cs-lang__option img { flex: none; width: 20px; height: 20px; border-radius: 50%; }
.cs-lang__chevron { flex: none; color: var(--cs-muted); transition: transform .2s ease; }
.cs-lang[open] .cs-lang__chevron { transform: rotate(180deg); }

.cs-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 2;
  min-width: 172px;
  padding: 6px;
  border: 0.8px solid var(--cs-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px -16px rgba(7, 27, 32, 0.28), 0 2px 6px rgba(7, 27, 32, 0.06);
}
.cs-lang__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--cs-ink-2);
  white-space: nowrap;
}
.cs-lang__option:hover { background: var(--cs-mint-bg); }
.cs-lang__option[aria-current] { font-weight: 700; }
.cs-lang__check { margin-left: auto; color: var(--cs-green-2); }
@media (prefers-reduced-motion: reduce) { .cs-lang__toggle, .cs-lang__chevron { transition: none; } }

/* ==========================================================================
   Hero (Figma 336:428)
   ========================================================================== */
.cs-hero { position: relative; z-index: 1; padding: 162px 0 52px; overflow-x: clip; } /* 94px header area + 68px; clip: chips never widen the page */

.cs-pill {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 0.8px solid var(--cs-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--f-inter);
  font-size: 12px;
  font-weight: 900;
  line-height: 15px;
  letter-spacing: 3.36px;
  text-transform: uppercase;
  color: var(--cs-ink-2);
}
.cs-pill::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cs-green);
}

.cs-hero__title {
  max-width: 572px;
  margin-top: 25.4px;
  font-size: clamp(2.75rem, 1.5rem + 5vw, 5rem);
  font-weight: 800;
  line-height: 1.02;            /* 81.6 / 80 */
  letter-spacing: -0.035em;     /* -2.8px */
  color: var(--cs-ink);
}
.cs-hero__title .cs-accent { color: var(--cs-green); }

.cs-hero__tagline {
  margin-top: 49px;
  font-size: 18px;
  font-weight: 700;
  line-height: 25.3px;
  color: #1f1f1f;
}
.cs-hero__lead {
  max-width: 443px;
  margin-top: 6.7px;
  font-size: 18px;
  line-height: 25.3px;
  color: var(--cs-muted);
}

.cs-hero__cards { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 31.4px; }

/* Sign-up card (template-parts/components/signup-card.php) */
.cs-card {
  width: 287px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 55px rgba(3, 37, 27, 0.1);
  scroll-margin-top: 24px;
}
.cs-card--dark { background: #071e24; }
.cs-card__title {
  font-family: var(--f-inter);
  font-size: 21px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.63px;
  color: var(--cs-ink-2);
}
.cs-card__text {
  margin-top: 6px;
  font-family: var(--f-inter);
  font-size: 13px;
  line-height: 18.85px;
  letter-spacing: -0.005em;     /* Figma's Inter sets ~0.2px narrower; keeps its line breaks */
  color: #5b6b6d;
}
.cs-card--dark .cs-card__title { color: #fff; }
.cs-card--dark .cs-card__text { color: #c4d6d4; }

.cs-signup {
  position: relative;
  display: flex;
  height: 50px;
  margin-top: 16px;
  padding: 5px;
  border-radius: 100px;
  background: #f1f6f4;
  transition: box-shadow .2s ease;
}
.cs-signup:focus-within { box-shadow: 0 0 0 3px rgba(0, 210, 156, 0.45); }
.cs-signup__input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  font-family: var(--f-inter);
  font-size: 13px;
  color: var(--cs-ink-2);
  text-overflow: ellipsis;
  outline: none;
}
.cs-signup__input::placeholder { color: #757575; opacity: 1; }
.cs-signup__input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #f1f6f4 inset; -webkit-text-fill-color: var(--cs-ink-2); }
.cs-signup__input[aria-invalid="true"] { color: #b42318; }
.cs-signup__btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--cs-green-2);
  color: #000;
  font-family: var(--f-inter);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.cs-signup__btn:hover { background: #00bd8c; }
.cs-signup__btn:active { transform: scale(.96); }
.cs-signup.is-busy .cs-signup__btn { opacity: .6; cursor: progress; }
/* Honeypot: off-screen for people, still in the form for bots. */
.cs-signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cs-signup__status {
  margin-top: 10px;
  padding-inline: 4px;
  font-family: var(--f-inter);
  font-size: 12.5px;
  line-height: 17px;
}
.cs-signup__status.is-ok { color: #0a7f57; }
.cs-signup__status.is-error { color: #b42318; }
.cs-card--dark .cs-signup__status.is-ok { color: #7debc4; }
.cs-card--dark .cs-signup__status.is-error { color: #ffb4a3; }

/* ---------- Hero animation (Figma "Mob animation" 358:2) ----------
   The phone is a looping video (assets/video/hero-phone.mp4). Its square black corners are clipped
   by the phone's 44px radius. The two chips are real elements over the video's baked-in copies,
   so they stay sharp and can overhang the phone as in the design. Chip positions are % of the
   phone so they track the video when it scales down. */
.cs-phone {
  position: absolute;
  top: -5px;                    /* phone spans the hero copy: y 157 → 808 at 1440 */
  right: calc(max(var(--cs-gutter), env(safe-area-inset-right)) + 120px); /* centred in the empty right half */
  width: 320px;
  margin: 0;
}
.cs-phone__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 652;
  border-radius: 44px;
  background: #090f0b;
  box-shadow: 0 32px 90px rgba(9, 15, 11, 0.42);
}
.cs-phone__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 16px;
  border: 0.8px solid var(--cs-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(9, 15, 11, 0.05), 0 24px 60px rgba(9, 15, 11, 0.28);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--cs-ink);
  white-space: nowrap;
}
.cs-phone__chip img { width: 16px; height: 16px; }
.cs-phone__chip--share { left: -9.97%; top: 14.69%; }              /* −31.91 / 320, 95.71 / 651.55 */
.cs-phone__chip--route { right: -7.51%; top: 67.67%; width: 172px; } /* overhangs 24.04 / 320 on the right; 440.89 / 651.55 */

/* ==========================================================================
   Sign-up dialogs (Figma "Form" 332:259, "Driver" 335:385, "Frame 70" 333:349)
   ========================================================================== */
.cs-dialog {
  width: min(450px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 30px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--cs-ink-2);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.33);
}
.cs-dialog::backdrop {
  background: rgba(6, 26, 29, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
/* Fade/scale in where supported (no effect elsewhere). */
.cs-dialog[open] { opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
@starting-style { .cs-dialog[open] { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .cs-dialog[open] { transition: none; } }

.cs-dialog__title {
  font-size: 29px;
  font-weight: 700;
  line-height: 37px;
  letter-spacing: -1.16px;
  word-spacing: 0.12em;         /* Figma: "Be  First  to  Ride" */
}
.cs-dialog__text { margin-top: 16px; font-size: 16px; line-height: 24px; color: #526267; }
.cs-dialog__form { display: flex; flex-direction: column; padding: 16px 0 11px; }
.cs-field__label { font-size: 13px; font-weight: 800; line-height: 16px; color: var(--cs-ink-2); }
.cs-field__input + .cs-field__label { margin-top: 14px; }
.cs-field__input {
  height: 46.8px;
  margin-top: 6px;
  padding: 0 13px;
  border: 0.8px solid #b7c7c3;
  border-radius: 10px;
  background: #fff;
  font-family: var(--f-sans);
  font-size: 16px;              /* also stops iOS zooming on focus */
  color: var(--cs-ink-2);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cs-field__input::placeholder { color: #757575; opacity: 1; }
.cs-field__input:focus { border-color: var(--cs-green-2); box-shadow: 0 0 0 3px rgba(0, 210, 156, 0.25); }
.cs-field__input[aria-invalid="true"] { border-color: #b42318; }

.cs-dialog__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.cs-dialog__cancel {
  padding: 12px;
  border: 0;
  border-radius: 99px;
  background: none;
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 25.2px;
  color: #000;
  cursor: pointer;
}
.cs-dialog__cancel:hover { background: #f1f6f4; }
.cs-dialog__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  padding: 15px 26px;
  border: 0;
  border-radius: 99px;
  background: var(--cs-green-2);
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 800;
  line-height: 19.2px;
  color: #06251f;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease;
}
.cs-dialog__submit:hover { background: #00bd8c; }
.cs-dialog__form.is-busy .cs-dialog__submit { opacity: .6; cursor: progress; }
.cs-dialog__status { min-height: 18px; margin-top: 13px; font-family: var(--f-inter); font-size: 13px; line-height: 18px; }
.cs-dialog__status.is-ok { color: #0a7f57; }
.cs-dialog__status.is-error { color: #b42318; }
.cs-dialog__note { margin-top: 13px; font-family: var(--f-inter); font-size: 11px; line-height: 16.5px; color: #697c7b; }
.cs-dialog__note a { color: #0a7f57; text-decoration: underline; text-underline-offset: 2px; }
.cs-dialog__note a:hover { color: var(--cs-ink-2); }

/* Inputs draw their own focus state (border + soft ring); the page-wide focus outline would add a
   second, square box inside the rounded field. */
.cs-signup__input:focus-visible,
.cs-field__input:focus-visible { outline: none; }

/* ---------- Contact Form 7 inside the dialogs ----------
   CF7's own stylesheet is not loaded; these rules cover the markup it adds. */
.cs-cf7 .hidden-fields-container { display: contents; margin: 0; padding: 0; border: 0; }
.cs-cf7 .wpcf7-form-control-wrap { position: relative; display: block; margin-top: 6px; }
.cs-cf7 .wpcf7-form-control-wrap .cs-field__input { width: 100%; margin-top: 0; }
.cs-cf7 .wpcf7-form-control-wrap + .cs-field__label { margin-top: 14px; }
.cs-cf7 .cs-field__input.wpcf7-not-valid { border-color: #b42318; }
.cs-cf7 .wpcf7-not-valid-tip { display: block; margin-top: 4px; font-family: var(--f-inter); font-size: 12px; line-height: 16px; color: #b42318; }
.cs-cf7 .cs-dialog__actions { position: relative; }
.cs-cf7 .wpcf7-spinner { display: none; }
.cs-cf7.submitting .cs-dialog__submit { opacity: .6; cursor: progress; }
.cs-cf7 .wpcf7-response-output { min-height: 18px; margin: 13px 0 0; font-family: var(--f-inter); font-size: 13px; line-height: 18px; color: #b42318; }
.cs-cf7.sent .wpcf7-response-output { color: #0a7f57; }
.wpcf7 .screen-reader-response {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wpcf7 form .hidden-fields-container input[type="hidden"] { display: none; }

/* ==========================================================================
   Privacy policy in the coming soon layout (coming-soon-legal.php)
   ========================================================================== */
.cs-legal { position: relative; z-index: 1; padding: 150px 0 96px; }
.cs-legal .cs-container { max-width: calc(760px + 2 * var(--cs-gutter)); }
.cs-legal__back { display: inline-flex; gap: 6px; font-size: 14px; font-weight: 600; color: #0a7f57; }
.cs-legal__back:hover { color: var(--cs-ink-2); }
.cs-legal__title {
  margin-top: 20px;
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--cs-ink);
}
.cs-legal__updated { margin-top: 12px; font-size: 14px; color: var(--cs-muted); }
.cs-legal__content { margin-top: 40px; font-size: 17px; line-height: 1.75; color: #2b332e; }
.cs-legal__content > * + * { margin-top: 1.1em; }
.cs-legal__content h2,
.cs-legal__content h3 { margin-top: 2em; color: var(--cs-ink-2); letter-spacing: -0.02em; line-height: 1.25; }
.cs-legal__content h2 { font-size: 1.6rem; font-weight: 800; }
.cs-legal__content h3 { font-size: 1.25rem; font-weight: 700; }
.cs-legal__content a { color: #0a7f57; text-decoration: underline; text-underline-offset: 3px; }
.cs-legal__content ul,
.cs-legal__content ol { padding-left: 1.4em; list-style: revert; }
.cs-legal__content li + li { margin-top: .4em; }
@media (max-width: 767px) { .cs-legal { padding: 110px 0 64px; } .cs-legal__content { font-size: 16px; } }

.cs-footer__legal { color: #aabbb9; text-decoration: underline; text-underline-offset: 2px; }
.cs-footer__legal:hover { color: #fff; }
.cs-footer__legal-list { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.cs-footer__legal-list li { white-space: nowrap; }
.cs-footer__legal-group { margin-right: 4px; color: #7f9593; }

/* Thanks */
.cs-dialog--thanks { width: min(447px, calc(100vw - 32px)); padding: 17px 27.5px 34.8px; border-radius: 33px; text-align: center; color: #000; }
.cs-thanks__badge { position: relative; width: 100px; height: 85.3px; margin-inline: auto; }
.cs-thanks__badge img { position: absolute; }
.cs-thanks__check { left: 22.07%; top: 15.21%; width: 56.62%; height: 66.16%; }
.cs-thanks__sparkles { inset: 0; width: 100%; height: 100%; }
.cs-thanks__title { margin-top: 5.7px; font-size: 28px; font-weight: 700; line-height: 35px; }
.cs-thanks__text { max-width: 352px; margin: 14px auto 0; font-size: 14px; font-weight: 500; line-height: 20px; }
.cs-thanks__share-title { margin-top: 23px; font-size: 18px; font-weight: 800; line-height: 23px; text-align: left; }
.cs-thanks__share-text { margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 20px; text-align: left; word-spacing: 0.12em; }
.cs-thanks__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 50px;
  margin-top: 12px;
  padding: 0 7px 0 16px;
  border: 1px solid #b2b2b2;
  border-radius: 8px;
  background: #ededed;
}
.cs-thanks__url { overflow: hidden; font-size: 16px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.cs-thanks__copy {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  height: 35px;
  padding: 0 14px 0 7px;
  border: 0;
  border-radius: 4px;
  background: #14b279;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}
.cs-thanks__copy img { width: 19.2px; height: 19.2px; }
.cs-thanks__copy:hover { background: #10a06c; }
.cs-thanks__actions { display: flex; align-items: center; justify-content: center; gap: 46px; margin-top: 34px; }

/* ==========================================================================
   For drivers (Figma 336:487)
   ========================================================================== */
.cs-drivers { position: relative; z-index: 1; padding: 59px 0; background: var(--cs-deep); color: #fff; }
.cs-drivers__grid { display: flex; align-items: center; }
.cs-drivers__copy { flex: 0 1 412.5px; min-width: 0; }
.cs-drivers .cs-text { color: #d1dddc; }
.cs-drivers .cs-checks li::before { color: #00281f; }

.cs-drivers__photo { flex: 0 1 343.74px; min-width: 0; margin-left: 31.5px; }
.cs-drivers__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 343.74 / 440;
  border-radius: 26px;
  object-fit: cover;
}

.cs-fare {
  flex: 0 1 343.75px;
  min-width: 0;
  margin-left: 38px;
  padding: 32.2px 26.2px 54.65px;
  border: 0.8px solid #355057;
  border-radius: 28px;
  background: #0b242a;
}
.cs-fare__title { font-size: 23px; font-weight: 700; line-height: 29px; color: #fff; }
.cs-fare__intro { margin-top: 4px; font-size: 13px; line-height: 21.45px; color: #c4d2d2; }
.cs-fare__list { margin-top: 11.55px; }
.cs-fare__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  row-gap: 9px;
}
.cs-fare__item + .cs-fare__item { margin-top: 23.4px; }
.cs-fare__name { font-size: 14px; font-weight: 700; line-height: 21.6px; color: #dbdbdb; }
.cs-fare__item.is-ours .cs-fare__name { color: var(--cs-green-2); }
.cs-fare__value { font-size: 18px; font-weight: 800; line-height: 21.6px; color: #fff; }
.cs-fare__bar { grid-column: 1 / -1; display: block; height: 14px; border-radius: 2px; background: #31444a; }
.cs-fare__bar span { display: block; height: 100%; border-radius: 2px; background: var(--cs-green-2); }
.cs-fare__note { margin-top: 22px; font-size: 11px; line-height: 18.15px; color: #afc3c2; }

/* ==========================================================================
   For riders (Figma 336:556)
   ========================================================================== */
.cs-riders { position: relative; z-index: 1; padding: 91px 0 47px; background: #fff; }
.cs-riders__grid { display: flex; align-items: flex-start; gap: 110px; }
.cs-riders__photo { flex: 0 1 542px; min-width: 0; }
.cs-riders__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 542 / 480;
  border-radius: 26px;
  object-fit: cover;
}
.cs-riders__copy { flex: 0 1 512px; min-width: 0; color: var(--cs-ink-2); } /* text measures 510px */
.cs-riders .cs-text { max-width: 510px; }
.cs-riders .cs-checks li::before { color: #fff; }
.cs-riders__note { padding-block: 13px; font-size: 13px; line-height: 21.45px; color: #617174; }

/* ==========================================================================
   Built around people (Figma 336:593)
   ========================================================================== */
.cs-people { position: relative; z-index: 1; padding: 82px 0 60.15px; background: var(--cs-deep-2); color: #fff; text-align: center; }
.cs-people__kicker {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 4.3px auto 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--cs-green-soft);
}
.cs-people__kicker::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cs-green-2);
  box-shadow: 0 0 0 5px rgba(0, 210, 156, 0.14);
}
.cs-people__title {
  max-width: 690px;
  margin: 0 auto;
  padding-top: 19.9px;          /* 19 + the 0.9px left under the 19.2px label row */
  font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.125rem);
  font-weight: 700;
  line-height: 1.08;            /* 71.28 / 66 */
  letter-spacing: -0.055em;     /* -3.63px */
  word-spacing: 0.12em;
}
.cs-people__lead {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 16px;
  font-size: 17px;
  line-height: 27.2px;
  color: #c9dedb;
}

.cs-people__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 464.34px));
  justify-content: center;
  gap: 22px;
  margin-top: 40.8px;
  text-align: left;
}
.cs-story {
  overflow: hidden;
  border: 0.8px solid #2b4c4c;
  border-radius: 22px;
  background: #102b2e;
}
.cs-story__photo { background: #1b3639; }
.cs-story__photo img { width: 100%; height: auto; aspect-ratio: 462.74 / 260; object-fit: cover; }
.cs-story__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 22px 24px;
}
.cs-story__title { font-size: 24px; font-weight: 700; line-height: 30px; letter-spacing: -0.84px; }
.cs-story__text { padding-top: 6px; font-size: 14px; line-height: 20.3px; color: #c9dedb; }
.cs-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 12px 16px;
  border-radius: 99px;
  background: var(--cs-green);
  color: #05251e;
  font-size: 12px;
  font-weight: 800;
  line-height: 15px;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.cs-pill-btn:hover { background: #18b67e; }

/* ==========================================================================
   The app (Figma 336:630)
   ========================================================================== */
.cs-app { position: relative; z-index: 1; padding: 48px 0; background: var(--cs-mint-bg); color: var(--cs-ink-2); }
.cs-app__grid { display: flex; align-items: flex-start; gap: 64px; }
.cs-app__phones { display: flex; flex: 0 1 455px; gap: 29px; min-width: 0; }
.cs-app__phones picture { flex: 0 1 213px; min-width: 0; }
.cs-app__phones img { width: 100%; height: auto; aspect-ratio: 213 / 444; }
.cs-app__copy { flex: 0 1 597px; min-width: 0; margin-top: 49px; }
.cs-app__title {
  padding-top: 12px;
  font-size: clamp(2.25rem, 1.5rem + 2.9vw, 3.4375rem);
  font-weight: 700;
  line-height: 1.05;            /* 57.75 / 55 */
  letter-spacing: -0.055em;     /* -3.025px */
  word-spacing: 0.12em;
}
.cs-app__text { padding-top: 16px; font-size: 16px; line-height: 26.4px; color: #395255; }

.cs-chips { display: flex; flex-wrap: wrap; gap: 15.4px 28px; margin-top: 29px; }
.cs-chips li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 15px;
  border-radius: 30px;
  background: #fff;
  font-family: var(--f-inter);
  font-size: 13px;
  font-weight: 700;
  line-height: 17.6px;
  color: var(--cs-ink-2);
}
.cs-chips li:first-child { padding-left: 11px; padding-right: 12px; }
.cs-chips img { width: 13px; height: 13px; }

/* ==========================================================================
   Footer (Figma 336:650)
   ========================================================================== */
.cs-footer {
  position: relative;
  z-index: 1;
  padding: 89px 0 calc(66px + env(safe-area-inset-bottom));
  background: var(--cs-deep-3);
  color: #fff;
  scroll-margin-top: 0;
}
.cs-footer__statement {
  font-size: clamp(2.5rem, 1rem + 5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.1;             /* 83.6 / 76 */
  letter-spacing: -0.055em;     /* -4.18px */
  word-spacing: 0.12em;
  text-align: center;
  text-wrap: balance;
}
.cs-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 116.4px;
}
.cs-footer__logo { display: block; width: 123.15px; margin: 12px 0 0 7px; }
.cs-footer__logo img { width: 123.15px; height: 32px; }
.cs-footer__brand p { padding-top: 24.26px; font-family: var(--f-inter); font-size: 12px; line-height: 15px; }
.cs-footer__nav ul { display: flex; flex-wrap: wrap; gap: 12px 23px; line-height: 16px; }
.cs-footer__nav a {
  display: inline-block;
  margin-block: -4px;           /* 24px hit area, same 16px line box */
  padding-block: 4px;
  font-family: var(--f-inter);
  font-size: 13px;
  line-height: 16px;
  transition: color .2s ease;
}
.cs-footer__nav a:hover { color: var(--cs-green-2); }
.cs-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 26.74px;
  padding-top: 22px;
  border-top: 0.8px solid #294046;
  font-family: var(--f-inter);
  font-size: 12px;
  line-height: 15px;
  color: #aabbb9;
}

/* ==========================================================================
   Responsive — the Figma frame is 1440px; everything below adapts it.
   ========================================================================== */

/* Desktop: the Figma driver row is 1169.5px, 5.5px wider than the 1164px grid — keep its exact widths. */
@media (min-width: 1200px) {
  .cs-drivers__copy, .cs-drivers__photo, .cs-fare { flex-shrink: 0; }
}

/* Small laptops / tablets landscape */
@media (max-width: 1199px) {
  .cs-phone { right: calc(max(var(--cs-gutter), env(safe-area-inset-right)) + 24px); } /* room for the route chip overhang */
  .cs-header__inner { grid-template-columns: auto 1fr auto; padding-inline: 16px; }

  /* Drivers: copy on top, photo + comparison side by side below */
  .cs-drivers { padding-block: 72px; }
  .cs-drivers__grid { flex-wrap: wrap; align-items: stretch; gap: 32px; }
  .cs-drivers__copy { flex: 0 0 100%; }
  .cs-drivers__copy > * { max-width: 640px; }
  .cs-drivers__photo, .cs-fare { flex: 1 1 0; margin-left: 0; }
  /* The comparison card sets the row height; the photo fills it without adding height of its own. */
  .cs-drivers__photo { position: relative; min-height: 320px; }
  .cs-drivers__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }

  .cs-riders__grid { gap: 56px; }
  .cs-app__grid { gap: 48px; }
}

/* 1020–1099px (e.g. iPad landscape): a slightly smaller phone still fits beside the copy. */
@media (min-width: 1020px) and (max-width: 1099px) {
  .cs-phone { width: 260px; right: calc(max(var(--cs-gutter), env(safe-area-inset-right)) + 52px); } /* route chip overhang at 260px */
}

/* Narrower: the phone follows the sign-up cards, centred. */
@media (max-width: 1019px) {
  .cs-phone { position: relative; top: 0; right: auto; width: min(320px, calc(100% - 64px)); margin: 56px auto 0; }
}

/* Tablets portrait */
@media (max-width: 991px) {
  .cs-riders { padding-block: 72px; }
  .cs-riders__grid { flex-direction: column; gap: 40px; }
  .cs-riders__photo, .cs-riders__copy { flex: none; width: 100%; max-width: 640px; }

  .cs-app { padding-block: 64px; }
  .cs-app__grid { flex-direction: column-reverse; align-items: stretch; gap: 40px; }
  .cs-app__copy { flex: none; margin-top: 0; max-width: 640px; }
  .cs-app__phones { flex: none; justify-content: center; }
}

/* Phones */
@media (max-width: 767px) {
  :root { --cs-gutter: 20px; }

  .cs-header { padding-top: max(12px, env(safe-area-inset-top)); }
  .cs-header__inner { grid-template-columns: 1fr auto; column-gap: 12px; height: 56px; padding-inline: 14px 8px; }
  .cs-nav { display: none; }       /* in-page links; every section is one scroll away */
  .cs-logo { margin-bottom: 0; }

  .cs-hero { padding: 100px 0 56px; } /* 12 + 56px bar + 32 */
  .cs-pill { letter-spacing: 2.4px; font-size: 11px; padding-inline: 12px; }
  .cs-hero__title { margin-top: 22px; }
  .cs-hero__tagline { margin-top: 28px; font-size: 17px; line-height: 24px; }
  .cs-hero__lead { font-size: 16px; line-height: 24px; }
  .cs-br { display: none; }
  .cs-hero__cards { flex-direction: column; gap: 16px; margin-top: 28px; }
  .cs-card { width: 100%; }
  /* 16px stops iOS Safari zooming the page when the field is focused */
  .cs-signup__input { font-size: 16px; }

  .cs-drivers { padding-block: 64px; }
  .cs-drivers__grid { flex-direction: column; gap: 32px; }
  .cs-drivers__photo, .cs-fare { flex: none; width: 100%; }
  .cs-drivers__photo { position: static; min-height: 0; }
  .cs-drivers__photo img { position: static; height: auto; aspect-ratio: 4 / 5; object-position: 50% 30%; }
  .cs-fare { padding: 28px 22px 32px; }

  .cs-riders { padding-block: 64px; }
  .cs-checks li, .cs-text { font-size: 15px; }
  .cs-btn { width: 100%; }

  .cs-people { padding: 64px 0; }
  .cs-people__lead { font-size: 16px; line-height: 25px; }
  .cs-people__grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .cs-story__body { padding: 20px; }

  .cs-app__phones { gap: 16px; }
  .cs-chips { gap: 12px; }

  .cs-footer { padding-top: 64px; }
  .cs-footer__row { flex-direction: column; align-items: flex-start; margin-top: 56px; }
  .cs-footer__logo { margin: 0; }
  .cs-footer__bottom { flex-direction: column; }
}

/* Small phones (iPhone SE, Galaxy Fold folded) */
@media (max-width: 379px) {
  :root { --cs-gutter: 16px; }
  .cs-join { padding-inline: 12px; font-size: 13px; gap: 6px; }
  .cs-logo, .cs-logo img { width: 104px; height: auto; }
  .cs-header__actions { gap: 6px; }
  .cs-lang__code { display: none; } /* flag only; the menu names the languages */
  .cs-lang__toggle { gap: 4px; padding-inline: 8px 7px; }
}

/* Narrowest phones (Galaxy Fold folded, 280px): flag-only switcher and no arrow on Join */
@media (max-width: 339px) {
  .cs-lang__chevron, .cs-join img { display: none; }
  .cs-lang__toggle { padding-inline: 9px; }
  .cs-header__inner { column-gap: 8px; }
  .cs-logo, .cs-logo img { width: 92px; }
  .cs-hero__title { font-size: 2.375rem; }
  .cs-card { padding: 18px; }
  .cs-story__body { flex-direction: column; align-items: flex-start; }
  .cs-pill { letter-spacing: 1.6px; }
}

/* Short landscape phones: keep the hero compact */
@media (max-height: 500px) and (orientation: landscape) {
  .cs-hero { padding-top: 92px; }
  .cs-hero__cards { flex-direction: row; }
  .cs-card { width: calc(50% - 8px); }
}
