/* Fare Enough: the same chunky, warm look as the game. */
:root {
  --ink: #1c2230;
  --paper: #faf6ee;
  --cream: #f3ead8;
  --taxi: #f6be3e;
  --taxi-deep: #e3a51f;
  --sea: #4a93b2;
  --sea-deep: #3a7d9a;
  --pickup: #1e9e8c;
  --dropoff: #3a6fd8;
  --alert: #e8574a;
  --subtle: #5b6475;
  --muted: #9aa3b5;
  --radius: 14px;
  --font: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 2px solid var(--ink); }
.top nav { margin-left: auto; display: flex; gap: 20px; font-weight: 800; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--subtle); }
.top nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

/* ---------- Shared bits ---------- */
.sign {
  display: inline-block;
  font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--taxi); border: 2px solid var(--ink); border-radius: 6px;
  padding: 4px 10px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 900; font-size: 17px; text-decoration: none;
  padding: 14px 22px; border-radius: 12px;
  border: 2.5px solid var(--ink); background: var(--taxi); color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.ghost { background: var(--paper); }
.btn svg { width: 22px; height: 22px; flex: none; }
.card {
  background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--ink);
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 900; }
.lead { color: var(--subtle); font-size: 19px; max-width: 60ch; }
section { padding: 84px 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.08) 0 2px, transparent 3px) 0 0 / 46px 46px,
    linear-gradient(180deg, var(--sea) 0%, var(--sea-deep) 100%);
  color: var(--paper);
  padding: 64px 0 0;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 80px; }
.hero h1 { font-size: clamp(48px, 8vw, 92px); font-weight: 900; margin: 18px 0 14px; letter-spacing: -0.035em; }
.hero p { font-size: clamp(19px, 2.2vw, 23px); color: #e8f2f6; max-width: 34ch; margin: 0 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .note { margin-top: 18px; font-size: 14px; color: #cfe3ea; font-weight: 700; display: flex; gap: 18px; flex-wrap: wrap; }
.hero .note span::before { content: "✓ "; color: var(--taxi); }
.phones { position: relative; display: flex; justify-content: center; gap: 0; height: 560px; overflow: hidden; padding-top: 20px; }
.phone {
  /* A fixed phone shape (the screenshots' own 1320 × 2868), so pictures can never stretch. */
  width: 260px; aspect-ratio: 1320 / 2868; flex: none;
  border-radius: 38px; overflow: hidden;
  border: 7px solid var(--ink); background: var(--ink);
  box-shadow: 0 30px 60px rgba(10, 30, 45, .35);
  align-self: flex-end;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; }
.phones { gap: 24px; }
.phones .phone:last-child { transform: translateY(40px); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 20px; }
  .phones { height: 440px; }
  .phone { width: 200px; border-width: 6px; border-radius: 30px; }
  .phone img { border-radius: 24px; }
}
@media (max-width: 480px) {
  .phones .phone:last-child { display: none; }
  .phones .phone:first-child { transform: none; }
}

/* ---------- Road divider ---------- */
.road {
  height: 46px; background: var(--ink); position: relative;
}
.road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 34px, transparent 34px 70px);
}
.road .taxi {
  position: absolute; top: 50%; left: -80px; transform: translateY(-50%);
  width: 64px; height: 37px; background: url("/img/taxi.svg") center / contain no-repeat;
  animation: drive 14s linear infinite; z-index: 1;
}
@keyframes drive { to { left: calc(100% + 80px); } }
@media (prefers-reduced-motion: reduce) { .road .taxi { animation: none; left: 12%; } }

/* ---------- How it plays ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step { padding: 26px; }
.step .num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 900; font-size: 22px; border: 2.5px solid var(--ink); margin-bottom: 14px;
}
.step:nth-child(1) .num { background: var(--pickup); color: #fff; }
.step:nth-child(2) .num { background: var(--taxi); }
.step:nth-child(3) .num { background: var(--dropoff); color: #fff; }
.step h3 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.step p { margin: 0; color: var(--subtle); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features { background: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.feature { padding: 24px; }
.feature .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--taxi); border: 2.5px solid var(--ink);
  display: grid; place-items: center; margin-bottom: 14px;
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--subtle); font-size: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Screenshots ---------- */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 36px 16px 30px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: none; width: 230px; scroll-snap-align: center; }
.shots img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; border-radius: 26px; border: 5px solid var(--ink); box-shadow: 0 10px 0 var(--ink); }
.shots figcaption { text-align: center; font-weight: 800; font-size: 15px; margin-top: 16px; color: var(--subtle); }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 8px; }

/* ---------- Party ---------- */
.party { background: var(--ink); color: var(--paper); }
.party .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.party .lead { color: #c6ccd8; }
.party ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.party li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.party li b { color: var(--taxi); }
.party .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; border: 2px solid var(--paper); }
.party .phone { margin: 0 auto; align-self: center; }
@media (max-width: 860px) { .party .wrap { grid-template-columns: 1fr; } .party .phone { width: 240px; } }

/* ---------- Plus ---------- */
.plus-box { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; overflow: hidden; margin-top: 40px; }
.plus-box .side { background: var(--taxi); padding: 36px; border-right: 2.5px solid var(--ink); }
.plus-box .side h3 { font-size: 34px; font-weight: 900; margin: 14px 0 8px; }
.plus-box .side p { margin: 0; font-weight: 700; }
.plus-box ul { margin: 0; padding: 30px 36px; list-style: none; display: grid; gap: 12px; }
.plus-box li { display: flex; gap: 12px; }
.plus-box li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--pickup) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plus-box li span { color: var(--subtle); }
@media (max-width: 760px) { .plus-box { grid-template-columns: 1fr; } .plus-box .side { border-right: 0; border-bottom: 2.5px solid var(--ink); } }

/* ---------- iPad / offline strip ---------- */
.ipad { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.tablet { border: 8px solid var(--ink); border-radius: 30px; overflow: hidden; box-shadow: 0 12px 0 var(--ink); background: var(--ink); }
.tablet img { width: 100%; aspect-ratio: 2064 / 2752; object-fit: cover; border-radius: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { font-weight: 800; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); }
@media (max-width: 860px) { .ipad { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 40px auto 0; display: grid; gap: 14px; }
.faq details { padding: 18px 22px; }
.faq summary { font-weight: 900; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--subtle); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--subtle); }

/* ---------- Call to action ---------- */
.cta { background: var(--taxi); text-align: center; border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.cta h2 { margin-bottom: 14px; }
.cta p { margin: 0 auto 28px; font-weight: 700; max-width: 46ch; }
.cta img { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 22px; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--muted); padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--paper); font-weight: 800; }
footer a:hover { color: var(--taxi); }

/* ---------- Text pages (privacy, support) ---------- */
.page { padding: 64px 0 90px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(36px, 6vw, 54px); font-weight: 900; margin: 16px 0 10px; }
.page .updated { color: var(--subtle); font-weight: 700; margin: 0 0 32px; }
.page h2 { font-size: 24px; margin: 38px 0 10px; }
.page p, .page li { color: #333a48; }
.page ul { padding-left: 22px; }
.page .card { padding: 24px 26px; margin: 24px 0; }
.page .card h3 { font-size: 19px; margin-bottom: 6px; }
.contact { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--taxi); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--dropoff); outline-offset: 3px; }

/* ---------- Minimal home ---------- */
body.minimal { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.solo { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center;
  width: min(980px, 100% - 32px); margin: 0 auto; padding: 56px 0; }
.solo-icon { width: 104px; height: 104px; border-radius: 24px; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); margin-bottom: 26px; }
.solo h1 { font-size: clamp(48px, 7vw, 76px); font-weight: 900; letter-spacing: -0.035em; margin-bottom: 12px; }
.solo p { font-size: 21px; color: var(--subtle); margin: 0 0 30px; max-width: 26ch; }
.solo .fine { font-size: 15px; font-weight: 700; margin: 18px 0 0; }
.store { display: inline-flex; flex-direction: column; justify-content: center; text-decoration: none;
  background: #000; color: #fff; border-radius: 12px; padding: 9px 22px 10px; line-height: 1.1; }
.store small { font-size: 12px; font-weight: 600; }
.store span { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.store:hover { background: #222; }
.solo-art { width: 300px; height: auto; border-radius: 30px; box-shadow: 0 24px 60px rgba(28, 34, 48, .22); }
footer.slim { background: transparent; color: var(--subtle); text-align: center; padding: 26px 16px 34px; font-size: 14px;
  display: grid; gap: 10px; justify-items: center; }
footer.slim nav { display: flex; gap: 22px; }
footer.slim a { color: var(--ink); font-weight: 800; text-decoration: none; }
footer.slim a:hover { color: var(--dropoff); }
@media (max-width: 760px) {
  .solo { grid-template-columns: 1fr; text-align: center; gap: 40px; padding-top: 48px; }
  .solo-icon { margin-inline: auto; }
  .solo p { margin-inline: auto; }
  .solo-art { width: min(260px, 70vw); margin: 0 auto; }
}
header.mini { width: min(780px, 100% - 32px); margin: 0 auto; padding: 28px 0 0; }
header.mini a { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; text-decoration: none; }
header.mini img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.page { padding-top: 28px; }
.page .faq .card { margin: 0; }
.solo { padding: 36px 0 12px; }
.solo-art { width: 270px; }
@media (max-height: 820px) and (min-width: 761px) { .solo-art { width: 240px; } .solo-icon { width: 88px; height: 88px; margin-bottom: 18px; } }
