html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #0E1217;
  font-family: "Hanken Grotesk", sans-serif;
  color: #E8EBEF;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
body.nav-open { overflow: hidden; }
::selection { background: #6BA8FF; color: #0E1217; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1280px; margin: 0 auto; }

/* ===== NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 18, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1C232B;
}
.nav {
  padding: 18px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #E8EBEF;
}
.brand-logo .dot { color: #6BA8FF; }
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #9AA3AE;
}
.nav-links a { color: #9AA3AE; transition: color 0.18s ease; }
.nav-links a:hover { color: #E8EBEF; }
.nav-links a.current { color: #E8EBEF; }
.nav-cta {
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #313945;
  color: #E8EBEF;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-cta:hover { border-color: #6BA8FF; color: #6BA8FF; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #E8EBEF;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== PAGE HEAD ===== */
.page-head { padding: 72px 56px 0; }
.page-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A93A0;
  margin-bottom: 22px;
}

/* ===== CTA BUTTON ===== */
.cta-button {
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  background: #6BA8FF;
  color: #0E1217;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: filter 0.18s ease;
}
.cta-button:hover:not(:disabled) { filter: brightness(1.08); }
.cta-button:disabled { opacity: 0.6; cursor: not-allowed; }
a.cta-button { display: inline-block; padding: 16px 30px; }
button.cta-button { padding: 15px 30px; }

/* ===== CTA BAND ===== */
.cta-band { border-top: 1px solid #1C232B; }
.cta-inner {
  padding: 104px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-heading {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #E8EBEF;
  line-height: 1.02;
  max-width: 640px;
}
.cta-heading .accent { color: #6BA8FF; }

/* ===== FOOTER ===== */
.site-footer { background: #090C10; border-top: 1px solid #1C232B; }
.footer-grid {
  padding: 64px 56px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #E8EBEF;
}
.footer-brand .dot { color: #6BA8FF; }
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #8A93A0;
  margin: 14px 0 0;
  max-width: 300px;
}
.footer-email {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: #6BA8FF;
}
.footer-col-label {
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B7480;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
  color: #9AA3AE;
}
.footer-col-links a:hover { color: #E8EBEF; }
.footer-bottom {
  padding: 24px 56px;
  border-top: 1px solid #1C232B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #6B7480;
}

@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { gap: 18px; }
  .page-head, .cta-inner, .footer-grid, .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }
  .cta-heading { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 0;
  }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin-top: 8px;
    padding: 8px 0 12px;
    border-top: 1px solid #1C232B;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 15px;
  }
  .nav-links .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    padding: 14px 18px;
    font-size: 14px;
    border-top: 1px solid #1C232B;
    padding-top: 20px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 64px 20px;
  }
  .cta-heading { font-size: clamp(28px, 7vw, 40px); }
  .footer-grid, .footer-bottom { padding-left: 20px; padding-right: 20px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .nav { padding: 14px 16px; }
  .page-head, .cta-inner, .footer-grid, .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
}
