:root {
  --bg:        #f4f3ef;
  --bg-2:      #ffffff;
  --bg-3:      #eae9e3;
  --ink:       #15141a;
  --ink-2:     #3a3944;
  --ink-3:     #74737e;
  --line:      rgba(21,20,26,0.09);
  --line-2:    rgba(21,20,26,0.16);
  --brand:     #1b2a4a;
  --brand-mid: #233661;
  --brand-lt:  #e8ecf5;
  --green:     #16a34a;
  --green-bg:  #dcfce7;
  --green-brd: rgba(22,163,74,0.3);
  --font:      'Plus Jakarta Sans', sans-serif;
  --mono:      'JetBrains Mono', monospace;
  --r:         10px;
  --r-sm:      8px;
  --r-lg:      16px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { background: var(--bg); font-family: var(--font); color: var(--ink); min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* —— Nav —— */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,243,239,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.5px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--bg-3); }
.nav-link.active { color: var(--brand); background: var(--brand-lt); }
.btn-nav {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: transparent;
  border: 1.5px solid var(--line-2);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: background 0.15s;
  white-space: nowrap;
  min-height: 38px;
}
.btn-nav:hover { background: var(--bg-3); }

/* —— Shared Layout —— */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 20px;
}
.section-wrap--tight {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 72px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-lt);
  padding: 5px 12px;
  border-radius: 100px;
}
.section-label {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-label--center { text-align: center; }
.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 8px;
}
.section-title--center { text-align: center; }
.section-sub {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 480px;
  line-height: 1.6;
}
.section-sub--center { text-align: center; margin: 0 auto 44px; }

/* —— Page Hero —— */
.page-hero {
  padding: 64px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 18px;
}
.page-hero h1 em { font-style: normal; color: var(--brand); }
.page-hero-sub {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 520px;
}

/* —— Mission —— */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 700px) {
  .mission-grid { grid-template-columns: 1fr; gap: 36px; }
}
.mission-text h2 {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin-bottom: 16px;
}
.mission-text p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.mission-text p:last-child { margin-bottom: 0; }
.mission-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mstat-card {
  background: var(--bg-2);
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: 22px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: box-shadow 0.2s;
}
.mstat-card:hover { box-shadow: 0 4px 20px rgba(21,20,26,0.08); }
.mstat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mstat-val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.mstat-label {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.4;
}

/* —— What we do (portal cards) —— */
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .what-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .what-grid { grid-template-columns: 1fr; } }
.what-card {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.what-card:hover { box-shadow: 0 8px 32px rgba(21,20,26,0.10); transform: translateY(-2px); }
.what-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.what-tag {
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.what-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.what-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.free-tag {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-brd);
  border-radius: 100px;
  padding: 3px 9px;
  text-transform: uppercase;
  margin-left: auto;
  flex-shrink: 0;
}

/* —— Values —— */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s;
}
.value-card:hover { box-shadow: 0 6px 24px rgba(21,20,26,0.09); }
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-lt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.value-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* —— Company section —— */
.company-card {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 700px) {
  .company-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
}
.company-text h2 {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin-bottom: 14px;
}
.company-text p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 10px;
}
.company-text p:last-child { margin-bottom: 0; }
.company-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-row {
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.15s, background 0.15s;
}
.contact-row:hover { border-color: var(--line-2); background: var(--bg-3); }
.contact-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row-label {
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-row-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* —— Footer —— */
footer.footer-multi {
  border-top: 1px solid var(--line);
  padding: 52px 20px 32px;
  background: var(--bg-2);
}
.footer-multi-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-multi-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-multi-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-col-brand .logo-mark-sm {
  width: 32px;
  height: 32px;
  background: var(--brand);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-col-brand .brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.footer-col-brand .brand-tagline {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 200px;
}
.footer-col h4 {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--ink); }
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.footer-contact-list li a {
  color: var(--ink-2);
  transition: color 0.15s;
}
.footer-contact-list li a:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--ink-3); }

/* —— Responsive tweaks —— */
@media (max-width: 480px) {
  .page-hero { padding: 48px 20px 40px; }
  .section-wrap { padding: 48px 20px; }
  .section-wrap--tight { padding: 0 20px 48px; }
}

@media (max-width: 720px) {
  footer > div > div:first-child { grid-template-columns: 1fr !important; gap: 18px !important; }
  footer > div > div:last-child { flex-direction: column !important; align-items: flex-start !important; text-align: left !important; }
}
