:root {
  --ink: #14232e;
  --muted: #56687a;
  --brand: #0b3a53;
  --accent: #1d8a99;
  --accent-ink: #0f6a76;
  --line: #d9e2e8;
  --band: #f3f7f9;
  --white: #ffffff;
  --radius: 10px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-weight: 700; font-size: 20px; letter-spacing: .2px; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--brand); }

/* Sections */
section { padding: 64px 0; }
.band { background: var(--band); }
h1, h2, h3 { color: var(--brand); line-height: 1.25; }
h1 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0 20px; letter-spacing: -.5px; }
h2 { font-size: 30px; margin: 0 0 28px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--ink); max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.2px; font-size: 13px; font-weight: 600; color: var(--accent-ink); margin: 0; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: 80px 0 64px; background: linear-gradient(180deg, #eaf3f6 0%, var(--white) 100%); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--radius); background: var(--brand); color: var(--white); text-decoration: none; font-weight: 600; border: 2px solid var(--brand); }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: var(--white); }
.notice { display: inline-block; margin: 0; padding: 10px 16px; border-left: 4px solid var(--accent); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); font-size: 16px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.platforms { margin: 28px 0 0; max-width: 820px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; max-width: 820px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }

.callout { border: 2px solid var(--accent); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 16px; max-width: 820px; }
.callout p { margin: 0; }
.callout-plain { border-color: var(--line); background: var(--band); }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.person h3 { font-size: 22px; margin-bottom: 2px; }
.person .role { margin: 0 0 12px; color: var(--accent-ink); font-weight: 600; }
.person ul { padding-left: 20px; margin: 0 0 12px; }
.person li { margin-bottom: 8px; }
.person .links { margin: 0; }

/* Contact */
.contact-main { font-size: 26px; font-weight: 700; margin: 8px 0 16px; }

/* Prose pages */
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.prose h2 { font-size: 22px; margin: 32px 0 8px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { position: static; }
  .top nav { gap: 14px; }
  section { padding: 48px 0; }
  .hero { padding: 48px 0; }
}
