/* Collective Compute: palette taken from the logo (blue mark, navy wordmark). */
:root {
  --navy: #1d3b5e;
  --blue: #3f7fc1;
  --blue-dark: #2c6aa8;
  --ink: #1f2a37;
  --muted: #5b6878;
  --line: #dfe6ee;
  --tint: #f3f7fb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 32, 56, 0.06), 0 4px 16px rgba(16, 32, 56, 0.06);
  --wrap: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, .h1 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; }
h1, .h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 500; }
p { margin: 0 0 1em; }

.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 165px; height: auto; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
}
nav a:hover { background: var(--tint); color: var(--navy); }
nav a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media-first { grid-template-columns: minmax(0, 360px) 1fr; }

.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.fah-banner { width: 100%; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%); padding: 72px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Buttons */
.button {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--blue);
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.button-ghost { background: transparent; color: var(--blue-dark); }
.button-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
/* Flex, not grid, so the five values wrap as 3 + 2 with the short row centred. */
.cards-values { display: flex; flex-wrap: wrap; justify-content: center; }
.cards-values .card { flex: 1 1 280px; max-width: 344px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card p { margin: 0; color: var(--muted); }

.cta-line { margin: 40px 0 0; text-align: center; font-size: 1.1rem; }

.cta-band {
  text-align: center;
  background: var(--navy);
  color: #dbe6f3;
  border-radius: var(--radius);
  padding: 48px 32px;
  max-width: 880px;
}
.cta-band h2 { color: var(--white); font-size: 1.75rem; }
.cta-band p { max-width: 600px; margin: 0 auto 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.footer-inner p { margin: 0; }

@media (max-width: 860px) {
  .split, .split-media-first, .hero-inner, .cards-3 { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 56px; }
  .wrap { padding: 0 16px; }
}

@media (max-width: 480px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 12px 16px; }
  .footer-inner { flex-direction: column; }
}
