/* Inter font (free, Uber-style clean sans-serif), gold #E7B008 (hsl 45 93% 47%), near-black #09090B. */
:root {
  --gold: #e7b008;
  --gold-hover: #d4a107;
  --gold-soft: #fdf6dd;
  --ink: #09090b;
  --text: #09090b;
  --muted: #5f5f66;
  --line: #e4e4e7;
  --bg: #ffffff;
  --band: #f8f8f6;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.07);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 20px; }
.band { background: var(--band); }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.narrow { max-width: 720px; }
.gold { color: var(--gold); }
.eyebrow { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-hover); margin-bottom: 12px; }
.section-title { margin-bottom: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }

/* header (like ezepze.com: fixed, white, logo left, links, gold button) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.header-row { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--text); padding: 6px 0; }
.nav a:not(.btn):hover, .nav a[aria-current='page'] { color: var(--gold-hover); }
.nav .nav-cta { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--text); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 10px 20px; font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--ink); padding: 12px 24px; font-size: 1.05rem; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline svg { width: 18px; height: 18px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #27272a; }

/* hero */
.hero { background: linear-gradient(180deg, var(--gold-soft), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 72px 20px 64px; }
.photo { border-radius: 20px; box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.hero-art .photo { aspect-ratio: 4 / 3; }
.drive-photo { max-width: 900px; margin: 28px auto 0; aspect-ratio: 16 / 9; display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.cta-row.center { justify-content: center; }
.page-hero { background: var(--gold-soft); padding: 64px 0 52px; }

/* app band */
.get-app { background: var(--ink); color: #fff; }
.get-app-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 20px; flex-wrap: wrap; }
.get-app h2 { margin-bottom: 6px; font-size: 1.6rem; }
.get-app p { margin: 0; color: #d4d4d8; }
.get-app .cta-row { margin: 0; }
.store-badge { display: inline-flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 12px; padding: 8px 20px; font-weight: 700; font-size: 1.1rem; line-height: 1.2; min-width: 170px; text-decoration: none; }
.store-badge:hover { background: var(--gold); color: var(--ink); }
.store-small { font-weight: 500; font-size: 0.75rem; opacity: 0.75; }

/* cards */
.cards { display: grid; gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card-photo img { margin: -28px -28px 22px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2309090b' stroke-width='3' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.two-col { columns: 2; column-gap: 40px; }
.two-col li { break-inside: avoid; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }

/* pricing */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { background: var(--band); font-size: 0.92rem; color: var(--muted); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
.example, .notice { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; margin: 8px 0 20px; }
.notice { margin-top: 32px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-final { text-align: center; }
.cta-final .lead { margin-left: auto; margin-right: auto; }

/* help */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: var(--card); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.links { padding-left: 20px; }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.toc { background: var(--band); border-radius: var(--radius); padding: 18px 24px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }

/* footer (like ezepze.com: black, centered call to action, four columns) */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 28px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { color: rgba(255, 255, 255, 0.72); margin: 0 0 6px; }
.footer-cta { text-align: center; margin-bottom: 48px; }
.footer-cta h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.footer-cta a { color: var(--gold); font-size: 1.25rem; }
.footer-cta a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 36px; }
.footer-grid h3 { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: #fff; }
.footer-grid h3 svg { color: var(--gold); }
.footer-logo img { height: 44px; width: auto; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin-left: 24px; }

/* video pop-up */
.video-dialog { width: min(960px, 94vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.video-dialog::backdrop { background: rgba(0, 0, 0, 0.8); }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; display: block; }
.video-close { position: absolute; top: -48px; right: 0; background: #fff; color: var(--ink); border: 0; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }

@media (max-width: 900px) {
  .hero-grid, .split, .cards.two, .cards.three { grid-template-columns: 1fr; }
  .hero-grid { padding: 48px 16px 40px; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .toc ol { columns: 1; }
  .header-row { height: 68px; }
  .brand img { height: 40px; }
  .header-cta { display: none; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { display: inline-flex; margin-top: 16px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .section { padding: 52px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom a { margin: 0 20px 0 0; }
  th, td { padding: 10px 8px; font-size: 0.9rem; }
  /* Price tables fit the screen: headers may wrap instead of scrolling sideways. */
  th { white-space: normal; }
  .cta-row .btn { flex: 1 1 auto; }
  /* .wrap above resets padding; keep space between the top bar and the hero. */
  .hero-grid { padding: 36px 16px 36px; }
  /* Footer links: big enough to tap (about 44px tall). */
  .footer-links { gap: 0 20px; }
  .footer-links a, .footer-bottom a, .site-footer a[href^="mailto:"] { display: inline-block; padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ride search (home page) */
.finder { margin-top: -32px; position: relative; z-index: 2; padding-bottom: 56px; }
.finder-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.finder-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.finder-head h2 { font-size: 1.6rem; margin: 0; }
.tabs { display: inline-flex; background: var(--band); border-radius: 12px; padding: 4px; gap: 4px; }
.tabs button { font: inherit; font-weight: 600; border: 0; background: transparent; padding: 10px 16px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected='true'] { background: var(--ink); color: #fff; }
.tab-note { font-weight: 400; font-size: 0.8rem; opacity: 0.8; }
.search-form { display: grid; grid-template-columns: 1.3fr auto 1.3fr 1fr 0.6fr auto; gap: 12px; align-items: end; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; min-width: 0; }
.field[hidden] { display: none; }
.field select, .field input { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; min-height: 50px; }
.field select:focus, .field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(231, 176, 8, 0.25); }
.swap { font: inherit; font-size: 1.2rem; height: 50px; width: 44px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.swap:hover { border-color: var(--gold); }
.finder[data-mode='requests'] .swap, .finder[data-mode='requests'] .field-small { display: none; }
.finder[data-mode='requests'] .search-form { grid-template-columns: 1.3fr 1.3fr 1fr auto; }
.search-status { min-height: 1.4em; margin: 12px 0 0; color: var(--muted); }
.notice-bar:empty { display: none; }
.notice-bar { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 8px; margin: 10px 0 0; font-weight: 500; }
.results-title { font-size: 1.15rem; margin: 20px 0 12px; }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.result { display: flex; justify-content: space-between; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; flex-wrap: wrap; }
.result h3 { margin: 2px 0 4px; font-size: 1.15rem; }
.result p { margin: 0; }
.result-time { font-weight: 600; color: var(--gold-hover); }
.result-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.result-price { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.result-price span { display: block; font-size: 0.8rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.empty, .alert-form { background: var(--band); border-radius: 14px; padding: 22px; margin-top: 16px; }
.empty h3, .alert-form h3 { margin-bottom: 6px; }
.alert-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 14px 0 10px; }
.alert-row .grow { flex: 1 1 260px; }
.alert-row .btn { min-height: 50px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 6px 0 0; font-weight: 500; }
.form-msg:empty { display: none; }
@media (max-width: 900px) {
  .finder { margin-top: 0; padding-top: 8px; }
  .search-form, .finder[data-mode='requests'] .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .field:first-of-type, .search-form .swap { grid-column: auto; }
  .swap { display: none; }
  .search-form .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .finder-card { padding: 20px 16px; }
  .search-form, .finder[data-mode='requests'] .search-form { grid-template-columns: 1fr; }
  .result-side { align-items: flex-start; text-align: left; width: 100%; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 10px 8px; }
}
.anchor { display: block; position: relative; top: -96px; height: 0; }
.search-form[hidden] { display: none; }
.ridenow-form { grid-template-columns: 1.3fr auto 1.3fr auto; }
@media (max-width: 900px) { .ridenow-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ridenow-form { grid-template-columns: 1fr; } }

/* Admin announcements (live from the EZEPZE admin page) */
.site-alerts:empty { display: none; }
.site-alert { padding: 10px 0; font-size: 15px; line-height: 1.45; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.site-alert strong { margin-right: 6px; }
.site-alert-info { background: #FFF7D6; color: #09090B; }
.site-alert-warning { background: #FFE8B3; color: #09090B; }
.site-alert-urgent { background: #B42318; color: #fff; }
