/* ============================================================
   SOLsoft — shared design system
   Ink navy + parchment paper, stream accents: gold / teal / plum
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #14213D;
  --ink-70: #14213Db3;
  --paper: #F7F4EC;
  --paper-dim: #EFEADB;
  --charcoal: #22262B;
  --line: #DCD5C2;
  --gold: #C99A2E;
  --gold-dark: #9C7620;
  --teal: #1F6F5C;
  --teal-dark: #175347;
  --plum: #7A3B45;
  --plum-dark: #5E2C34;
  --accent: var(--gold);
  --accent-dark: var(--gold-dark);
  --max: 1120px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { 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;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { margin: 0; max-width: 62ch; }

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

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}
.wordmark span { color: var(--accent); }

nav.links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 500;
}

nav.links a {
  color: var(--ink-70);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
nav.links a:hover,
nav.links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: #0D1730; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 10px;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */

.hero {
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-70);
}
.eyebrow-line .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  max-width: 14ch;
}
.hero .lede {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--ink-70);
  max-width: 46ch;
}
.hero .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-art { justify-self: end; width: 100%; }

/* ---------- Section rhythm ---------- */

section { padding: 72px 0; }
section.tight { padding: 56px 0; }
section.on-line { border-bottom: 1px solid var(--line); }
section.dim { background: var(--paper-dim); }
section.ink { background: var(--ink); color: var(--paper); }
section.ink h2, section.ink h3 { color: var(--paper); }
section.ink p { color: #C9CEDC; }

.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent-dark);
  margin-bottom: 10px;
  display: block;
}
section.ink .kicker { color: var(--gold); }

h2.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  max-width: 20ch;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}
.section-head p { color: var(--ink-70); font-size: 1.02rem; }
section.ink .section-head p { color: #C9CEDC; }

/* ---------- Stream cards (home) ---------- */

.stream-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stream-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stream-card .bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
}
.stream-card.gold .bar { background: var(--gold); }
.stream-card.teal .bar { background: var(--teal); }
.stream-card.plum .bar { background: var(--plum); }

.stream-card .tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.stream-card.gold .tag { color: var(--gold-dark); }
.stream-card.teal .tag { color: var(--teal-dark); }
.stream-card.plum .tag { color: var(--plum-dark); }

.stream-card h3 { font-size: 1.5rem; }
.stream-card p { color: var(--ink-70); font-size: 0.98rem; }
.stream-card .go {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
}
.stream-card.gold .go { color: var(--gold-dark); }
.stream-card.teal .go { color: var(--teal-dark); }
.stream-card.plum .go { color: var(--plum-dark); }
.stream-card .go svg { width: 15px; height: 15px; transition: transform .15s; }
.stream-card:hover .go svg { transform: translateX(3px); }

/* ---------- Feature list (icon + text, no shadow cards) ---------- */

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}
.feature-list.two { grid-template-columns: repeat(2, 1fr); }
.feature {
  border-top: 2px solid var(--line);
  padding-top: 18px;
}
.feature .icon {
  width: 30px; height: 30px;
  margin-bottom: 14px;
  color: var(--accent-dark);
}
.feature h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.feature p { font-size: 0.95rem; color: var(--ink-70); }

/* ---------- Problem block ---------- */

.problem {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.problem .stat-col {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}
.problem .stat-col .num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--ink);
  display: block;
}
.problem .stat-col .cap {
  font-size: 0.92rem;
  color: var(--ink-70);
  margin-top: 4px;
}
.problem p { font-size: 1.05rem; color: var(--ink-70); }

/* ---------- Why-choose list ---------- */

.reason-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 44px;
}
.reason {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
}
.reason .mark {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.reason .mark svg { width: 18px; height: 18px; }
.reason h4 { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); margin: 0 0 6px; }
.reason p { font-size: 0.94rem; color: var(--ink-70); }

/* ---------- Region strip ---------- */

.region-strip {
  display: flex;
  align-items: center;
  gap: 38px;
  flex-wrap: wrap;
}
.region-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
}
.region-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.region-pill.za .dot { background: var(--teal); }
.region-pill.ke .dot { background: var(--gold); }

/* ---------- Trust bar ---------- */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}
.trust-chip {
  border: 1px solid var(--line);
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-70);
  border-radius: 3px;
}

/* ---------- Closing CTA ---------- */

.closing {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}
.closing .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--ink);
  color: #C9CEDC;
  padding: 56px 0 30px;
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2A3554;
}
footer.site .wordmark { color: var(--paper); }
footer.site .wordmark span { color: var(--gold); }
footer.site p { color: #A9B0C6; margin-top: 14px; max-width: 32ch; }
footer.site h5 {
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0 0 14px;
}
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site a:hover { color: var(--paper); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #8E96AE;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Stream page hero variants ---------- */

.hero.gold { background: linear-gradient(180deg, #FBF3DF 0%, var(--paper) 100%); }
.hero.teal { background: linear-gradient(180deg, #E3EFEC 0%, var(--paper) 100%); }
.hero.plum { background: linear-gradient(180deg, #F3E4E7 0%, var(--paper) 100%); }

.hero.gold .kicker, .hero.gold .eyebrow-line .dot { color: var(--gold-dark); background: var(--gold); }
.hero.teal .kicker, .hero.teal .eyebrow-line .dot { color: var(--teal-dark); background: var(--teal); }
.hero.plum .kicker, .hero.plum .eyebrow-line .dot { color: var(--plum-dark); background: var(--plum); }

.hero.gold .btn-primary { background: var(--gold-dark); }
.hero.teal .btn-primary { background: var(--teal-dark); }
.hero.plum .btn-primary { background: var(--plum-dark); }

/* solution rows: alternating text / icon emphasis, not identical cards */
.solution-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.solution-row:last-child { border-bottom: 1px solid var(--line); }
.solution-row .label {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
}
.solution-row .body p { color: var(--ink-70); }
.solution-row .body h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: none;
  color: var(--ink-70);
  margin: 0 0 6px;
}

.tick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
}
.tick {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-70);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.tick svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.hero.gold ~ * .tick svg, .gold-accent { color: var(--gold-dark); }
.teal-accent { color: var(--teal-dark); }
.plum-accent { color: var(--plum-dark); }

.who-band {
  border-left: 3px solid var(--ink);
  padding-left: 24px;
}
.who-band p { font-size: 1.08rem; color: var(--ink-70); }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  nav.links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 16px;
  }
  nav.links.open { display: flex; }
  nav.links a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  header.site { position: sticky; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: start; max-width: 320px; }
  .section-head { grid-template-columns: 1fr; }
  .stream-grid { grid-template-columns: 1fr; }
  .feature-list, .feature-list.two { grid-template-columns: 1fr; }
  .problem { grid-template-columns: 1fr; }
  .reason-list { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; }
  .closing .cta-row { justify-content: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .solution-row { grid-template-columns: 1fr; gap: 10px; }
  .tick-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 52px 0 44px; }
  section { padding: 52px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
