/* ========== Tokens & Base ========== */

:root {
  --bg: #ffffff;
  --bg-muted: #f9fafb;
  --bg-soft: #f3f4f6;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 40px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 18px 60px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

/* ========== Layout ========== */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.section {
  padding: 64px 20px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-muted {
  background: var(--bg-muted);
}

/* ========== Header / Nav ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

/* inner bar */

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 64px;
  width: auto;
  display: block;
}

/* desktop links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 17px;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--accent-dark);
  font-weight: 500;
}

.nav-cta {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* hamburger button (hidden on desktop) */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* toggle animation */

.nav-toggle-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* mobile menu panel */

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 20px 12px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.nav-mobile a {
  padding: 8px 0;
  font-size: 15px;
  color: var(--muted);
}

.nav-mobile a.active {
  color: var(--accent-dark);
  font-weight: 500;
}

.nav-mobile-open {
  display: flex;
}

/* ========== Hero (centered) ========== */

.hero {
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 60%),
              radial-gradient(circle at top right, rgba(129, 140, 248, 0.12), transparent 55%),
              #ffffff;
  border-bottom: 1px solid var(--border);
}

.hero-centered {
  text-align: center;
}

.hero-inner-centered {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 20px 64px;
}

.hero-text-centered {
  margin: 0 auto;
}

.hero-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.hero-title {
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-title-centered {
  font-size: 40px;
}

.hero-subtitle {
  margin-bottom: 18px;
}

.hero-subtitle-centered {
  font-size: 16px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-actions-centered {
  justify-content: center;
}

.hero-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.hero-meta-centered {
  text-align: center;
}

.hero-pills {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 12px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.9);
}

/* ========== Buttons ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(14, 165, 233, 0.35);
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(14, 165, 233, 0.4);
  opacity: 0.98;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--accent-dark);
}

/* ========== Section headings ========== */

.section-header {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--muted);
}

/* ========== Cards & Grid ========== */

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease,
    background-color 0.14s ease;
}

.card:hover {
  transform: translateY(-4px);
  background-color: #f3f4f6;
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

.card-soft {
  box-shadow: var(--shadow-soft);
}

/* Steps */

.card-step {
  position: relative;
  padding-top: 28px;
}

.step-badge {
  position: absolute;
  top: 12px;
  left: 20px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

/* Icon box */

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.icon-img {
  max-width: 22px;
  height: auto;
}

/* ========== Partner logo grid ========== */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.partner-item {
  height: 110px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.partner-item img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* ========== CTA panel ========== */

.cta-panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

/* ========== Footer ========== */

footer {
  border-top: 1px solid var(--border);
  background: var(--bg-muted);
  padding: 22px 20px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.footer-col h4 {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text);
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

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

.mt-2 { margin-top: 8px; }

/* ========== Responsive ========== */

@media (max-width: 900px) {
  .section {
    padding: 56px 16px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;      /* hide desktop menu */
  }

  .nav-toggle {
    display: flex;      /* show hamburger */
  }

  .logo {
    height: 48px;
  }

  .hero-inner-centered {
    padding: 56px 16px 48px;
  }

  .hero-title-centered {
    font-size: 30px;
  }

  footer {
    padding: 24px 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }

  .footer-col {
    width: 100%;
  }
}