:root {
  --bg: #ffffff;
  --bg-2: #f2f6fb;
  --panel: #ffffff;
  --panel-2: #f7f9fc;
  --ink: #0b1f3a;
  --muted: #5a6b80;
  --soft: #eef4fb;
  --blue: #0d5fb8;
  --blue-2: #2f7fe0;
  --red: #d83a34;
  --red-2: #f06a64;
  --navy: #071b33;
  --line: rgba(11, 31, 58, 0.12);
  --line-blue: rgba(13, 95, 184, 0.28);
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(13, 95, 184, 0.08), transparent 34rem),
    linear-gradient(225deg, rgba(216, 58, 52, 0.065), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, #f8fbff 52%, var(--bg-2) 100%);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(13, 95, 184, 0.07) 42%, rgba(216, 58, 52, 0.05) 58%, transparent 72%),
    repeating-linear-gradient(90deg, rgba(11, 31, 58, 0.032) 0 1px, transparent 1px 116px);
  opacity: 0.44;
  transform: translateX(-35%);
  animation: institutional-drift 16s linear infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  max-width: 780px;
  margin-top: 16px;
  font-size: clamp(2.9rem, 7.2vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4.1vw, 4.2rem);
}

h3 {
  font-size: 1.15rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 74px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-blue);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 95, 184, 0.14), rgba(255, 255, 255, 0.8)),
    #ffffff;
  color: var(--blue);
  box-shadow: 0 14px 36px rgba(13, 95, 184, 0.12);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(11, 31, 58, 0.08);
  backdrop-filter: blur(18px);
}

.site-nav a {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(13, 95, 184, 0.1);
  color: var(--ink);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 82svh;
  margin-top: -74px;
  padding-top: 74px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.93) 37%, rgba(255, 255, 255, 0.18) 68%, rgba(255, 255, 255, 0.36) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.94) 100%),
    url("assets/american-councils-institutional-products.png");
  background-size: cover;
  background-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 132px) 0 210px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 660px;
  margin-top: 22px;
  color: #253d5a;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--navy);
  color: var(--bg);
  box-shadow: 0 16px 44px rgba(7, 27, 51, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--line-blue);
  background: rgba(255, 255, 255, 0.98);
}

.hero-notes {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100% - 32px, var(--max));
  transform: translateX(-50%);
}

.hero-notes div {
  min-height: 98px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-notes span,
.card-index,
.process-card span,
.systems-row span,
.proof-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.hero-notes strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.05rem;
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.intro-section {
  padding-top: 58px;
}

.intro-grid,
.systems-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.section-copy,
.section-heading p:not(.eyebrow),
.contact-panel p:not(.eyebrow),
.proof-card p,
.legal-content p {
  color: var(--muted);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 36px;
}

.section-heading h2,
.intro-grid h2 {
  margin-top: 14px;
}

.section-heading p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 18px;
}

.section-copy {
  max-width: 570px;
  font-size: 1.05rem;
}

.card-grid,
.process-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.process-card,
.systems-panel,
.proof-card,
.contact-panel,
.legal-content section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.service-card,
.process-card,
.proof-card {
  min-height: 286px;
  padding: 22px;
}

.service-card h3,
.process-card h3 {
  margin-top: 44px;
}

.service-card p,
.process-card p {
  margin-top: 16px;
  color: var(--muted);
}

.systems-section {
  background:
    linear-gradient(135deg, rgba(13, 95, 184, 0.08), rgba(255, 255, 255, 0.72)),
    rgba(242, 246, 251, 0.78);
}

.systems-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.systems-row {
  padding: 20px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(13, 95, 184, 0.08), transparent),
    rgba(255, 255, 255, 0.82);
}

.systems-row strong {
  display: block;
  margin-top: 10px;
  color: #253d5a;
  font-size: 1rem;
  line-height: 1.45;
}

.proof-section {
  padding-top: 0;
}

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

.proof-card {
  min-height: 220px;
}

.proof-card strong {
  display: block;
  margin-top: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.proof-card p {
  margin-top: 14px;
}

.contact-section {
  padding-top: 0;
}

.contact-panel {
  align-items: center;
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(125deg, rgba(13, 95, 184, 0.09), rgba(255, 255, 255, 0.9), rgba(216, 58, 52, 0.055)),
    rgba(255, 255, 255, 0.94);
}

.contact-panel h2 {
  margin-top: 12px;
}

.contact-panel p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 18px;
}

.contact-panel .button {
  justify-self: end;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin-top: 10px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:not(.brand) {
  color: var(--navy);
  font-weight: 800;
}

.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible {
  color: var(--blue);
  outline: none;
}

.copyright {
  text-align: right;
}

.legal-main {
  width: min(100% - 32px, 940px);
  margin: 0 auto;
  padding-bottom: 82px;
}

.legal-hero {
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(2.7rem, 7vw, 6.2rem);
}

.legal-hero p:last-child {
  margin-top: 18px;
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 24px;
  padding-top: 30px;
}

.legal-content section {
  padding: 24px;
}

.legal-content h2 {
  font-size: 1.14rem;
}

.legal-content p {
  margin-top: 12px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}

.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes institutional-drift {
  0% {
    transform: translateX(-35%);
  }

  100% {
    transform: translateX(35%);
  }
}

@media (max-width: 980px) {
  .card-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .systems-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel .button {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 740px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    position: relative;
    z-index: 35;
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 16px;
    left: 16px;
    z-index: 34;
    display: grid;
    gap: 4px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 44px;
    padding: 12px;
  }

  .hero {
    min-height: 86svh;
    margin-top: -68px;
    padding-top: 68px;
    background-position: 64% center;
  }

  .hero-content {
    padding-top: 54px;
    padding-bottom: 304px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .hero-notes div {
    min-height: auto;
  }

  .card-grid,
  .process-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .service-card,
  .process-card,
  .proof-card,
  .systems-row,
  .legal-content section {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
