:root {
  --navy: #1f3f66;
  --navy-deep: #102640;
  --blue: #0072bc;
  --orange: #e8772e;
  --ink: #1b2430;
  --muted: #5b6776;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand img { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  padding: 88px 0 72px;
  text-align: center;
  background: var(--bg); /* the logo image has a white background */
}
.hero img.logo { width: min(560px, 90%); height: auto; }
.hero p.lede {
  max-width: 680px;
  margin: 36px auto 0;
  font-size: 20px;
  color: var(--muted);
}

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

h2 {
  font-size: 30px;
  line-height: 1.2;
  color: var(--navy-deep);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
h2 + p.sub { color: var(--muted); margin: 0 0 40px; font-size: 17px; max-width: 640px; }

.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.card h3 { margin: 0 0 6px; font-size: 22px; color: var(--navy-deep); }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.card p { margin: 0 0 12px; color: var(--ink); }
.card .platforms { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

.point h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy-deep); }
.point h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 10px;
  vertical-align: 2px;
}
.point p { margin: 0; color: var(--muted); }

.contact { text-align: center; }
.contact p { color: var(--muted); font-size: 17px; }
.button {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--navy); color: #fff; }

/* Text pages */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 36px; color: var(--navy-deep); margin: 0 0 6px; letter-spacing: -0.01em; }
.page .updated { color: var(--muted); margin: 0 0 36px; font-size: 15px; }
.page h2 { font-size: 22px; margin: 36px 0 8px; }
.page li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c8d3e0;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: #fff; text-decoration: none; margin-left: 20px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .nav { gap: 18px; }
  .nav a.hide-sm { display: none; }
  .brand img { height: 32px; }
  .hero { padding: 56px 0 48px; }
  .hero p.lede { font-size: 18px; }
  section { padding: 56px 0; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
}

/* The logo file has an off-white box behind the mark; multiply drops it on white. */
.brand img, .hero img.logo { mix-blend-mode: multiply; }
.site-footer .address { color: #9fb0c4; }
.site-footer .wrap { align-items: flex-end; }

.prose { max-width: 760px; margin-top: 20px; }
.prose p { font-size: 18px; color: var(--ink); margin: 0 0 18px; }

/* Keep section headings clear of the sticky header when jumping to #anchors. */
section[id] { scroll-margin-top: 68px; }

/* Our approach: text left, graphic right at the text's height (script in index.html);
   the graphic stacks below the text on phones. */
.approach { display: flex; gap: 40px; align-items: flex-start; }
.approach .prose { flex: 1; margin-top: 0; order: 1; }
.approach .prose p:last-child { margin-bottom: 0; }
.approach-graphic { order: 2; height: 300px; width: auto; border-radius: 12px; flex-shrink: 0; }
@media (max-width: 760px) {
  .approach { flex-direction: column; gap: 24px; }
  .approach-graphic { width: 100%; height: auto !important; }
}
