/* Firmcheck Compliance Assessment - shared design system.
   Monochrome take on the Firmcheck brand: near-black (#08060C) on white,
   grey support, Poppins headings over Open Sans body, hand-drawn line
   illustrations, ink-bordered cards with an offset shadow. */

:root {
  --white: #ffffff;
  --ink: #08060c;
  --grey-1: #f2f2f2;
  --grey-2: #d9d9da;
  --grey-3: #838285;
  --grey-4: #525054;
  --heading: "Poppins", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); line-height: 1.6; font-size: 1rem;
}

h1, h2, h3 { font-family: var(--heading); }

.wrap { max-width: 66rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--grey-1);
}
.wordmark { font-family: var(--heading); font-weight: 700; font-size: 1.02rem; }
.wordmark .tag { color: var(--grey-3); font-weight: 600; }
.header-cta {
  font-family: var(--heading); font-weight: 600; font-size: 0.88rem;
  color: var(--white); background: var(--ink); text-decoration: none;
  padding: 0.5rem 1rem; border-radius: 8px; white-space: nowrap;
}
.header-cta:hover { background: var(--grey-4); }

/* Cards */
.card {
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 6px 6px 0 var(--grey-1);
}

/* Forms */
label { display: block; font-weight: 600; margin: 0.85rem 0 0.3rem; font-size: 0.9rem; }
input, select {
  width: 100%; padding: 0.62rem 0.7rem; font-size: 1rem; font-family: var(--body);
  border: 1px solid var(--grey-2); border-radius: 8px;
  background: var(--white); color: var(--ink);
}
input:focus, select:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
button {
  margin-top: 1.3rem; width: 100%; padding: 0.85rem; font-size: 1rem;
  font-family: var(--heading); font-weight: 600;
  color: var(--white); background: var(--ink); border: 0; border-radius: 8px; cursor: pointer;
}
button:hover { background: var(--grey-4); }
.fine { color: var(--grey-3); font-size: 0.78rem; margin: 0.9rem 0 0; }
.error {
  background: #fdecec; border: 1px solid #f0bcbc; color: #9c2323;
  padding: 0.65rem 0.85rem; border-radius: 8px; margin-bottom: 0.4rem; font-size: 0.92rem;
}

/* Sections */
section.band { padding: 3rem 0; border-top: 1px solid var(--grey-1); }
h2.section { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.section-sub { margin: 0 0 1.8rem; color: var(--grey-4); max-width: 40rem; }
.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 0.24rem 0.75rem;
  margin-bottom: 1.2rem;
}
.trust { font-size: 0.85rem; color: var(--grey-3); }

/* Disclosure */
details { border-bottom: 1px solid var(--grey-1); padding: 0.85rem 0; }
details summary {
  cursor: pointer; font-family: var(--heading); font-weight: 600; font-size: 0.97rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
details summary::after { content: "+"; color: var(--grey-3); font-size: 1.2rem; font-weight: 600; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--grey-4); font-size: 0.95rem; margin: 0.6rem 0 0; max-width: 42rem; }

/* Footer */
footer.site { border-top: 1px solid var(--grey-1); color: var(--grey-3); font-size: 0.82rem; }
footer.site .footer-inner { padding: 1.8rem 0 2.3rem; }
footer.site p { margin: 0.3rem 0; max-width: 46rem; }
footer.site strong { color: var(--ink); }
