@import url('https://fonts.googleapis.com/css2?family=Sora:wght@700;800&family=IBM+Plex+Sans:wght@400;500&family=IBM+Plex+Mono:wght@400&display=swap');

:root {
  --amg-bg-deep: #0C1927;
  --amg-bg-panel: #152336;
  --amg-bg-light: #F4F6F9;
  --amg-bg-white: #FFFFFF;
  --amg-text-on-dark: #E8EDF4;
  --amg-muted-on-dark: #7A97B8;
  --amg-text-on-light: #0D1E30;
  --amg-muted-on-light: #4A6075;
  --amg-accent: #E07D10;
  --amg-accent-label: #2B5680;
  --amg-btn-text: #0D1E30;
  --amg-status-ok: #2EAA6B;
  --amg-status-alert: #DC3545;
  --amg-feeder-blue: #4FC3F7;
  --amg-nav-h: 64px;
  --amg-max-w: 1160px;
  --amg-radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--amg-text-on-light);
  background: var(--amg-bg-white);
}

img { max-width: 100%; height: auto; display: block; }

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Sora', system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.amg-container {
  max-width: var(--amg-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.amg-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;
}

.amg-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amg-accent-label);
  margin-bottom: 12px;
  display: block;
}

.amg-eyebrow--on-dark {
  color: var(--amg-accent);
}

.amg-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.amg-fade-in.amg-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .amg-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.amg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--amg-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.amg-btn--primary {
  background: var(--amg-accent);
  color: var(--amg-btn-text);
  border-color: var(--amg-accent);
}

.amg-btn--primary:hover {
  background: #c96e0e;
  border-color: #c96e0e;
}

.amg-btn--outline-light {
  background: transparent;
  color: var(--amg-text-on-light);
  border-color: var(--amg-text-on-light);
}

.amg-btn--outline-light:hover {
  background: var(--amg-text-on-light);
  color: var(--amg-bg-white);
}

.amg-btn--ghost-on-dark {
  background: transparent;
  color: var(--amg-text-on-dark);
  border-color: rgba(232, 237, 244, 0.45);
}

.amg-btn--ghost-on-dark:hover {
  background: rgba(232, 237, 244, 0.1);
  border-color: var(--amg-text-on-dark);
}

.amg-btn--ghost-on-light {
  background: transparent;
  color: var(--amg-text-on-light);
  border-color: rgba(13, 30, 48, 0.4);
}

.amg-btn--ghost-on-light:hover {
  background: rgba(13, 30, 48, 0.06);
  border-color: var(--amg-text-on-light);
}

.amg-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--amg-nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.amg-nav__inner {
  max-width: var(--amg-max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.amg-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.amg-nav__logo img {
  height: 32px;
  width: auto;
}

.amg-logo-light { display: block; }
.amg-logo-dark  { display: none; }

.amg-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.amg-nav__link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.amg-nav__signin {
  margin-left: 8px;
}

.amg-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.amg-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.25s, opacity 0.2s;
}

.amg-page--dark-top .amg-nav {
  background: transparent;
}

.amg-page--dark-top .amg-nav__link {
  color: var(--amg-text-on-dark);
}

.amg-page--dark-top .amg-nav__link:hover {
  background: rgba(232, 237, 244, 0.08);
}

.amg-page--dark-top .amg-nav__hamburger span {
  background: var(--amg-text-on-dark);
}

.amg-page--dark-top .amg-nav--scrolled {
  background: var(--amg-bg-deep);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.amg-page--dark-top .amg-nav--scrolled .amg-logo-light { display: block !important; }
.amg-page--dark-top .amg-nav--scrolled .amg-logo-dark  { display: none  !important; }

.amg-page--light-top .amg-nav {
  background: var(--amg-bg-white);
  box-shadow: 0 1px 0 rgba(13, 30, 48, 0.08);
}

.amg-page--light-top .amg-nav__link {
  color: var(--amg-text-on-light);
}

.amg-page--light-top .amg-nav__link:hover {
  background: rgba(13, 30, 48, 0.05);
}

.amg-page--light-top .amg-logo-light { display: none; }
.amg-page--light-top .amg-logo-dark  { display: block; }

.amg-page--light-top .amg-nav--scrolled .amg-logo-dark { display: block !important; }

.amg-page--light-top .amg-nav__hamburger span {
  background: var(--amg-text-on-light);
}

.amg-page--light-top .amg-nav .amg-btn--ghost-on-dark {
  color: var(--amg-text-on-light);
  border-color: rgba(13, 30, 48, 0.4);
}

.amg-page--light-top .amg-nav .amg-btn--ghost-on-dark:hover {
  background: rgba(13, 30, 48, 0.06);
  border-color: var(--amg-text-on-light);
}

.amg-nav__mobile {
  display: none;
  position: fixed;
  top: var(--amg-nav-h);
  left: 0; right: 0;
  background: var(--amg-bg-deep);
  padding: 16px 24px 24px;
  z-index: 899;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-direction: column;
  gap: 4px;
}

.amg-nav__mobile.amg-open {
  display: flex;
}

.amg-nav__mobile .amg-nav__link {
  color: var(--amg-text-on-dark);
  padding: 12px 16px;
  font-size: 15px;
  border-radius: var(--amg-radius);
}

.amg-nav__mobile .amg-nav__link:hover {
  background: rgba(232, 237, 244, 0.08);
}

.amg-nav__mobile .amg-btn {
  margin-top: 8px;
  align-self: flex-start;
}

.amg-section {
  padding: 96px 0;
}

.amg-section--sm {
  padding: 64px 0;
}

.amg-section--dark {
  background: var(--amg-bg-deep);
  color: var(--amg-text-on-dark);
}

.amg-section--dark-alt {
  background: var(--amg-bg-panel);
  color: var(--amg-text-on-dark);
}

.amg-section--light {
  background: var(--amg-bg-light);
  color: var(--amg-text-on-light);
}

.amg-section--white {
  background: var(--amg-bg-white);
  color: var(--amg-text-on-light);
}

.amg-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.amg-section__header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}

.amg-section__header p {
  font-size: 17px;
  line-height: 1.65;
}

.amg-section--dark .amg-section__header h2,
.amg-section--dark-alt .amg-section__header h2 {
  color: var(--amg-text-on-dark);
}

.amg-section--dark .amg-section__header p,
.amg-section--dark-alt .amg-section__header p {
  color: var(--amg-muted-on-dark);
}

.amg-section--light .amg-section__header h2,
.amg-section--white .amg-section__header h2 {
  color: var(--amg-text-on-light);
}

.amg-section--light .amg-section__header p,
.amg-section--white .amg-section__header p {
  color: var(--amg-muted-on-light);
}

.amg-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--amg-nav-h);
  background: var(--amg-bg-deep);
  color: var(--amg-text-on-dark);
}

.amg-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--amg-max-w);
  margin: 0 auto;
  padding: 60px 24px;
}

.amg-hero__text h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--amg-text-on-dark);
  margin-bottom: 24px;
}

.amg-hero__text h1 span {
  color: var(--amg-accent);
}

.amg-hero__text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--amg-muted-on-dark);
  margin-bottom: 36px;
  max-width: 520px;
}

.amg-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.amg-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.amg-feeder-svg {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
}

.amg-subhero {
  padding: calc(var(--amg-nav-h) + 72px) 0 72px;
  background: var(--amg-bg-deep);
  color: var(--amg-text-on-dark);
}

.amg-subhero__inner {
  max-width: var(--amg-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.amg-subhero__text h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--amg-text-on-dark);
  margin-bottom: 20px;
}

.amg-subhero__text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--amg-muted-on-dark);
  max-width: 520px;
}

.amg-subhero__ornament {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.amg-subhero--centered {
  text-align: center;
}

.amg-subhero--centered .amg-subhero__inner {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.amg-subhero--centered .amg-subhero__text p {
  max-width: 100%;
  margin: 0 auto;
}

.amg-problem {
  background: var(--amg-bg-deep);
  color: var(--amg-text-on-dark);
  padding: 80px 0;
}

.amg-stat-bar {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}

.amg-stat-bar__item {
  text-align: center;
  min-width: 160px;
}

.amg-stat-bar__item .amg-stat-num {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--amg-accent);
  line-height: 1;
  display: block;
}

.amg-stat-bar__item .amg-stat-label {
  font-size: 14px;
  color: var(--amg-muted-on-dark);
  margin-top: 8px;
  display: block;
  line-height: 1.4;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

.amg-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.amg-feature-card {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.08);
  border-radius: 12px;
  padding: 32px;
}

.amg-section--dark .amg-feature-card,
.amg-section--dark-alt .amg-feature-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
}

.amg-feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(224, 125, 16, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--amg-accent);
  font-size: 20px;
}

.amg-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--amg-text-on-light);
}

.amg-section--dark .amg-feature-card h3,
.amg-section--dark-alt .amg-feature-card h3 {
  color: var(--amg-text-on-dark);
}

.amg-feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--amg-muted-on-light);
}

.amg-section--dark .amg-feature-card p,
.amg-section--dark-alt .amg-feature-card p {
  color: var(--amg-muted-on-dark);
}

.amg-how-it-works {
  background: var(--amg-bg-panel);
  padding: 96px 0;
}

.amg-hiw-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.amg-hiw-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.amg-hiw-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amg-accent);
  color: var(--amg-btn-text);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}

.amg-hiw-step__icon {
  font-size: 28px;
  color: var(--amg-feeder-blue);
  margin-bottom: 12px;
}

.amg-hiw-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--amg-text-on-dark);
  margin-bottom: 8px;
}

.amg-hiw-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--amg-muted-on-dark);
}

.amg-hiw-arrow {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 24px;
  color: var(--amg-accent);
  font-size: 20px;
}

.amg-metrics {
  background: var(--amg-bg-deep);
  padding: 96px 0;
}

.amg-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.amg-metric-card {
  background: var(--amg-bg-panel);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.amg-metric-card .amg-metric-num {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--amg-accent);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.amg-metric-card .amg-metric-label {
  font-size: 14px;
  color: var(--amg-muted-on-dark);
  line-height: 1.4;
}

.amg-metric-card .amg-metric-source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(122, 151, 184, 0.7);
  margin-top: 10px;
  display: block;
  line-height: 1.4;
}

.amg-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.amg-testimonial-card {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.08);
  border-radius: 12px;
  padding: 32px;
}

.amg-testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--amg-text-on-light);
  margin-bottom: 24px;
  font-style: italic;
}

.amg-testimonial-card cite {
  font-style: normal;
  font-size: 14px;
  color: var(--amg-muted-on-light);
  font-weight: 500;
}

.amg-integration-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.amg-integration-logo-item {
  background: var(--amg-bg-panel);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
}

.amg-integration-logo-item .amg-int-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--amg-muted-on-dark);
  font-weight: 400;
  display: block;
}

.amg-integration-logo-item .amg-int-type {
  font-size: 11px;
  color: rgba(122, 151, 184, 0.6);
  display: block;
  margin-top: 4px;
}

.amg-cta-section {
  background: var(--amg-bg-deep);
  padding: 96px 0;
  text-align: center;
}

.amg-cta-section h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--amg-text-on-dark);
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.amg-cta-section p {
  font-size: 17px;
  color: var(--amg-muted-on-dark);
  margin-bottom: 36px;
}

.amg-cta-section__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.amg-cta-section__contact {
  font-size: 14px;
  color: var(--amg-muted-on-dark);
}

.amg-cta-section__contact a {
  color: var(--amg-accent);
  text-decoration: underline;
}

.amg-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.amg-two-col__text,
.amg-two-col__visual {
  min-width: 0;
}

.amg-two-col--reverse .amg-two-col__visual {
  order: -1;
}

.amg-two-col__text h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}

.amg-section--dark .amg-two-col__text h2 {
  color: var(--amg-text-on-dark);
}

.amg-section--light .amg-two-col__text h2,
.amg-section--white .amg-two-col__text h2 {
  color: var(--amg-text-on-light);
}

.amg-two-col__text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.amg-section--dark .amg-two-col__text p {
  color: var(--amg-muted-on-dark);
}

.amg-section--light .amg-two-col__text p,
.amg-section--white .amg-two-col__text p {
  color: var(--amg-muted-on-light);
}

.amg-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.amg-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.amg-feature-list li .amg-check {
  color: var(--amg-status-ok);
  flex-shrink: 0;
  margin-top: 2px;
}

.amg-section--dark .amg-feature-list li {
  color: var(--amg-muted-on-dark);
}

.amg-section--light .amg-feature-list li,
.amg-section--white .amg-feature-list li {
  color: var(--amg-muted-on-light);
}

.amg-visual-raster {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.amg-visual-raster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  display: block;
}

.amg-data-pipeline {
  margin-top: 32px;
}

.amg-pipeline-stages {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--amg-bg-panel);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
}

.amg-pipeline-stage {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  min-width: 120px;
}

.amg-pipeline-stage__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--amg-feeder-blue);
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.amg-pipeline-stage__name {
  font-size: 13px;
  color: var(--amg-text-on-dark);
  font-weight: 500;
}

.amg-pipeline-arrow {
  color: var(--amg-accent);
  font-size: 18px;
  flex-shrink: 0;
}

.amg-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.amg-catalog-card {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.09);
  border-radius: 10px;
  padding: 24px;
}

.amg-catalog-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(43, 86, 128, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amg-accent-label);
  font-size: 18px;
  margin-bottom: 14px;
}

.amg-catalog-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin-bottom: 6px;
}

.amg-catalog-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--amg-muted-on-light);
}

.amg-catalog-card .amg-catalog-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(43, 86, 128, 0.1);
  color: var(--amg-accent-label);
  margin-top: 10px;
}

.amg-api-block {
  background: var(--amg-bg-panel);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}

.amg-api-block__bar {
  background: rgba(255,255,255,0.04);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.amg-api-block__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.amg-api-block__dot--red  { background: #FF5F57; }
.amg-api-block__dot--yellow { background: #FFBD2E; }
.amg-api-block__dot--green { background: #28C840; }

.amg-api-block__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--amg-muted-on-dark);
  margin-left: 8px;
}

.amg-api-block pre {
  padding: 24px;
  overflow-x: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--amg-text-on-dark);
  max-width: 100%;
}

.amg-api-block pre .amg-c-method { color: var(--amg-accent); font-weight: 500; }
.amg-api-block pre .amg-c-path   { color: #A9D0F5; }
.amg-api-block pre .amg-c-key    { color: var(--amg-feeder-blue); }
.amg-api-block pre .amg-c-val    { color: #A8FF60; }
.amg-api-block pre .amg-c-num    { color: #FF9D00; }
.amg-api-block pre .amg-c-str    { color: #FFE57F; }
.amg-api-block pre .amg-c-comment{ color: rgba(122,151,184,0.65); font-style: italic; }

.amg-deployment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.amg-deployment-card {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.09);
  border-radius: 10px;
  padding: 28px;
}

.amg-deployment-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin-bottom: 12px;
}

.amg-deployment-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--amg-muted-on-light);
}

.amg-deployment-card .amg-deploy-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(46, 170, 107, 0.12);
  color: #0C6035;
  margin-bottom: 14px;
}

.amg-studies-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.amg-study-card {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.amg-study-card__head {
  background: var(--amg-bg-deep);
  padding: 24px;
}

.amg-study-card__head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--amg-text-on-dark);
  margin-bottom: 4px;
}

.amg-study-card__head .amg-study-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--amg-muted-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.amg-study-card__body {
  padding: 24px;
}

.amg-study-card__body dt {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amg-accent-label);
  margin-bottom: 4px;
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
}

.amg-study-card__body dt:first-child {
  margin-top: 0;
}

.amg-study-card__body dd {
  font-size: 14px;
  line-height: 1.55;
  color: var(--amg-muted-on-light);
}

.amg-studies-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.amg-result-metric {
  text-align: center;
}

.amg-result-metric .amg-result-num {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  color: var(--amg-accent);
  line-height: 1;
  display: block;
}

.amg-result-metric .amg-result-label {
  font-size: 15px;
  color: var(--amg-muted-on-dark);
  margin-top: 10px;
  display: block;
  line-height: 1.4;
}

.amg-result-metric .amg-result-source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(122, 151, 184, 0.65);
  display: block;
  margin-top: 8px;
}

.amg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.amg-pricing-card {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.1);
  border-radius: 14px;
  padding: 32px;
  position: relative;
}

.amg-pricing-card--featured {
  border-color: var(--amg-accent);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(224, 125, 16, 0.12);
}

.amg-pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amg-accent);
  color: var(--amg-btn-text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.amg-pricing-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--amg-text-on-light);
  margin-bottom: 8px;
}

.amg-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.amg-pricing-price .amg-price-amount {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--amg-text-on-light);
  line-height: 1;
}

.amg-pricing-price .amg-price-per {
  font-size: 14px;
  color: var(--amg-muted-on-light);
}

.amg-pricing-note {
  font-size: 13px;
  color: var(--amg-muted-on-light);
  margin-bottom: 8px;
}

.amg-pricing-cap {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--amg-accent-label);
  background: rgba(43, 86, 128, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
}

.amg-pricing-divider {
  border: none;
  border-top: 1px solid rgba(13, 30, 48, 0.08);
  margin: 20px 0;
}

.amg-pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.amg-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--amg-muted-on-light);
  line-height: 1.45;
}

.amg-pricing-features li .amg-check {
  color: var(--amg-status-ok);
  flex-shrink: 0;
  margin-top: 1px;
}

.amg-table-scroll {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 10px;
  border: 1px solid rgba(13, 30, 48, 0.09);
}

.amg-comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.amg-comparison-table th {
  padding: 16px 20px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  background: var(--amg-bg-light);
  color: var(--amg-text-on-light);
  border-bottom: 1px solid rgba(13, 30, 48, 0.1);
}

.amg-comparison-table th:first-child {
  text-align: left;
}

.amg-comparison-table td {
  padding: 14px 20px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid rgba(13, 30, 48, 0.07);
  color: var(--amg-text-on-light);
}

.amg-comparison-table td:first-child {
  text-align: left;
  color: var(--amg-text-on-light);
  font-weight: 500;
}

.amg-comparison-table tr:last-child td {
  border-bottom: none;
}

.amg-comparison-table .amg-check-icon { color: var(--amg-status-ok); }
.amg-comparison-table .amg-dash-icon  { color: var(--amg-muted-on-light); }

.amg-comparison-table th.amg-col-featured {
  background: rgba(224, 125, 16, 0.08);
  color: var(--amg-text-on-light);
  border-left: 2px solid var(--amg-accent);
  border-right: 2px solid var(--amg-accent);
}

.amg-comparison-table td.amg-col-featured {
  background: rgba(224, 125, 16, 0.03);
  border-left: 2px solid rgba(224,125,16,0.25);
  border-right: 2px solid rgba(224,125,16,0.25);
}

.amg-faq {
  margin-top: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.amg-faq__item {
  border-bottom: 1px solid rgba(13, 30, 48, 0.1);
}

.amg-faq__item:first-child {
  border-top: 1px solid rgba(13, 30, 48, 0.1);
}

.amg-faq__question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--amg-text-on-light);
  transition: color 0.2s;
}

.amg-faq__question:hover {
  color: var(--amg-accent-label);
}

.amg-faq__icon {
  flex-shrink: 0;
  color: var(--amg-accent);
  font-size: 14px;
  transition: transform 0.25s;
}

.amg-faq__item--open .amg-faq__icon {
  transform: rotate(45deg);
}

.amg-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.amg-faq__item--open .amg-faq__answer {
  max-height: 400px;
}

.amg-faq__answer p {
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--amg-muted-on-light);
}

.amg-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.amg-team-card {
  background: var(--amg-bg-light);
  border: 1px solid rgba(13, 30, 48, 0.07);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.amg-letter-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--amg-bg-deep);
  color: var(--amg-text-on-dark);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(224, 125, 16, 0.3);
}

.amg-team-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin-bottom: 4px;
}

.amg-team-card .amg-team-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--amg-accent-label);
  margin-bottom: 14px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.amg-team-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--amg-muted-on-light);
}

.amg-contact-grid,
.amg-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.amg-contact-form {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.09);
  border-radius: 12px;
  padding: 36px;
}

.amg-contact-form h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--amg-text-on-light);
  margin-bottom: 24px;
}

.amg-form-row,
.amg-form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.amg-form-group {
  margin-bottom: 16px;
}

.amg-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--amg-text-on-light);
  margin-bottom: 6px;
}

.amg-form-group input,
.amg-form-group select,
.amg-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(13, 30, 48, 0.18);
  border-radius: 6px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  color: var(--amg-text-on-light);
  background: var(--amg-bg-white);
  transition: border-color 0.2s;
  outline: none;
}

.amg-form-group input:focus,
.amg-form-group select:focus,
.amg-form-group textarea:focus {
  border-color: var(--amg-accent);
}

.amg-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.amg-form-submit {
  margin-top: 8px;
}

.amg-contact-aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.amg-contact-aside__block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin-bottom: 10px;
}

.amg-contact-aside__block p,
.amg-contact-aside__block address {
  font-size: 14px;
  color: var(--amg-muted-on-light);
  line-height: 1.6;
  font-style: normal;
}

.amg-contact-aside__block a {
  color: var(--amg-text-on-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.amg-contact-aside__block a:hover {
  color: var(--amg-accent);
}

.amg-contact-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.amg-contact-info-visual img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
}

.amg-contact-info-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin-bottom: 14px;
}

.amg-contact-info-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--amg-muted-on-light);
  margin-bottom: 14px;
}

.amg-btn--full {
  width: 100%;
  justify-content: center;
}

.amg-contact-info {
  padding: 20px 0;
}

.amg-contact-info h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin-bottom: 24px;
}

.amg-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.amg-contact-detail__icon {
  width: 40px;
  height: 40px;
  background: rgba(43, 86, 128, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amg-accent-label);
  font-size: 16px;
  flex-shrink: 0;
}

.amg-contact-detail__text .amg-contact-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amg-muted-on-light);
  display: block;
  margin-bottom: 2px;
  font-family: 'IBM Plex Mono', monospace;
}

.amg-contact-detail__text a,
.amg-contact-detail__text span {
  font-size: 15px;
  color: var(--amg-text-on-light);
  line-height: 1.5;
  display: block;
}

.amg-contact-detail__text a {
  color: var(--amg-accent-label);
  text-decoration: underline;
}

.amg-office-img {
  margin-top: 32px;
  border-radius: 10px;
  overflow: hidden;
}

.amg-office-img img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.amg-security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.amg-security-card {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.08);
  border-radius: 10px;
  padding: 24px;
}

.amg-security-card__icon {
  font-size: 22px;
  color: var(--amg-accent-label);
  margin-bottom: 12px;
}

.amg-security-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin-bottom: 8px;
}

.amg-security-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--amg-muted-on-light);
}

.amg-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.amg-data-table th {
  padding: 12px 16px;
  text-align: left;
  background: var(--amg-bg-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--amg-text-on-light);
  border-bottom: 2px solid rgba(13, 30, 48, 0.1);
}

.amg-data-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--amg-muted-on-light);
  border-bottom: 1px solid rgba(13, 30, 48, 0.07);
  line-height: 1.5;
}

.amg-data-table td:first-child {
  font-weight: 500;
  color: var(--amg-text-on-light);
}

.amg-data-table tr:last-child td {
  border-bottom: none;
}

.amg-blog-featured {
  background: var(--amg-bg-deep);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 48px;
}

.amg-blog-featured__img {
  aspect-ratio: 1.2/1;
  overflow: hidden;
}

.amg-blog-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.amg-blog-card {
  background: var(--amg-bg-white);
  border: 1px solid rgba(13, 30, 48, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.amg-blog-card:hover {
  box-shadow: 0 6px 20px rgba(13, 30, 48, 0.1);
  transform: translateY(-2px);
}

.amg-blog-card__img {
  aspect-ratio: 1.91/1;
  overflow: hidden;
}

.amg-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amg-blog-card__body {
  padding: 20px;
}

.amg-blog-card__date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--amg-muted-on-light);
  display: block;
  margin-bottom: 8px;
}

.amg-blog-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin-bottom: 8px;
  line-height: 1.35;
}

.amg-blog-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--amg-muted-on-light);
  margin-bottom: 12px;
}

.amg-blog-card .amg-read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--amg-accent-label);
  text-decoration: underline;
}

.amg-article-hero {
  background: var(--amg-bg-deep);
  padding: calc(var(--amg-nav-h) + 56px) 0 56px;
}

.amg-article-hero__inner {
  max-width: var(--amg-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.amg-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--amg-accent);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.amg-article-back:hover {
  color: var(--amg-feeder-blue);
}

.amg-article-hero h1 {
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 800;
  color: var(--amg-text-on-dark);
  max-width: 820px;
  margin-bottom: 20px;
  line-height: 1.12;
}

.amg-article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.amg-article-meta .amg-meta-author {
  font-size: 14px;
  color: var(--amg-muted-on-dark);
  font-weight: 500;
}

.amg-article-meta time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--amg-muted-on-dark);
}

.amg-article-cover {
  max-width: var(--amg-max-w);
  margin: 0 auto;
  padding: 0 24px;
  margin-top: 40px;
}

.amg-article-cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  max-width: var(--amg-max-w);
  margin-left: auto;
  margin-right: auto;
}

.amg-article-body {
  background: var(--amg-bg-white);
  padding: 64px 0 96px;
}

.amg-article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.amg-article-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin: 40px 0 14px;
}

.amg-article-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin: 28px 0 10px;
}

.amg-article-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--amg-text-on-light);
  margin-bottom: 20px;
}

.amg-article-content ul,
.amg-article-content ol {
  margin: 0 0 20px 24px;
}

.amg-article-content li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--amg-muted-on-light);
  margin-bottom: 8px;
}

.amg-article-content blockquote {
  border-left: 3px solid var(--amg-accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(224, 125, 16, 0.05);
  border-radius: 0 6px 6px 0;
}

.amg-article-content blockquote p {
  color: var(--amg-text-on-light);
  font-style: italic;
  margin: 0;
}

.amg-auth-page {
  min-height: 100vh;
  background: var(--amg-bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.amg-auth-card {
  background: var(--amg-bg-panel);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 48px 40px;
}

.amg-auth-card__logo {
  text-align: center;
  margin-bottom: 32px;
}

.amg-auth-card__logo img {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

.amg-auth-card h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--amg-text-on-dark);
  text-align: center;
  margin-bottom: 8px;
}

.amg-auth-card .amg-auth-sub {
  font-size: 14px;
  color: var(--amg-muted-on-dark);
  text-align: center;
  margin-bottom: 28px;
}

.amg-auth-form-group {
  margin-bottom: 14px;
}

.amg-auth-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--amg-text-on-dark);
  margin-bottom: 6px;
}

.amg-auth-form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: var(--amg-text-on-dark);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.amg-auth-form-group input::placeholder {
  color: rgba(122, 151, 184, 0.5);
}

.amg-auth-form-group input:focus {
  border-color: var(--amg-accent);
}

.amg-auth-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  padding: 13px 24px;
  font-size: 15px;
}

.amg-auth-card__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.amg-auth-card__links a {
  font-size: 13px;
  color: var(--amg-muted-on-dark);
  transition: color 0.2s;
}

.amg-auth-card__links a:hover {
  color: var(--amg-accent);
}

.amg-auth-card__links a span {
  color: var(--amg-accent);
}

.amg-auth-legal {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(122, 151, 184, 0.55);
  line-height: 1.5;
}

.amg-auth-legal a {
  color: rgba(122, 151, 184, 0.75);
  text-decoration: underline;
}

.amg-legal-page {
  background: var(--amg-bg-white);
  color: var(--amg-text-on-light);
}

.amg-legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  background: var(--amg-bg-white);
  color: var(--amg-text-on-light);
}

.amg-legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--amg-text-on-light);
  margin: 36px 0 12px;
}

.amg-legal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--amg-muted-on-light);
  margin-bottom: 16px;
}

.amg-legal-hero {
  background: var(--amg-bg-light);
  padding: calc(var(--amg-nav-h) + 56px) 0 56px;
}

.amg-legal-hero__inner {
  max-width: var(--amg-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.amg-legal-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--amg-text-on-light);
  margin-bottom: 12px;
}

.amg-legal-hero .amg-legal-updated,
.amg-legal-hero .amg-legal-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--amg-muted-on-light);
}

.amg-footer {
  background: var(--amg-bg-deep);
  color: var(--amg-text-on-dark);
  padding: 64px 0 0;
}

.amg-footer__inner {
  max-width: var(--amg-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.amg-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.amg-footer__brand .amg-footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
}

.amg-footer__brand p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--amg-muted-on-dark);
  max-width: 260px;
}

.amg-footer__col h4 {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amg-text-on-dark);
  margin-bottom: 16px;
  font-family: 'IBM Plex Mono', monospace;
}

.amg-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amg-footer__col ul li a {
  font-size: 14px;
  color: var(--amg-muted-on-dark);
  transition: color 0.2s;
}

.amg-footer__col ul li a:hover {
  color: var(--amg-text-on-dark);
}

.amg-footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.amg-footer__bottom p {
  font-size: 12px;
  color: rgba(122, 151, 184, 0.6);
  line-height: 1.5;
}

.amg-footer__bottom .amg-cookie-pref {
  font-size: 12px;
  color: rgba(122, 151, 184, 0.6);
  transition: color 0.2s;
}

.amg-footer__bottom .amg-cookie-pref:hover {
  color: var(--amg-muted-on-dark);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--amg-bg-panel);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
}

.cookie-banner__inner {
  max-width: var(--amg-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 14px;
  color: var(--amg-muted-on-dark);
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}

.cookie-banner__text a {
  color: var(--amg-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: 9px 18px;
  border-radius: 6px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cookie-banner__btn--primary {
  background: var(--amg-accent);
  color: var(--amg-btn-text);
  border-color: var(--amg-accent);
}

.cookie-banner__btn--primary:hover {
  background: #c96e0e;
  border-color: #c96e0e;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--amg-muted-on-dark);
  border-color: rgba(122, 151, 184, 0.4);
}

.cookie-banner__btn--secondary:hover {
  background: rgba(122, 151, 184, 0.1);
  border-color: var(--amg-muted-on-dark);
  color: var(--amg-text-on-dark);
}

@media (max-width: 768px) {
  .amg-nav__links { display: none; }
  .amg-nav__hamburger { display: flex; }

  .amg-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .amg-hero__text p { max-width: 100%; }

  .amg-hero__actions {
    justify-content: center;
  }

  .amg-hero__visual {
    order: -1;
  }

  .amg-feature-grid {
    grid-template-columns: 1fr;
  }

  .amg-hiw-flow {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .amg-hiw-arrow {
    transform: rotate(90deg);
    margin: 0;
    align-self: center;
  }

  .amg-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amg-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .amg-integration-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .amg-two-col {
    grid-template-columns: 1fr;
  }

  .amg-two-col--reverse .amg-two-col__visual {
    order: 0;
  }

  .amg-subhero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .amg-subhero__ornament {
    justify-content: center;
  }

  .amg-catalog-grid {
    grid-template-columns: 1fr;
  }

  .amg-deployment-grid {
    grid-template-columns: 1fr;
  }

  .amg-studies-cards {
    grid-template-columns: 1fr;
  }

  .amg-studies-results-grid {
    grid-template-columns: 1fr;
  }

  .amg-pricing-grid {
    grid-template-columns: 1fr;
  }

  .amg-team-grid {
    grid-template-columns: 1fr;
  }

  .amg-contact-grid,
  .amg-contact-layout {
    grid-template-columns: 1fr;
  }

  .amg-form-row {
    grid-template-columns: 1fr;
  }

  .amg-blog-featured__card {
    grid-template-columns: 1fr;
  }

  .amg-blog-grid {
    grid-template-columns: 1fr;
  }

  .amg-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .amg-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .amg-auth-card {
    padding: 36px 24px;
  }

  .amg-security-grid {
    grid-template-columns: 1fr;
  }

  .amg-stat-bar {
    gap: 24px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .amg-pipeline-stages {
    gap: 0;
  }
}

@media (max-width: 480px) {
  .amg-metrics-grid {
    grid-template-columns: 1fr;
  }

  .amg-footer__grid {
    grid-template-columns: 1fr;
  }
}

.amg-how-it-works .amg-section__header h2 {
  color: var(--amg-text-on-dark);
}

.amg-how-it-works .amg-section__header p {
  color: var(--amg-muted-on-dark);
}

.amg-blog-featured__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.amg-blog-featured .amg-blog-featured__body h2 {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--amg-text-on-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.amg-blog-featured .amg-blog-featured__body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--amg-muted-on-dark);
  margin-bottom: 20px;
}

.amg-blog-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--amg-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

.amg-blog-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--amg-muted-on-light);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.amg-blog-author {
  color: var(--amg-muted-on-light);
}

.amg-blog-featured .amg-blog-meta {
  color: var(--amg-muted-on-dark);
}

.amg-blog-featured .amg-blog-author {
  color: var(--amg-muted-on-dark);
}

.amg-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.amg-article-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--amg-muted-on-dark);
}

.amg-article-author {
  font-size: 14px;
  color: var(--amg-muted-on-dark);
  font-weight: 500;
}

.amg-article-title {
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 800;
  color: var(--amg-text-on-dark);
  max-width: 820px;
  margin-bottom: 20px;
  line-height: 1.12;
}

.amg-auth-card .amg-form-group label {
  color: var(--amg-text-on-dark);
}

.amg-auth-card .amg-form-group input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--amg-text-on-dark);
}

.amg-auth-card .amg-form-group input::placeholder {
  color: rgba(122, 151, 184, 0.5);
}

.amg-auth-card .amg-form-group input:focus {
  border-color: var(--amg-accent);
}

.amg-auth-logo {
  display: block;
  text-align: center;
  margin-bottom: 32px;
}

.amg-auth-logo img {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

.amg-auth-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--amg-text-on-dark);
  text-align: center;
  margin-bottom: 8px;
}

.amg-auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.amg-auth-links a {
  font-size: 13px;
  color: var(--amg-muted-on-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.amg-auth-links a:hover {
  color: var(--amg-accent);
}

.amg-auth-sep {
  color: rgba(122, 151, 184, 0.4);
  font-size: 12px;
}

.amg-auth-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

@media (max-width: 768px) {
  .amg-blog-featured__body {
    padding: 24px;
  }

  .amg-article-hero__meta {
    gap: 12px;
  }
}

.amg-pricing-card__header {
  margin-bottom: 16px;
}

.amg-pricing-tier-name {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--amg-text-on-light);
  margin-bottom: 8px;
}

.amg-pricing-price .amg-price-num {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--amg-text-on-light);
  line-height: 1;
}

.amg-pricing-price .amg-price-period {
  font-size: 14px;
  color: var(--amg-muted-on-light);
}

.amg-price-annual {
  display: block;
  font-size: 13px;
  color: var(--amg-muted-on-light);
  margin-bottom: 8px;
}

.amg-pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amg-accent);
  color: #0D1E30;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.amg-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--amg-text-on-light);
}

.amg-compare-table th {
  text-align: center;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--amg-text-on-light);
  background: var(--amg-bg-light);
  border-bottom: 2px solid rgba(13, 30, 48, 0.1);
}

.amg-compare-table th:first-child {
  text-align: left;
}

.amg-compare-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(13, 30, 48, 0.06);
  vertical-align: middle;
  text-align: center;
  color: var(--amg-text-on-light);
}

.amg-compare-table td:first-child {
  text-align: left;
  color: var(--amg-muted-on-light);
}

.amg-compare-table tr:last-child td {
  border-bottom: none;
}

.amg-compare-table__group-row td {
  background: rgba(43, 86, 128, 0.07);
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amg-text-on-light);
  padding: 8px 16px;
}

.amg-faq-list {
  display: flex;
  flex-direction: column;
}

.amg-tbl-yes {
  color: #0C6035;
  font-size: 14px;
}

.amg-tbl-no {
  color: var(--amg-muted-on-light);
  font-size: 14px;
}

.amg-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.amg-team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--amg-bg-deep);
  color: var(--amg-text-on-dark);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(224, 125, 16, 0.3);
}
.amg-team-card__avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.amg-team-card__avatar--ih {
  background: #0C1927;
  border-color: rgba(79, 195, 247, 0.4);
}

.amg-team-card__avatar--mr {
  background: #152336;
  border-color: rgba(224, 125, 16, 0.5);
}

.amg-team-card__avatar--ps {
  background: #1a2e3f;
  border-color: rgba(46, 170, 107, 0.4);
}

.amg-team-card__info {
  display: flex;
  flex-direction: column;
}

.amg-team-card__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--amg-accent-label);
  margin-bottom: 14px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.amg-blog-featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  background: var(--amg-bg-panel);
  border: 1px solid rgba(79, 195, 247, 0.15);
}
