:root {
  --bg: #eef3f8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #0f1f33;
  --muted: #516174;
  --line: rgba(15, 31, 51, 0.12);
  --primary: #0a5bd8;
  --primary-deep: #083f97;
  --accent: #3db5ff;
  --shadow: 0 24px 60px rgba(10, 36, 77, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(61, 181, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 91, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 91, 216, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
  pointer-events: none;
}

.hero,
.services-section,
.footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  padding: 1.25rem 0 4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 30px rgba(22, 55, 99, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong,
.brand-text span {
  font-size: 0.96rem;
}

.brand-text span:last-child {
  color: var(--muted);
}

.topbar-link {
  color: var(--primary-deep);
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 0;
}

.hero-copy {
  animation: rise-in 700ms ease-out both;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
}

.hero-copy h1,
.section-heading h2,
.hero-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
}

.lede {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #1d8dff);
  color: white;
  box-shadow: 0 16px 32px rgba(10, 91, 216, 0.22);
}

.button-secondary {
  border-color: rgba(8, 63, 151, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-deep);
}

.button-full {
  width: 100%;
}

.hero-points {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(61, 181, 255, 0.14);
}

.hero-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: rise-in 850ms 120ms ease-out both;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(10, 91, 216, 0.1);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card h2 {
  margin-top: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.02;
}

.hero-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.interest-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.interest-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.interest-form input,
.interest-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 31, 51, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.interest-form input:focus,
.interest-form textarea:focus {
  outline: none;
  border-color: rgba(10, 91, 216, 0.4);
  box-shadow: 0 0 0 4px rgba(10, 91, 216, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.services-section {
  padding: 2rem 0 5rem;
}

.section-heading {
  max-width: 44rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 30px rgba(18, 49, 89, 0.06);
}

.service-number {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.25rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .service-cards,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .footer {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1rem;
  }

  .topbar {
    border-radius: 24px;
    padding: 0.9rem 1rem;
  }

  .topbar-link {
    display: none;
  }

  .hero-grid {
    padding-top: 2.4rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-card,
  .service-card {
    padding: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
