:root {
  --primary: #1129c4;
  --secondary: #0a1738;
  --accent: #f5f7fa;
  --text: #1e293b;
  --muted: #5e6a82;
  --white: #ffffff;
  --border: #dbe3f3;
  --shadow: 0 14px 40px rgba(10, 23, 56, 0.08);
  --shadow-strong: 0 18px 55px rgba(17, 41, 196, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% 8%, rgba(17, 41, 196, 0.08), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(10, 23, 56, 0.08), transparent 26%),
    var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.site-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 41, 196, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(145deg, #ffffff, #edf2ff);
  border: 1px solid rgba(17, 41, 196, 0.14);
  box-shadow: var(--shadow);
  padding: 8px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  font-family: "Geist", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--secondary);
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(145deg, #1129c4, #0a22ab);
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.btn-secondary {
  background: #e7edff;
  color: #0b1d73;
  border: 1px solid #bfcdf9;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(17, 41, 196, 0.3);
}

main section {
  padding: 64px 0;
}

.hero {
  padding-top: 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(17, 41, 196, 0.1);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.68rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Geist", "Inter", sans-serif;
  color: var(--secondary);
  line-height: 1.12;
}

h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

.lede {
  margin-top: 18px;
  max-width: 66ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-panel,
.card,
.feature,
.banner,
.founder,
.article,
.info-card,
.office-card,
.map-card,
.cms-note {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 41, 196, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: absolute;
  right: -90px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(17, 41, 196, 0.2), transparent 64%);
}

.panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
}

.panel-title {
  font-size: 1.36rem;
  margin-top: 10px;
  font-family: "Geist", "Inter", sans-serif;
  color: var(--secondary);
}

.panel-copy {
  color: var(--muted);
  margin-top: 10px;
}

.stat-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border: 1px solid rgba(17, 41, 196, 0.1);
  border-radius: var(--radius-md);
  padding: 13px;
  background: #f8faff;
}

.stat strong {
  font-family: "Geist", "Inter", sans-serif;
  font-size: 1.24rem;
  color: var(--primary);
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 700;
}

.section-copy {
  max-width: 58ch;
  color: var(--muted);
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature,
.card,
.article,
.info-card,
.office-card {
  padding: 22px;
}

.feature {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 41, 196, 0.34);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #e8eeff;
  color: var(--primary);
  font-size: 1.18rem;
  margin-bottom: 14px;
}

.feature p,
.card p,
.article p,
.info-card p,
.office-card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.feature-list {
  margin: 12px 0 0;
  padding-left: 17px;
}

.feature-list li {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.industry-chip {
  border: 1px solid rgba(17, 41, 196, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--secondary);
  background: #f8faff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.founder {
  padding: 28px;
}

.founder-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

.founder-portrait {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(17, 41, 196, 0.18);
}

.founder-name {
  margin-top: 18px;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 1.1rem;
  color: var(--secondary);
}

.founder-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.article-meta {
  color: var(--primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
}

.banner {
  padding: 32px;
  background: linear-gradient(135deg, #0a1738, #1129c4);
  color: #fff;
}

.banner h2,
.banner h3,
.banner p {
  color: #fff;
}

.banner p {
  opacity: 0.92;
}

.banner .btn-secondary {
  background: #fff;
  color: #0a1738;
}

.contact-lines {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(17, 41, 196, 0.1);
  padding-bottom: 10px;
}

.contact-line span:first-child {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  margin-bottom: 13px;
}

.field label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(17, 41, 196, 0.22);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(17, 41, 196, 0.48);
  box-shadow: 0 0 0 3px rgba(17, 41, 196, 0.12);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  min-height: 1.2em;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status[data-state="error"] {
  color: #a53b3b;
}

.form-status[data-state="success"] {
  color: #1f7a4f;
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 18px;
}

.cms-note {
  padding: 22px;
  background: #f8faff;
}

.cms-note code {
  background: #ecf1ff;
  padding: 2px 6px;
  border-radius: 6px;
}

.footer {
  margin-top: 36px;
  padding: 30px 0 40px;
}

.footer-inner {
  border-top: 1px solid rgba(17, 41, 196, 0.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.footer small {
  color: var(--muted);
  max-width: 64ch;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.show {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 1000px) {
  .site-nav {
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .founder-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    gap: 14px;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(var(--container), calc(100% - 30px));
  }

  .site-nav {
    gap: 10px;
    padding: 10px 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}
