
body.agp-body.ags-body {
  background: #f6f8f9;
  color: #13201f;
}
.ags-main {
  background: #f6f8f9;
  overflow: hidden;
}
.ags-hero,
.ags-section,
.ags-local-nav,
.ags-proof-strip {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.ags-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: stretch;
  padding: 56px 0 28px;
}
.ags-hero__copy {
  display: grid;
  gap: 18px;
  align-content: center;
}
.ags-kicker {
  margin: 0;
  color: #146c65;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ags-hero h1 {
  max-width: 840px;
  margin: 0;
  color: #101918;
  font-size: clamp(2.15rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.ags-lede {
  max-width: 740px;
  margin: 0;
  color: #31413f;
  font-size: 1.1rem;
  line-height: 1.65;
}
.ags-actions,
.ags-local-nav,
.ags-resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ags-button,
.ags-local-nav a,
.ags-resource-list a,
.ags-index-grid a {
  border: 1px solid #1a6d69;
  border-radius: 8px;
  background: #0f4f4c;
  color: #fff;
  padding: 11px 15px;
  text-decoration: none;
  font-weight: 760;
}
.ags-button--secondary,
.ags-local-nav a,
.ags-resource-list a,
.ags-index-grid a {
  background: #fff;
  color: #123f3d;
}
.ags-button:focus-visible,
.ags-local-nav a:focus-visible,
.ags-resource-list a:focus-visible,
.ags-index-grid a:focus-visible {
  outline: 3px solid #d59a22;
  outline-offset: 3px;
}
.ags-local-nav {
  margin-top: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(19, 32, 31, 0.16);
}
.ags-hero__panel,
.ags-not-list,
.ags-code-panel,
.ags-example-stat,
.ags-report-card,
.ags-resource-list {
  border: 1px solid rgba(19, 32, 31, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(27, 47, 45, 0.08);
}
.ags-hero__panel,
.ags-example-stat,
.ags-report-card {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 22px;
}
.ags-signal,
.ags-example-stat,
.ags-report-card {
  border-left: 4px solid #d59a22;
}
.ags-signal span,
.ags-example-stat span,
.ags-report-card span,
.ags-proof-strip span {
  display: block;
  color: #5c6e6a;
  font-size: 0.82rem;
  font-weight: 700;
}
.ags-signal strong,
.ags-example-stat strong,
.ags-report-card strong,
.ags-proof-strip strong {
  display: block;
  margin-top: 3px;
  color: #101918;
  font-size: 1rem;
}
.ags-section {
  padding: 38px 0;
}
.ags-section h2,
.ags-section h3 {
  margin: 0 0 12px;
  color: #101918;
  letter-spacing: 0;
}
.ags-section p,
.ags-section li,
.ags-section dd,
.ags-section td {
  color: #31413f;
  line-height: 1.64;
}
.ags-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.ags-not-list,
.ags-code-panel {
  padding: 22px;
}
.ags-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0 32px;
}
.ags-proof-strip div {
  border-top: 3px solid #23756d;
  background: #eaf4f2;
  padding: 15px;
}
.ags-diagram-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: center;
}
.ags-diagram {
  width: 100%;
  height: auto;
  border: 1px solid rgba(19, 32, 31, 0.14);
  border-radius: 8px;
  background: #fff;
}
.ags-index-grid,
.ags-policy-grid,
.ags-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ags-index-grid article,
.ags-policy-grid article,
.ags-rule-tile {
  border: 1px solid rgba(19, 32, 31, 0.14);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}
.ags-limits {
  border-top: 1px solid rgba(19, 32, 31, 0.16);
  border-bottom: 1px solid rgba(19, 32, 31, 0.16);
  background: linear-gradient(90deg, rgba(213,154,34,0.12), rgba(35,117,109,0.08));
  padding: 28px;
}
.ags-rule-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  align-self: center;
}
.ags-rule-stack span {
  border: 1px solid rgba(19, 32, 31, 0.14);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  font-weight: 740;
}
.ags-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(19, 32, 31, 0.14);
  border-radius: 8px;
  background: #fff;
}
.ags-rules-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}
.ags-rules-table caption {
  padding: 14px;
  text-align: left;
  font-weight: 760;
}
.ags-rules-table th,
.ags-rules-table td {
  padding: 13px;
  vertical-align: top;
  border-top: 1px solid rgba(19, 32, 31, 0.12);
  text-align: left;
}
.ags-rules-table th span {
  display: block;
  margin-top: 5px;
  color: #31413f;
  font-weight: 650;
}
.ags-rule-tile dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}
.ags-rule-tile dt {
  color: #101918;
  font-weight: 760;
}
.ags-rule-tile dd {
  margin: -6px 0 4px;
}
.ags-code-panel pre,
.ags-section pre {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  background: #0d1918;
  color: #d9f4ef;
  padding: 16px;
  line-height: 1.55;
  font-size: 0.9rem;
}
.ags-example-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ags-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ags-timeline div {
  border-left: 3px solid #23756d;
  padding-left: 14px;
}
.ags-timeline span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #0f4f4c;
  color: #fff;
  font-weight: 800;
}
.ags-resource-list {
  align-content: center;
  padding: 20px;
}
code {
  overflow-wrap: anywhere;
}
@media (max-width: 860px) {
  .ags-hero,
  .ags-split,
  .ags-diagram-section,
  .ags-example-pair,
  .ags-proof-strip,
  .ags-index-grid,
  .ags-policy-grid,
  .ags-rule-grid,
  .ags-timeline {
    grid-template-columns: 1fr;
  }
  .ags-hero {
    padding-top: 36px;
  }
}
@media (max-width: 420px) {
  .ags-hero,
  .ags-section,
  .ags-local-nav,
  .ags-proof-strip {
    width: min(100% - 20px, 1120px);
  }
  .ags-hero h1 {
    font-size: 2.05rem;
  }
  .ags-button,
  .ags-local-nav a,
  .ags-resource-list a,
  .ags-index-grid a {
    width: 100%;
    text-align: center;
  }
  .ags-not-list,
  .ags-code-panel,
  .ags-limits,
  .ags-index-grid article,
  .ags-policy-grid article,
  .ags-rule-tile {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
}

body.agp-body.ags-body,
body.agp-body.ags-body .ags-main {
  background:
    radial-gradient(980px 420px at 82% -14%, rgba(34, 211, 238, .14), transparent 62%),
    linear-gradient(180deg, #07111f 0%, #0b1020 48%, #08111f 100%);
  color: #f8fafc;
}

.ags-hero h1,
.ags-section h2,
.ags-section h3 {
  color: #f8fafc;
}

.ags-lede,
.ags-section p,
.ags-section li,
.ags-section dd,
.ags-section td {
  color: #d6e2ea;
}

body.agp-body.ags-body .ags-hero__panel *,
body.agp-body.ags-body .ags-not-list *,
body.agp-body.ags-body .ags-index-grid article *,
body.agp-body.ags-body .ags-policy-grid article *,
body.agp-body.ags-body .ags-rule-tile *,
body.agp-body.ags-body .ags-table-wrap *,
body.agp-body.ags-body .ags-resource-list *,
body.agp-body.ags-body .ags-report-card *,
body.agp-body.ags-body .ags-example-stat *,
body.agp-body.ags-body .ags-rule-stack span {
  color: #13201f;
}

body.agp-body.ags-body .ags-limits,
body.agp-body.ags-body .ags-limits * {
  color: #13201f;
}
