/* AuditBot subdomain — flaremark.com family system */

:root {
  --ink: #292524;      /* headings only */
  --text: #44403c;     /* body */
  --muted: #78716c;
  --flare: #2563eb;
  --flare-deep: #1e40af;
  --paper: #fafaf9;
  --card: #ffffff;
  --line: #e7e5e4;
  --tint: #eef4fb;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}

h1 { font-size: 2.2rem; line-height: 1.15; margin: 0 0 0.75rem; }
h2 { font-size: 1.35rem; line-height: 1.25; margin: 2.25rem 0 0.75rem; }

p { margin: 0 0 1rem; }

a { color: var(--flare); text-decoration: none; }
a:hover { text-decoration: underline; }

.lead { font-size: 1.2rem; color: var(--text); margin-bottom: 1rem; }
.small { color: var(--muted); font-size: 0.9rem; }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.6rem; }

/* Layout ---------------------------------------------------------------- */

.container {
  max-width: 46rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 2.75rem; }

.band { padding-block: 2.75rem; }

.band-tint { background: var(--tint); }

.section-white { background: var(--card); }

/* Header ----------------------------------------------------------------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.wordmark .mark { height: 28px; width: auto; }

.site-header nav { display: flex; gap: 1.75rem; font-size: 0.98rem; }

/* Identity band ---------------------------------------------------------- */

.band-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.band-hero .hero-mark { height: 52px; width: auto; }

.band-hero h1 { margin: 0; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary { background: var(--flare); color: #fff; }
.btn-primary:hover { background: var(--flare-deep); color: #fff; text-decoration: none; }

.btn-ghost {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--flare); color: var(--flare); text-decoration: none; }

/* Code ------------------------------------------------------------------- */

pre {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  font-size: 0.9rem;
}

code {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}

pre code { border: 0; padding: 0; background: none; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer .container {
  padding-block: 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a { color: var(--muted); }