/* WA-Kit shared styles */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url('fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-display: swap; src: url('fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }
:root {
  --ink: #1D1A39;
  --ink-soft: #4A4766;
  --muted: #6B6886;
  --ground: #F4F4F8;
  --surface: #FFFFFF;
  --line: #DFDFE8;
  --accent: #F2552C;        /* logo bar, decorative */
  --accent-strong: #C23A14; /* buttons with white text (meets contrast) */
  --accent-soft: #FDE7E0;
  --blue: #1F5FD1;
  --radius: 14px;
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: var(--blue); }
a:hover { color: #133F91; }
img, svg, canvas { max-width: 100%; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap; min-height: 64px; padding-top: 8px; padding-bottom: 8px;
}
.brand {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-weight: 800; font-size: 30px;
  letter-spacing: -1px; line-height: 1; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand .bar { width: 20px; height: 8px; border-radius: 4px; background: var(--accent); margin-top: 3px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 10px 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { margin-top: 56px; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); }

/* ---------- common bits ---------- */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.5px; line-height: 1.15; margin: 0; }
.page-intro { padding: 32px 0 20px; }
.page-intro h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.page-intro p { margin: 8px 0 0; color: var(--ink-soft); max-width: 720px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font: 600 15px var(--font-body); cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: #A12F0F; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ground); }
.btn:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid #8FB2F5; outline-offset: 2px;
}

.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose code { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-size: 14px; }
