:root {
  color-scheme: light;
  --ocean-950: #082d45;
  --ocean-900: #0a3d5a;
  --ocean-700: #075f86;
  --ocean-500: #0787a8;
  --lagoon-500: #16a6ad;
  --ink: #17384b;
  --muted: #5a7482;
  --canvas: #f3f8fa;
  --surface: #ffffff;
  --line: #d8e6eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 1160px);
  min-height: 76px;
  margin: 0 auto;
}

header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.nav-brand {
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1;
}

.brand-blue {
  color: var(--ocean-700);
}

.brand-it {
  color: var(--ocean-950);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ocean-500);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--ocean-950) 0%, var(--ocean-700) 68%, #087c98 100%);
  color: var(--surface);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 1160px);
  margin: 0 auto;
  padding: 5.5rem 0 7rem;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3.25rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-content > p {
  max-width: 640px;
  margin: 0 0 1.75rem;
  color: #e0f0f5;
  font-size: 1.1rem;
}

.hero-badge {
  display: inline-block;
  max-width: 100%;
  margin: 1.25rem 0 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(255 255 255 / 35%);
  border-left: 4px solid var(--lagoon-500);
  border-radius: 6px;
  background: rgb(255 255 255 / 96%);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-badge p {
  margin: 0;
}

.hero-badge p + p {
  margin-top: 0.2rem;
}

.hero-badge a {
  color: var(--ocean-700);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hero-badge a:hover,
.hero-badge a:focus-visible {
  color: var(--ocean-950);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 4px;
  background: var(--lagoon-500);
  color: var(--surface);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  background: #118b96;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 52px;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.container {
  width: min(100% - 3rem, 1120px);
  margin: 0 auto;
}

.services {
  padding: 5rem 0 5.5rem;
  background: var(--canvas);
}

.services h2,
.ai-compliance h2,
.about h2,
.contact h2 {
  margin: 0;
  color: var(--ocean-950);
  font-size: 2rem;
  font-weight: 750;
  line-height: 1.2;
}

.section-sub {
  margin: 0.7rem 0 2rem;
  color: var(--muted);
}

.ai-compliance {
  padding: 4.5rem 0;
  background: #eaf4f7;
}

.ai-compliance p {
  max-width: 900px;
  color: var(--muted);
}

.ai-compliance .ai-compliance-close {
  margin-bottom: 0;
  color: var(--ocean-900);
  font-weight: 650;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  min-height: 210px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 5px 18px rgb(8 45 69 / 5%);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #9ec9d7;
  box-shadow: 0 10px 24px rgb(8 45 69 / 9%);
}

.card-icon {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: #e1f2f5;
  color: var(--ocean-700);
  font-size: 1.4rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  color: var(--ocean-900);
  font-size: 1.1rem;
  line-height: 1.35;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about {
  padding: 5.5rem 0;
  background: var(--surface);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
  align-items: center;
  gap: 4rem;
}

.about-text > p {
  max-width: 700px;
  color: var(--muted);
}

.about-text h3 {
  margin: 1.75rem 0 0.35rem;
  color: var(--ocean-700);
  font-size: 1.15rem;
}

.about-text h3 + p {
  margin-top: 0;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.about-points li::first-letter {
  color: var(--lagoon-500);
}

.about-accent {
  min-height: 270px;
  border-radius: 8px;
  background-color: #eaf5f8;
  background-image: linear-gradient(135deg, transparent 48%, rgb(7 95 134 / 10%) 49%, rgb(7 95 134 / 10%) 51%, transparent 52%), linear-gradient(45deg, transparent 48%, rgb(22 166 173 / 14%) 49%, rgb(22 166 173 / 14%) 51%, transparent 52%);
  background-size: 46px 46px;
}

.contact {
  padding: 4.5rem 0;
  background: #eaf4f7;
}

.contact .container {
  text-align: center;
}

.contact .section-sub {
  max-width: 620px;
  margin: 0.75rem auto 2rem;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 54px;
  padding: 0.75rem 1.1rem;
  border: 1px solid #d0e3e9;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ocean-900);
  font-weight: 650;
}

.contact-icon {
  color: var(--ocean-500);
  font-size: 1.15rem;
}

footer {
  padding: 1.6rem 0;
  background: var(--ocean-950);
  color: #e2f0f4;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

footer .brand-blue,
footer .brand-it {
  color: var(--surface);
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-inner p {
  margin: 0;
  color: #c1d7df;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid #f0b64d;
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .about-accent {
    min-height: 160px;
  }
}

@media (max-width: 560px) {
  .navbar,
  .hero-content,
  .container {
    width: min(100% - 2rem, 1120px);
  }

  .navbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.85rem 0;
  }

  .nav-brand {
    font-size: 1.15rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero-content {
    padding: 4rem 0 5rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-content > p {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.82rem;
  }

  .services,
  .about {
    padding: 3.75rem 0;
  }

  .services h2,
  .about h2,
  .contact h2 {
    font-size: 1.75rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    min-height: 0;
  }

  .about-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact {
    padding: 3.5rem 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
