/* ---------- Fonts ---------- */
/* Satoshi (display + text) from Fontshare, ITF Free Font License. One variable file, weights 300–900.
   It has no ₦ or Igbo/Yoruba accented letters, so Geist below fills those in automatically. */
@font-face {
  font-family: "Satoshi"; font-weight: 300 900; font-display: swap;
  src: url(fonts/satoshi-variable.woff2) format("woff2");
}
/* Geist (OFL) is the fallback for missing characters; Geist Mono is used for labels. */
/* One variable file covers weights 400–800. unicode-range makes the browser fetch the
   latin-ext file only when a character such as ₦ or ọ 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+0300-0301, U+0304, U+0308, U+0323, 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+0300-0301, U+0304, U+0308, U+0323, 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 ---------- */
:root {
  color-scheme: dark;
  --bg: #08090a;
  --panel: #0f1012;
  --panel-2: #15171a;
  --line: #1f2125;
  --line-2: #2d3036;
  --text: #f1f1f2;
  --muted: #9b9ca4;
  --dim: #64666e;
  --signal: #3ee08f;        /* AiKolo green */
  --signal-ink: #04180b;
  --blue: #8fb8ff;
  --amber: #ffb84d;
  --rose: #ff5c84;          /* Kolo (the product) */
  --sans: "Satoshi", "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
  /* Colour grading: black melting into AiKolo green. */
  --deep: #062a19;          /* darkest green, for section floors */
  --mint: #a6f7cd;          /* lightest green, for gradient text */
  --grade-text: linear-gradient(100deg, #ffffff 0%, var(--mint) 40%, var(--signal) 70%, #1fb873 100%);
  --grade-btn: linear-gradient(180deg, #6bf0ab 0%, var(--signal) 55%, #22c472 100%);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.04em; line-height: 1.02; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--signal); color: var(--signal-ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
section { padding: 128px 0; }
.muted { color: var(--muted); }

/* Section label in the style "01 / THE COMPANY". */
.label { font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.label b { color: var(--signal); font-weight: 500; }

/* Icons: each SVG file is used as a mask, so it takes the current text colour. */
.i {
  display: inline-block; width: 18px; height: 18px; 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: 9px;
  padding: 12px 20px; border-radius: 99px; border: 1px solid transparent;
  font: 600 15px var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn .i { width: 16px; height: 16px; }
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: #72ecac; }
.btn-white { background: var(--text); color: var(--bg); }
.btn-white:hover { background: #fff; }
.btn-line { border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: var(--muted); }

/* ---------- Floating pill navigation ---------- */
.nav { position: fixed; inset: 16px 0 auto; z-index: 30; }
.nav .bar {
  width: min(760px, 100% - 24px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(8, 9, 10, .92);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 0; text-align: center; position: relative; }
/* Faint grid lines behind the hero (an SVG pattern, not a gradient). */
.hero::before { content: ""; position: absolute; inset: 0 0 40%; background: url(grid.svg) repeat; opacity: .9; pointer-events: none; }
.hero .wrap { position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 6px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--panel);
  font-size: 13.5px; color: var(--muted);
}
.pill b { padding: 2px 9px; border-radius: 99px; background: var(--signal); color: var(--signal-ink); font: 500 11.5px var(--mono); letter-spacing: .04em; }
.hero h1 { font-size: clamp(46px, 8vw, 104px); margin: 28px auto 24px; max-width: 980px; }
.hero h1 .hl { color: var(--signal); }
.lead { font-size: 19px; color: var(--muted); max-width: 600px; margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; justify-content: center; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; font: 500 12px var(--mono); color: var(--dim); letter-spacing: .05em; text-transform: uppercase; }
.checks span { display: inline-flex; align-items: center; gap: 7px; }
.checks .i { width: 14px; height: 14px; color: var(--signal); }

/* The engine window under the hero, with one soft green light behind it. */
.stage-wrap { position: relative; margin-top: 80px; }
.stage-wrap::before {
  content: ""; position: absolute; left: 50%; top: 8%; width: 70%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(62, 224, 143, .16), transparent); pointer-events: none;
}
.window { position: relative; text-align: left; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 12.5px var(--mono); color: var(--dim); }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-bar .url { margin-inline: auto; padding: 3px 12px; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.win-body { display: grid; grid-template-columns: 220px 1fr 1fr; min-height: 420px; }
.win-side { border-right: 1px solid var(--line); padding: 18px 12px; display: grid; align-content: start; gap: 4px; }
.win-side .side-label { font: 500 11px var(--mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px 10px; }
.lang-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 9px 10px; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--muted);
  font: 500 14px var(--sans); cursor: pointer; text-align: left;
}
.lang-btn small { font: 500 11px var(--mono); color: var(--dim); }
.lang-btn:hover { color: var(--text); }
.lang-btn.on { background: var(--panel-2); border-color: var(--line-2); color: var(--text); }
.lang-btn.on small { color: var(--signal); }
.win-col { padding: 22px; display: grid; align-content: start; gap: 14px; }
.win-col + .win-col { border-left: 1px solid var(--line); background: var(--bg); }
.col-label { font: 500 11px var(--mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.said { font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; min-height: 3.2em; }
.said .caret { display: inline-block; width: 10px; height: 1.05em; margin-left: 3px; vertical-align: -0.15em; background: var(--signal); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.means { color: var(--muted); font-size: 14.5px; min-height: 2.6em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 6px; font: 500 12px var(--mono); color: var(--muted); }
.tag.ok { border-color: var(--signal); color: var(--signal); }
.json { margin: 0; font: 500 13.5px/1.8 var(--mono); color: var(--muted); }
.json .ln { display: block; white-space: pre; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.json .ln.show { opacity: 1; transform: none; }
.json .k { color: var(--blue); } .json .s { color: var(--signal); } .json .n { color: var(--amber); }
.reply { margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14.5px; opacity: 0; transition: opacity .3s; }
.reply.show { opacity: 1; }
.reply b { display: block; font: 500 11px var(--mono); color: var(--rose); margin-bottom: 4px; letter-spacing: .06em; }

/* ---------- Language ticker (replaces the usual logo strip) ---------- */
.ticker-sec { padding: 72px 0 0; }
.ticker-sec .cap { text-align: center; color: var(--dim); font-size: 14px; margin-bottom: 26px; }
.ticker { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.ticker-track span { white-space: nowrap; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--muted); font-size: 15px; }
.ticker-track span b { font: 500 11px var(--mono); color: var(--signal); margin-right: 10px; letter-spacing: .06em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Statement + stats ---------- */
.statement .top { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.statement h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -0.035em; }
.statement h2 span { color: var(--dim); }
.statement .sub { max-width: 420px; margin: 28px 0 0 auto; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 96px; }
.stat { border-left: 1px solid var(--line-2); padding: 0 24px; }
.stat .label { display: block; margin-bottom: 18px; }
.stat b { display: block; font-size: clamp(56px, 7vw, 92px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.stat p { color: var(--muted); margin-top: 14px; max-width: 280px; font-size: 15px; }

/* ---------- Section heads ---------- */
.head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.head h2 { font-size: clamp(34px, 4.6vw, 60px); margin-top: 18px; }
.head p { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.card.w3 { grid-column: span 3; } .card.w2 { grid-column: span 2; } .card.w4 { grid-column: span 4; }
.card h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; }
.card p { color: var(--muted); font-size: 15px; max-width: 420px; }
.card .viz { margin-top: auto; padding-top: 24px; }
/* Mini visuals inside the cards */
.msgs { display: grid; gap: 8px; }
.m { justify-self: start; max-width: 90%; padding: 8px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); font-size: 14px; }
.m small { display: block; font: 500 10.5px var(--mono); color: var(--dim); margin-bottom: 2px; letter-spacing: .05em; }
.m.k { justify-self: end; border-color: var(--rose); }
.m.k small { color: var(--rose); }
.policy { display: grid; gap: 8px; font: 500 13px var(--mono); }
.policy div { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--muted); }
.policy .pass { color: var(--signal); } .policy .hold { color: var(--amber); }
.ussd { width: 220px; margin-inline: auto; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); font: 500 13px/1.7 var(--mono); color: var(--text); white-space: pre-line; }
.ussd .in { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--dim); }
.codebox { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: 500 13px/1.8 var(--mono); color: var(--muted); white-space: pre; overflow-x: auto; }
.codebox .k { color: var(--blue); } .codebox .s { color: var(--signal); } .codebox .n { color: var(--amber); }
.bars { display: grid; gap: 10px; }
.bars div { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 12px; font: 500 12.5px var(--mono); color: var(--muted); }
.bars i { display: block; height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.bars i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--signal); }

/* ---------- Kolo product with real screenshots ---------- */
.product { border: 1px solid var(--line); border-radius: 28px; background: var(--panel); padding: 56px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; overflow: hidden; }
.kolo-tag { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.kolo-tag img { width: 28px; height: 28px; }
.product h2 { font-size: clamp(34px, 4vw, 52px); margin: 18px 0 16px; }
.product p { color: var(--muted); }
.flist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.flist li { display: flex; gap: 12px; align-items: flex-start; }
.flist .i { color: var(--rose); margin-top: 3px; }
.product > * { min-width: 0; } /* let grid columns shrink instead of overflowing */
.phones { display: flex; justify-content: center; gap: 18px; }
.phone { flex: 1 1 0; max-width: 270px; min-width: 0; aspect-ratio: 9 / 19.5; border: 6px solid #1d1f23; border-radius: 34px; overflow: hidden; background: var(--panel-2); }
.phone:nth-child(2) { margin-top: 48px; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.empty { display: grid; place-items: center; }
.phone.empty img { display: none; }
.phone.empty::before { content: "Kolo screenshot"; font: 500 11px var(--mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.pstep { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--panel); position: relative; }
.pstep::before { counter-increment: s; content: "0" counter(s); font: 500 12px var(--mono); color: var(--dim); }
.pstep .i { display: block; margin: 18px 0 14px; color: var(--signal); width: 22px; height: 22px; }
.pstep h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.pstep p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.pstep:last-child { border-color: var(--signal); }

/* ---------- Company ---------- */
.company .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.company h2 { font-size: clamp(34px, 4vw, 52px); margin: 18px 0 22px; }
.company p + p { margin-top: 14px; }
.ledger { margin: 0; border-top: 1px solid var(--line-2); }
.ledger div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.ledger dt { font: 500 12px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.ledger dd { margin: 0; text-align: right; }

/* ---------- Closing call to action ---------- */
.cta { text-align: center; padding: 140px 0 120px; border-top: 1px solid var(--line); position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: url(grid.svg) repeat; opacity: .7; pointer-events: none; }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(42px, 7vw, 96px); max-width: 980px; margin: 22px auto 0; }
.cta p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 22px auto 36px; }
.mono-link { font: 500 14px var(--mono); }

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

/* ---------- Tablets ---------- */
@media (max-width: 1000px) {
  section { padding: 96px 0; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { border-right: 0; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; padding: 10px; }
  .win-side .side-label { display: none; }
  .lang-btn { width: auto; flex: none; gap: 8px; }
  .win-col + .win-col { border-left: 0; border-top: 1px solid var(--line); }
  .statement .top { grid-template-columns: 1fr; gap: 20px; }
  .statement .sub { margin-left: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.w3, .card.w2, .card.w4 { grid-column: span 1; }
  .card.wide-sm { grid-column: span 2; }
  .product { grid-template-columns: 1fr; padding: 36px; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .company .wrap { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
}
/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .hero { padding-top: 132px; }
  .lead { font-size: 17px; }
  .stats { grid-template-columns: 1fr; gap: 40px; margin-top: 64px; }
  .bento, .pipeline { grid-template-columns: 1fr; }
  .card.wide-sm { grid-column: span 1; }
  .product { padding: 26px; }
  .phone { border-width: 5px; border-radius: 26px; }
  .said { font-size: 19px; }
  .json { font-size: 12.5px; }
}

/* =====================================================================
   COLOUR GRADING: where the black melts into green
   ===================================================================== */

/* Hero: a green dawn rising behind the headline, fading back into black. */
.hero { background:
  radial-gradient(60% 45% at 50% 0%, rgba(62, 224, 143, .20), transparent 70%),
  radial-gradient(40% 30% at 85% 30%, rgba(31, 184, 115, .10), transparent 70%); }
/* Fade the dot grid out towards the bottom so it melts into the page. */
.hero::before { -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent); }

/* Gradient text: the hero highlight slowly shimmers; big numbers fade white to green. */
/* (motion.js splits the headline into words, so the gradient goes on each green word.) */
.hero h1 .hl, .hero h1 .hl .w, .grade {
  background: var(--grade-text); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .hl:has(.w) { background: none; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.stat b { background: linear-gradient(180deg, #ffffff 30%, var(--signal) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons: a lit green bar with a soft shine on hover. */
.btn-signal { background: var(--grade-btn); box-shadow: 0 0 0 1px rgba(62, 224, 143, .4), 0 8px 24px -10px rgba(62, 224, 143, .6); }
.btn-signal:hover { background: var(--grade-btn); filter: brightness(1.08); }
.btn { transition: transform .2s, filter .2s, background-color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }

/* Statement section floor turns deep green; the next section starts from that green. */
.statement { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, var(--deep) 140%); }
.statement + section { background: linear-gradient(180deg, #071a11 0%, var(--bg) 35%); }

/* Engine window: a thin green edge at the top, like light catching glass. */
.window { background: linear-gradient(180deg, #101513 0%, var(--panel) 30%); }
.window::after { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--signal), transparent); }

/* Cards: dark green at the top fading to black, plus a light that follows the mouse. */
.card, .pstep { position: relative; background: linear-gradient(180deg, #0f1613 0%, var(--panel) 45%); isolation: isolate; }
.card::before, .pstep::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(62, 224, 143, .12), transparent 60%);
}
.card:hover::before, .pstep:hover::after { opacity: 1; }
/* Uses `translate` (not `transform`) so the hover lift doesn't fight the scroll reveal. */
.card, .pstep { transition: border-color .3s, translate .3s; }
.card:hover, .pstep:hover { border-color: rgba(62, 224, 143, .35); translate: 0 -3px; }

/* Kolo card: its own rose light in the corner so the product feels distinct. */
.product { background: radial-gradient(70% 90% at 100% 0%, rgba(255, 92, 132, .10), transparent 60%), linear-gradient(180deg, #121012 0%, var(--panel) 60%); }

/* Closing section: the green dawn again, this time rising from the bottom. */
.cta { background: radial-gradient(70% 60% at 50% 110%, rgba(62, 224, 143, .28), rgba(6, 42, 25, .35) 45%, transparent 75%); }
.cta h2 .grade { display: inline; }

/* =====================================================================
   ANIMATIONS: noticeable but calm (all switched off for reduced motion)
   ===================================================================== */

/* 1. Hero headline: each word rises into place, one after another (words wrapped by motion.js). */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(6px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 100ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
/* The green words rise in too, then keep a slow shimmer moving through their gradient. */
.hero h1 .hl .w { animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards, shimmer 6s ease-in-out 1.5s infinite alternate; animation-delay: calc(var(--i) * 70ms + 100ms), 1.5s; }
.hero .pill, .hero .lead, .hero .actions, .hero .checks { animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .pill { animation-delay: 0s; } .hero .lead { animation-delay: .55s; } .hero .actions { animation-delay: .7s; } .hero .checks { animation-delay: .85s; }
.stage-wrap { animation: fade-up 1.2s cubic-bezier(.2, .7, .2, 1) .9s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }

/* 2. Scroll reveal: anything marked data-reveal fades up when it enters the screen. */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0) * 90ms), transform .8s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0) * 90ms), translate .3s, border-color .3s; }
.js [data-reveal].in { opacity: 1; transform: none; }

/* 3. The status pill's dot pulses like a live signal. */
.pill b { position: relative; }
.pill b::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 1px solid var(--signal); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }

/* 4. The Kolo phones float gently, out of step with each other. */
.phone { animation: float 7s ease-in-out infinite; }
.phone:nth-child(2) { animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* 5. The pipeline's last step glows on and off: the moment the action runs. */
.pstep:last-child { animation: done 3s ease-in-out infinite; }
@keyframes done { 50% { box-shadow: 0 0 0 1px var(--signal), 0 0 32px -8px rgba(62, 224, 143, .55); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .said .caret, .pill b::after, .phone, .pstep:last-child { animation: none; }
  .hero h1 .w, .hero .pill, .hero .lead, .hero .actions, .hero .checks, .stage-wrap { animation: none; opacity: 1; transform: none; filter: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
