@font-face {
  font-family: "Inter Variable";
  src: url("/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono Variable";
  src: url("/geist-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --brand-anchor: #315c8c; --brand-anchor-hover: #24466e;
  --brand-mint: #5cbe9c; --brand-electric: #46e99f;
  --brand-plum: #3d3b4f; --surface-page: #f3f2ec;
  --surface-card: #fbfbf7; --surface-raised: #eeeee7;
  --text-body: #2b302c; --text-muted: #5c635d;
  --text-inverse: #f8faf7; --border-subtle: #d2d6cf;
  --border-strong: #b8beb7; --link-on-dark: #b8d0e5;
  --font-sans: "Inter Variable", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono Variable", "SFMono-Regular", Consolas, monospace;
  --container: 1240px; --prose: 72ch;
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: var(--brand-anchor);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-anchor-hover);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--brand-plum);
  line-height: 1.15;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

address {
  overflow-wrap: anywhere;
}

::selection {
  background: var(--brand-electric);
  color: var(--brand-plum);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--brand-anchor);
  outline-offset: 3px;
}

:is(.surface-dark, .dark-surface, .dark-island, .product-island, [data-surface="dark"]) :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--link-on-dark);
}

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

.prose {
  max-inline-size: var(--prose);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-xs);
  background: var(--brand-plum);
  color: var(--text-inverse);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  border-bottom: 1px solid rgb(248 250 247 / 14%);
  background: rgb(23 22 32 / 96%);
}

.site-header__inner {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero > *,
.page-actions > *,
.card-grid > *,
.contact-grid > *,
.site-footer__inner > *,
.site-footer__links > * {
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  text-decoration: none;
}

.brand-mark img {
  width: 34px;
  height: 34px;
}

.brand-mark--home {
  display: inline-flex;
  width: auto;
  min-width: 44px;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.brand-mark--home img {
  flex: 0 0 34px;
}

.brand-mark__name {
  color: var(--text-inverse);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgb(248 250 247 / 14%);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-inverse);
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -0.34rem;
}

.nav-toggle__icon::after {
  top: 0.34rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  min-width: 0;
  margin-left: auto;
}

.primary-nav > * {
  flex: 0 0 auto;
}

.primary-nav a:not(.button) {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.5rem 0.2rem;
  color: var(--text-inverse);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:not(.button):hover,
.primary-nav a[aria-current="page"] {
  color: var(--text-inverse);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  border: 1px solid var(--brand-anchor);
  border-radius: var(--radius-sm);
  background: var(--brand-anchor);
  color: var(--text-inverse);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button:hover {
  border-color: var(--brand-anchor-hover);
  background: var(--brand-anchor-hover);
  color: var(--text-inverse);
}

.button--header {
  box-shadow: none;
}

.button--quiet {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--brand-plum);
}

.button--quiet:hover {
  border-color: var(--brand-anchor);
  background: var(--surface-raised);
  color: var(--brand-plum);
}

.page-shell {
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 8vw, 7rem);
}

.page-hero {
  display: grid;
  gap: 1.1rem;
  max-inline-size: var(--prose);
  padding-block-end: clamp(2.5rem, 6vw, 4.5rem);
}

.eyebrow {
  margin-block-end: 0;
  color: var(--brand-anchor);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-hero h1 {
  max-inline-size: 18ch;
  margin-block-end: 0;
  font-size: clamp(2.35rem, 6vw, 4rem);
  letter-spacing: -0.045em;
}

.page-intro {
  margin-block-end: 0;
  color: var(--text-muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 0.75rem;
}

.page-content {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  max-inline-size: var(--prose);
}

.page-content > * {
  min-width: 0;
}

.page-content h2 {
  margin-block: clamp(2rem, 5vw, 3.5rem) 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
}

.page-content h3 {
  margin-block-end: 0.5rem;
  font-size: 1.1rem;
}

.page-content p {
  margin-block-end: 0;
}

.content-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-card);
}

.content-card > * {
  min-width: 0;
}

.content-card > :last-child {
  margin-block-end: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid .content-card {
  height: 100%;
}

.content-card h2,
.content-card h3 {
  margin-block-start: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-inline-size: 62rem;
}

.contact-grid .content-card {
  height: 100%;
}

.contact-label {
  margin-block-end: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-address {
  margin-block-end: 0.8rem;
  color: var(--brand-plum);
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-grid p:last-child,
.contact-grid address:last-child {
  margin-block-end: 0;
}

.note {
  padding: 1rem 1.15rem;
  border-inline-start: 3px solid var(--brand-mint);
  background: var(--surface-raised);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.75rem 2.25rem;
}

.site-footer__inner > * {
  flex: 1 1 16rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  padding: 0.45rem 0.15rem;
  color: var(--text-muted);
}

.site-footer__links a:hover {
  color: var(--brand-anchor-hover);
}

@media (max-width: 780px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .primary-nav {
    display: flex;
    flex: 1 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    margin-left: 0;
    padding: 0.85rem 0 1rem;
    border-top: 1px solid rgb(248 250 247 / 14%);
  }

  .site-header.is-nav-enhanced .site-header__inner {
    flex-wrap: nowrap;
  }

  .site-header.is-nav-enhanced .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-nav-enhanced .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex: none;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    margin-left: 0;
    padding: 0.85rem;
    border: 1px solid rgb(248 250 247 / 14%);
    border-top: 0;
    background: rgb(23 22 32 / 100%);
  }

  .site-header.is-nav-enhanced .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a:not(.button) {
    width: 100%;
    min-height: 2.75rem;
    padding-inline: 0.75rem;
  }

  .primary-nav .button {
    width: 100%;
    margin-block-start: 0.35rem;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 250px) {
  .site-header__inner {
    gap: 8px;
  }

  .brand-mark--home {
    gap: 6px;
  }

  .brand-mark__name {
    font-size: 0.75rem;
  }
}

@media (min-width: 781px) {
  .primary-nav {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .page-shell {
    padding-block: 2.75rem 3.5rem;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.25rem);
  }

  .page-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-actions .button {
    width: 100%;
  }

  .card-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
