/* Brand colours match apps/web (primary blue, secondary purple). System fonts
   only: nothing extra to download on a low-data phone. */
:root {
  --primary: #3B5BFF;
  --primary-dark: #1F33A3;
  --primary-deep: #0f1a4d;
  --secondary: #A855F7;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --wash: #f5f7ff;
  --white: #ffffff;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: var(--primary); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.bar { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--primary-dark); text-decoration: none; }
nav { display: flex; align-items: center; gap: 20px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 500; }

.button {
  display: inline-block; padding: 14px 24px; border-radius: var(--radius);
  background: var(--primary); color: var(--white); font-weight: 600; text-decoration: none;
}
.button:hover { background: var(--primary-dark); }
.button.small { padding: 8px 16px; color: var(--white); }
.button.ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .7); }
.button.ghost:hover { background: rgba(255, 255, 255, .12); }
.button.light { background: var(--white); color: var(--primary-dark); }

/* Gradient one of two. */
.hero {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark) 55%, var(--primary));
  color: var(--white); padding: 96px 0 104px;
}
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 600; color: #c7d2fe; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); max-width: 18ch; }
.lead { font-size: 1.2rem; max-width: 60ch; color: #e0e7ff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

section { padding: 72px 0; }
section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.story { background: var(--wash); }
.story p { font-size: 1.1rem; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.steps li { counter-increment: step; border-top: 4px solid var(--primary); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 1.5rem; color: var(--secondary); }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: .95rem; }

.features { padding-top: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.grid p { color: var(--muted); margin: 0; }

/* Gradient two of two. */
.orgs { background: linear-gradient(135deg, var(--primary-dark), var(--secondary)); color: var(--white); }
.orgs p { font-size: 1.1rem; color: #ede9fe; }

footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: .9rem; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Density steps down on smaller screens. */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  nav a:not(.button) { display: none; }
  .hero { padding: 64px 0 72px; }
  section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
}
