:root {
  --ag-navy-950: #050d18;
  --ag-navy-900: #081525;
  --ag-navy-800: #0d2139;
  --ag-navy-700: #173453;
  --ag-cream: #f5f7f9;
  --ag-paper: #ffffff;
  --ag-ink: #07111f;
  --ag-muted: #66717d;
  --ag-line: rgba(7, 17, 31, .14);
  --ag-line-dark: rgba(7, 17, 31, .14);
  --ag-orange: #ef5b36;
  --ag-orange-hot: #ff6a3d;
  --ag-green: #21865a;
  --ag-amber: #a96908;
  --ag-red: #bd443d;
  --ag-display: "Bebas Neue", Impact, sans-serif;
  --ag-body: "DM Sans", sans-serif;
  --ag-mono: "Space Mono", monospace;
  --ag-shell: min(1320px, calc(100% - 48px));
}

html {
  scroll-behavior: smooth;
}

body[data-public-page="home"] {
  background: #fff !important;
  color: var(--ag-ink);
  font-family: var(--ag-body);
}

body[data-public-page="home"] .tc-nav {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--ag-line);
  backdrop-filter: blur(18px);
}

body[data-public-page="home"] .tc-nav__links a {
  color: #263544;
}

body[data-public-page="home"] .tc-nav__links a:hover,
body[data-public-page="home"] .tc-nav__links a:focus-visible {
  color: var(--ag-orange);
}

body[data-public-page="home"] .tc-nav__links .tc-button--primary {
  background: var(--ag-navy-900);
  color: #fff;
}

.ag-home {
  overflow: hidden;
}

.ag-home *,
.ag-home *::before,
.ag-home *::after {
  box-sizing: border-box;
}

.ag-shell {
  width: var(--ag-shell);
  margin-inline: auto;
}

.ag-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--ag-orange);
  font-family: var(--ag-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ag-eyebrow::before {
  width: 8px;
  height: 8px;
  background: currentColor;
  content: "";
}

.ag-eyebrow--light {
  color: #ff8b68;
}

.ag-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--ag-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.ag-button:hover {
  transform: translateY(-2px);
}

.ag-button:focus-visible,
.ag-home a:focus-visible {
  outline: 3px solid var(--ag-amber);
  outline-offset: 4px;
}

.ag-button--primary {
  background: var(--ag-orange);
  color: #fff;
}

.ag-button--primary:hover {
  background: var(--ag-orange-hot);
}

.ag-button--secondary {
  border-color: rgba(8, 21, 37, .30);
  color: var(--ag-navy-900);
}

.ag-button--secondary:hover {
  border-color: var(--ag-navy-900);
  background: var(--ag-cream);
}

.ag-button--ink {
  background: var(--ag-navy-900);
  color: #fff;
}

.ag-button--outline {
  border-color: var(--ag-line);
  color: var(--ag-ink);
}

.ag-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

body[data-public-page="home"] main.ag-home > section.ag-hero {
  position: relative;
  min-height: 760px;
  padding: 86px 0 72px;
  background:
    linear-gradient(90deg, rgba(13, 33, 57, .045) 1px, transparent 1px),
    linear-gradient(rgba(13, 33, 57, .045) 1px, transparent 1px),
    radial-gradient(circle at 76% 32%, rgba(239, 91, 54, .10), transparent 32%),
    #fff !important;
  background-size: 72px 72px, 72px 72px, auto, auto !important;
  color: var(--ag-ink) !important;
  background-color: #fff !important;
  border: 0 !important;
}

.ag-hero::after {
  position: absolute;
  right: -90px;
  bottom: -230px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(239, 91, 54, .20);
  border-radius: 50%;
  box-shadow: 0 0 0 88px rgba(239, 91, 54, .018), 0 0 0 176px rgba(239, 91, 54, .012);
  content: "";
  pointer-events: none;
}

.ag-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: clamp(52px, 7vw, 110px);
  align-items: center;
}

.ag-hero__copy {
  text-align: left;
}

.ag-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--ag-display);
  font-size: clamp(82px, 10vw, 154px);
  font-weight: 400 !important;
  line-height: .82 !important;
  letter-spacing: .012em !important;
  text-transform: uppercase;
  color: var(--ag-navy-900) !important;
}

.ag-hero h1 span {
  display: block;
  margin-top: 20px;
  color: var(--ag-orange);
  font-size: .47em;
  line-height: .95;
}

.ag-hero__lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: #536170;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
}

.ag-hero__qualifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  margin: 28px 0 0;
  padding: 0;
  color: #667483;
  font-family: var(--ag-mono);
  font-size: 10px;
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
}

.ag-hero__qualifiers li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ag-hero__qualifiers li::before {
  width: 5px;
  height: 5px;
  background: var(--ag-orange);
  content: "";
}

.ag-stateboard {
  border: 1px solid rgba(7, 17, 31, .14);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 30px 80px rgba(8, 21, 37, .13);
  backdrop-filter: blur(14px);
}

.ag-stateboard__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 19px 22px;
  border-bottom: 1px solid var(--ag-line-dark);
  font-family: var(--ag-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ag-stateboard__head span:last-child {
  color: var(--ag-green);
}

.ag-stateboard__rail {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ag-stateboard__rail li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 90px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ag-line-dark);
}

.ag-stateboard__rail li:last-child {
  border-bottom: 0;
}

.ag-stateboard__rail i {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--ag-muted);
  font-family: var(--ag-mono);
  font-size: 10px;
  font-style: normal;
}

.ag-stateboard__rail b {
  display: block;
  color: var(--ag-navy-900);
  font-size: 16px;
}

.ag-stateboard__rail small {
  display: block;
  margin-top: 4px;
  color: #667483 !important;
  font-size: 12px;
}

.ag-stateboard__rail em {
  color: #6d7985;
  font-family: var(--ag-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ag-stateboard__rail .is-protected {
  background: linear-gradient(90deg, rgba(36, 142, 91, .10), transparent 52%);
}

.ag-stateboard__rail .is-protected i,
.ag-stateboard__rail .is-protected em {
  color: var(--ag-green);
}

.ag-stateboard__rail .is-watching i {
  color: var(--ag-amber);
}

.ag-stateboard__rail .is-attention i {
  color: var(--ag-orange);
}

.ag-stateboard__rail .is-halted i {
  color: var(--ag-red);
}

.ag-stateboard__foot {
  padding: 17px 22px;
  border-top: 1px solid var(--ag-line);
  color: #667483;
  font-family: var(--ag-mono);
  font-size: 10px;
  line-height: 1.6;
}

body[data-public-page="home"] main.ag-home > section.ag-section {
  padding: clamp(88px, 9vw, 138px) 0 !important;
  border-bottom: 1px solid var(--ag-line) !important;
}

.ag-section h2 {
  max-width: 920px;
  margin: 0;
  font-family: var(--ag-display);
  font-size: clamp(58px, 7.2vw, 108px);
  font-weight: 400 !important;
  line-height: .9 !important;
  letter-spacing: .01em !important;
  text-transform: uppercase;
}

.ag-section h2 span {
  color: var(--ag-orange);
}

.ag-section__lead {
  max-width: 760px;
  margin: 27px 0 0;
  color: var(--ag-muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
}

body[data-public-page="home"] main.ag-home > section.ag-thesis {
  background: var(--ag-paper) !important;
}

.ag-thesis__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: 70px;
  align-items: end;
}

.ag-thesis__statement {
  margin: 0;
  padding-left: 28px;
  border-left: 3px solid var(--ag-orange);
  color: #3d4b59;
  font-size: 20px;
  line-height: 1.65;
}

body[data-public-page="home"] main.ag-home > section.ag-doctrine {
  background: var(--ag-cream) !important;
  color: var(--ag-ink) !important;
}

.ag-doctrine h2 {
  color: var(--ag-navy-900) !important;
}

.ag-doctrine__intro {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 60px;
  align-items: end;
}

.ag-doctrine__intro p {
  margin: 0;
  color: #536170;
  font-size: 18px;
  line-height: 1.65;
}

.ag-sequence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--ag-line-dark);
  border-bottom: 1px solid var(--ag-line-dark);
}

.ag-sequence article {
  position: relative;
  min-height: 310px;
  padding: 32px;
  border-right: 1px solid var(--ag-line-dark);
}

.ag-sequence article:last-child {
  border-right: 0;
}

.ag-sequence article:not(:last-child)::after {
  position: absolute;
  top: 46px;
  right: -6px;
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--ag-orange);
  border-right: 2px solid var(--ag-orange);
  transform: rotate(45deg);
  content: "";
}

.ag-sequence__index {
  color: var(--ag-orange);
  font-family: var(--ag-mono);
  font-size: 11px;
}

.ag-sequence h3 {
  margin: 72px 0 13px;
  font-family: var(--ag-display);
  font-size: 42px;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase;
}

.ag-sequence p {
  margin: 0;
  color: #93a3b5;
  line-height: 1.65;
}

body[data-public-page="home"] main.ag-home > section.ag-standards {
  background: var(--ag-cream) !important;
}

.ag-standard-list {
  margin: 58px 0 0;
  padding: 0;
  border-top: 1px solid var(--ag-line);
  list-style: none;
}

.ag-standard-list li {
  display: grid;
  grid-template-columns: 70px minmax(220px, .65fr) 1fr;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid var(--ag-line);
  align-items: baseline;
}

.ag-standard-list span {
  color: var(--ag-orange);
  font-family: var(--ag-mono);
  font-size: 10px;
}

.ag-standard-list strong {
  font-size: 18px;
}

.ag-standard-list p {
  margin: 0;
  color: var(--ag-muted);
  line-height: 1.6;
}

body[data-public-page="home"] main.ag-home > section.ag-modules {
  background: #e8edf0 !important;
}

.ag-modules__head {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 60px;
  align-items: end;
}

.ag-modules__head p {
  margin: 0;
  color: var(--ag-muted);
  font-size: 18px;
  line-height: 1.65;
}

.ag-module-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--ag-line);
}

.ag-module-row article {
  min-height: 330px;
  padding: 28px 30px 32px 0;
  border-right: 1px solid var(--ag-line);
}

.ag-module-row article + article {
  padding-left: 30px;
}

.ag-module-row article:last-child {
  border-right: 0;
}

.ag-module-row small {
  color: var(--ag-orange);
  font-family: var(--ag-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ag-module-row h3 {
  margin: 60px 0 12px;
  font-family: var(--ag-display);
  font-size: 43px;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase;
}

.ag-module-row p {
  color: var(--ag-muted);
  line-height: 1.65;
}

.ag-module-status {
  display: inline-flex;
  margin-top: 22px;
  padding: 7px 9px;
  border: 1px solid rgba(239, 91, 54, .35);
  color: #9b3b22;
  font-family: var(--ag-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-public-page="home"] main.ag-home > section.ag-evidence {
  background: #fff !important;
  color: var(--ag-ink) !important;
}

.ag-evidence h2 {
  color: var(--ag-navy-900) !important;
}

.ag-evidence__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr);
  gap: 72px;
  align-items: start;
}

.ag-evidence__copy p {
  max-width: 600px;
  color: #536170;
  font-size: 18px;
  line-height: 1.65;
}

.ag-ledger {
  border-top: 1px solid var(--ag-line-dark);
}

.ag-ledger__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 21px 0;
  border-bottom: 1px solid var(--ag-line-dark);
}

.ag-ledger__row span {
  color: #667483;
}

.ag-ledger__row strong {
  color: var(--ag-navy-900);
  text-align: right;
}

.ag-ledger__row .ag-status-review {
  color: var(--ag-amber);
  font-family: var(--ag-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-public-page="home"] main.ag-home > section.ag-process {
  background: var(--ag-paper) !important;
}

.ag-process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 58px 0 0;
  padding: 0;
  border-top: 1px solid var(--ag-line);
  list-style: none;
}

.ag-process-list li {
  min-height: 230px;
  padding: 26px 23px;
  border-right: 1px solid var(--ag-line);
}

.ag-process-list li:last-child {
  border-right: 0;
}

.ag-process-list span {
  color: var(--ag-orange);
  font-family: var(--ag-mono);
  font-size: 10px;
}

.ag-process-list h3 {
  margin: 50px 0 10px;
  font-size: 18px;
}

.ag-process-list p {
  margin: 0;
  color: var(--ag-muted);
  font-size: 14px;
  line-height: 1.6;
}

body[data-public-page="home"] main.ag-home > section.ag-fit {
  background: var(--ag-cream) !important;
}

.ag-fit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 54px;
  background: var(--ag-line);
  border: 1px solid var(--ag-line);
}

.ag-fit__column {
  padding: 38px;
  background: var(--ag-paper);
}

.ag-fit__column h3 {
  margin: 0 0 25px;
  font-family: var(--ag-display);
  font-size: 38px;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase;
}

.ag-fit__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ag-fit__column li {
  position: relative;
  padding: 14px 0 14px 25px;
  border-top: 1px solid var(--ag-line);
  color: var(--ag-muted);
  line-height: 1.5;
}

.ag-fit__column li::before {
  position: absolute;
  top: 21px;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ag-orange);
  content: "";
}

.ag-fit__column--not li::before {
  border-color: #9aa4ad;
  transform: rotate(45deg);
}

body[data-public-page="home"] main.ag-home > section.ag-access {
  padding: clamp(86px, 9vw, 130px) 0 !important;
  background: #fff !important;
  color: var(--ag-ink) !important;
  border-top: 8px solid var(--ag-orange) !important;
}

.ag-access__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.ag-access h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--ag-display);
  font-size: clamp(64px, 8vw, 116px);
  font-weight: 400 !important;
  line-height: .88 !important;
  letter-spacing: .01em !important;
  text-transform: uppercase;
  color: var(--ag-ink) !important;
}

.ag-access p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #536170;
  font-size: 18px;
  line-height: 1.65;
}

.ag-access .ag-actions {
  justify-content: flex-end;
  margin: 0;
}

.ag-access .ag-button--outline {
  border-color: rgba(7, 17, 31, .42);
}

body[data-public-page="home"] main.ag-home > section.ag-disclosure {
  padding: 34px 0 !important;
  background: var(--ag-cream) !important;
  color: #596776 !important;
  border-top: 1px solid var(--ag-line) !important;
}

.ag-disclosure p {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
}

body[data-public-page="home"] .site-footer {
  background: #fff !important;
  color: #596776 !important;
  border-top: 1px solid var(--ag-line) !important;
}

body[data-public-page="home"] .site-footer h4,
body[data-public-page="home"] .site-footer a {
  color: var(--ag-navy-900) !important;
}

body[data-public-page="home"] .site-footer a:hover,
body[data-public-page="home"] .site-footer a:focus-visible,
body[data-public-page="home"] .footer-disclaimer strong {
  color: var(--ag-orange) !important;
}

body[data-public-page="home"] .footer-disclaimer,
body[data-public-page="home"] .footer-bottom {
  border-color: var(--ag-line) !important;
}

@media (max-width: 1000px) {
  .ag-hero__grid,
  .ag-thesis__grid,
  .ag-doctrine__intro,
  .ag-modules__head,
  .ag-evidence__grid,
  .ag-access__grid {
    grid-template-columns: 1fr;
  }

  .ag-stateboard {
    max-width: 720px;
  }

  .ag-process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .ag-process-list li {
    border-bottom: 1px solid var(--ag-line);
  }

  .ag-access .ag-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --ag-shell: min(calc(100% - 30px), 1320px);
  }

  body[data-public-page="home"] .tc-nav__inner {
    width: min(calc(100% - 30px), 1320px);
    padding-inline: 0;
  }

  body[data-public-page="home"] .tc-nav__brand img {
    width: min(178px, 54vw);
    height: auto;
  }

  .ag-hero {
    min-height: auto;
    padding: 66px 0 56px;
    background-size: 48px 48px, 48px 48px, auto, auto;
  }

  .ag-hero__grid {
    gap: 46px;
  }

  .ag-hero h1 {
    font-size: clamp(72px, 25vw, 104px);
  }

  .ag-hero h1 span {
    font-size: .4em;
    line-height: 1.05;
  }

  .ag-actions,
  .ag-actions .ag-button {
    width: 100%;
  }

  .ag-stateboard__rail li {
    grid-template-columns: 38px 1fr;
  }

  .ag-stateboard__rail em {
    grid-column: 2;
  }

  .ag-section {
    padding: 76px 0;
  }

  .ag-section h2,
  .ag-access h2 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .ag-sequence,
  .ag-module-row,
  .ag-process-list,
  .ag-fit__grid {
    grid-template-columns: 1fr;
  }

  .ag-sequence article,
  .ag-module-row article,
  .ag-process-list li {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ag-line-dark);
  }

  .ag-sequence article:not(:last-child)::after {
    display: none;
  }

  .ag-sequence h3,
  .ag-module-row h3 {
    margin-top: 38px;
  }

  .ag-module-row article + article {
    padding-left: 0;
  }

  .ag-module-row article,
  .ag-process-list li {
    border-bottom-color: var(--ag-line);
  }

  .ag-standard-list li {
    grid-template-columns: 46px 1fr;
  }

  .ag-standard-list p {
    grid-column: 2;
  }

  .ag-ledger__row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ag-ledger__row strong {
    text-align: left;
  }

  .ag-fit__column {
    padding: 28px 22px;
  }

  .ag-access__grid {
    gap: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ag-button {
    transition: none;
  }
}

/* TerraCode AEGIS public-release visual system — white / navy / orange. */
:root {
  --ag-navy-950: #061322;
  --ag-navy-900: #081a2e;
  --ag-navy-800: #102a46;
  --ag-cream: #f5f4f0;
  --ag-paper: #ffffff;
  --ag-ink: #101419;
  --ag-muted: #56616b;
  --ag-line: #dedfda;
  --ag-line-dark: rgba(255, 255, 255, .16);
  --ag-orange: #f2552f;
  --ag-orange-hot: #dd4522;
  --ag-green: #67d6a0;
  --ag-amber: #ffbc62;
  --ag-red: #ff806f;
  --ag-display: "DM Sans", "Segoe UI", sans-serif;
  --ag-body: "DM Sans", "Segoe UI", sans-serif;
  --ag-mono: "Space Mono", monospace;
  --ag-shell: min(1240px, calc(100% - 64px));
}

html,
body[data-public-page="home"] {
  max-width: 100%;
  overflow-x: clip;
}

body[data-public-page="home"] {
  background: var(--ag-paper) !important;
  color: var(--ag-ink);
  padding-top: 0 !important;
}

body[data-public-page="home"] .tc-nav {
  width: min(1240px, calc(100% - 32px));
  border: 1px solid rgba(8, 26, 46, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 18px 50px rgba(8, 26, 46, .10);
}

body[data-public-page="home"] .tc-nav__inner {
  width: min(1180px, calc(100% - 48px));
  min-width: 0;
}

body[data-public-page="home"] .tc-nav__links a {
  color: #39434d;
  font-weight: 700;
}

body[data-public-page="home"] .tc-nav__links .tc-button--primary {
  background: var(--ag-navy-900) !important;
  color: #fff !important;
}

.ag-home,
.ag-home section,
.ag-home div,
.ag-home header,
.ag-home aside,
.ag-home article {
  min-width: 0;
}

.ag-eyebrow {
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ag-orange);
  font-size: 10px;
  letter-spacing: .18em;
}

.ag-eyebrow::before {
  width: 26px;
  height: 2px;
}

.ag-eyebrow--light {
  color: var(--ag-orange);
}

.ag-button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .02em;
  box-shadow: none;
}

.ag-button--primary {
  background: var(--ag-orange);
  color: #fff;
}

.ag-button--secondary,
.ag-button--outline {
  border-color: #b9bdbb;
  background: #fff;
  color: var(--ag-navy-900);
}

.ag-button--ink {
  background: var(--ag-navy-900);
  color: #fff;
}

body[data-public-page="home"] main.ag-home > section.ag-hero {
  min-height: 0;
  padding: clamp(78px, 8vw, 116px) 0 clamp(84px, 9vw, 128px);
  border-bottom: 1px solid var(--ag-line) !important;
  background:
    radial-gradient(circle at 91% 8%, rgba(242, 85, 47, .08), transparent 26rem),
    linear-gradient(180deg, #fff 0%, #fbfbf9 100%) !important;
}

.ag-hero::after {
  display: none;
}

.ag-hero__grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .86fr);
  gap: clamp(48px, 6vw, 92px);
}

.ag-hero h1 {
  max-width: 720px;
  color: var(--ag-navy-900) !important;
  font-family: var(--ag-display);
  font-size: clamp(68px, 7.2vw, 108px);
  font-weight: 800 !important;
  line-height: .86 !important;
  letter-spacing: -.065em !important;
  text-transform: none;
  text-align: left !important;
}

.ag-hero h1 span {
  max-width: 670px;
  margin-top: 22px;
  color: var(--ag-orange);
  font-size: .47em;
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.ag-hero h1 .ag-hero__name {
  max-width: none;
  margin-top: 0;
  color: var(--ag-navy-900);
  font-size: .72em;
  font-weight: 820;
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.ag-hero h1 .ag-hero__promise {
  max-width: 670px;
  margin-top: 22px;
  color: var(--ag-orange);
  font-size: .47em;
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.ag-hero__lead {
  max-width: 680px;
  margin-top: 30px;
  color: #424d57;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.62;
  text-align: left !important;
}

.ag-hero__qualifiers {
  gap: 11px 22px;
  color: #59646e;
}

.ag-stateboard {
  overflow: hidden;
  border: 1px solid #18334e;
  border-radius: 28px;
  background: var(--ag-navy-900);
  color: #fff;
  box-shadow: 0 30px 76px rgba(8, 26, 46, .22);
}

.ag-stateboard__head {
  padding: 22px 24px;
  border-color: rgba(255, 255, 255, .14);
  color: #cdd8e2;
}

.ag-stateboard__head span:last-child {
  color: #7fe0ad;
}

.ag-stateboard__rail li {
  min-height: 92px;
  padding: 19px 24px;
  border-color: rgba(255, 255, 255, .12);
}

.ag-stateboard__rail li:hover {
  background: rgba(255, 255, 255, .035);
}

.ag-stateboard__rail b {
  color: #fff;
  font-size: 16px;
}

.ag-stateboard__rail small {
  color: #b9c6d2 !important;
  line-height: 1.45;
}

.ag-stateboard__rail em {
  color: #aebdca;
}

.ag-stateboard__rail .is-protected {
  background: linear-gradient(90deg, rgba(72, 190, 130, .16), transparent 62%);
}

.ag-stateboard__rail .is-protected i,
.ag-stateboard__rail .is-protected em {
  color: #7fe0ad;
}

.ag-stateboard__foot {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(0, 0, 0, .10);
  color: #aebdca;
}

body[data-public-page="home"] main.ag-home > section.ag-section {
  padding: clamp(88px, 8vw, 124px) 0 !important;
}

.ag-section h2,
.ag-access h2 {
  max-width: 930px;
  color: var(--ag-navy-900) !important;
  font-family: var(--ag-display);
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 750 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  text-transform: none;
}

.ag-section h2 span,
.ag-access h2 span {
  color: var(--ag-orange);
}

.ag-section__lead,
.ag-thesis__statement,
.ag-doctrine__intro p,
.ag-modules__head p,
.ag-evidence__copy p,
.ag-access p {
  color: var(--ag-muted);
}

body[data-public-page="home"] main.ag-home > section.ag-thesis,
body[data-public-page="home"] main.ag-home > section.ag-standards,
body[data-public-page="home"] main.ag-home > section.ag-modules,
body[data-public-page="home"] main.ag-home > section.ag-process {
  background: #fff !important;
}

.ag-thesis__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .62fr);
}

.ag-thesis__statement {
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--ag-orange);
  font-size: 19px;
}

body[data-public-page="home"] main.ag-home > section.ag-doctrine {
  background: var(--ag-navy-900) !important;
  color: #fff !important;
}

.ag-doctrine h2,
.ag-doctrine h3 {
  color: #fff !important;
}

.ag-doctrine__intro p,
.ag-sequence p {
  color: #bdc9d4;
}

.ag-sequence {
  border-color: rgba(255, 255, 255, .16);
}

.ag-sequence article {
  border-color: rgba(255, 255, 255, .16);
}

.ag-sequence h3,
.ag-module-row h3,
.ag-fit__column h3 {
  color: var(--ag-navy-900);
  font-family: var(--ag-display);
  font-weight: 750 !important;
  letter-spacing: -.035em !important;
  text-transform: none;
}

.ag-doctrine .ag-sequence h3 {
  color: #fff;
}

.ag-standard-list {
  border-color: var(--ag-line);
}

.ag-standard-list li {
  grid-template-columns: 56px minmax(230px, .7fr) minmax(0, 1fr);
  padding: 28px 0;
  border-color: var(--ag-line);
}

.ag-standard-list strong {
  color: var(--ag-navy-900);
}

.ag-standard-list p,
.ag-module-row p,
.ag-process-list p,
.ag-fit__column li {
  color: var(--ag-muted);
}

.ag-module-row {
  gap: 18px;
  border: 0;
}

.ag-module-row article,
.ag-module-row article + article {
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--ag-line);
  border-radius: 22px;
  background: #fbfbf9;
}

.ag-module-row h3 {
  margin-top: 54px;
  font-size: 36px;
}

.ag-module-status {
  border-radius: 999px;
  background: #fff;
  color: #8c321e;
}

body[data-public-page="home"] main.ag-home > section.ag-evidence {
  background: var(--ag-cream) !important;
}

.ag-ledger {
  overflow: hidden;
  border: 1px solid var(--ag-line);
  border-radius: 22px;
  background: #fff;
}

.ag-ledger__row {
  padding: 20px 22px;
  border-color: var(--ag-line);
}

.ag-ledger__row span {
  color: #4f5a64;
}

.ag-process-list {
  gap: 12px;
  border: 0;
}

.ag-process-list li {
  min-height: 248px;
  padding: 26px 22px;
  border: 1px solid var(--ag-line);
  border-radius: 18px;
  background: #fbfbf9;
}

.ag-process-list h3 {
  margin-top: 46px;
  color: var(--ag-navy-900);
}

body[data-public-page="home"] main.ag-home > section.ag-fit {
  background: var(--ag-cream) !important;
}

.ag-fit__grid {
  gap: 18px;
  border: 0;
  background: transparent;
}

.ag-fit__column {
  border: 1px solid var(--ag-line);
  border-radius: 22px;
}

body[data-public-page="home"] main.ag-home > section.ag-access {
  padding: clamp(82px, 8vw, 118px) 0 !important;
  border-top: 0 !important;
  background: #fff !important;
}

.ag-access__grid {
  padding: clamp(38px, 5vw, 64px);
  border-radius: 28px;
  background: var(--ag-navy-900);
  box-shadow: 0 24px 60px rgba(8, 26, 46, .17);
}

.ag-access h2 {
  color: #fff !important;
}

.ag-access p {
  color: #bdc9d4;
}

.ag-access .ag-button--ink {
  background: var(--ag-orange);
}

.ag-access .ag-button--outline {
  border-color: rgba(255, 255, 255, .42);
  background: transparent;
  color: #fff;
}

body[data-public-page="home"] main.ag-home > section.ag-disclosure {
  background: var(--ag-cream) !important;
  color: #4f5a64 !important;
}

body[data-public-page="home"] .site-footer {
  background: var(--ag-navy-950) !important;
  color: #b9c5d0 !important;
  border-top: 0 !important;
}

body[data-public-page="home"] .site-footer h4,
body[data-public-page="home"] .site-footer a {
  color: #fff !important;
}

body[data-public-page="home"] .footer-disclaimer,
body[data-public-page="home"] .footer-bottom {
  border-color: rgba(255, 255, 255, .14) !important;
}

@media (max-width: 1000px) {
  .ag-hero__grid,
  .ag-thesis__grid,
  .ag-doctrine__intro,
  .ag-modules__head,
  .ag-evidence__grid,
  .ag-access__grid {
    grid-template-columns: 1fr;
  }

  .ag-stateboard {
    width: 100%;
    max-width: none;
  }

  .ag-module-row {
    grid-template-columns: 1fr;
  }

  .ag-module-row article,
  .ag-module-row article + article {
    min-height: auto;
    padding: 28px;
  }

  .ag-module-row h3 {
    margin-top: 34px;
  }
}

@media (max-width: 860px) {
  body[data-public-page="home"] .tc-nav__inner {
    width: calc(100% - 28px);
  }

  body[data-public-page="home"] .tc-nav__menu-button {
    display: grid;
    flex: 0 0 44px;
  }

  body[data-public-page="home"] .tc-nav__links {
    left: 0;
    right: 0;
    width: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --ag-shell: min(100% - 32px, 1240px);
  }

  body[data-public-page="home"] .tc-nav {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    box-sizing: border-box;
  }

  body[data-public-page="home"] .tc-nav__inner {
    position: static;
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    box-sizing: border-box;
    gap: 10px;
  }

  body[data-public-page="home"] .tc-nav__brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 58px);
    padding: 0;
    overflow: hidden;
  }

  body[data-public-page="home"] .tc-nav__brand img {
    display: block;
    width: min(168px, 100%);
    max-width: 100%;
    height: auto;
  }

  body[data-public-page="home"] .tc-nav__menu-button {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 3;
    display: grid !important;
    place-content: center;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    margin-left: 0;
    transform: translateY(-50%);
    border: 1px solid var(--ag-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ag-navy-900);
    box-shadow: 0 8px 22px rgba(8, 26, 46, .10);
    opacity: 1;
    visibility: visible;
  }

  body[data-public-page="home"] main.ag-home > section.ag-hero {
    padding: 64px 0 72px;
  }

  .ag-hero__grid {
    gap: 42px;
  }

  .ag-hero h1 {
    max-width: 100%;
    font-size: clamp(56px, 18vw, 76px);
    line-height: .9 !important;
    overflow-wrap: anywhere;
  }

  .ag-hero h1 span {
    margin-top: 18px;
    font-size: .44em;
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .ag-hero__lead {
    margin-top: 24px;
    font-size: 17px;
  }

  .ag-hero__qualifiers {
    display: grid;
    gap: 10px;
  }

  .ag-actions {
    gap: 10px;
  }

  .ag-actions,
  .ag-actions .ag-button {
    width: 100%;
    max-width: 100%;
  }

  .ag-stateboard {
    border-radius: 22px;
  }

  .ag-stateboard__head {
    align-items: flex-start;
    padding: 18px;
  }

  .ag-stateboard__rail li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .ag-stateboard__rail em {
    grid-column: 2;
  }

  .ag-stateboard__foot {
    padding: 18px;
  }

  body[data-public-page="home"] main.ag-home > section.ag-section {
    padding: 76px 0 !important;
  }

  .ag-section h2,
  .ag-access h2 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1 !important;
  }

  .ag-thesis__grid,
  .ag-doctrine__intro,
  .ag-modules__head,
  .ag-evidence__grid,
  .ag-access__grid {
    gap: 34px;
  }

  .ag-thesis__statement {
    font-size: 17px;
  }

  .ag-sequence article,
  .ag-process-list li {
    padding: 26px 0;
  }

  .ag-standard-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px 14px;
  }

  .ag-standard-list p {
    grid-column: 2;
  }

  .ag-module-row article,
  .ag-module-row article + article {
    padding: 24px;
  }

  .ag-process-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ag-process-list li {
    min-height: auto;
    padding: 24px;
  }

  .ag-process-list h3 {
    margin-top: 30px;
  }

  .ag-fit__grid {
    grid-template-columns: 1fr;
  }

  .ag-fit__column {
    padding: 26px 22px;
  }

  body[data-public-page="home"] main.ag-home > section.ag-access {
    padding: 64px 0 !important;
  }

  .ag-access__grid {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .ag-access .ag-actions {
    width: 100%;
  }
}

/* Final audit pass. Kept last so the public brand rules win over legacy page styles. */
body[data-public-page="home"],
body[data-public-page="home"] button,
body[data-public-page="home"] input,
body[data-public-page="home"] select,
body[data-public-page="home"] textarea {
  font-family: "DM Sans", "Avenir Next", sans-serif !important;
}

body[data-public-page="home"] .tc-nav__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: "DM Sans", "Avenir Next", sans-serif !important;
  font-size: 14px;
}

.ag-home h1,
.ag-home h2,
.ag-home h3,
.ag-home .ag-button {
  font-family: "DM Sans", "Avenir Next", sans-serif !important;
}

.ag-home .ag-eyebrow,
.ag-home .ag-hero__qualifiers,
.ag-home .ag-stateboard,
.ag-home .ag-module-status,
.ag-home .ag-sequence__index,
.ag-home .ag-process-list > li > span {
  font-family: "Space Mono", Consolas, monospace !important;
}

body[data-public-page="home"] main.ag-home > section.ag-hero {
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: clamp(76px, 7vw, 104px);
}

.ag-hero__lead,
.ag-section__lead,
.ag-thesis__statement,
.ag-doctrine__intro p,
.ag-modules__head p,
.ag-evidence__copy p,
.ag-module-row p,
.ag-process-list p,
.ag-fit__column li,
.ag-access p {
  color: #46525d;
}

.ag-hero__qualifiers {
  color: #4f5b66;
  font-size: 11px;
  line-height: 1.5;
}

.ag-stateboard__rail small,
.ag-stateboard__foot {
  font-size: 11px;
}

body[data-public-page="home"] main.ag-home > section.ag-section {
  padding-top: clamp(70px, 5.5vw, 88px) !important;
  padding-bottom: clamp(70px, 5.5vw, 88px) !important;
}

.ag-doctrine .ag-doctrine__intro p {
  color: #d2dce5;
}

.ag-module-row article,
.ag-module-row article + article {
  min-height: 280px;
}

.ag-module-row h3 {
  margin-top: 32px;
}

.ag-process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ag-line);
  border-bottom: 1px solid var(--ag-line);
}

.ag-process-list li {
  min-height: 184px;
  padding: 26px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ag-process-list li + li {
  border-left: 1px solid var(--ag-line);
}

.ag-process-list h3 {
  margin-top: 28px;
}

.ag-ledger__row span,
.ag-ledger__row strong {
  color: #33414d;
}

.ag-ledger__row .ag-status-review {
  color: #9a4d16;
}

body[data-public-page="home"] main.ag-home > section.ag-disclosure,
body[data-public-page="home"] .site-footer {
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  body[data-public-page="home"] main.ag-home > section.ag-hero {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .ag-hero h1 {
    font-size: clamp(54px, 17vw, 68px);
  }

  .ag-hero h1 span {
    font-size: .45em;
  }

  .ag-hero h1 .ag-hero__name {
    font-size: .68em;
    white-space: normal;
  }

  .ag-hero h1 .ag-hero__promise {
    font-size: .45em;
  }

  body[data-public-page="home"] main.ag-home > section.ag-section {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .ag-process-list {
    grid-template-columns: 1fr;
  }

  .ag-process-list li + li {
    border-left: 0;
    border-top: 1px solid var(--ag-line);
  }

  .ag-module-row article,
  .ag-module-row article + article,
  .ag-process-list li {
    min-height: auto;
  }
}
