:root {
  --text: #111827;
  --muted: #4b5563;
  --blue: #2563eb;
  --blue-50: #eff6ff;
  --surface: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.page-shell {
  position: relative;
  min-height: 100vh;
}

.bg-blob {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.main-wrap {
  position: relative;
  z-index: 2;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.top-nav {
  padding: 1.25rem 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  width: 210px;
  height: 90px;
  object-fit: contain;
}

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

.desktop-nav a,
.mobile-panel a {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

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

.desktop-nav a.active,
.mobile-panel a.active {
  color: var(--blue);
}

.menu-btn {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: #fff;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mobile-panel {
  margin-top: 0.75rem;
  padding: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

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

.section {
  padding: 3.75rem 0;
}

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

.hero-image-first {
  order: 1;
}

.hero-copy-second {
  order: 2;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  line-height: 1.1;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  font-size: 1.08rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.underline {
  width: 5rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--blue);
  margin: 0.9rem auto 0;
}

.underline.gradient {
  width: 6rem;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
  border-color: #dbeafe;
}

.aurora {
  background: linear-gradient(135deg, #ff0080, #7928ca, #0070f3, #38bdf8, #ff0080);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aurora 6s linear infinite;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes aurora {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.timeline {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #93c5fd;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.1rem;
  padding: 0.85rem 0;
}

.step-marker {
  position: relative;
  z-index: 2;
  padding-top: 0.35rem;
}

.step-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #3b82f6;
  color: #2563eb;
  background: #eff6ff;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.step-icon svg {
  width: 12px;
  height: 12px;
}

.step-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  padding: 1rem 1.2rem;
}

.badge {
  width: 26px;
  height: 26px;
  border-radius: 0.45rem;
  background: #eff6ff;
  color: #2563eb;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.process-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  background: linear-gradient(90deg, #ec4899, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h4 {
  margin: 0 0 0.2rem;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  color: #111827;
}

@media (max-width: 767px) {
  .step h4 {
    font-size: 1.06rem;
  }
}

.icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.features-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem;
}

.feature-card:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
}

.services {
  text-align: center;
}

.service-card {
  margin: 2rem auto 0;
  width: min(550px, 100%);
  padding: 1.5rem;
}

.gray-gradient {
  background: linear-gradient(90deg, #1f2937, #6b7280);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.partner-block {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  padding: 1.6rem;
  margin-bottom: 1.5rem;
}

.btn-grad {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  padding: 0.68rem 1.05rem;
  border-radius: 0.65rem;
  margin-top: 1rem;
}

.blue-cyan {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.purple-pink {
  background: linear-gradient(90deg, #a855f7, #ec4899);
}

.contact-title {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-title .gradient {
  background: linear-gradient(90deg, #4f46e5, #9333ea, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.2rem;
}

.policy-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
  border-radius: 1rem;
  padding: 1.5rem;
  scroll-margin-top: 6rem;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.meta-table td {
  border: 1px solid #e5e7eb;
  padding: 0.72rem;
}

.meta-table tr:nth-child(odd) td {
  background: #f9fafb;
}

.policy-section h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.55rem;
}

ul {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

li {
  margin: 0.35rem 0;
}

.escalation-grid {
  display: grid;
  gap: 1rem;
}

.escalation-card {
  padding: 1rem;
}

.footer-wave {
  margin-top: 4rem;
}

.site-footer {
  background: #f8fafc;
  padding: 2rem 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-title {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-logo {
  width: 150px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.socials {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.5rem;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eff6ff;
  display: grid;
  place-items: center;
  color: #2563eb;
}

.copyright {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.93rem;
  color: #6b7280;
  text-align: center;
}

.small-muted {
  color: #6b7280;
  font-size: 0.96rem;
}

.bg-soft {
  background: linear-gradient(to bottom, #eff6ff, #fff);
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .menu-btn,
  .mobile-panel {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem;
  }

  .hero-image-first {
    order: 2;
  }

  .hero-copy-second {
    order: 1;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .escalation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-block {
    flex-direction: row;
    align-items: center;
  }

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora,
  .card,
  .feature-card {
    animation: none !important;
    transition: none !important;
  }
}
