/* Ọjà AI — shared styles. Mobile-first, no frameworks. */
:root {
  /* Colours sampled from the logo: navy "Ọjà", teal "AI", red-brown and orange basket.
     Warm ivory backgrounds let the transparent logo sit directly on the page. */
  --brand: #00418f;
  --brand-dark: #002f6c;
  --teal: #00806f;
  --accent: #e08a00;
  --ink: #1a2433;
  --muted: #5a5f6b;
  --bg: #fffcf6;
  --soft: #f7efe1;
  --line: #eadfcb;
  --wa: #25d366;
  --radius: 14px;
  --max: 960px;
  /* The logo's navy wording needs a light page, so the site stays light in every OS theme */
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--teal); }
.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Large logo in the hero */
.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.hero-logo {
  width: 160px;
  height: auto;
}
@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1fr 260px; }
  .hero-logo { width: 260px; order: 2; }
}
.site-header nav a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--brand); }
@media (max-width: 599px) {
  .nav-extra { display: none; }
}

/* Hero */
.hero {
  padding: 48px 0 40px;
  background: var(--soft);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lead {
  margin: 0 0 24px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-wa { background: var(--wa); color: #073b1c; }
.btn-wa:hover { background: #1fbd5a; color: #073b1c; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Sections */
section { padding: 44px 0; }
h2 {
  margin: 0 0 20px;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--brand); }
.card p { margin: 0; color: var(--muted); }

.card .tagline { margin: 0 0 12px; color: var(--ink); font-weight: 600; }
.card .price {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
}
.card { display: flex; flex-direction: column; }
.card .ticks { flex: 1; }

/* Homepage sections */
.soft { background: var(--soft); }
.soft .card { background: var(--bg); }
.kicker {
  margin: 0 0 6px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.split h3 { margin-top: 0; }
.section-lead { max-width: 68ch; color: var(--muted); margin: 0 0 24px; }

.split { display: grid; gap: 24px; }
@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
}

.chips {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.92rem;
}

.steps { margin: 0; padding-left: 1.3em; }
.steps li { margin-bottom: 8px; }

.chat {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.bubble {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 90%;
}
.bubble .who {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bubble-in { background: var(--soft); justify-self: start; border-bottom-left-radius: 4px; }
.bubble-sys {
  background: rgba(37, 211, 102, 0.14);
  justify-self: end;
  border-bottom-right-radius: 4px;
}

.ticks { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.callout {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  border-radius: 8px;
}
.soft .callout { background: var(--bg); }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stats div {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.stats .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}
.stats .label { color: var(--muted); font-size: 0.92rem; }

.kpi {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.kpi th, .kpi td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.kpi th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.kpi tr:last-child td { border-bottom: 0; }
.kpi td:last-child { font-weight: 600; }

.path {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .path { grid-template-columns: repeat(4, 1fr); }
}
.path li {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  font-weight: 600;
}
.path li:last-child { border-top-color: var(--accent); }
.path span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.flow { color: var(--muted); }

.statement {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Contact */
.contact { background: var(--soft); }
.contact-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-list a { word-break: break-word; }

/* Footer */
.site-footer {
  padding: 28px 0 96px; /* room for floating WhatsApp button on phones */
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer p { margin: 0 0 8px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #073b1c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  z-index: 10;
}
.wa-float svg { width: 28px; height: 28px; }

/* Privacy / long-form text */
.prose { max-width: 72ch; padding-top: 32px; padding-bottom: 48px; }
.prose h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.prose h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 0.95rem; }
.box {
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  background: var(--soft);
  border-radius: 8px;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
