:root {
  --ink: #102a43;
  --ink-soft: #486581;
  --surface: #f6f9fc;
  --white: #ffffff;
  --brand: #126b83;
  --brand-deep: #0a485e;
  --accent: #49c5b6;
  --border: #d8e2ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--ink);
  background-image: linear-gradient(rgb(6 26 43 / 36%), rgb(6 26 43 / 56%)), url("/images/softlink-hero-desktop.png");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid #f3b32c;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: -5rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 0.5rem;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.site-footer__inner {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 0.6rem;
  font-size: 1rem;
}

nav { display: flex; align-items: center; gap: 1.25rem; }
nav a { color: var(--ink-soft); font-size: 0.9rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--brand); }
.nav-cta { padding: 0.52rem 0.85rem; color: var(--brand); border: 1px solid #a8d8d4; border-radius: 0.45rem; }

.site-footer { background: var(--ink); color: #d8e2ec; }
.site-footer__inner { display: flex; min-height: 7.5rem; align-items: center; gap: 1.5rem; }
.site-footer .brand { color: var(--white); }
.site-footer p { margin: 0 auto 0 0; font-size: 0.87rem; }
.site-footer > div > a:last-child { color: #d8e2ec; font-size: 0.87rem; }

.legal-page { width: min(48rem, calc(100% - 3rem)); min-height: 55vh; margin: 0 auto; padding: 6rem 0; }
.legal-page > p:not(.eyebrow) { color: var(--ink-soft); }

@media (max-width: 720px) {
  body {
    background-image: linear-gradient(rgb(6 26 43 / 38%), rgb(6 26 43 / 58%)), url("/images/softlink-hero-mobile.png");
    background-position: center, center top;
    background-attachment: scroll;
  }

  .site-header__inner, .site-footer__inner, .legal-page { width: min(100% - 2rem, 1120px); }
  nav > a:not(.nav-cta) { display: none; }
  .site-footer__inner { flex-wrap: wrap; padding: 1.75rem 0; gap: 0.75rem 1rem; }
  .site-footer p { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
