.aam-button {
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--aam-ink);
  box-shadow: inset 0 0 0 3px var(--aam-paper), inset 0 0 0 4px color-mix(in srgb, var(--aam-rule) 70%, transparent);
  font-size: 11px;
  line-height: 1;
}
.aam-button b { color: var(--aam-orange); font-weight: 400; font-size: 18px; }
.aam-button:hover { background: var(--aam-ink); color: var(--aam-paper); }
.aam-orange-button { background: var(--aam-orange); color: #fff; border-color: var(--aam-orange); box-shadow: none; }

.aam-text-action, .aam-sub-action {
  min-height: 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 11px;
}
.aam-text-action b, .aam-text-action:hover, .aam-sub-action:hover { color: var(--aam-orange); }

.aam-section-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; color: var(--aam-orange); }
.aam-section-heading h2 { margin: 0; font-size: 11px; white-space: nowrap; }
.aam-heading-rule { height: 1px; flex: 1; background: var(--aam-rule); }
.aam-heading-aside { font-size: 11px; white-space: nowrap; }

.aam-icon {
  margin: 0;
  color: var(--aam-ink);
  font: 10px/1.02 var(--aam-font);
  letter-spacing: 0;
  white-space: pre;
}

.aam-ascii-figure { margin: 0; color: var(--aam-ink); overflow: hidden; }
.aam-ascii-figure pre {
  width: max-content;
  max-width: none;
  margin: 0 auto;
  font: clamp(7px, .72vw, 12px)/.9 var(--aam-font);
  letter-spacing: -.06em;
  white-space: pre;
}
.aam-ascii-station { animation: aam-float 9s ease-in-out infinite; }
@keyframes aam-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.aam-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.aam-service-card {
  min-width: 0; min-height: 260px;
  padding: 22px 18px 17px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 85px 1fr auto;
  border: 1px solid var(--aam-ink);
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
}
.aam-service-card .aam-icon { grid-column: 1 / -1; justify-self: center; font-size: 10px; }
.aam-service-copy { grid-column: 1 / -1; }
.aam-service-card h3 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; }
.aam-service-card p { margin: 0; font-size: 11px; }
.aam-service-card a, .aam-service-card .aam-index { align-self: end; color: var(--aam-orange); font-size: 10px; }

.aam-process { display: grid; grid-template-columns: 38% 62%; gap: 28px; align-items: stretch; }
.aam-process-steps { padding-top: 2px; }
.aam-process-step { min-height: 72px; display: grid; grid-template-columns: 25px 15px 1fr; gap: 5px; }
.aam-process-step > span { font-size: 11px; }
.aam-process-step > i { position: relative; width: 1px; height: 100%; margin-left: 5px; border-left: 1px dashed var(--aam-muted); }
.aam-process-step > i::before { content: ""; position: absolute; top: 4px; left: -3px; width: 5px; height: 5px; background: var(--aam-orange); }
.aam-process-step h3 { margin: 0 0 4px; font-size: 14px; text-transform: uppercase; }
.aam-process-step p { margin: 0; max-width: 280px; font-size: 11px; }
.aam-process .aam-text-action { margin-top: 3px; }

.aam-architecture { min-height: 310px; padding: 18px; border: 1px solid var(--aam-ink); overflow: hidden; }
.aam-arch-grid {
  min-height: 272px;
  padding: 4px 28px;
  display: flex; flex-direction: column; align-items: center;
  background-image: radial-gradient(var(--aam-orange) .6px, transparent .6px);
  background-size: 10px 10px;
}
.aam-node { min-width: 82px; height: 34px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--aam-ink); background: var(--aam-paper); font-size: 10px; white-space: nowrap; }
.aam-user-node { min-width: 80px; }
.aam-layer-node { width: 72%; }
.aam-node-row { width: 92%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.aam-vline { height: 18px; border-left: 1px solid var(--aam-ink); }
.aam-database-row { width: 76%; display: flex; justify-content: space-between; }
.aam-database-row span { position: relative; width: 55px; height: 47px; margin-top: 3px; border: 1px solid var(--aam-ink); border-radius: 50% / 16%; background: var(--aam-paper); }
.aam-database-row span::before, .aam-database-row span::after { content: ""; position: absolute; left: -1px; right: -1px; height: 10px; border: 1px solid var(--aam-ink); border-radius: 50%; background: var(--aam-paper); }
.aam-database-row span::before { top: 10px; }.aam-database-row span::after { top: 25px; }

.aam-dark-cta { margin: 24px var(--aam-pad); padding: 28px 48px !important; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; border: 0 !important; background: var(--aam-dark); color: #f4f0e8; }
.aam-dark-cta::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(#fff .5px, transparent .5px); background-size: 7px 7px; pointer-events: none; }
.aam-dark-cta > * { position: relative; z-index: 1; }
.aam-dark-cta h2 { margin: 0; font-size: clamp(20px, 2.4vw, 34px); }
.aam-dark-cta p:first-child { color: var(--aam-orange); }
.aam-dark-cta .aam-button { max-width: 300px; color: #fff; border-color: var(--aam-orange); background: var(--aam-orange); box-shadow: none; }

