:root {
  --color-bic-blue: #0033a0;
  --color-bic-blue-dark: #002880;
  --color-bic-blue-light: #4d7fc4;
  --color-bic-blue-pale: #e2ecf0;

  --color-text-primary: #1e1f20;
  --color-text-secondary: #5a5f64;
  --color-text-muted: #7b8086;

  --color-nacar-yellow: #fffde1;
  --color-nacar-blue: #afc9de;
  --color-nacar-blue-soft: #e2ecf0;
  --color-nacar-pink: #f8eef1;
  --color-nacar-green: #cfeee9;

  --color-canvas: #ffffff;

  --color-border: rgba(0, 51, 160, 0.1);
  --color-border-soft: rgba(0, 51, 160, 0.15);

  --shadow-soft: 0 10px 30px rgba(0, 51, 160, 0.06);

  --max-width: 46rem;

  --transition-fast: 150ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text-primary);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  background:
    radial-gradient(circle at top left, rgba(248, 238, 241, 0.85), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 253, 225, 0.85), transparent 30%),
    linear-gradient(
      180deg,
      var(--color-canvas) 0%,
      var(--color-canvas) 72%,
      rgba(226, 236, 240, 0.45) 100%
    );
}

/* subtle grid texture */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(to right, rgba(0, 51, 160, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 51, 160, 0.022) 1px, transparent 1px);

  background-size: 6rem 6rem;

  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.42),
    transparent 80%
  );
}

a {
  color: var(--color-bic-blue);
  text-decoration: none;

  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

a:hover {
  color: var(--color-bic-blue-dark);
}

:focus-visible {
  outline: 2px solid var(--color-bic-blue);
  outline-offset: 3px;
}

::selection {
  color: var(--color-text-primary);
  background: var(--color-bic-blue-pale);
}

/* layout shell */

.page-shell {
  position: relative;
  width: min(100%, calc(var(--max-width) + 3rem));
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;

  padding: 1rem 0 1.1rem;

  backdrop-filter: blur(12px);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.72)
    );

  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 0.8rem;
  font-weight: 600;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--color-text-primary);
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;

  border-radius: 50%;

  background: var(--color-nacar-blue);

  box-shadow: 0 0 0 0.35rem rgba(175, 201, 222, 0.22);

  animation: pulse-slow 5s ease-in-out infinite;
}

.header-link {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.page {
  position: relative;
}

/* sections */

.section {
  padding: 2.4rem 0 3rem;
  border-top: 1px solid var(--color-border);
}

.hero {
  border-top: 0;
  padding-top: clamp(4rem, 12vh, 7rem);
}

.eyebrow,
.section-label {
  margin: 0;

  color: var(--color-text-muted);

  font-size: 0.74rem;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* hero */

.hero h1 {
  max-width: 12ch;

  margin: 1rem 0 1.5rem;

  font-size: clamp(2.3rem, 6vw, 4.4rem);

  line-height: 1.04;

  letter-spacing: -0.06em;

  text-wrap: balance;
}

.lede {
  max-width: 36rem;

  margin: 0;

  color: var(--color-text-secondary);

  font-size: 1rem;

  line-height: 1.75;
}

.lede + .lede {
  margin-top: 1rem;
}

.lede-muted {
  color: var(--color-text-muted);
}

/* link pills */

.link-row {
  display: flex;
  flex-wrap: wrap;

  gap: 0.75rem;

  margin-top: 2rem;

  max-width: 34rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 2.5rem;

  padding: 0.62rem 0.95rem;

  color: var(--color-text-primary);

  background: rgba(255, 255, 255, 0.62);

  border: 1px solid rgba(0, 51, 160, 0.10);

  border-radius: 999px;

  box-shadow: 0 6px 20px rgba(0, 51, 160, 0.04);
}

.pill-link:hover {
  transform: translateY(-1px);

  border-color: rgba(0, 51, 160, 0.18);

  color: var(--color-bic-blue);

  background: rgba(255, 255, 255, 0.82);
}

/* cards */

.manifest-grid {
  display: grid;
  gap: 1rem;

  margin-top: 1.5rem;
}

.manifest-item {
  padding: 1.25rem 1.3rem;

  background: rgba(255, 255, 255, 0.72);

  border: 1px solid rgba(0, 51, 160, 0.08);

  border-radius: 1rem;

  box-shadow: 0 6px 24px rgba(0, 51, 160, 0.04);
}

.manifest-item h2 {
  margin: 0 0 0.7rem;

  font-size: 0.86rem;

  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.manifest-item p,
.closing-copy p {
  margin: 0;

  color: var(--color-text-secondary);

  font-size: 0.97rem;

  line-height: 1.8;
}

/* closing text */

.closing-copy {
  display: grid;

  gap: 0.9rem;

  max-width: 36rem;

  margin-top: 1.5rem;
}

/* animation */

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

/* mobile */

@media (max-width: 720px) {

  .page-shell {
    width: min(100%, calc(var(--max-width) + 2rem));
    padding: 1rem 1rem 2.5rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;

    padding-bottom: 0.95rem;
  }

  .hero h1 {
    max-width: 11ch;
    letter-spacing: -0.05em;
  }

  .manifest-item {
    padding: 1.1rem 1rem;
  }
}

/* accessibility */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

    scroll-behavior: auto !important;
  }

}