/* WakaVoy marketing site.
 *
 * Design tokens mirror bus-portal/tailwind.config.js so the marketing site
 * and the portal read as one product: the same sky/azure brand ramp and the
 * same `ink` neutral ramp.
 *
 * No build step, no CDN, no webfonts. Every byte is served from this host.
 * That is a deliberate choice for the audience: on a Cameroonian mobile
 * connection a Google Fonts round-trip costs more than the visual gain, and
 * an external dependency is one more thing that can be slow or blocked. The
 * font stack asks for the brand faces and falls through to the system UI
 * font, which is already on the device.
 */

:root {
  --brand-50:  #eff8ff;
  --brand-100: #dbeefe;
  --brand-200: #b3dafe;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-700: #036aa6;
  --brand-900: #0c4a6e;

  --ink-50:  #f6f7f9;
  --ink-100: #eceef2;
  --ink-200: #d5d9e2;
  --ink-400: #838ea4;
  --ink-500: #636e86;
  --ink-600: #4d566d;
  --ink-900: #1f2230;

  --shadow-soft: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.04);
  --shadow-card: 0 1px 3px rgba(16,24,40,.08), 0 4px 12px rgba(16,24,40,.04);
  --shadow-pop:  0 10px 40px -10px rgba(31,35,48,.25);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;

  --measure: 1120px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
p  { margin: 0; }

a { color: inherit; }

/* ---- header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; text-decoration: none; font-size: 1.0625rem; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--brand-500); color: #fff;
  display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 17px; height: 17px; }

.nav { display: none; gap: 28px; font-size: .9375rem; }
.nav a { color: var(--ink-600); text-decoration: none; }
.nav a:hover { color: var(--ink-900); }
@media (min-width: 900px) { .nav { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 8px; }

.lang {
  font-size: .8125rem; color: var(--ink-500); text-decoration: none;
  padding: 5px 9px; border-radius: 6px; border: 1px solid var(--ink-200);
}
.lang:hover { color: var(--ink-900); background: var(--ink-50); }

/* ---- buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: background-color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: #fff; color: var(--ink-900); border-color: var(--ink-200); }
.btn-ghost:hover { background: var(--ink-50); }
.btn-sm { padding: 8px 15px; font-size: .875rem; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---- hero ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(160deg, var(--brand-50) 0%, #fff 55%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  top: -180px; right: -180px; width: 520px; height: 520px; border-radius: 50%;
  background: rgba(179,218,254,.38); filter: blur(80px);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-100); color: var(--brand-700);
  font-size: .75rem; font-weight: 700; letter-spacing: .01em;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }

.hero h1 .accent { color: var(--brand-600); }
.lede { margin-top: 20px; font-size: 1.0625rem; color: var(--ink-600); max-width: 34em; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.assurances { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .875rem; color: var(--ink-500); list-style: none; padding: 0; }
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances svg { width: 15px; height: 15px; color: #16a34a; flex: none; }

/* ---- hero mock ------------------------------------------------------- */
.mock {
  background: #fff; border: 1px solid var(--ink-100); border-radius: 20px;
  box-shadow: var(--shadow-pop); padding: 20px;
}
.mock-chrome { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.mock-host { font-size: .6875rem; color: var(--ink-400); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mock-hero-card {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff; border-radius: 14px; padding: 18px;
}
.mock-hero-card .label { font-size: .6875rem; opacity: .85; }
.mock-hero-card .figure { font-size: 1.75rem; font-weight: 700; font-family: var(--display); margin-top: 2px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mock-stat { background: var(--ink-50); border-radius: 10px; padding: 11px 13px; }
.mock-stat .label { font-size: .6875rem; color: var(--ink-500); }
.mock-stat .figure { font-size: 1.125rem; font-weight: 700; }
.mock-stat .delta { font-size: .6875rem; color: #16a34a; }
.mock-note { margin-top: 14px; font-size: .6875rem; color: var(--ink-400); text-align: center; }

/* ---- sections -------------------------------------------------------- */
section { padding: 80px 0; }
.section-head { max-width: 42em; margin-bottom: 44px; }
.kicker { font-size: .875rem; font-weight: 700; color: var(--brand-600); margin-bottom: 10px; }
.section-head p { margin-top: 14px; font-size: 1.0625rem; color: var(--ink-600); }

.alt { background: var(--ink-50); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }

.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px)  { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: 14px;
  padding: 24px; box-shadow: var(--shadow-card);
}
.card .icon {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 16px;
  background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center;
}
.card .icon svg { width: 19px; height: 19px; }
.card p { margin-top: 9px; font-size: .9375rem; color: var(--ink-600); }

/* ---- steps ----------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-600); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  display: grid; place-items: center;
}
.step p { margin-top: 9px; font-size: .9375rem; color: var(--ink-600); }

/* ---- pricing --------------------------------------------------------- */
.price-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; } }

.price-card {
  background: #fff; border: 1px solid var(--ink-200); border-radius: 18px;
  padding: 30px; box-shadow: var(--shadow-card);
}
.price-figure { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price-figure .n { font-family: var(--display); font-size: 3.25rem; font-weight: 700; line-height: 1; color: var(--brand-600); }
.price-figure .u { color: var(--ink-500); font-size: .9375rem; }
.price-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; font-size: .9375rem; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; }
.price-list svg { width: 16px; height: 16px; color: #16a34a; flex: none; margin-top: 4px; }

.worked { background: var(--ink-900); color: #fff; border-radius: 18px; padding: 30px; }
.worked h3 { color: #fff; }
.worked table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .9375rem; }
.worked td { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.worked td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.worked tr:last-child td { border-bottom: 0; font-weight: 700; font-size: 1.0625rem; padding-top: 16px; }
.worked .muted { color: rgba(255,255,255,.62); }
.worked .total { color: #7ee2a8; }

/* ---- cta ------------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--brand-600), var(--brand-900)); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,.86); font-size: 1.0625rem; max-width: 34em; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.2); }
.cta-band .btn-primary { background: #fff; color: var(--brand-700); }
.cta-band .btn-primary:hover { background: var(--brand-50); }
.cta-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- footer ---------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--ink-100); padding: 52px 0 40px; font-size: .875rem; color: var(--ink-500); }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-900); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-500); text-decoration: none; }
.site-footer a:hover { color: var(--ink-900); text-decoration: underline; }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--ink-100); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* Visible keyboard focus. The default ring is removed by nothing here, but
   the branded one is easier to see against the pale surfaces. */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brand-600); outline-offset: 3px; border-radius: 6px;
}

.skip {
  position: absolute; left: -9999px;
  background: #fff; padding: 12px 18px; border-radius: 8px; z-index: 100;
  box-shadow: var(--shadow-pop); text-decoration: none; font-weight: 600;
}
.skip:focus { left: 16px; top: 12px; }

/* ---- prose pages (privacy, support) ---------------------------------- */
/* Long-form reading, so a narrower measure than the marketing sections:
   legal and procedural text is read line by line, not scanned. */
.page-head { padding: 56px 0 34px; border-bottom: 1px solid var(--ink-100); background: linear-gradient(160deg, var(--brand-50), #fff 70%); }
.page-head h1 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); }
.page-head .lede { margin-top: 14px; }
.page-head .updated { margin-top: 16px; font-size: .8125rem; color: var(--ink-500); }

.prose { max-width: 46em; padding: 48px 0 72px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; scroll-margin-top: 80px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-600); font-size: .9688rem; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--brand-700); }
.prose strong { color: var(--ink-900); }

.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink-900); background: var(--ink-50); font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }

.toc { background: var(--ink-50); border: 1px solid var(--ink-100); border-radius: 12px; padding: 20px 24px; margin-bottom: 34px; }
.toc h2 { font-size: .8125rem !important; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px !important; color: var(--ink-900); }
.toc ol { margin: 0; padding-left: 20px; gap: 6px; }
.toc a { color: var(--ink-600); text-decoration: none; }
.toc a:hover { color: var(--brand-700); text-decoration: underline; }

.callout { border-left: 3px solid var(--brand-500); background: var(--brand-50); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 22px 0; }
.callout p { margin: 0; color: var(--ink-700, var(--ink-600)); }
.callout.warn { border-left-color: #d97706; background: #fffbeb; }

/* Numbered document checklist on the support page. */
.doclist { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.doclist > li { background: #fff; border: 1px solid var(--ink-100); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow-soft); }
.doclist h3 { margin: 0 0 6px; }
.doclist p { margin: 0; font-size: .9375rem; }
.doclist .req { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-100); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
