:root {
  color-scheme: light;
  --accent: #16a3c7;
  --accent-soft: #e8f6fa;
  --background: #f4f7f9;
  --border: #dbe3e8;
  --ink: #17212b;
  --muted: #5d6974;
  --navy: #0b2545;
  --navy-deep: #081b33;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--navy);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 30;
  padding: 0.65rem 0.9rem;
  transform: translateY(-150%);
  border-radius: 0.25rem;
  color: #ffffff;
  background: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}

.header-inner {
  display: flex;
  justify-content: center;
  padding: 2.4rem 0 2.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: #ffffff;
  text-decoration: none;
}

.brand-mark {
  width: 4.9rem;
  height: 4.9rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.brand-mark text {
  fill: currentColor;
  stroke: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 750;
}

.brand-mark .ai {
  font-size: 54px;
  font-weight: 500;
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-copy strong {
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.brand-copy small {
  color: #c6d7e6;
  font-size: clamp(0.78rem, 2vw, 1rem);
  letter-spacing: 0.025em;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy-deep);
  box-shadow: 0 0.35rem 1rem rgb(0 0 0 / 12%);
}

.nav-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.9rem 1.3rem;
  color: #dce8f1;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: #ffffff;
  background: rgb(255 255 255 / 7%);
}

.site-main {
  padding-top: 0;
  padding-bottom: 5rem;
}

.section-heading > p {
  margin: 0;
  color: #087998;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.content-section {
  padding-top: 5rem;
  scroll-margin-top: 3rem;
}

.intro-section {
  display: grid;
  gap: clamp(2rem, 7vw, 5rem);
  grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.1fr);
}

.section-heading h1,
.section-heading h2 {
  margin: 0.45rem 0 0;
  color: var(--navy);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading::after {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 1.25rem;
  background: var(--accent);
  content: "";
}

.compact-heading {
  margin-bottom: 2rem;
}

.intro-copy {
  max-width: 39rem;
  padding-top: 0.5rem;
  color: #40505d;
  font-size: 1.1rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.focus-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.focus-card {
  min-height: 14rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: 0 0.5rem 1.5rem rgb(11 37 69 / 5%);
}

.focus-card > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.focus-card h3 {
  margin: 2rem 0 0.7rem;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
}

.focus-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}

.contact-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.035em;
}

.contact-button {
  flex: none;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 0.25rem;
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

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

.site-footer {
  padding: 2rem 0;
  color: #bac8d4;
  background: var(--navy-deep);
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer a {
  color: #ffffff;
}

.legal-page {
  max-width: 50rem;
  margin: 3rem auto 5rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  background: var(--surface);
}

.legal-page h1,
.legal-page h2 {
  color: var(--navy);
  letter-spacing: -0.03em;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4rem);
}

.legal-page h2 {
  margin-top: 2.4rem;
  font-size: 1.3rem;
}

.legal-page p {
  color: #40505d;
}

.legal-page .updated {
  margin: 0 0 0.5rem;
  color: #087998;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@media (max-width: 48rem) {
  .intro-section,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: 0;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 34rem) {
  .container {
    width: min(100% - 1.5rem, 68rem);
  }

  .header-inner {
    justify-content: flex-start;
  }

  .brand {
    gap: 0.8rem;
  }

  .brand-mark {
    width: 3.7rem;
    height: 3.7rem;
  }

  .brand-copy strong {
    font-size: 2rem;
  }

  .brand-copy small {
    max-width: 17rem;
  }

  .site-nav a {
    padding: 0.8rem 0.65rem;
    font-size: 0.62rem;
  }

  .content-section {
    padding-top: 4rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
