*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background-color: var(--surface-white);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.26;
  letter-spacing: -0.012em;
  color: var(--ink-900);
}

p {
  margin: 0;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 88px 0;
}

.section--subtle {
  background: linear-gradient(180deg, #eef6ff 0%, #f5fbff 50%, #f8fafc 100%);
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}

.section--dark-band {
  position: relative;
  background:
    radial-gradient(640px 360px at 12% 15%, rgba(125, 211, 252, 0.42), transparent 62%),
    radial-gradient(640px 380px at 88% 85%, rgba(99, 102, 241, 0.32), transparent 65%),
    linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #0ea5e9 100%);
  color: var(--surface-white);
  overflow: hidden;
}

.section--dark-band .section-title,
.section--dark-band h2,
.section--dark-band h3 {
  color: var(--surface-white);
}

.section--dark-band .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.section--dark-band .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--surface-white);
}

/* Section Headers */
.section-header {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16.5px;
  color: var(--ink-600);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: var(--surface-white);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--surface-white);
  color: var(--ink-900);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--ink-400);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--surface-white);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--full {
  width: 100%;
}

/* Pills & Tags */
.pill-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  white-space: nowrap;
}

.pill-tag--green {
  background: var(--success-bg);
  color: var(--success);
}

.pill-tag--muted {
  background: var(--surface-muted);
  color: var(--ink-600);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

.brand-logo__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-logo__sub {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 1px solid var(--border-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}

.nav-dropdown__trigger:hover,
.nav-dropdown__trigger.is-active {
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 280px;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s var(--ease);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 0.14s;
}

.nav-dropdown__item:hover,
.nav-dropdown__item.is-active {
  background: var(--brand-blue-soft);
}

.nav-dropdown__item.is-active .nav-dropdown__title {
  color: var(--brand-blue);
}

.nav-dropdown__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}

.nav-dropdown__desc {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-login {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}

.header-login:hover {
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.nav-toggle {
  display: none;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--surface-white);
  z-index: 95;
  padding: 20px 24px 40px;
  overflow-y: auto;
  border-top: 1px solid var(--border-light);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__group {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.mobile-menu__link {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900);
}

/* Bright Airy Gradient Footer */
.site-footer {
  background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
  color: var(--ink-700);
  border-top: 1px solid #bfdbfe;
  padding: 68px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.14);
}

.footer-brand-name {
  color: var(--ink-900);
}

.footer-signoff {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue);
}

.footer-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-600);
  max-width: 310px;
  line-height: 1.65;
}

.footer-col__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.footer-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__list a {
  font-size: 14px;
  color: var(--ink-600);
  transition: color 0.15s;
}

.footer-col__list a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-600);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a:hover {
  color: var(--brand-blue);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--brand-blue);
}

/* Responsive Base */
@media (max-width: 980px) {
  .nav-links,
  .header-login {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .brand-logo__sub {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
