:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --ink: #16191d;
  --muted: #586170;
  --line: #e2e5eb;
  --accent: #3f37a8;
  --accent-hover: #322b88;
  --accent-ink: #ffffff;
  --accent-soft: #ecebfa;
  /* second accent: used for the logo mark, eyebrows, tags and list dashes */
  --accent-2: #0f766e;
  --accent-2-soft: #e1f2ef;
  --heading: #322b88;
  --flow: linear-gradient(90deg, #3f37a8, #0f8f84);
  --error: #a4321f;
  --max: 1040px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  /* thin indigo-to-teal bar across the top of every page */
  border-top: 5px solid;
  border-image: var(--flow) 1;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand svg { flex: none; }
.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* Type */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin: 0 0 20px;
  max-width: 19ch;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0 0 12px;
}
h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
h1, h2, h3 { color: var(--heading); }
p { margin: 0 0 16px; }

/* Indigo-to-teal text: a headline phrase and the experience figures */
.flow, .stat .num { color: var(--accent); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .flow, .stat .num {
    background: var(--flow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 58ch;
}
.muted { color: var(--muted); }

/* Sections */
.hero { padding: 84px 0 68px; }
.page-hero { padding: 64px 0 40px; }
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 28px; max-width: 60ch; }

/* Buttons */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.secondary:hover { border-color: var(--ink); background: transparent; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .more { font-weight: 600; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-2-soft);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 16px; }
.checks li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--line);
}
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.25em;
  width: 12px;
  height: 2px;
  background: var(--accent-2);
}
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: 0.95rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.stat .num {
  /* shrink to the text so the gradient runs across each figure */
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat .label { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }

/* Form */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 0.92rem; font-weight: 600; }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #c9ced8;
  border-radius: 8px;
  padding: 11px 12px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 0.95rem; min-height: 1.6em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--error); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 52px 0 44px; }
  .page-hero { padding: 44px 0 28px; }
  .section { padding: 40px 0; }
  .form-layout { grid-template-columns: 1fr; gap: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}
