@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --navy: #0B1620;
  --navy-2: #10202D;
  --panel: #16232F;
  --border-dark: #1E2C38;
  --blue: #2E6FD9;
  --blue-light: #DCE7F8;
  --grey: #8A97A3;
  --grey-light: #F5F7F9;
  --border-light: #E4E8EC;
  --white: #FFFFFF;
  --ink: #101820;
  --ink-secondary: #4A5560;
  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Nav ---------- */

.site-nav {
  background: var(--navy);
  border-bottom: 0.5px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--grey);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px 32px 32px;
    border-bottom: 0.5px solid var(--border-dark);
  }
}

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

.hero {
  background: var(--navy);
  padding: 88px 0 76px;
}

.hero-home {
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
}

.hero-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark) 15%, var(--border-dark) 85%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-line.drawn {
  transform: scaleX(1);
}

.hero-home > .wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 780px) {
  .hero-line { display: none; }
}

.pill {
  display: inline-block;
  background: var(--panel);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.pill span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--white);
  letter-spacing: 0.04em;
}

.hero h1 {
  color: var(--white);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 640px;
}

.hero p.lede {
  color: var(--grey);
  font-size: 16px;
  max-width: 460px;
  margin-top: 18px;
  line-height: 1.7;
}

.hero.small h1 { font-size: 36px; }

.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover { background: #2660BE; }

.hero .btn { margin-top: 28px; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.hero-stat-label {
  font-size: 12.5px;
  color: var(--grey);
  max-width: 160px;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .hero-stats { gap: 28px; margin-top: 40px; }
}

/* ---------- Sections ---------- */

section {
  padding: 72px 0;
  border-bottom: 0.5px solid var(--border-light);
}

section:last-of-type { border-bottom: none; }

.section-light { background: var(--grey-light); }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 560px;
}

.section-intro {
  color: var(--ink-secondary);
  font-size: 15px;
  max-width: 560px;
  margin-top: 14px;
  line-height: 1.7;
}

/* ---------- Grid blocks ---------- */

.grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

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

@media (max-width: 780px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 0.5px solid var(--border-light);
  border-radius: 12px;
  padding: 26px 24px;
}

.card .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 22, 32, 0.08);
  border-color: #D3D9DF;
}

/* ---------- Scroll animations ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transition: none;
  }
}

/* ---------- Stat blocks ---------- */

.stat-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 30px 26px;
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-card .stat-num {
  color: var(--white);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stat-card .stat-label {
  color: var(--grey);
  font-size: 13px;
  margin-top: 6px;
}

/* ---------- Lists ---------- */

.check-list {
  list-style: none;
  margin-top: 24px;
  max-width: 560px;
}

.check-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border-light);
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: "";
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 8px;
}

/* ---------- Focus strip (homepage) ---------- */

.focus-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.focus-chip {
  display: inline-block;
  background: var(--grey-light);
  border: 0.5px solid var(--border-light);
  border-radius: 20px;
  padding: 7px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-secondary);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  padding: 64px 0;
  text-align: left;
}

.cta-band h2 { color: var(--white); }

.cta-band .btn { margin-top: 26px; }

/* ---------- Form ---------- */

form { max-width: 560px; margin-top: 32px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 0.5px solid var(--border-light);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

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

.contact-details {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border-light);
}

.contact-details p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.8;
}

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

footer {
  background: var(--navy);
  padding: 40px 0;
}

footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--border-dark);
}

footer .foot-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

footer .foot-meta {
  color: var(--grey);
  font-size: 12.5px;
}

footer .foot-links {
  display: flex;
  gap: 18px;
  list-style: none;
}

footer .foot-links a {
  color: var(--grey);
  font-size: 13px;
}

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

.disclaimer {
  margin-top: 24px;
}

.disclaimer summary {
  color: var(--grey);
  font-size: 12.5px;
  cursor: pointer;
  font-weight: 500;
}

.disclaimer p {
  color: #6B7883;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 14px;
  max-width: 760px;
}

.disclaimer p + p { margin-top: 10px; }

@media (max-width: 780px) {
  .hero h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .wrap { padding: 0 20px; }
}
