:root {
  --bg: #05070a;
  --panel: rgba(255,255,255,0.035);
  --panel-strong: rgba(255,255,255,0.055);
  --line: rgba(255,255,255,0.09);
  --text: #f5f7fa;
  --muted: #9ba3af;
  --muted-2: #737b86;
  --green: #0f3d34;
  --green-bright: #18a06b;
  --white-soft: #d8dde3;
  --shadow: 0 30px 90px rgba(0,0,0,0.34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(24,160,107,0.10), transparent 20%),
    radial-gradient(circle at top left, rgba(83,119,255,0.08), transparent 20%),
    linear-gradient(180deg, #040507 0%, #070a10 38%, #05070a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5,7,10,0.78);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
.brand img { width: 260px; }
.nav { display: flex; gap: 28px; font-size: 14px; color: var(--white-soft); }
.nav a:hover, .site-footer a:hover { color: white; }
.mobile-toggle, .mobile-panel { display: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button-row.slim .button { padding: 10px 14px; font-size: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 22px; border: 1px solid rgba(24,160,107,0.55);
  background: linear-gradient(180deg, rgba(24,160,107,0.20), rgba(15,61,52,0.42));
  color: white; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.button:hover { background: linear-gradient(180deg, rgba(24,160,107,0.26), rgba(15,61,52,0.56)); }
.button-outline, .button-ghost {
  background: rgba(255,255,255,0.02); border: 1px solid var(--line); color: var(--text);
}
.button-ghost:hover, .button-outline:hover { background: rgba(255,255,255,0.05); }
.section { padding: 72px 0; }
.hero { padding-top: 70px; }
.hero-grid, .split-grid, .app-grid, .footer-grid, .page-hero {
  display: grid; gap: 32px; align-items: start;
}
.hero-grid { grid-template-columns: 1.05fr 0.95fr; }
.page-hero { grid-template-columns: 1fr 0.85fr; }
.eyebrow { margin: 0 0 18px; color: var(--green-bright); text-transform: uppercase; letter-spacing: .28em; font-size: 12px; }
h1, h2, h3, h4 { margin: 0; font-weight: 350; letter-spacing: -0.03em; }
h1 { font-size: clamp(3rem, 7vw, 5.4rem); line-height: .96; }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; }
h3 { font-size: 1.45rem; }
.lead, .section-copy, .feature-card p, .site-footer p, .site-footer span, .contact-list p, .contact-card p, .app-copy p, .content-prose p {
  color: var(--muted); line-height: 1.85; font-size: 17px;
}
.hero-panel, .glass-card {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  box-shadow: var(--shadow); border-radius: 30px;
}
.hero-panel { min-height: 430px; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; }
.panel-badge {
  display: inline-flex; width: fit-content; padding: 9px 12px; border: 1px solid rgba(24,160,107,0.35);
  background: rgba(24,160,107,0.10); color: #9de6c3; text-transform: uppercase; letter-spacing: .22em; font-size: 11px;
}
.hero-panel h3 { margin: 18px 0 12px; font-size: 1.6rem; max-width: 18ch; }
.hero-geometry span { position: absolute; border: 1px solid rgba(255,255,255,0.18); }
.hero-geometry span:nth-child(1) { width: 170px; height: 170px; right: 28px; top: 58px; }
.hero-geometry span:nth-child(2) { width: 110px; height: 110px; right: 90px; top: 120px; border-color: rgba(24,160,107,0.42); }
.hero-geometry span:nth-child(3) { width: 56px; height: 56px; right: 18px; top: 34px; }
.metrics-grid, .services-grid, .mini-grid, .insights-grid, .dash-kpis { display: grid; gap: 18px; }
.metrics-grid { grid-template-columns: repeat(4, 1fr); }
.metric-card { padding: 22px; }
.metric-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.metric-label { color: var(--muted-2); text-transform: uppercase; letter-spacing: .20em; font-size: 11px; }
.metric-value { display: block; margin-top: 14px; font-size: 3rem; font-weight: 320; }
.metric-note { margin-top: 8px; font-size: 12px; color: var(--muted-2); }
.metric-note strong { color: #99e5c2; font-weight: 600; }
.metric-note strong.negative { color: #ff8d8d; }
.muted-center { text-align: center; color: var(--muted-2); margin-top: 16px; text-transform: uppercase; letter-spacing: .22em; font-size: 11px; }
.feature-card { padding: 34px; }
.feature-large { min-height: 100%; }
.feature-card h2 { margin-bottom: 18px; max-width: 14ch; }
.mini-grid { grid-template-columns: repeat(2, 1fr); }
.mini-card { padding: 24px; }
.mini-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.app-grid { grid-template-columns: .42fr .58fr; }
.check-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 28px; color: var(--white-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #8cd8b4; }
.dashboard-mockup { display: grid; grid-template-columns: 200px 1fr; min-height: 560px; }
.dash-sidebar { padding: 22px; border-right: 1px solid var(--line); background: rgba(0,0,0,0.16); }
.dash-brand { display: flex; align-items: center; gap: 10px; color: var(--white-soft); margin-bottom: 26px; }
.dash-brand img { width: 34px; }
.dash-sidebar a {
  display: block; padding: 13px 14px; margin-bottom: 8px; border-radius: 14px;
  color: var(--muted); background: rgba(255,255,255,0.02);
}
.dash-sidebar a.active { background: rgba(24,160,107,0.17); color: #9de6c3; }
.dash-main { padding: 22px; }
.dash-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.dash-top p { margin: 6px 0 0; color: var(--muted-2); }
.dash-kpis { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.dash-kpis > div, .dash-box {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07); border-radius: 22px; padding: 18px;
}
.dash-kpis span, .dash-box span { display: block; color: var(--muted-2); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
.dash-kpis strong { display: block; margin-top: 12px; font-size: 1.9rem; font-weight: 400; }
.dash-kpis small { display: block; margin-top: 8px; color: #8cd8b4; }
.dash-panels { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.donut { width: 128px; height: 128px; border-radius: 50%; margin-top: 16px; background: conic-gradient(var(--green-bright) 0 62%, #1f4e43 62% 86%, #2f705d 86% 95%, rgba(255,255,255,0.12) 95% 100%); position: relative; }
.donut::after { content: "R212.4m"; position: absolute; inset: 18px; border-radius: 50%; background: #091017; display: grid; place-items: center; font-size: 1rem; color: var(--text); }
.bar-set { height: 170px; display: flex; align-items: end; gap: 12px; margin-top: 18px; }
.bar-set i { display: block; flex: 1; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #1d8f63, #0f3d34); }
.bar-set i:nth-child(1){ height: 24%; }
.bar-set i:nth-child(2){ height: 48%; }
.bar-set i:nth-child(3){ height: 78%; }
.bar-set i:nth-child(4){ height: 62%; }
.bar-set i:nth-child(5){ height: 44%; }
.table-lines { margin-top: 16px; display: grid; gap: 10px; }
.table-lines div { display: grid; grid-template-columns: 1fr .8fr .9fr; gap: 12px; font-size: 14px; color: var(--white-soft); }
.table-lines b { font-weight: 500; }
.table-lines em { font-style: normal; color: var(--muted); }
.summary-box ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.summary-box li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,0.22); }
.summary-box label { color: var(--muted); }
.summary-box strong { color: #8cd8b4; font-weight: 600; }
.section-header-row { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.section-note { color: var(--muted-2); font-size: 14px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 28px; }
.service-card p { font-size: 15px; }
.service-card a, .insight-card a { display: inline-block; margin-top: 18px; color: #8cd8b4; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; }
.market-grid { grid-template-columns: .95fr 1.05fr; }
.insights-grid { grid-template-columns: repeat(2, 1fr); }
.insight-card { padding: 24px; }
.insight-card small { color: var(--muted-2); text-transform: uppercase; letter-spacing: .22em; }
.insight-card h3 { margin: 10px 0 12px; font-size: 1.2rem; }
.cta-panel { padding: 34px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer { border-top: 1px solid var(--line); background: rgba(0,0,0,0.26); padding: 48px 0 88px; }
.footer-grid { grid-template-columns: 1.2fr .7fr .7fr .9fr; }
.footer-logo { width: 250px; margin-bottom: 18px; }
.site-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .22em; color: var(--muted-2); margin-bottom: 18px; }
.site-footer a, .site-footer span { display: block; margin-bottom: 12px; color: var(--white-soft); font-size: 14px; }
.ticker-wrap {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; overflow: hidden;
  border-top: 1px solid var(--line); background: rgba(0,0,0,0.88); backdrop-filter: blur(14px);
}
.ticker { display: flex; gap: 34px; white-space: nowrap; padding: 14px 22px; min-width: max-content; animation: ticker 38s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; color: var(--white-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.ticker-item::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green-bright); }
.ticker-item em { font-style: normal; color: white; }
.ticker-item strong { color: #8cd8b4; }
.ticker-item strong.negative { color: #ff8d8d; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.spark { width: 110px; height: 42px; }
.page-hero .glass-card { min-height: 100%; padding: 30px; }
.content-grid { display: grid; gap: 24px; grid-template-columns: 1.1fr .9fr; }
.content-prose { padding: 28px; }
.content-prose ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.content-prose li { margin-bottom: 10px; }
.side-stack { display: grid; gap: 20px; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; }
.contact-card, .contact-form-card { padding: 28px; }
.contact-list { display: grid; gap: 20px; }
.contact-item label { display: block; color: var(--muted-2); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea, select {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03); color: white; font: inherit;
}
textarea { min-height: 160px; resize: vertical; }
label.form-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.notice { padding: 14px 16px; border-radius: 16px; background: rgba(24,160,107,0.08); border: 1px solid rgba(24,160,107,0.24); color: #a8eacf; font-size: 14px; }
@media (max-width: 1040px) {
  .hero-grid, .split-grid, .app-grid, .market-grid, .page-hero, .content-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .metrics-grid, .services-grid, .mini-grid, .insights-grid, .dash-kpis, .dash-panels { grid-template-columns: repeat(2, 1fr); }
  .dashboard-mockup { grid-template-columns: 1fr; }
  .dash-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 56px 0; }
  .brand img, .footer-logo { width: 210px; }
  .nav, .header-inner > .button-outline { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: white; }
  .mobile-panel.open { display: grid; padding: 0 20px 16px; gap: 14px; border-top: 1px solid var(--line); }
  .hero-panel { min-height: 300px; }
  .metrics-grid, .services-grid, .mini-grid, .insights-grid, .dash-kpis, .dash-panels, .form-grid { grid-template-columns: 1fr; }
  .cta-panel, .section-header-row, .dash-top, .header-inner { align-items: start; }
  .cta-panel, .section-header-row, .dash-top { flex-direction: column; }
  .ticker { font-size: 11px; }
}
