/* Carryaroo landing pages (2026-10-13): /drivers + /conductores (for ride-app and delivery drivers) and
   /need-a-helper + /necesito-ayuda (the "tell me when a helper starts near me" list). Builds on cy.css and home-v2.css. */

/* drivers hero: a slightly smaller headline so "100% of the pay." sits on one line on computers */
.display.drv { font-size: clamp(44px, 5.6vw, 76px); }
.display .bal { display: inline-block; text-wrap: balance; }

/* a plain "no passengers" promise right in the hero */
.nopax { margin: 18px 0 0; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; }
.nopax .x { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-cta .ghost { color: #F9D48A; }
.hero-fine { margin: 14px 0 0; font-size: 14px; color: #A9CFC2; max-width: 34em; }

/* ---------- side by side: the apps vs your own business ---------- */
.cmp { border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 20px 50px rgba(18,53,45,.08); }
.cmp-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); }
.cmp-row + .cmp-row { border-top: 1px solid var(--line-2); }
.cmp-row > * { padding: 18px 22px; margin: 0; }
.cmp-row h3 { font-size: 17px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.4; }
.cmp-row .them { color: var(--body-2); font-size: 16px; line-height: 1.45; }
.cmp-row .you { background: var(--sage); color: var(--ink); font-size: 16px; line-height: 1.45; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.cmp-row .you svg { flex: 0 0 20px; margin-top: 2px; }
.cmp-head { background: var(--ink); }
.cmp-head > * { color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .02em; padding-block: 14px; }
.cmp-head .them { color: #CFE6DE; }
.cmp-head .you { background: var(--green); color: #fff; }
.cmp .cmp-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.honest { margin-top: 22px; display: flex; gap: 14px; align-items: flex-start; background: var(--gold-soft); color: #4A3304; border-radius: 20px; padding: 18px 20px; font-size: 16px; line-height: 1.5; max-width: 900px; }
.honest b { color: #3A2803; }
.honest .hi { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: var(--gold); display: flex; align-items: center; justify-content: center; }

/* ---------- where clients come from ---------- */
.from4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: f; }
.from4 > div { background: #fff; border: 1px solid var(--line-2); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.from4 .fi { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; }
.from4 h3 { margin: 0; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.from4 p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--body-2); }
.note-line { margin: 22px 0 0; font-size: 15px; color: var(--body-2); max-width: 46em; display: flex; gap: 10px; align-items: flex-start; }
.note-line svg { flex: 0 0 22px; margin-top: 1px; }

/* ---------- the simple rules ---------- */
.rules3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rules3 > div { border-radius: 24px; padding: 24px; background: #fff; border: 2px solid #F3D3CF; display: flex; flex-direction: column; gap: 10px; }
.rules3 .ri { width: 48px; height: 48px; border-radius: 50%; background: #FDECEA; display: flex; align-items: center; justify-content: center; }
.rules3 h3 { margin: 0; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.rules3 p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body-2); }
.rules3 .ok { border-color: var(--line-2); }
.rules3 .ok .ri { background: var(--sage-2); }

/* small print about other companies' names */
.tm { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- "Need a helper?": the ZIP code box ---------- */
.wl { background: #fff; color: var(--text); border-radius: 24px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.28); display: flex; flex-direction: column; gap: 14px; }
.wl h2 { margin: 0; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.wl label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 700; color: var(--body-2); }
.wl input { width: 100%; min-height: 54px; border: 2px solid transparent; border-radius: 14px; background: var(--sage); padding: 10px 14px; font-size: 18px; font-weight: 600; color: var(--text); }
.wl input:focus { outline: none; border-color: var(--green); background: #fff; }
.wl input[aria-invalid="true"] { border-color: #B42318; background: #fff; }
.wl .zip { max-width: 180px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.wl .btn-gold { width: 100%; }
.wl .fine { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.wl .err { margin: 0; color: #B42318; font-weight: 700; font-size: 15px; }
.wl .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl .done { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.wl .done .ck { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.wl .done h2 { font-size: 26px; }
.wl .done p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--body-2); }
.need-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 64px 56px; }
.need-grid .display { font-size: clamp(44px, 6vw, 76px); }

/* already have a helper's card? */
.have { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 24px; align-items: center; background: var(--sage); border-radius: 28px; padding: 24px 28px; }
.have .hpic { width: 128px; }
.have .hpic .mini-stack { width: 100%; }
.have h2 { margin: 0; font-size: 24px; color: var(--ink); letter-spacing: -0.02em; }
.have p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--body-2); }
.have .btn-gold { white-space: nowrap; }

/* "know someone who'd be great at this?" */
.tell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; border: 2px dashed var(--line-2); border-radius: 24px; padding: 22px 26px; }
.tell b { display: block; font-size: 20px; color: var(--ink); }
.tell span { color: var(--body-2); font-size: 16px; }
.tell .links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.tell .links a { font-weight: 800; color: var(--green); }

@media (max-width: 1020px) {
  .cmp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-row h3 { grid-column: 1 / -1; padding-bottom: 0; }
  .cmp-head > :first-child { display: none; }
  .from4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules3 { grid-template-columns: 1fr; max-width: 640px; }
  .rules3 > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .rules3 .ri { grid-row: 1 / 3; }
  .need-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 40px; }
}
@media (max-width: 640px) {
  .nopax { font-size: 14px; }
  .hero-cta .btn-gold { flex: 1 1 100%; }
  .hero-cta .ghost { margin: 0 auto; }
  .cmp { border-radius: 22px; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > * { padding: 12px 16px; }
  .cmp-row h3 { padding-top: 16px; font-size: 17px; }
  .cmp-row .them, .cmp-row .you { font-size: 15.5px; }
  .cmp-row .them { padding-top: 6px; }
  .cmp-row .you { margin: 0 12px 14px; border-radius: 14px; }
  .cmp .cmp-l { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .cmp .you .cmp-l { color: var(--green); }
  .cmp-row .you { flex-direction: column; gap: 2px; }
  .cmp-row .you svg { display: none; }
  .from4 { grid-template-columns: 1fr; gap: 12px; }
  .from4 > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; border-radius: 18px; }
  .from4 .fi { width: 44px; height: 44px; border-radius: 12px; grid-row: 1 / 3; }
  .from4 h3 { font-size: 17.5px; }
  .from4 p { font-size: 15px; }
  .rules3 > div { padding: 18px; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .rules3 .ri { width: 44px; height: 44px; }
  .rules3 h3 { font-size: 18px; }
  .rules3 p { font-size: 15px; }
  .honest { padding: 16px; font-size: 15.5px; }
  .honest .hi { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
  .wl { padding: 18px; border-radius: 22px; }
  .need-grid .display { font-size: clamp(42px, 12.5vw, 58px); }
  .have { grid-template-columns: 1fr; padding: 20px; border-radius: 24px; }
  .have .hpic { display: none; }
  .have .btn-gold { width: 100%; }
  .tell { padding: 18px; }
}
