/* Guide "What is an agentic GRC platform?" (/agentic-grc, tools/pages/agentic-grc.html). Colours come from the tokens of
   site-theme.css (light, dark, blue). The built page carries one article in its own language (build_pages.strip_lang). */
html[data-sub="agentic-grc"] .page-main { padding-top:calc(var(--nav-h,64px) + 24px); }
html body .page-main section.ag-page { padding-block:24px 72px; border-top:0; }

.ag { max-width:860px; margin:0 auto; text-align:start; }
.ag-head { margin-bottom:28px; }
html body .ag .label { display:inline-block; margin-bottom:12px; }
html body .page-hero.ag-page h1 { font-size:clamp(30px,3.6vw,46px); line-height:1.12; margin:0 0 16px; text-wrap:balance; }
.ag .ag-def { font-size:18px; line-height:1.65; color:var(--ink); margin:0 0 14px; }
.ag .ag-meta { font-size:13.5px; line-height:1.6; color:var(--muted); margin:0; }

.ag-glance { margin:0 0 32px; padding:20px 24px; border:1px solid var(--line); border-radius:14px;
  background:var(--surface-panel); box-shadow:var(--panel-shadow); }
html body .ag-glance h2 { font-family:var(--font-ui); font-size:15px; font-weight:650; letter-spacing:.02em;
  line-height:1.3; margin:0 0 10px; color:var(--ink); }

html body .ag-sec h2 { font-family:var(--font-ui); font-size:clamp(21px,2vw,26px); font-weight:650; letter-spacing:-.01em;
  line-height:1.28; color:var(--ink); margin:44px 0 14px; scroll-margin-top:calc(var(--nav-h,64px) + 16px); }
html body .ag-sec h3 { font-family:var(--font-ui); font-size:17px; font-weight:650; line-height:1.35; color:var(--ink);
  margin:22px 0 6px; }
.ag p, .ag li { font-size:16px; line-height:1.72; color:var(--ink-soft); }
.ag p { margin:0 0 12px; }
.ag ul, .ag ol { padding-inline-start:1.3em; margin:0 0 12px; }
.ag ul { list-style:disc; }
.ag ol { list-style:decimal; }
.ag li { margin:0 0 8px; }
.ag li::marker { color:var(--purple); }
.ag a { color:var(--purple); text-decoration:underline; text-underline-offset:2px; }
.ag a:hover { color:var(--ink); }
.ag a.btn { text-decoration:none; }
.ag strong { color:var(--ink); font-weight:650; }

.ag-table-wrap { overflow-x:auto; margin:6px 0 16px; border:1px solid var(--line); border-radius:14px;
  background:var(--surface-panel); }
.ag-table-wrap:focus-visible { outline:2px solid var(--purple); outline-offset:2px; }
.ag-table { width:100%; min-width:640px; border-collapse:collapse; font-size:14.5px; line-height:1.55; }
.ag-table th, .ag-table td { padding:12px 14px; text-align:start; vertical-align:top; border-bottom:1px solid var(--line);
  color:var(--ink-soft); }
.ag-table thead th { font-family:var(--font-ui); font-size:13px; font-weight:650; letter-spacing:.02em; color:var(--ink);
  background:var(--surface-inset); }
.ag-table tbody th { font-weight:650; color:var(--ink); white-space:nowrap; }
.ag-table tbody tr:last-child th, .ag-table tbody tr:last-child td { border-bottom:0; }
.ag-table td:last-child { color:var(--ink); }

.ag-check li { padding-inline-start:4px; }
.ag-cta { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0 0; }

.ag-faq-item { border:1px solid var(--line); border-radius:12px; background:var(--surface-panel); margin:0 0 10px; }
.ag-faq-item summary { cursor:pointer; list-style:none; padding:14px 44px 14px 18px; position:relative;
  font-family:var(--font-ui); font-size:16px; font-weight:600; line-height:1.4; color:var(--ink); }
.ag-faq-item summary::-webkit-details-marker { display:none; }
.ag-faq-item summary::after { content:"+"; position:absolute; inset-inline-end:18px; top:12px; font-size:20px; color:var(--purple); }
.ag-faq-item[open] summary::after { content:"–"; }
.ag-faq-a { padding:0 18px 6px; }
.ag-foot { margin-top:36px; font-size:14.5px; color:var(--muted); }

@media (max-width:640px) {
  .ag-glance { padding:16px 18px; }
  .ag p, .ag li { font-size:15.5px; }
  .ag .ag-def { font-size:17px; }
  .ag-table { min-width:560px; font-size:14px; }
  .ag-table tbody th { white-space:normal; min-width:96px; }
}
