/*
  AIDeploymentExplained.com
  Publisher: WRS Web Solutions Inc.
  Site CSS
  Last updated: 2026-05-23
*/

:root {
  --bg: #f7f4ee;
  --bg-soft: #fffaf1;
  --card: #ffffff;
  --card-soft: #f9fbff;
  --text: #182235;
  --muted: #5d6878;
  --muted-2: #748092;
  --line: #dde4ee;
  --navy: #13233f;
  --navy-2: #1d345d;
  --blue: #345d92;
  --gold: #c99635;
  --gold-soft: #fff2d5;
  --danger-soft: #fff0ec;
  --success-soft: #eef8f2;
  --shadow: 0 18px 45px rgba(16, 31, 58, 0.10);
  --shadow-soft: 0 10px 25px rgba(16, 31, 58, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --content: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(201, 150, 53, 0.16), transparent 34rem),
    linear-gradient(180deg, #f7f4ee 0%, #f9fbff 52%, #ffffff 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(221, 228, 238, 0.9);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--gold));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text span:first-child {
  font-size: 1.02rem;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 680;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--gold-soft);
  color: var(--navy);
}

main {
  min-height: 60vh;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.content-wrap {
  width: min(var(--content), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 4.4rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 2rem;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(201, 150, 53, 0.16);
  color: #735015;
  border: 1px solid rgba(201, 150, 53, 0.34);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 5.15rem);
  margin: 1rem 0 1.1rem;
  max-width: 920px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.85rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.28rem;
  margin: 0 0 0.55rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  max-width: 760px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.button.primary:hover {
  background: var(--navy-2);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.button.secondary:hover {
  background: var(--gold-soft);
}

.hero-panel,
.card,
.callout,
.table-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 1.35rem;
  display: grid;
  align-content: space-between;
  gap: 1rem;
}

.panel-title {
  font-size: 1.08rem;
  font-weight: 850;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.65rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--success-soft);
  color: #247144;
  font-weight: 900;
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.section {
  padding: 2.8rem 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(221, 228, 238, 0.65);
  border-bottom: 1px solid rgba(221, 228, 238, 0.65);
}

.section-head {
  max-width: 840px;
  margin-bottom: 1.4rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.2rem;
}

.card.soft {
  background: var(--card-soft);
}

.card p {
  color: var(--muted);
}

.card a.card-link {
  display: inline-flex;
  font-weight: 800;
  margin-top: 0.35rem;
}

.topic-card {
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52, 93, 146, 0.08), transparent 45%);
  pointer-events: none;
}

.topic-card > * {
  position: relative;
}

.kicker {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.callout {
  padding: 1.1rem 1.2rem;
  margin: 1.25rem 0;
  border-left: 6px solid var(--gold);
}

.callout strong {
  color: var(--navy);
}

.callout.governance {
  background: #fffaf1;
}

.callout.risk {
  background: var(--danger-soft);
  border-left-color: #d06b4b;
}

.callout.note {
  background: var(--card-soft);
  border-left-color: var(--blue);
}

.table-card {
  overflow: hidden;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #fff;
}

th,
td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0f4fa;
  color: var(--navy);
  font-size: 0.9rem;
}

td {
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: start;
}

.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.article h1 {
  font-size: clamp(2.1rem, 4vw, 3.65rem);
}

.article h2 {
  margin-top: 2rem;
}

.article-meta {
  color: var(--muted-2);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  position: sticky;
  top: 6rem;
  box-shadow: var(--shadow-soft);
}

.toc h2,
.toc h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.toc ul {
  margin: 0;
  padding-left: 1.1rem;
}

.toc a {
  text-decoration: none;
  font-weight: 700;
}

.breadcrumbs {
  color: var(--muted-2);
  font-size: 0.92rem;
  margin: 1.4rem 0 0.5rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.author-box {
  margin-top: 2rem;
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--card-soft);
  border: 1px solid var(--line);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 3rem;
}

.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.3rem 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.5rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff2d5;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer-bottom-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  background: rgba(19, 35, 63, 0.07);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.site-footer .badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 980px) {
  .hero-grid,
  .article-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .wrap,
  .content-wrap,
  .header-inner,
  .footer-inner,
  .footer-bottom-inner {
    width: min(100% - 1.2rem, var(--max));
  }

  .hero {
    padding-top: 2.4rem;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .nav a {
    padding: 0.45rem 0.58rem;
  }

  .brand-text span:first-child {
    font-size: 0.94rem;
  }
}