@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --navy-deep: #09162e;
  --navy: #15335f;
  --navy-soft: #204984;
  --surface: #f4f7fb;
  --surface-elevated: #ffffff;
  --surface-strong: rgba(255, 255, 255, 0.82);
  --text: #1f2937;
  --text-soft: #5b6474;
  --line: rgba(21, 51, 95, 0.12);
  --accent: #1f8fff;
  --accent-soft: rgba(31, 143, 255, 0.14);
  --shadow: 0 24px 60px rgba(9, 22, 46, 0.12);
  --radius: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

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

img,
svg {
  display: block;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 251, 0.8);
  border-bottom: 1px solid rgba(21, 51, 95, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand,
.footer-brand,
.section-heading h2,
.feature-card h3,
.service-card h3,
.legal-title,
.hero-content h1 {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.desktop-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a,
.footer-links a,
.legal-header-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover,
.legal-header-nav a:hover,
.legal-back:hover,
.contact-card a:hover {
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(21, 51, 95, 0.08);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0 1rem 1rem;
}

.mobile-nav a {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 52%, var(--navy-soft) 100%);
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 7rem;
  text-align: center;
  color: #ffffff;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy {
  width: min(100%, 700px);
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.125rem, 3vw, 1.6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  margin: 0 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: #ffffff;
  color: var(--navy);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.25;
}

.hero-glow-left {
  top: 10%;
  left: -4rem;
  width: 18rem;
  height: 18rem;
  background: #58b3ff;
}

.hero-glow-right {
  right: -5rem;
  bottom: 8%;
  width: 24rem;
  height: 24rem;
  background: #8fd1ff;
}

.section {
  padding: 6rem 0;
}

.surface {
  background: var(--surface);
}

.elevated {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 242, 251, 0.92));
}

.section-heading {
  width: min(100%, 700px);
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 0.9rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.feature-grid,
.service-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

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

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 800px;
  margin: 0 auto;
}

.feature-card,
.service-card,
.contact-card,
.legal-shell {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card,
.service-card {
  padding: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.feature-card h3,
.service-card h3 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.service-card p,
.contact-card p,
.legal-content p,
.legal-content li {
  margin: 0;
  color: var(--text-soft);
}

.icon-box,
.service-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex: 0 0 auto;
}

.icon-box {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: var(--accent-soft);
}

.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  background: var(--navy);
  color: #ffffff;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--accent-soft);
}

.icon-box svg,
.service-icon svg,
.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-label,
.legal-meta {
  margin-bottom: 0.3rem !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c8596 !important;
}

.contact-card a,
.contact-card strong,
.legal-content a {
  color: var(--navy);
  font-weight: 600;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem 0;
}

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

.footer-brand {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-copy {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
}

.legal-page {
  min-height: 100vh;
  background: var(--surface);
}

.legal-header {
  border-bottom: 1px solid rgba(21, 51, 95, 0.08);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.legal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.legal-shell {
  width: min(calc(100% - 2rem), 900px);
  margin: 3rem auto 5rem;
  padding: 2rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-soft);
  font-weight: 600;
}

.legal-back::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.legal-title {
  margin: 1.5rem 0 0.5rem;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
}

.legal-content {
  margin-top: 2rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.legal-content li + li,
.legal-content p + p {
  margin-top: 0.75rem;
}

@media (max-width: 900px) {
  .feature-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-row,
  .legal-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .desktop-nav {
    display: none;
  }

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

  .hero-content {
    padding: 6rem 0 5rem;
  }

  .section,
  .legal-shell {
    padding-top: 4rem;
  }

  .section {
    padding-bottom: 4rem;
  }

  .legal-shell {
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
  }
}
