/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TOKENS ── */
:root {
  --blue:    #2563EB;
  --blue-l:  #EFF6FF;
  --blue-d:  #1D4ED8;
  --grey-1:  #111111;
  --grey-2:  #444444;
  --grey-3:  #888888;
  --grey-4:  #BBBBBB;
  --grey-5:  #EEEEEE;
  --grey-6:  #F7F7F7;
  --white:   #FFFFFF;
  --green:   #16A34A;
  --radius:  10px;
  --max:     1200px;
}

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

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: white; letter-spacing: 0.01em;
}
.site-footer .nav-logo { color: var(--grey-1); }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px; transition: all 0.22s;
}
.site-nav.open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav.open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-links a {
  padding: 7px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.65);
  transition: all 0.15s;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #93c5fd; }
.nav-btn {
  background: var(--blue) !important; color: white !important;
  padding: 8px 18px !important; border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-btn:hover { background: var(--blue-d) !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; font-family: inherit; transition: all 0.15s;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.32); }
.btn-secondary { background: white; color: var(--grey-1); border: 1.5px solid var(--grey-5); }
.btn-secondary:hover { border-color: var(--grey-4); background: var(--grey-6); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ── SECTION LABELS ── */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  letter-spacing: -0.8px; line-height: 1.15; color: var(--grey-1);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px; color: var(--grey-2); line-height: 1.7;
  max-width: 580px; margin-bottom: 56px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: none;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 20%;
  width: 500px; height: 350px;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #93c5fd; }
.page-hero h1 { font-size: clamp(32px,4vw,52px); font-weight: 800; letter-spacing:-1.5px; margin-bottom:14px; color: white; }
.page-hero p  { font-size:18px; color: rgba(255,255,255,0.78); max-width:580px; line-height:1.75; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--grey-5);
  padding: 56px 0 36px;
  margin-top: 80px;
  background: var(--grey-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 14px; color: var(--grey-3);
  line-height: 1.7; margin-top: 10px; max-width: 240px;
}
.footer-col h5 {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--grey-1); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; color: var(--grey-3); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--grey-1); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--grey-5);
  font-size: 13px; color: var(--grey-3); flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--grey-3); font-size: 13px; }
.footer-legal a:hover { color: var(--grey-1); }

/* ── CARDS ── */
.card {
  border: 1px solid var(--grey-5); border-radius: 14px;
  padding: 32px; background: white; transition: all 0.2s;
}
.card:hover { border-color: var(--grey-4); box-shadow: 0 8px 32px rgba(0,0,0,0.07); }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--grey-2); margin-bottom: 7px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--grey-5); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--grey-1);
  background: white; outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ── ANIMATIONS ── */
.fade {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade.in { opacity: 1; transform: none; }
.fade.d1 { transition-delay: 0.08s; }
.fade.d2 { transition-delay: 0.16s; }
.fade.d3 { transition-delay: 0.24s; }
.fade.d4 { transition-delay: 0.32s; }

/* ── RESPONSIVE ── */
@media(max-width: 768px) {
  .wrap { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 62px; left: 0; right: 0; z-index: 99;
    flex-direction: column; gap: 2px;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 16px 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  }
  .site-nav { position: sticky; }
  .site-nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 15px; border-radius: 8px; }
  .nav-links a.active { background: rgba(255,255,255,0.06); }
  .nav-btn { margin-top: 6px; text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 60px 0 48px; }
}

/* ── DESKTOP ── */
@media(min-width: 1280px) {
  .wrap { padding: 0 48px; }
  .nav-inner { height: 68px; }
  .nav-links { gap: 6px; }
  .nav-links a { padding: 8px 16px; font-size: 14.5px; }
  .section-title { font-size: clamp(32px, 2.8vw, 48px); }
  .section-sub { font-size: 18px; max-width: 640px; margin-bottom: 64px; }
  .page-hero { padding: 100px 0 80px; }
  .page-hero h1 { font-size: clamp(40px, 3.5vw, 58px); }
  .footer-grid { gap: 56px; }
}
