/* ===== Reset & Tokens ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
address { font-style: normal; }

:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --bg-3: #131319;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #ededee;
  --text-muted: #9a9aa3;
  --text-dim: #6b6b75;

  --orange: #e1232b;          /* SA flag red — primary accent */
  --orange-2: #a8181f;
  --orange-glow: rgba(225, 35, 43, 0.4);
  --green: #00853f;            /* SA flag green — secondary accent */
  --green-2: #005035;
  --green-glow: rgba(0, 133, 63, 0.4);
  --blue: #001489;             /* SA flag blue — tertiary accent */
  --blue-2: #000a5e;
  --yellow: #ffb612;           /* SA flag gold — hover/highlight */

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --container: 1200px;
  --container-pad: clamp(20px, 5vw, 48px);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

/* ===== Background art ===== */
.bg-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-art__corner {
  position: absolute;
  width: clamp(220px, 30vw, 460px);
  height: auto;
  opacity: 0.95;
}
.bg-art__corner--tl { top: -40px; left: -40px; }
.bg-art__corner--br { bottom: -40px; right: -40px; }
.bg-art__side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(50px, 6vw, 90px);
  height: 100%;
  opacity: 0.7;
}
.bg-art__side--left { left: 0; }
.bg-art__side--right { right: 0; }
.bg-art__grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(225, 35, 43, 0.08), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(0, 133, 63, 0.08), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(0, 20, 137, 0.06), transparent 40%);
  mix-blend-mode: screen;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(225, 35, 43, 0.1), transparent 60%),
    radial-gradient(1000px 500px at 110% 110%, rgba(0, 133, 63, 0.09), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(0, 20, 137, 0.08), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}

main, header, footer { position: relative; z-index: 2; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 10, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nav__logo-img {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
}
.footer__logo { gap: 12px; }
.footer__logo .nav__logo-img { width: 108px; height: 108px; border-radius: 16px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: all 0.2s;
}
.nav__cta:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #0a0a0a;
}
.nav__menu {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.nav__menu span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.nav.is-open .nav__menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__menu span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--container-pad) 24px;
  background: rgba(7, 7, 10, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a {
  padding: 14px 4px;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-child { border-bottom: 0; }
.nav__cta--mobile { margin-top: 8px; justify-content: center; }

/* ===== Hero ===== */
.hero {
  padding: clamp(120px, 18vh, 180px) 0 clamp(60px, 10vh, 100px);
  position: relative;
}
.hero__art {
  position: absolute;
  top: 50%;
  right: clamp(20px, 2vw, 60px);
  transform: translateY(-50%);
  width: clamp(220px, 32vw, 380px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 0;
}
.hero__mark {
  width: 100%;
  height: auto;
  border-radius: 28px;
  opacity: 0.95;
  filter: drop-shadow(0 30px 60px rgba(255, 122, 46, 0.18))
          drop-shadow(0 20px 40px rgba(0, 133, 63, 0.12));
  display: block;
  animation: hero-mark-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
@keyframes hero-mark-in {
  from { opacity: 0; transform: translateY(-12px) scale(0.94); }
  to   { opacity: 0.95; transform: translateY(0) scale(1); }
}

.hero__stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 0 8px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  flex: 1 1 auto;
  min-width: 150px;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.store-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.store-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.store-badge__img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
}
.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-badge__text small {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.store-badge__text strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero .container { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
  max-width: 14ch;
}
.grad {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.grad--orange {
  background-image: linear-gradient(135deg, #ff6b75 0%, var(--orange) 50%, var(--orange-2) 100%);
}
.grad--green {
  background-image: linear-gradient(135deg, #4cd187 0%, var(--green) 50%, var(--green-2) 100%);
}
.hero__lede {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: #fff;
  max-width: 30ch;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero__sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__divider {
  margin-top: clamp(60px, 10vh, 100px);
  height: 40px;
  opacity: 0.7;
}
.hero__divider svg { width: 100%; height: 100%; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: #0a0a0a;
  box-shadow: 0 8px 24px -8px var(--orange-glow);
}
.btn--primary:hover {
  background: #ff8a45;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px var(--orange-glow);
}
.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: #fff;
}
.btn--ghost:hover {
  border-color: var(--green);
  background: rgba(0, 133, 63, 0.08);
}

/* ===== Stats ===== */
.stats {
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 16px 0;
}
.stat__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 600;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== Section base ===== */
.section {
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.012), transparent);
}
.section__head {
  margin-bottom: clamp(40px, 6vh, 64px);
  max-width: 800px;
}
.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
}
.section__sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 38ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow__bar {
  display: inline-block;
  width: 38px; height: 3px;
  background: linear-gradient(90deg,
    var(--orange) 0%,
    var(--orange) 33%,
    var(--yellow) 33%,
    var(--yellow) 66%,
    var(--green) 66%,
    var(--green) 100%);
  border-radius: 2px;
}

/* ===== Ecosystem ===== */
.ecosystem {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.ecosystem__copy p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}
.ecosystem__copy .lede {
  font-size: 19px;
  color: var(--text);
  font-weight: 500;
}
.ecosystem__diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}
.ecosystem__diagram svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 12px 40px rgba(225, 35, 43, 0.12));
}

/* ===== Projects ===== */
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  position: relative;
}
.project:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.project__visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.project__visual svg {
  width: 100%; height: 100%;
  transition: transform 0.6s ease;
}
.project:hover .project__visual svg { transform: scale(1.04); }
.project__body {
  padding: clamp(24px, 3vw, 36px);
}
.project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(225, 35, 43, 0.12);
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(225, 35, 43, 0.2);
}
.tag--green {
  background: rgba(0, 133, 63, 0.1);
  color: var(--green);
  border-color: rgba(0, 133, 63, 0.22);
}
.tag--orange {
  background: rgba(225, 35, 43, 0.12);
  color: var(--orange);
}
.tag--blue {
  background: rgba(0, 20, 137, 0.12);
  color: #5878ff;
  border-color: rgba(0, 20, 137, 0.32);
}
.tag--yellow {
  background: rgba(255, 182, 18, 0.12);
  color: var(--yellow);
  border-color: rgba(255, 182, 18, 0.35);
}
.project__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.project__domain {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-family: 'Space Grotesk', monospace;
}
.project__desc {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.project__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green);
  transition: gap 0.2s, color 0.2s;
}
.project__link:hover {
  gap: 12px;
  color: #6ee7a8;
}

/* ===== Pricing ===== */
.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}
.section__head--center .section__sub { margin: 18px auto 0; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 36px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.plan--featured {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(225, 35, 43, 0.12), transparent 60%),
    var(--surface-2);
  border-color: rgba(225, 35, 43, 0.45);
  box-shadow: 0 14px 50px -20px rgba(225, 35, 43, 0.45);
}
.plan--featured:hover { border-color: var(--orange); }

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--orange);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.plan__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.plan__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.plan__tag--green {
  background: rgba(0, 133, 63, 0.1);
  color: var(--green);
  border-color: rgba(0, 133, 63, 0.25);
}
.plan__tag--blue {
  background: rgba(0, 20, 137, 0.14);
  color: #5878ff;
  border-color: rgba(0, 20, 137, 0.35);
}
.plan__tag--yellow {
  background: rgba(255, 182, 18, 0.12);
  color: var(--yellow);
  border-color: rgba(255, 182, 18, 0.35);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--border);
}
.plan__currency {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan--featured .plan__amount { color: var(--orange); }
.plan__desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 18px 0 22px;
  min-height: 64px;
}
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.45;
}
.plan__features li em { color: var(--text-muted); font-style: italic; }
.plan__features li strong { color: #fff; }
.plan--featured .plan__features li strong { color: var(--orange); }
.check {
  flex-shrink: 0;
  display: inline-block;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(0, 133, 63, 0.15);
  position: relative;
}
.check::after {
  content: '';
  position: absolute;
  left: 5px; top: 4px;
  width: 5px; height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}
.plan--featured .check { background: rgba(225, 35, 43, 0.18); }
.plan--featured .check::after { border-color: var(--orange); }

.plan--enterprise {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 182, 18, 0.1), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(0, 20, 137, 0.1), transparent 60%),
    var(--surface);
  border-color: rgba(255, 182, 18, 0.32);
}
.plan--enterprise:hover { border-color: var(--yellow); }
.plan--enterprise .check { background: rgba(255, 182, 18, 0.15); }
.plan--enterprise .check::after { border-color: var(--yellow); }
.plan--enterprise .plan__amount--custom { color: var(--yellow); }

.plan__price--custom {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 6px;
}
.plan__amount--custom {
  font-size: clamp(28px, 3.5vw, 36px);
}

.btn--block { width: 100%; justify-content: center; }

.pricing__footnote {
  text-align: center;
  color: var(--text-muted);
  font-size: 14.5px;
}
.pricing__footnote a { color: var(--green); font-weight: 600; }
.pricing__footnote a:hover { color: #6ee7a8; }

@media (max-width: 1024px) {
  .pricing { grid-template-columns: 1fr; gap: 18px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan__desc { min-height: 0; }
}

/* ===== Profile / Pillars ===== */
.profile__head {
  max-width: 800px;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.profile__body {
  max-width: 760px;
  margin-bottom: clamp(48px, 7vh, 72px);
}
.profile__body p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 18px;
  line-height: 1.7;
}
.profile__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.pillar:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.pillar__icon {
  width: 44px; height: 44px;
  margin-bottom: 16px;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}
.pillar__icon svg { width: 100%; height: 100%; }
.pillar__icon--red    { color: var(--orange); }
.pillar__icon--green  { color: var(--green); }
.pillar__icon--blue   { color: var(--blue); }
.pillar__icon--yellow { color: var(--yellow); }
.pillar__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.pillar__text {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ===== CTA ===== */
.cta { padding: clamp(60px, 10vh, 120px) 0; }
.cta__inner {
  position: relative;
  padding: clamp(40px, 7vw, 80px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(225, 35, 43, 0.14), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(0, 133, 63, 0.14), transparent 60%),
    radial-gradient(500px 300px at 100% 0%, rgba(0, 20, 137, 0.1), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}
.cta__pattern svg { width: 100%; height: 100%; }
.cta__copy { position: relative; max-width: 720px; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.cta__sub {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 55ch;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Footer ===== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer__brand { max-width: 280px; }
.footer__legal-name {
  margin-top: 18px;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
}
.footer__copy {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 13px;
}
.footer__heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer__col ul li, .footer__col address {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.9;
}
.footer__col a {
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--orange); }

.footer__col--hq {
  min-width: 220px;
}
.footer__address-link {
  display: inline-block;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.55;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.footer__address-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.footer__map {
  margin-top: 14px;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.footer__map:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05) brightness(0.95);
}
.footer__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer__bar-mark {
  flex: 1;
  height: 24px;
  opacity: 0.7;
}
.footer__bar-mark svg { width: 100%; height: 100%; }
.footer__bar-text {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .ecosystem { grid-template-columns: 1fr; gap: 50px; }
  .ecosystem__diagram { max-width: 360px; }
  .projects { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero__art { width: 240px; right: -40px; opacity: 0.85; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav > .nav__inner > .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .stat__divider {
    width: 60px; height: 1px;
    margin: 0 auto;
  }
  .stat__value { font-size: 17px; }

  .profile__pillars { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .bg-art__side { display: none; }
  .hero__art { display: none; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
