:root {
  --background: #ffffff;
  --foreground: #2e2e2e;
  --card: #ffffff;
  --primary: #0a84ff;
  --primary-foreground: #ffffff;
  --secondary: #f0f0f0;
  --muted-foreground: #737373;
  --accent: #404040;
  --border: #e3e3e3;
  --radius: 0.75rem;
  --shadow-card: 0 18px 40px -24px rgba(0, 0, 0, 0.25);
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-sm {
  max-width: 48rem;
}

.container-md {
  max-width: 64rem;
}

.text-primary {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  font-size: 0.875rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
}

.btn-lg {
  height: 2.75rem;
  font-size: 1rem;
  padding: 0 3rem;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a,
.mobile-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.menu-toggle:hover {
  color: var(--primary);
}

.menu-toggle svg {
  height: 1.25rem;
  width: 1.25rem;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(227, 227, 227, 0.6);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  background: radial-gradient(
      60% 60% at 20% 10%,
      rgba(10, 132, 255, 0.18),
      transparent 70%
    ),
    radial-gradient(50% 50% at 85% 30%, rgba(64, 64, 64, 0.16), transparent 70%);
}

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 .gradient {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero-stats {
      border-radius: 1rem;
    padding: 0.5rem;
    backdrop-filter: blur(8px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .hero {
    padding: 7rem 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-secondary {
  background: var(--secondary);
}

.section-bordered {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.muted {
  color: var(--muted-foreground);
}

.bullet-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.bullet-list li span:first-child {
  color: var(--primary);
}

/* Steps */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.steps-title {
  font-size: 1.875rem !important;
  margin-bottom: 0.75rem !important;
}

.steps-intro {
  margin-bottom: 2.5rem;
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.step-card {
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
  background: var(--card);
  padding: 1.5rem;
}

.step-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Contacts */
.contact-section {
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 0.75rem;
}

.contact-section > .container > p {
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  padding: 1rem 1.5rem;
}

.contact-card svg {
  height: 1.25rem;
  width: 1.25rem;
  color: var(--primary);
}

.contact-card a {
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--primary);
}

@media (min-width: 640px) {
  .contact-cards {
    flex-direction: row;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--secondary);
  padding: 2rem 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  max-width: 56rem;
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Legal pages */
.legal {
  padding: 4rem 0;
}

.legal h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.legal-body {
  color: var(--muted-foreground);
}

.legal-body section {
  margin-bottom: 2rem;
}

.legal-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.legal-body p {
  line-height: 1.7;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.25rem;
}

.legal-body a {
  color: var(--primary);
}

@media (min-width: 768px) {
  .legal h1 {
    font-size: 2.25rem;
  }
}

/* Highlights */
.highlights {
  background: #f0f0f0;
}

.highlights .container {
  display: grid;
  gap: 1.5rem;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  padding: 1.5rem 2rem;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: var(--secondary);
}

.highlight-icon svg {
  height: 1.5rem;
  width: 1.5rem;
}

.highlight-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.highlight-card p {
  color: var(--muted-foreground);
}
