/* Public website styles. Served by Apache from public-site/. */

:root {
  --ink: #1d2433;
  --muted: #566074;
  --brand: #2f6fde;
  --brand-dark: #2257b5;
  --band: #f3f6fb;
  --line: #dde3ee;
  --radius: 10px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 18em; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.band { background: var(--band); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem;
  color: var(--ink); text-decoration: none; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { color: var(--brand); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.site-footer p { margin: 0; }

/* Buttons */
.button {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  background: var(--brand); color: #fff; font-weight: 600; text-decoration: none;
}
.button:hover { background: var(--brand-dark); color: #fff; }
.button-small { padding: 7px 14px; }
nav .button { color: #fff; }
.button-quiet { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.button-quiet:hover { background: var(--band); color: var(--brand-dark); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Hero */
.hero { padding: 88px 0 72px; }

/* How it works */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }

/* Two columns */
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 0 0 14px 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Principles */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); margin: 0; }

@media (max-width: 760px) {
  section { padding: 44px 0; }
  .hero { padding: 56px 0 44px; }
  .two-col { grid-template-columns: 1fr; gap: 16px; }
  nav { gap: 14px; font-size: 0.95rem; }
}
