/* content.css - guide, FAQ and free-tool pages, in the AgentProof web-lab brand (off-white, ink, violet).
   Same classes as before; only the fonts and colours are this brand's. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url("fonts/BricolageGrotesque.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600;
  font-display: swap; src: url("fonts/GeistMono.woff2") format("woff2"); }

:root {
color-scheme: light;
  --spot: #5b3df5;
  --paper: #f6f3ee;
  --paper-deep: #ece7df;
  --sheet: #fffdfa;
  --ink: #16141b;
  --ink-soft: #37343f;
  --muted: #56525f;
  --rule: rgba(22, 20, 27, .14);
  --good: #1d6b47;
  --warn: #7d5200;
  --bad: #b3261e;
  --serif: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 800px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--spot); }
:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--ink);
  color: var(--paper); padding: 12px 18px; text-decoration: none; }
.skip:focus { left: 0; }

/* --- masthead ----------------------------------------------------------- */
header.top { border-bottom: 1px solid var(--ink); background: var(--paper); }
header.top .wrap { max-width: 1240px; }
header.top .bar { display: flex; align-items: center; gap: 12px 26px; min-height: 68px; flex-wrap: wrap;
  padding-top: 10px; padding-bottom: 10px; }
header.top a { text-decoration: none; }
.logo { display: inline-flex; align-items: baseline; gap: 0; font-family: var(--serif); font-size: 28px;
  line-height: 1; letter-spacing: -.01em; margin-right: auto; color: var(--ink); }
.logo .mark { display: none; }
.logo b { font-weight: 400; font-style: italic; color: var(--spot); }
nav.links { display: flex; gap: 4px 20px; flex-wrap: wrap; }
nav.links a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); padding: 4px 0; border-bottom: 1px solid transparent;
  display: inline-flex; align-items: center; min-height: 24px; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-cta { font: 700 14.5px/1.2 var(--sans); background: var(--ink); color: var(--paper) !important;
  padding: 10px 16px; white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; }
.nav-cta:hover { background: var(--spot); }

.crumb { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 22px 0 0; }
.crumb a { color: var(--muted); display: inline-flex; align-items: center; min-height: 24px; }

/* --- type --------------------------------------------------------------- */
main { padding-bottom: 64px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); }
h1 { font-size: clamp(40px, 6.2vw, 64px); line-height: 1; letter-spacing: -.02em; margin: 22px 0 18px; }
.lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; color: var(--ink-soft); margin: 0 0 10px; }
h2 { font-size: clamp(30px, 3.8vw, 40px); line-height: 1.05; letter-spacing: -.012em;
  margin: 56px 0 14px; padding-top: 18px; border-top: 1px solid var(--ink); scroll-margin-top: 24px; }
h3 { font-size: clamp(23px, 2.4vw, 27px); line-height: 1.12; margin: 32px 0 8px; scroll-margin-top: 24px; }
p { margin: 0 0 15px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin: 0 0 9px; }
li::marker { color: var(--spot); }
strong, b { font-weight: 700; color: var(--ink); }
code { font-family: var(--mono); font-size: .86em; background: var(--sheet); border: 1px solid var(--rule);
  padding: 1px 5px; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.updated { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--muted);
  margin: 0 0 30px; }

/* --- callouts ----------------------------------------------------------- */
.callout { background: var(--sheet); border: 1px solid var(--rule); border-left: 3px solid var(--spot);
  padding: 18px 20px; margin: 24px 0; }
.callout.warn { border-left-color: var(--warn); }
.callout.good { border-left-color: var(--good); }
.callout p:last-child { margin-bottom: 0; }
.callout .t { font-family: var(--serif); font-size: 23px; line-height: 1.15; color: var(--ink); margin: 0 0 8px; }

/* --- tables ------------------------------------------------------------- */
.tablewrap { overflow-x: auto; margin: 22px 0; border-top: 2px solid var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap; border-bottom-color: var(--ink); }

/* --- numbered steps ----------------------------------------------------- */
ol.steps { list-style: none; padding: 0; counter-reset: st; margin: 24px 0; border-top: 1px solid var(--rule); }
ol.steps > li { counter-increment: st; display: grid; grid-template-columns: 54px minmax(0, 1fr);
  padding: 16px 0; margin: 0; border-bottom: 1px solid var(--rule); }
ol.steps > li::before { content: counter(st, decimal-leading-zero); font-family: var(--serif);
  font-size: 32px; line-height: 1; color: var(--spot); grid-row: span 3; }
ol.steps > li .t { font-weight: 700; display: block; margin-bottom: 3px; }

/* --- FAQ ---------------------------------------------------------------- */
.faq { margin: 24px 0; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--serif); font-size: 23px; line-height: 1.2;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--spot); font-size: 22px; flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 18px; color: var(--ink-soft); }
.faq .a p:last-child { margin-bottom: 0; }

/* --- the free tool: a form on paper ------------------------------------- */
.tool { background: var(--sheet); border: 1px solid rgba(22, 20, 15, .22); padding: 24px; margin: 26px 0;
  box-shadow: 12px 12px 0 -1px var(--paper-deep), 12px 12px 0 0 rgba(22, 20, 15, .16); }
.tool fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.tool legend { font-family: var(--serif); font-size: 22px; line-height: 1.2; padding: 0; margin: 0 0 4px; }
.tool .hint { font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }
.tool label { display: block; margin: 0 0 8px; font-size: 15.5px; }
.tool .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.tool .opts label { border: 1px solid var(--ink); padding: 9px 14px; background: transparent; cursor: pointer;
  margin: 0; font-size: 15px; }
.tool .opts label:has(input:checked) { background: var(--ink); color: var(--paper); }
.tool input[type="text"], .tool input[type="date"], .tool input[type="time"],
.tool input[type="number"], .tool textarea, .tool select {
  font: inherit; font-size: 16px; width: 100%; max-width: 340px; padding: 10px 12px;
  border: 1px solid rgba(22, 20, 15, .35); background: #fff; color: var(--ink); }
.tool textarea { max-width: none; min-height: 110px; resize: vertical; }
.tool button { font: 700 16px/1.2 var(--sans); cursor: pointer; background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); padding: 13px 22px; min-height: 48px; }
.tool button:hover { background: var(--spot); border-color: var(--spot); color: #fff; }
.tool button.sec { background: transparent; color: var(--ink); }
.tool .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.result { margin: 24px 0 0; }
.result[hidden] { display: none !important; }
.verdict { padding: 16px 18px; margin: 0 0 14px; border: 1px solid var(--rule); border-left: 3px solid var(--muted);
  background: var(--paper); }
.verdict.hit { border-left-color: var(--bad); }
.verdict.warn { border-left-color: var(--warn); }
.verdict.clear { border-left-color: var(--good); }
.verdict .v { font-family: var(--mono); letter-spacing: .08em; font-size: 12px; text-transform: uppercase; margin: 0 0 6px; }
.verdict.hit .v { color: var(--bad); }
.verdict.warn .v { color: var(--warn); }
.verdict.clear .v { color: var(--good); }
.verdict h3 { margin: 0 0 6px; font-size: 22px; }
.verdict p:last-child { margin-bottom: 0; }
.privnote { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* --- related / CTA ------------------------------------------------------ */
.related { border-top: 2px solid var(--ink); padding: 18px 0 0; margin: 48px 0 0; }
.related h2 { margin: 0 0 10px; font-size: 28px; border: 0; padding: 0; }
.related ul { margin: 0; }
.cta { background: var(--paper-deep); border-top: 2px solid var(--ink); padding: 28px; margin: 40px 0 0; }
.cta h2 { margin: 0 0 10px; border: 0; padding: 0; }
.cta p { color: var(--ink-soft); }
.cta a.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; background: var(--ink);
  color: var(--paper); font-weight: 700; text-decoration: none; padding: 14px 22px; margin-top: 6px; }
.cta a.btn::after { content: "\2192"; font-weight: 400; }
.cta a.btn:hover { background: var(--spot); color: #fff; }

/* --- colophon ----------------------------------------------------------- */
footer.site { border-top: 1px solid var(--ink); margin-top: 64px; padding: 40px 0; font-size: 14px;
  line-height: 1.6; color: var(--ink-soft); }
footer.site a { display: inline-flex; align-items: center; min-height: 24px; }
footer.site p { margin: 0 0 12px; }
footer.site .logo { margin-bottom: 18px; font-size: 40px; }

@media (max-width: 620px) {
  body { font-size: 17px; }
  header.top .bar { min-height: 56px; }
  nav.links { width: 100%; order: 3; gap: 4px 14px; }
  .logo { font-size: 24px; }
  .tool { padding: 18px; box-shadow: 8px 8px 0 -1px var(--paper-deep), 8px 8px 0 0 rgba(22, 20, 15, .16); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* AgentProof: heavy grotesque headings, one violet. */
h1, h2 { font-weight: 800; letter-spacing: -.03em; }
h3 { font-weight: 700; }
.logo { font-weight: 800; letter-spacing: -.03em; }
.logo b { font-style: normal; font-weight: 800; color: var(--ink); }
.nav-cta { background: #5b3df5; border-radius: 999px; }
.nav-cta:hover { background: #16141b; }
.cta { background: #16141b; color: #d9d5e3; border-top: 0; border-radius: 18px; }
.cta h2 { color: #fff; }
.cta p { color: #d9d5e3; }
.cta a.btn { background: #5b3df5; color: #fff; border-radius: 999px; }
.cta a.btn:hover { background: #fff; color: #16141b; }
.callout { border-left-color: #5b3df5; border-radius: 0 12px 12px 0; }
.tool { border-radius: 16px; }
.tool button { border-radius: 999px; }
