/* ---------- Fonts: self-hosted Geist (files in /fonts, OFL licence) ---------- */
/* One variable file covers every weight from 400 to 800. unicode-range lets the
   browser fetch the latin-ext file only when a character like ₦ needs it. */
@font-face {
  font-family: "Geist"; font-weight: 400 800; font-display: swap;
  src: url(fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist"; font-weight: 400 800; font-display: swap;
  src: url(fonts/geist-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono"; font-weight: 500; font-display: swap;
  src: url(fonts/geist-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono"; font-weight: 500; font-display: swap;
  src: url(fonts/geist-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Colours and base ---------- */
/* Flat palette: warm paper, near-black ink, Kolo's rose as the one accent colour. */
:root {
  --paper: #faf7f2;
  --card: #ffffff;
  --ink: #17131a;
  --muted: #5f5862;
  --line: #e7e0d6;
  --rose: #c92d55;
  --rose-dark: #9e1f42;
  --rose-soft: #fbe9ee;
  --gold: #ffd166;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
section { padding: 96px 0; }
.label {
  font: 500 13px var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--rose);
}

/* ---------- Icons ---------- */
/* Each icon is an SVG file used as a mask, so it takes the text colour (currentColor). */
.i {
  display: inline-block; width: 20px; height: 20px; flex: none;
  background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
          mask: var(--src) center / contain no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: 600 16px "Geist", sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dark); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--rose); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { padding: 9px 16px; font-size: 15px; color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--card);
  font: 500 13px var(--mono); color: var(--muted);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 700; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--rose); }
.lead { font-size: 20px; color: var(--muted); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The chat card on the right: a plain, flat mock of a group chat. */
.chat {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-head .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); display: grid; place-items: center; }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { color: var(--muted); font-size: 13px; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--paper); }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 15px; line-height: 1.45; background: var(--card); border: 1px solid var(--line); }
.msg .who { display: block; font-size: 12.5px; font-weight: 600; color: var(--rose); margin-bottom: 2px; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-color: var(--ink); }
.msg.kolo { border-color: var(--rose); }
.tally { margin-top: 8px; display: grid; gap: 6px; font-size: 14px; }
.tally > span { display: flex; align-items: center; gap: 8px; }
.tally .i { width: 16px; height: 16px; color: var(--rose); }
.tally .wait { color: var(--muted); }
.tally .wait::before { content: ""; width: 16px; height: 16px; border: 1.5px dashed var(--muted); border-radius: 50%; }
.bar { display: block; height: 8px; border-radius: 99px; background: var(--rose-soft); margin-top: 10px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 60%; background: var(--rose); }

/* ---------- Section headings ---------- */
.head { max-width: 680px; margin-bottom: 48px; }
.head h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; margin-top: 12px; }
.head p { margin-top: 14px; font-size: 18px; color: var(--muted); }

/* ---------- Problem ---------- */
.problem { background: var(--ink); color: #f4efe8; }
.problem .label { color: var(--gold); }
.problem .head p { color: #b9b1bb; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #3a333d; border: 1px solid #3a333d; border-radius: 18px; overflow: hidden; }
.pains div { background: var(--ink); padding: 28px; }
.pains h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.pains p { color: #b9b1bb; font-size: 16px; }

/* ---------- Feature cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); margin-bottom: 18px; }
.card .icon .i { width: 22px; height: 22px; }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

/* ---------- AI section: message in, structured action out ---------- */
.ai { background: var(--card); border-block: 1px solid var(--line); }
.ai .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai .head { margin-bottom: 28px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 12px; color: var(--muted); }
.points .i { color: var(--rose); margin-top: 3px; }
.points b { color: var(--ink); font-weight: 600; }
.parse { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.parse .in { padding: 22px; border-bottom: 1px dashed var(--line); }
.parse .tag { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.parse .said { font-size: 19px; font-weight: 500; margin-top: 8px; }
.parse .lang { display: inline-block; margin-top: 10px; font: 500 12px var(--mono); padding: 3px 8px; border-radius: 6px; background: var(--rose-soft); color: var(--rose-dark); }
.parse pre { margin: 0; padding: 22px; font: 500 14px/1.75 var(--mono); color: var(--ink); overflow-x: auto; }
.parse pre .k { color: var(--rose-dark); }
.parse pre .s { color: #1f6f5c; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.langs span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; background: var(--paper); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; }
.step::before { counter-increment: step; content: "0" counter(step); font: 500 14px var(--mono); color: var(--rose); }
.step h3 { font-size: 22px; font-weight: 600; margin: 10px 0 8px; }
.step p { color: var(--muted); }

/* ---------- Company ---------- */
.company .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.company .head { margin-bottom: 0; }
.facts { border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 24px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Call to action ---------- */
.cta-box { background: var(--rose); color: #fff; border-radius: 28px; padding: 64px 32px; text-align: center; }
.cta-box h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; }
.cta-box p { color: #ffe3ea; font-size: 19px; max-width: 560px; margin: 14px auto 30px; }
.cta-box .btn-light { background: #fff; color: var(--rose-dark); }
.cta-box .btn-light:hover { background: var(--rose-soft); }
.cta-box .actions { justify-content: center; margin-top: 0; }

/* ---------- Footer ---------- */
footer { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer .brand { font-size: 16px; color: var(--ink); }
footer .brand img { width: 26px; height: 26px; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Phones and tablets ---------- */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero .wrap, .ai .wrap, .company .wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid, .pains, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .lead { font-size: 18px; }
}
@media (min-width: 640px) and (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
